summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorNiklas Cassel <cassel@kernel.org>2024-11-16 06:20:45 +0300
committerBjorn Helgaas <bhelgaas@google.com>2025-01-21 18:44:14 +0300
commitd6658d3338f84173fb55c9d6c6cdfa57f879712d (patch)
treeabf77eda6e1bff7309c53d27bd6a629953318289 /tools/perf/scripts/python/export-to-sqlite.py
parent0d292a1e6d90ff899342734d9ecfda59394daa42 (diff)
downloadlinux-d6658d3338f84173fb55c9d6c6cdfa57f879712d.tar.xz
misc: pci_endpoint_test: Add consecutive BAR test
Add a more advanced BAR test that writes all BARs in one go, and then reads them back and verifies that the value matches the BAR number bitwise OR'ed with offset, this allows us to verify: - The BAR number was what we intended to read - The offset was what we intended to read This allows us to detect potential address translation issues on the EP. Reading back the BAR directly after writing will not allow us to detect the case where inbound address translation on the endpoint incorrectly causes multiple BARs to be redirected to the same memory region (within the EP). Link: https://lore.kernel.org/r/20241116032045.2574168-2-cassel@kernel.org Signed-off-by: Niklas Cassel <cassel@kernel.org> Signed-off-by: Krzysztof WilczyƄski <kwilczynski@kernel.org> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions