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)
commit9c314a48aeab0562bf5418f707ee060171d52ac2
tree54bd5b86bf29b8bad7218288a717b36ab574947f
parent7876320f88802b22d4e2daf7eb027dd14175a0f8
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 0cb0786bac15 ("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