aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorGiovanni Cabiddu <[email protected]>2022-01-18 10:35:15 +0000
committerHerbert Xu <[email protected]>2022-01-31 11:21:43 +1100
commit642a7d49c249f04007e68c124a148847471dd476 (patch)
tree4a8852ee93de99f34b700b06757b2f9cba72b95b /tools/perf/scripts/python/bin/stackcollapse-record
parent5f2f5eaa3e373c3a07a4f3552fe13d9cde5e23e5 (diff)
crypto: qat - fix access to PFVF interrupt registers for GEN4
The logic that detects, enables and disables pfvf interrupts was expecting a single CSR per VF. Instead, the source and mask register are two registers with a bit per VF. Due to this, the driver is reading and setting reserved CSRs and not masking the correct source of interrupts. Fix the access to the source and mask register for QAT GEN4 devices by removing the outer loop in adf_gen4_get_vf2pf_sources(), adf_gen4_enable_vf2pf_interrupts() and adf_gen4_disable_vf2pf_interrupts() and changing the helper macros ADF_4XXX_VM2PF_SOU and ADF_4XXX_VM2PF_MSK. Fixes: a9dc0d966605 ("crypto: qat - add PFVF support to the GEN4 host driver") Signed-off-by: Giovanni Cabiddu <[email protected]> Co-developed-by: Siming Wan <[email protected]> Signed-off-by: Siming Wan <[email protected]> Reviewed-by: Xin Zeng <[email protected]> Reviewed-by: Wojciech Ziemba <[email protected]> Reviewed-by: Marco Chiappero <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions