diff options
author | Marco Chiappero <marco.chiappero@intel.com> | 2022-04-07 17:54:42 +0100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2022-04-15 16:34:26 +0800 |
commit | 9ff9139b5ddbd4d3ea93558a2d477a6bab4eff94 (patch) | |
tree | f96ae90ff3cc7b19a8fcd654318713d85670ef4f /Documentation/hwmon | |
parent | 0eaa51543273fd0f4ba9bea83638f7033436e5eb (diff) |
crypto: qat - fix ETR sources enabled by default on GEN2 devices
When the driver starts the device, it enables all the necessary
interrupts. However interrupts associated to host rings are enabled by
default on all GEN2 devices (except for dh895x) even when SR-IOV is
active. Fix this behaviour by checking if data structures associated to
VFs have been allocated to determine whether to enable such interrupts
or not.
Since the logic for the fix is the same across GEN2 devices, replace
the function to be fixed (adf_enable_ints()) with a single one
(adf_gen2_enable_ints()) in the common GEN2 code in adf_gen2_hw_data.c.
Likewise, remove the unnecessary duplication of defines too.
Signed-off-by: Marco Chiappero <marco.chiappero@intel.com>
Reviewed-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'Documentation/hwmon')
0 files changed, 0 insertions, 0 deletions