diff options
author | Alex Elder <elder@linaro.org> | 2023-03-16 17:51:36 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-03-17 07:33:18 +0300 |
commit | 21e8aaca401ce2b45ece1d8fabd29d422de7b48e (patch) | |
tree | fecac41961a88c24d5f3e87b14e2d9a38ef02ea1 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 786bbe50e1d5777f0b6ec7b4c2de6189d6f7feb4 (diff) | |
download | linux-21e8aaca401ce2b45ece1d8fabd29d422de7b48e.tar.xz |
net: ipa: fix some register validity checks
A recent commit defined HW_PARAM_4 as a GSI register ID but did not
add it to gsi_reg_id_valid() to indicate it's valid (for IPA v5.0+).
Add version checks for the HW_PARAM_2 and INTER_EE IRQ GSI registers
there as well.
IPA v5.0 supports up to 8 source and destination resource groups.
Update the validity check (and the comments where the register IDs
are defined) to reflect that. Similarly update comments and
validity checks for the hash/cache-related registers.
Note that this patch fixes an omission and constrains things
further, but these don't technically represent bugs.
Fixes: f651334e1ef5 ("net: ipa: add HW_PARAM_4 GSI register")
Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions