Skip to content

RFC PCI: rockchip-host: support quirky devices

Geraldo Nascimento linux-arm-kernel linux-devicetree linux-pci linux-rockchip lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest2 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2arm64: dts: rockchip: drop PCIe 3v3 always-on/boot-onarch/arm64/boot/dts/rockchip/rk3399pro-vmarc-som.dtsi+0 -20 replies
2/2PCI: rockchip-host: drop wait on PERST# toggledrivers/pci/controller/pcie-rockchip-host.c+0 -18 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC PATCH 0/2] PCI: rockchip-host: support quirky devices

With these two changes I'm able to work with a Samsung PM981a OEM SSD that is known to be not-working with Rockchip-IP PCIe.

Previously I attempted a contrived solution that mostly worked for my simple purposes but was rather inelegant and impractical.

Now I have isolated the behavior to the three lines in the two commits. Omit those three lines and you get a working set with the kernel.

I have no idea how to actually implement this in a way that makes sense and doesn't break the PCIe spec but it is my sincere wish that interested RK3399 parties test the change and report any regressions with already-working devices and specifically, successes or failures of initial link-training with these changes.

Geraldo Nascimento (2):
arm64: dts: rockchip: drop PCIe 3v3 always-on/boot-on
PCI: rockchip-host: drop wait on PERST# toggle

 arch/arm64/boot/dts/rockchip/rk3399pro-vmarc-som.dtsi | 2 --
 drivers/pci/controller/pcie-rockchip-host.c           | 1 -
 2 files changed, 3 deletions(-)
Signature · 1 line
2.49.0