]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
crypto: qat - add wireless mode support for QAT GEN6
authorGeorge Abraham P <george.abraham.p@intel.com>
Wed, 11 Mar 2026 08:22:45 +0000 (13:52 +0530)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sun, 22 Mar 2026 02:17:58 +0000 (11:17 +0900)
commit464da0bf19fd0fdf4a6594ce2d3352bc5c3e676d
tree1b0983ef041e954bccedb9206fedb068176f2aa7
parent3fcfff4ed35f963380a68741bcd52742baff7f76
crypto: qat - add wireless mode support for QAT GEN6

Add wireless mode support for QAT GEN6 devices.

When the WCP_WAT fuse bit is clear, the device operates in wireless
cipher mode (wcy_mode). In this mode all accelerator engines load the
wireless firmware and service configuration via 'cfg_services' sysfs
attribute is restricted to 'sym' only.

The get_accel_cap() function is extended to report wireless-specific
capabilities (ZUC, ZUC-256, 5G, extended algorithm chaining) gated by
their respective slice-disable fuse bits. The set_ssm_wdtimer() function
is updated to configure WCP (wireless cipher) and WAT (wireless
authentication) watchdog timers. The adf_gen6_cfg_dev_init() function is
updated to use adf_6xxx_is_wcy() to enforce sym-only service selection
for WCY devices during initialization.

Co-developed-by: Aviraj Cj <aviraj.cj@intel.com>
Signed-off-by: Aviraj Cj <aviraj.cj@intel.com>
Signed-off-by: George Abraham P <george.abraham.p@intel.com>
Reviewed-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/intel/qat/qat_6xxx/adf_6xxx_hw_data.c
drivers/crypto/intel/qat/qat_6xxx/adf_6xxx_hw_data.h
drivers/crypto/intel/qat/qat_6xxx/adf_drv.c
drivers/crypto/intel/qat/qat_common/adf_fw_config.h
drivers/crypto/intel/qat/qat_common/adf_gen6_shared.c
drivers/crypto/intel/qat/qat_common/adf_gen6_shared.h
drivers/crypto/intel/qat/qat_common/icp_qat_hw.h