arm64: dts: rockchip: Use only supported PCIe link speed on Pinebook Pro
authorSimon South <simon@simonsouth.net>
Wed, 30 Sep 2020 18:56:27 +0000 (14:56 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 10 Feb 2021 08:29:11 +0000 (09:29 +0100)
commit25af99f88d3ee6849fbabe019176fd8c25e97140
tree1c6dd87d2aa392e925e8386d07b88570cd4e371c
parentc2947904fbbaea4645d5c680c6aa319384233c03
arm64: dts: rockchip: Use only supported PCIe link speed on Pinebook Pro

[ Upstream commit 642fb2795290c4abe629ca34fb8ff6d78baa9fd3 ]

On Pinebook Pro laptops with an NVMe SSD installed, prevent random
crashes in the NVMe driver by not attempting to use a PCIe link speed
higher than that supported by the RK3399 SoC.

See commit 712fa1777207 ("arm64: dts: rockchip: add max-link-speed for
rk3399").

Fixes: 5a65505a6988 ("arm64: dts: rockchip: Add initial support for Pinebook Pro")
Signed-off-by: Simon South <simon@simonsouth.net>
Link: https://lore.kernel.org/r/20200930185627.5918-1-simon@simonsouth.net
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm64/boot/dts/rockchip/rk3399-pinebook-pro.dts