diff options
| author | John Madieu <john.madieu.xa@bp.renesas.com> | 2026-03-06 15:34:18 +0100 |
|---|---|---|
| committer | Manivannan Sadhasivam <mani@kernel.org> | 2026-03-15 21:11:49 +0530 |
| commit | 5e9a5af5c9a2797a5e41e8ee565ce8108588f956 (patch) | |
| tree | 3f8adccd205895e2fdf84b95889bbd8e2c249033 /rust/kernel/interop/git@git.tavy.me:linux-stable.git | |
| parent | 1e75d2e9a0e018b53f06dcc2e9345ac10f1aa174 (diff) | |
PCI: rzg3s-host: Add PCIe Gen3 (8.0 GT/s) link speed support
Extend the link speed configuration to support Gen3 (8.0 GT/s) in
addition to Gen2 (5.0 GT/s). This is required for RZ/G3E PCIe host
support, which is Gen3 capable.
Instead of relying on DT max-link-speed for configuration, read the
hardware capabilities from the PCI_EXP_LNKCAP register to determine the
maximum supported speed. The DT max-link-speed property is now only used
as an optional limit when explicitly specified, which aligns with PCIe
subsystem expectations.
Signed-off-by: John Madieu <john.madieu.xa@bp.renesas.com>
Signed-off-by: Manivannan Sadhasivam <mani@kernel.org>
Tested-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> # RZ/V2N EVK
Tested-by: Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com>
Reviewed-by: Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com>
Link: https://patch.msgid.link/20260306143423.19562-12-john.madieu.xa@bp.renesas.com
Diffstat (limited to 'rust/kernel/interop/git@git.tavy.me:linux-stable.git')
0 files changed, 0 insertions, 0 deletions
