summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorFrank Li <Frank.Li@nxp.com>2025-03-15 15:15:46 -0500
committerBjorn Helgaas <bhelgaas@google.com>2025-03-24 14:58:34 -0500
commitf3e1dccba0a0833fc9a05fb838ebeb6ea4ca0e1a (patch)
tree9c7683e77ebc5422cde42ca09978bceff87cf1fa /tools/perf/scripts/python/exported-sql-viewer.py
parentf28b3c9c429d8841adecfca82e0702e791b11226 (diff)
PCI: dwc: ep: Ensure proper iteration over outbound map windows
Most systems' PCIe outbound map windows have non-zero physical addresses, but the possibility of encountering zero increased after following commit ("PCI: dwc: Use parent_bus_offset"). 'ep->outbound_addr[n]', representing 'parent_bus_address', might be 0 on some hardware, which trims high address bits through bus fabric before sending to the PCIe controller. Replace the iteration logic with 'for_each_set_bit()' to ensure only allocated map windows are iterated when determining the ATU index from a given address. Link: https://lore.kernel.org/r/20250315201548.858189-12-helgaas@kernel.org Signed-off-by: Frank Li <Frank.Li@nxp.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions