aboutsummaryrefslogtreecommitdiff
path: root/libexec/flua/libjail/jail.3lua
diff options
context:
space:
mode:
authorEmmanuel Vadot <manu@FreeBSD.org>2026-10-27 07:24:57 +0000
committerEmmanuel Vadot <manu@FreeBSD.org>2026-11-15 08:18:46 +0000
commite23c13a0c96772efe8fb3d1a88b219fb4ef189a2 (patch)
treebec2352eadaf3f428147d60588841120cca398b8 /libexec/flua/libjail/jail.3lua
parent495c899ab02bff8f559edf5d0793487a66396fb1 (diff)
pci_dw: Honor the max-link-speed propertyHEADmain
The root port reports in LNKCAP the highest link speed the core was synthesized for, which can be more than the PHY behind it supports. On the RK3568 pcie2x1 the root port advertises 8GT/s while the PHY only does 5GT/s. The link stays at 2.5GT/s after the directed speed change. Read max-link-speed from the device tree and write it to the Max Link Speed field of LNKCAP and to the Target Link Speed field of LNKCTL2 before requesting the speed change. Nothing changes when the property is absent. Tested on a Quartz64 Model A with a Samsung 970 EVO Plus NVMe drive: the link now trains at 5GT/s and the sequential throughput goes from 200MB/s to 400MB/s. Differential Revision: https://reviews.freebsd.org/D61014
Diffstat (limited to 'libexec/flua/libjail/jail.3lua')
0 files changed, 0 insertions, 0 deletions