linux_dsm_epyc7002/drivers/of
Marc Zyngier d1ac0002dd of: address: Work around missing device_type property in pcie nodes
Recent changes to the DT PCI bus parsing made it mandatory for
device tree nodes describing a PCI controller to have the
'device_type = "pci"' property for the node to be matched.

Although this follows the letter of the specification, it
breaks existing device-trees that have been working fine
for years.  Rockchip rk3399-based systems are a prime example
of such collateral damage, and have stopped discovering their
PCI bus.

In order to paper over it, let's add a workaround to the code
matching the device type, and accept as PCI any node that is
named "pcie",

A warning will hopefully nudge the user into updating their
DT to a fixed version if they can, but the incentive is
obviously pretty small.

Fixes: 2f96593ecc ("of_address: Add bus type match for pci ranges parser")
Suggested-by: Rob Herring <robh+dt@kernel.org>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20200819094255.474565-1-maz@kernel.org
Signed-off-by: Rob Herring <robh@kernel.org>
2020-08-19 16:30:57 -06:00
..
unittest-data of: unittest: Use bigger address cells to catch parser regressions 2020-08-03 16:24:49 -06:00
address.c of: address: Work around missing device_type property in pcie nodes 2020-08-19 16:30:57 -06:00
base.c of/iommu: Make of_map_rid() PCI agnostic 2020-07-28 15:51:31 +01:00
device.c of/device: Add input id to of_dma_configure() 2020-07-28 15:51:32 +01:00
dynamic.c
fdt_address.c
fdt.c
irq.c of/irq: Make of_msi_map_rid() PCI bus agnostic 2020-07-28 15:51:32 +01:00
Kconfig
kobj.c
Makefile
of_mdio.c net: mdiobus: add reset-post-delay-us handling 2020-08-03 15:01:02 -07:00
of_net.c
of_numa.c
of_private.h
of_reserved_mem.c of: reserved-memory: remove duplicated call to of_get_flat_dt_prop() for no-map node 2020-08-03 16:50:54 -06:00
overlay.c
pdt.c
platform.c Driver core patches for 5.8-rc1 2020-06-07 10:53:36 -07:00
property.c drm next for 5.9-rc1 2020-08-05 19:50:06 -07:00
resolver.c
unittest.c of: unittest: Use bigger address cells to catch parser regressions 2020-08-03 16:24:49 -06:00