All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC/RFT PATCH v2 0/3] PCI: generic device NUMA node detection
@ 2017-05-15 13:22 Lorenzo Pieralisi
  2017-05-15 13:22 ` [RFC/RFT PATCH v2 1/3] PCI: Introduce pci_bus_find_numa_node() Lorenzo Pieralisi
                   ` (4 more replies)
  0 siblings, 5 replies; 12+ messages in thread
From: Lorenzo Pieralisi @ 2017-05-15 13:22 UTC (permalink / raw)
  To: linux-pci
  Cc: linux-acpi, linux-kernel, Lorenzo Pieralisi, Sergey Temerkhanov,
	Sinan Kaya, Zhou Wang, Vadim Lomovtsev

This patch series is v2 of a previous posting:

v1 -> v2:

- Added missing call to acpi_pci_bus_find_numa_node()
- Rebased against v4.12-rc1

v1: https://lkml.org/lkml/2017/4/26/211

On the ARM64 architecture, the arch specific PCI pcibus_to_node() callback
can be triggered on struct pci_bus.sysdata structures that carry host
bridge specific data through different structures layout (ie sysdata
pointer points at different structs for different host bridges), therefore
it is not possible to have a unified pcibus_to_node() implementation.

Given that the device NUMA node is a property of the struct pci_bus (and
its associated struct device), move the struct pci_bus node assignment to
generic PCI code, where according to the platform firmware the NUMA node
for the device backing the struct pci_bus is retrieved and propagated
through the PCI bus hierarchy.

Lorenzo Pieralisi (3):
  PCI: Introduce pci_bus_find_numa_node()
  PCI: Add call to set-up NUMA node for struct pci_bus devices
  PCI/ACPI: Add ACPI pci_bus_find_numa_node() implementation

 drivers/pci/pci-acpi.c | 20 ++++++++++++++++++++
 drivers/pci/pci.c      |  6 ++++++
 drivers/pci/probe.c    |  3 ++-
 include/linux/pci.h    |  7 +++++++
 4 files changed, 35 insertions(+), 1 deletion(-)

-- 
2.10.0


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

end of thread, other threads:[~2017-05-17 16:16 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-15 13:22 [RFC/RFT PATCH v2 0/3] PCI: generic device NUMA node detection Lorenzo Pieralisi
2017-05-15 13:22 ` [RFC/RFT PATCH v2 1/3] PCI: Introduce pci_bus_find_numa_node() Lorenzo Pieralisi
2017-05-15 13:22 ` [RFC/RFT PATCH v2 2/3] PCI: Add call to set-up NUMA node for struct pci_bus devices Lorenzo Pieralisi
2017-05-15 13:22 ` [RFC/RFT PATCH v2 3/3] PCI/ACPI: Add ACPI pci_bus_find_numa_node() implementation Lorenzo Pieralisi
2017-05-16 15:15   ` Robert Richter
2017-05-16 18:02     ` Lorenzo Pieralisi
2017-05-17 13:46       ` Lorenzo Pieralisi
2017-05-17 14:35         ` Robert Richter
2017-05-17 16:04           ` Lorenzo Pieralisi
2017-05-17 16:15             ` Robert Richter
2017-05-15 13:51 ` [RFC/RFT PATCH v2 0/3] PCI: generic device NUMA node detection Vadim Lomovtsev
2017-05-16 14:57 ` Robert Richter

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.