OSDN Git Service

arm64: PCI: Preserve firmware configuration when desired
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Sat, 15 Jun 2019 00:23:59 +0000 (10:23 +1000)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 21 Jun 2019 23:11:54 +0000 (18:11 -0500)
commit85dc04136e86680378546afb808357a58c06061c
treebcf92043ff2a245f9c6e9489c18acc8d50229187
parent3e8ba9686600e5f77e692126bf0293edf162989a
arm64: PCI: Preserve firmware configuration when desired

If we must preserve the firmware resource assignments, claim the existing
resources rather than reassigning everything.

Link: https://lore.kernel.org/r/20190615002359.29577-4-benh@kernel.crashing.org
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
[bhelgaas: commit log]
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Acked-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
arch/arm64/kernel/pci.c