diff options
author | Ilpo Järvinen <[email protected]> | 2024-01-18 13:08:15 +0200 |
---|---|---|
committer | Bjorn Helgaas <[email protected]> | 2024-01-22 12:13:21 -0600 |
commit | 6568d82512b0a64809acff3d7a747362fa4288c8 (patch) | |
tree | b1947e7698dcb8378de727c0e4d4ab076e0fface /scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h | |
parent | 6613476e225e090cc9aad49be7fa504e290dd33d (diff) |
PCI/DPC: Print all TLP Prefixes, not just the first
The TLP Prefix Log Register consists of multiple DWORDs (PCIe r6.1 sec
7.9.14.13) but the loop in dpc_process_rp_pio_error() keeps reading from
the first DWORD, so we print only the first PIO TLP Prefix (duplicated
several times), and we never print the second, third, etc., Prefixes.
Add the iteration count based offset calculation into the config read.
Fixes: f20c4ea49ec4 ("PCI/DPC: Add eDPC support")
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Ilpo Järvinen <[email protected]>
[bhelgaas: add user-visible details to commit log]
Signed-off-by: Bjorn Helgaas <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h')
0 files changed, 0 insertions, 0 deletions