mbox series

[0/1] PCI: support numa node specification on a per device basis.

Message ID 20180912152140.3676-1-Jonathan.Cameron@huawei.com (mailing list archive)
Headers show
Series PCI: support numa node specification on a per device basis. | expand

Message

Jonathan Cameron Sept. 12, 2018, 3:21 p.m. UTC
The ACPI specification allows individual PCI devices to be associated
with proximity domains that may or may not be the same as the host bridge
below which they are attached.   This is done with the _PXM method.
Unfortunately Linux doesn't take any notice of this as it would normally
be done during the device_add but that stage the ACPI firmware node
is not yet associated with the device as this is not done until the
call to acpi_pci_find_companion which is called form acpi_platform_notify
only after the device_add.

The easiest place to make this association seems to be pci_acpi_setup,
but there are lots of alternative possibilities.

Jonathan Cameron (1):
  pci: Pick up the acpi numa node value if it is specified at the device
    level.

 drivers/pci/pci-acpi.c | 5 +++++
 1 file changed, 5 insertions(+)