diff options
| author | Ahsan Atta <ahsan.atta@intel.com> | 2026-03-24 11:11:12 +0000 |
|---|---|---|
| committer | Herbert Xu <herbert@gondor.apana.org.au> | 2026-04-03 08:56:11 +0800 |
| commit | b260d53561dd69b29505222ec44cf386ac2c2ca6 (patch) | |
| tree | 3246cb969c5b3ef66171ed8d54edacf4d9ff96a3 /rust/kernel/interop/git@git.tavy.me:linux-stable.git | |
| parent | c8aadd63ab58ee75713ab487730563e7a160cc35 (diff) | |
crypto: qat - disable 4xxx AE cluster when lead engine is fused off
The get_ae_mask() function only disables individual engines based on
the fuse register, but engines are organized in clusters of 4. If the
lead engine of a cluster is fused off, the entire cluster must be
disabled.
Replace the single bitmask inversion with explicit test_bit() checks
on the lead engine of each group, disabling the full ADF_AE_GROUP
when the lead bit is set.
Signed-off-by: Ahsan Atta <ahsan.atta@intel.com>
Reviewed-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com>
Fixes: 8c8268166e834 ("crypto: qat - add qat_4xxx driver")
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'rust/kernel/interop/git@git.tavy.me:linux-stable.git')
0 files changed, 0 insertions, 0 deletions
