aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorJohannes Berg <[email protected]>2023-08-30 11:31:03 +0300
committerJohannes Berg <[email protected]>2023-09-11 12:36:29 +0200
commit9f9797c7de18d2ec6be4ef6e0abbaea585040b39 (patch)
treee3ce3a60e4ba3f1e139a9a9f8f39a0d2203a8c79 /tools/perf/scripts/python/exported-sql-viewer.py
parent09212dd727397a401aff8dfc98311697b084e507 (diff)
wifi: iwlwifi: pcie: fix RB status reading
On newer hardware, a queue's RB status / write pointer can be bigger than 4095 (0xFFF), so we cannot mask the value by 0xFFF unconditionally. Since anyway that's only necessary on older hardware, move the masking to the helper function and apply it only for older HW. This also moves the endian conversion in to handle it more easily. Signed-off-by: Johannes Berg <[email protected]> Signed-off-by: Gregory Greenman <[email protected]> Link: https://lore.kernel.org/r/20230830112059.7be2a3fff6f4.I94f11dee314a4f7c1941d2d223936b1fa8aa9ee4@changeid Signed-off-by: Johannes Berg <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions