diff options
| author | Manikanta Maddireddy <mmaddireddy@nvidia.com> | 2026-05-15 10:07:53 +0300 |
|---|---|---|
| committer | Thierry Reding <treding@nvidia.com> | 2026-05-29 00:39:59 +0300 |
| commit | bba8eefb56480c7b06a25e99632b1b6510a25473 (patch) | |
| tree | 42b2dde6393bb89304c4d4ed9313562c967894ef /include/linux | |
| parent | 00b5b4e5d3c235950a80a7c5ca9297233640cbe9 (diff) | |
| download | linux-bba8eefb56480c7b06a25e99632b1b6510a25473.tar.xz | |
arm64: tegra: Fix aspm-l1-entry-delay-ns L1 latency cells
The Tegra194 PCIe driver converts aspm-l1-entry-delay-ns to whole ms
with ceiling division, then derives the Synopsys DesignWare PORT_AFR L1
entrance latency encoding as min(order_base_2(us), 7).
The nanosecond values from the Fixes tag below round up to 4, 8, and 16 us,
selecting PORT_AFR L1 entrance latency codes 2, 3, and 4 respectively.
Raise the programmed latency so the PORT_AFR codes are 3 / 4 / 5
(8 / 16 / 32 us buckets) instead of 2 / 3 / 4 (4 / 8 / 16 us).
- tegra194.dtsi: 4000 -> 8000 ns (all listed controllers)
- tegra234.dtsi: 8000 -> 16000 ns (Root Port), 16000 -> 32000 ns (Endpoint)
Fixes: d60ed99f1c9e ("arm64: tegra: Add aspm-l1-entry-delay-ns to PCIe nodes")
Signed-off-by: Manikanta Maddireddy <mmaddireddy@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
