]> git.itanic.dy.fi Git - linux-stable/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)
commit7f102d61983275ab68b5ac2715afa35c5f4ffd86
treeb8fa1863a3953cab80b9d315fdfa09f9e6e589fa
parent704544588735b2e1115212dbba1c210b3687ff7a
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