[PATCH V7 0/4] PCI: Add support for preserving boot configuration

Vidya Sagar posted 4 patches 1 year, 9 months ago
drivers/acpi/pci_root.c                  | 12 ------
drivers/pci/controller/pci-host-common.c |  4 --
drivers/pci/of.c                         | 54 +++++++++++++++++++-----
drivers/pci/pci-acpi.c                   | 22 ++++++++++
drivers/pci/pci.h                        | 12 ++++++
drivers/pci/probe.c                      | 34 ++++++++++-----
6 files changed, 101 insertions(+), 37 deletions(-)
[PATCH V7 0/4] PCI: Add support for preserving boot configuration
Posted by Vidya Sagar 1 year, 9 months ago
Add support for preserving the boot configuration done by the
platform firmware per host bridge basis, based on the presence of
'linux,pci-probe-only' property in the respective PCI host bridge
device-tree node. It also unifies the ACPI and DT based boot flows
in this regard.

This patch series is a complete version of the incomplete series
( https://lore.kernel.org/linux-pci/20240421190914.374399-1-helgaas@kernel.org/ )
posted by Bjorn which in turn was an attempted split work of the single V6 patch
( https://lore.kernel.org/linux-pci/20240418174043.3750240-1-vidyas@nvidia.com/ )
posted by me.

Vidya Sagar (4):
  PCI: Move PRESERVE_BOOT_CONFIG _DSM evaluation to
    pci_register_host_bridge()
  PCI: of: Add of_pci_preserve_config() for per-host bridge support
  PCI: Unify ACPI and DT 'preserve config' support
  PCI: Use preserve_config in place of pci_flags

 drivers/acpi/pci_root.c                  | 12 ------
 drivers/pci/controller/pci-host-common.c |  4 --
 drivers/pci/of.c                         | 54 +++++++++++++++++++-----
 drivers/pci/pci-acpi.c                   | 22 ++++++++++
 drivers/pci/pci.h                        | 12 ++++++
 drivers/pci/probe.c                      | 34 ++++++++++-----
 6 files changed, 101 insertions(+), 37 deletions(-)

-- 
2.25.1
Re: [PATCH V7 0/4] PCI: Add support for preserving boot configuration
Posted by Bjorn Helgaas 1 year, 8 months ago
On Wed, May 08, 2024 at 11:11:34PM +0530, Vidya Sagar wrote:
> Add support for preserving the boot configuration done by the
> platform firmware per host bridge basis, based on the presence of
> 'linux,pci-probe-only' property in the respective PCI host bridge
> device-tree node. It also unifies the ACPI and DT based boot flows
> in this regard.
> 
> This patch series is a complete version of the incomplete series
> ( https://lore.kernel.org/linux-pci/20240421190914.374399-1-helgaas@kernel.org/ )
> posted by Bjorn which in turn was an attempted split work of the single V6 patch
> ( https://lore.kernel.org/linux-pci/20240418174043.3750240-1-vidyas@nvidia.com/ )
> posted by me.
> 
> Vidya Sagar (4):
>   PCI: Move PRESERVE_BOOT_CONFIG _DSM evaluation to
>     pci_register_host_bridge()
>   PCI: of: Add of_pci_preserve_config() for per-host bridge support
>   PCI: Unify ACPI and DT 'preserve config' support
>   PCI: Use preserve_config in place of pci_flags
> 
>  drivers/acpi/pci_root.c                  | 12 ------
>  drivers/pci/controller/pci-host-common.c |  4 --
>  drivers/pci/of.c                         | 54 +++++++++++++++++++-----
>  drivers/pci/pci-acpi.c                   | 22 ++++++++++
>  drivers/pci/pci.h                        | 12 ++++++
>  drivers/pci/probe.c                      | 34 ++++++++++-----
>  6 files changed, 101 insertions(+), 37 deletions(-)

Applied to pci/enumeration for v6.11, thanks!