All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] PCI: rockchip: Fix PCIe probing in 5.9
@ 2020-08-15 12:51 ` Marc Zyngier
  0 siblings, 0 replies; 39+ messages in thread
From: Marc Zyngier @ 2020-08-15 12:51 UTC (permalink / raw)
  To: linux-pci, linux-rockchip, linux-arm-kernel, linux-kernel
  Cc: Shawn Lin, Lorenzo Pieralisi, Rob Herring, Bjorn Helgaas,
	Heiko Stuebner, kernel-team

Recent changes to the way PCI DT nodes are parsed are now enforcing
the presence of a "device_type" property, which has been mandated
since... forever. This has the unfortunate effect of breaking
non-compliant systems, and those using the Rockchip PCIe driver are
amongst the victims. Oh well.

In order to keep users happy as well as my own machines up and
running, let's paper over the problem by detecting a broken DT from
the driver itself, and inserting the missing property at runtime.

For a good measure, a second patch fixes the DT, but the chances of
such a fix being deployed at this stage are pretty slim, so the above
hack is in for the long run.

Marc Zyngier (2):
  PCI: rockchip: Work around missing device_type property in DT
  arm64: dts: rockchip: Fix PCIe DT properties

 arch/arm64/boot/dts/rockchip/rk3399.dtsi    |  2 +-
 drivers/pci/controller/pcie-rockchip-host.c | 29 +++++++++++++++++++++
 2 files changed, 30 insertions(+), 1 deletion(-)

-- 
2.27.0


^ permalink raw reply	[flat|nested] 39+ messages in thread

end of thread, other threads:[~2021-01-09 15:44 UTC | newest]

Thread overview: 39+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-15 12:51 [PATCH 0/2] PCI: rockchip: Fix PCIe probing in 5.9 Marc Zyngier
2020-08-15 12:51 ` Marc Zyngier
2020-08-15 12:51 ` Marc Zyngier
2020-08-15 12:51 ` [PATCH 1/2] PCI: rockchip: Work around missing device_type property in DT Marc Zyngier
2020-08-15 12:51   ` Marc Zyngier
2020-08-15 12:51   ` Marc Zyngier
2020-08-15 23:22   ` Bjorn Helgaas
2020-08-15 23:22     ` Bjorn Helgaas
2020-08-15 23:22     ` Bjorn Helgaas
2020-08-16 10:39     ` Marc Zyngier
2020-08-16 10:39       ` Marc Zyngier
2020-08-16 10:39       ` Marc Zyngier
2020-08-17 16:12       ` Rob Herring
2020-08-17 16:12         ` Rob Herring
2020-08-17 16:12         ` Rob Herring
2020-08-18  7:35         ` Marc Zyngier
2020-08-18  7:35           ` Marc Zyngier
2020-08-18  7:35           ` Marc Zyngier
2020-08-18 14:23           ` Rob Herring
2020-08-18 14:23             ` Rob Herring
2020-08-18 14:23             ` Rob Herring
2020-08-18 17:34             ` Marc Zyngier
2020-08-18 17:34               ` Marc Zyngier
2020-08-18 17:34               ` Marc Zyngier
2020-08-18 17:48               ` Saravana Kannan
2020-08-18 17:48                 ` Saravana Kannan
2020-08-18 17:48                 ` Saravana Kannan
2020-08-18 19:02                 ` Marc Zyngier
2020-08-18 19:02                   ` Marc Zyngier
2020-08-18 19:02                   ` Marc Zyngier
2020-08-18 19:06                   ` Rob Herring
2020-08-18 19:06                     ` Rob Herring
2020-08-18 19:06                     ` Rob Herring
2020-08-15 12:51 ` [PATCH 2/2] arm64: dts: rockchip: Fix PCIe DT properties Marc Zyngier
2020-08-15 12:51   ` Marc Zyngier
2020-08-15 12:51   ` Marc Zyngier
2021-01-09 15:39 ` (subset) [PATCH 0/2] PCI: rockchip: Fix PCIe probing in 5.9 Heiko Stuebner
2021-01-09 15:39   ` Heiko Stuebner
2021-01-09 15:39   ` Heiko Stuebner

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.