]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: PCI: Remove node-local allocations when initialising host controller
authorPunit Agrawal <punit.agrawal@arm.com>
Tue, 28 Aug 2018 15:05:12 +0000 (16:05 +0100)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 17 Sep 2018 21:33:23 +0000 (16:33 -0500)
commit4efab3e5519e90b4c013f59ab8c9f103d2749bc7
tree54bd5b86bf29b8bad7218288a717b36ab574947f
parentb952db094f6189476b97fccaee073915d3359a25
arm64: PCI: Remove node-local allocations when initialising host controller

Memory for host controller data structures is allocated local to the node
to which the controller is associated with.  This has been the behaviour
since support for ACPI was added in commit 41c0130b560e ("ARM64: PCI:
Support ACPI-based PCI host controller").

Drop the node local allocation as there is no benefit from doing so - the
usage of these structures is independent from where the controller is
located.

Signed-off-by: Punit Agrawal <punit.agrawal@arm.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Will Deacon <will.deacon@arm.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
arch/arm64/kernel/pci.c