aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorGiovanni Cabiddu <[email protected]>2020-10-12 21:38:31 +0100
committerHerbert Xu <[email protected]>2020-10-30 17:34:53 +1100
commit369eb4aaae46b1e40142fbe0ef27b2646c21e1e9 (patch)
tree9f2a1d54c204ebd1e05b018e706fc93d0ab2b87f /tools/perf/scripts/python/bin
parentc685d7a7ceb2961dca61914bf473304e08138e11 (diff)
crypto: qat - abstract arbiter access
The arbiter configuration, the offset to the arbiter config CSR and the offset to the worker thread to service arbiter CSR are going to be different in QAT GEN4 devices although the logic that uses them is the same across all QAT generations. This patch reworks the gen-specific parts of the arbiter access code by introducing the arb_info structure, that contains the values that are generation specific, and a function in the structure adf_hw_device_data, get_arb_info(), that allows to get them. Since the arbiter values for QAT GEN2 devices (c62x, c3xxx and dh895xcc) are the same, a single function, adf_gen2_get_arb_info() is provided in adf_gen2_hw_data.c and referenced by each QAT GEN2 driver. Signed-off-by: Giovanni Cabiddu <[email protected]> Reviewed-by: Fiona Trahe <[email protected]> Reviewed-by: Wojciech Ziemba <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions