]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/pci: Disable filling pci-OF-bus-map for non-chrp/powermac
authorPali Rohár <pali@kernel.org>
Wed, 6 Jul 2022 10:43:07 +0000 (12:43 +0200)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 27 Jul 2022 11:36:04 +0000 (21:36 +1000)
commit17e78ad329eb9cd1baad023e5471a7ccadc34254
treeb8fa1863a3953cab80b9d315fdfa09f9e6e589fa
parent489bdf5966fd5b41ad9fec864f48ff9d6fe5d7c7
powerpc/pci: Disable filling pci-OF-bus-map for non-chrp/powermac

Creating or filling pci-OF-bus-map property in the device-tree is
deprecated since May 2006 [1] and was used only in old platforms like
PowerMac.

Currently kernel code handles it only for chrp and powermac code. So
completely disable filling pci-OF-bus-map property for non-chrp and
non-powermac platforms.

[1] - https://lore.kernel.org/linuxppc-dev/1148016268.13249.14.camel@localhost.localdomain/

Signed-off-by: Pali Rohár <pali@kernel.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20220706104308.5390-5-pali@kernel.org
arch/powerpc/kernel/pci_32.c