linux-pci.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v11 00/15] PCI: ARM64 ECAM quirks
@ 2016-12-05 23:25 Bjorn Helgaas
  2016-12-05 23:25 ` [PATCH v11 01/15] ACPI: Add acpi_resource_consumer() to find device that claims a resource Bjorn Helgaas
                   ` (17 more replies)
  0 siblings, 18 replies; 25+ messages in thread
From: Bjorn Helgaas @ 2016-12-05 23:25 UTC (permalink / raw)
  To: linux-pci
  Cc: Lorenzo Pieralisi, Gabriele Paoloni, Rafael J. Wysocki,
	Tomasz Nowicki, Duc Dang, Sinan Kaya, Christopher Covington,
	Dongdong Liu

Here's another try.  The biggest change is to add the APM X-Gene quirks.

These are on my pci/ecam branch.  Please test and report any issues.
Please also collect dmesg and /proc/iomem contents and I'll try to
summarize the current ACPI firmware situation on ARM64 and update the
writeup with recommendations for future platforms.

Changes from v10 to v11:

- Discard "consumer" resources from PNP0A03 host bridge windows (arm64
  only).  This allows using consumer PNP0A03 descriptors (rather than the
  PNP0C02 workaround used on x86) for bridge register space.

- Add APM X-Gene MCFG quirks.

- If ACPI and quirks are enabled, always build ThunderX, X-Gene, and
  HiSilicon drivers on ARM64.  Add internal ifdefs so we only compile the
  parts necessary for ACPI (the ECAM init and accessors).

- s/node/seg/ in ThunderX MCFG quirk macros.

- Move ECAM check for ACPI device reservation from pci_ecam_create() to
  that arm64-specific pci_acpi_setup_ecam_mapping().

- Add local "struct device *dev" pointers for brevity.

- Miscellaneous build fixes.

---

Bjorn Helgaas (6):
      ACPI: Add acpi_resource_consumer() to find device that claims a resource
      x86/PCI: Use acpi_resource_consumer() to search ACPI namespace for MMCFG
      arm64: PCI: Add local struct device pointers
      arm64: PCI: Search ACPI namespace to ensure ECAM space is reserved
      arm64: PCI: Exclude ACPI "consumer" resources from host bridge windows
      PCI: thunder-pem: Factor out resource lookup

Christopher Covington (1):
      PCI: Add MCFG quirks for Qualcomm QDF2432 host controller

Dongdong Liu (2):
      PCI/ACPI: Provide acpi_get_rc_resources() for ARM64 platform
      PCI: Add MCFG quirks for HiSilicon Hip05/06/07 host controllers

Duc Dang (1):
      PCI: Add MCFG quirks for X-Gene host controller

Tomasz Nowicki (5):
      arm64: PCI: Manage controller-specific data on per-controller basis
      PCI/ACPI: Extend pci_mcfg_lookup() to return ECAM config accessors
      PCI/ACPI: Check for platform-specific MCFG quirks
      PCI: Add MCFG quirks for Cavium ThunderX pass2.x host controller
      PCI: Add MCFG quirks for Cavium ThunderX pass1.x host controller


 arch/arm64/kernel/pci.c             |   68 ++++++++-----
 arch/x86/pci/mmconfig-shared.c      |   69 ++-----------
 drivers/acpi/pci_mcfg.c             |  190 ++++++++++++++++++++++++++++++++++-
 drivers/acpi/resource.c             |   57 +++++++++++
 drivers/pci/ecam.c                  |   12 ++
 drivers/pci/host/Kconfig            |   10 +-
 drivers/pci/host/Makefile           |    8 +
 drivers/pci/host/pci-thunder-ecam.c |    9 +-
 drivers/pci/host/pci-thunder-pem.c  |   94 +++++++++++++----
 drivers/pci/host/pci-xgene.c        |  126 ++++++++++++++++++++++-
 drivers/pci/host/pcie-hisi.c        |  101 +++++++++++++++++++
 drivers/pci/pci-acpi.c              |   76 ++++++++++++++
 drivers/pci/pci.h                   |    5 +
 include/linux/acpi.h                |    7 +
 include/linux/pci-acpi.h            |    4 +
 include/linux/pci-ecam.h            |    9 ++
 16 files changed, 718 insertions(+), 127 deletions(-)

^ permalink raw reply	[flat|nested] 25+ messages in thread

end of thread, other threads:[~2016-12-07 12:23 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-05 23:25 [PATCH v11 00/15] PCI: ARM64 ECAM quirks Bjorn Helgaas
2016-12-05 23:25 ` [PATCH v11 01/15] ACPI: Add acpi_resource_consumer() to find device that claims a resource Bjorn Helgaas
2016-12-05 23:25 ` [PATCH v11 02/15] x86/PCI: Use acpi_resource_consumer() to search ACPI namespace for MMCFG Bjorn Helgaas
2016-12-05 23:25 ` [PATCH v11 03/15] arm64: PCI: Add local struct device pointers Bjorn Helgaas
2016-12-06 16:02   ` Lorenzo Pieralisi
2016-12-05 23:25 ` [PATCH v11 04/15] arm64: PCI: Search ACPI namespace to ensure ECAM space is reserved Bjorn Helgaas
2016-12-06 16:01   ` Lorenzo Pieralisi
2016-12-05 23:25 ` [PATCH v11 05/15] arm64: PCI: Manage controller-specific data on per-controller basis Bjorn Helgaas
2016-12-06 15:45   ` Lorenzo Pieralisi
2016-12-05 23:26 ` [PATCH v11 06/15] arm64: PCI: Exclude ACPI "consumer" resources from host bridge windows Bjorn Helgaas
2016-12-05 23:26 ` [PATCH v11 07/15] PCI/ACPI: Extend pci_mcfg_lookup() to return ECAM config accessors Bjorn Helgaas
2016-12-05 23:26 ` [PATCH v11 08/15] PCI/ACPI: Check for platform-specific MCFG quirks Bjorn Helgaas
2016-12-05 23:26 ` [PATCH v11 09/15] PCI/ACPI: Provide acpi_get_rc_resources() for ARM64 platform Bjorn Helgaas
2016-12-05 23:26 ` [PATCH v11 10/15] PCI: Add MCFG quirks for Qualcomm QDF2432 host controller Bjorn Helgaas
2016-12-05 23:26 ` [PATCH v11 11/15] PCI: Add MCFG quirks for HiSilicon Hip05/06/07 host controllers Bjorn Helgaas
2016-12-05 23:26 ` [PATCH v11 12/15] PCI: thunder-pem: Factor out resource lookup Bjorn Helgaas
2016-12-05 23:26 ` [PATCH v11 13/15] PCI: Add MCFG quirks for Cavium ThunderX pass2.x host controller Bjorn Helgaas
2016-12-06 13:07   ` Tomasz Nowicki
2016-12-06 20:45     ` Bjorn Helgaas
2016-12-07 12:23       ` Tomasz Nowicki
2016-12-05 23:27 ` [PATCH v11 14/15] PCI: Add MCFG quirks for Cavium ThunderX pass1.x " Bjorn Helgaas
2016-12-05 23:27 ` [PATCH v11 15/15] PCI: Add MCFG quirks for X-Gene " Bjorn Helgaas
2016-12-06  2:14 ` [PATCH v11 00/15] PCI: ARM64 ECAM quirks Duc Dang
2016-12-06  7:16 ` Dongdong Liu
2016-12-06 14:41 ` Tomasz Nowicki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).