linux-yocto/drivers/crypto
Harshita Bhilwaria 42b66f4557 crypto: qat - fix duplicate restarting msg during AER error
[ Upstream commit 961ac9d97be72267255f1ed841aabf6694b17454 ]

The restarting message from PF to VF is sent twice during AER error
handling: once from adf_error_detected() and again from
adf_disable_sriov().
This causes userspace subservices to shutdown unexpectedly when they
receive a duplicate restarting message after already being restarted.

Avoid calling adf_pf2vf_notify_restarting() and
adf_pf2vf_wait_for_restarting_complete() from adf_error_detected() so
that the restarting msg is sent only once from PF to VF.

Fixes: 9567d3dc76 ("crypto: qat - improve aer error reset handling")
Signed-off-by: Harshita Bhilwaria <harshita.bhilwaria@intel.com>
Reviewed-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com>
Reviewed-by: Ahsan Atta <ahsan.atta@intel.com>
Reviewed-by: Ravikumar PM <ravikumar.pm@intel.com>
Reviewed-by: Srikanth Thokala <srikanth.thokala@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2026-01-17 16:35:20 +01:00
..
allwinner crytpo: sun8i-ce - factor out prepare/unprepare from sun8i_ce_hash_run() 2025-09-13 12:11:05 +08:00
amcc crypto: crypto4xx - Remove ahash-related code 2025-05-12 13:32:52 +08:00
amlogic crypto: drivers - Switch back to struct platform_driver::remove() 2024-10-19 08:44:30 +08:00
aspeed crypto: aspeed - fix double free caused by devm 2025-10-23 12:53:23 +08:00
axis treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
bcm crypto: bcm - set memory to zero only once 2025-02-22 15:56:03 +08:00
caam crypto: caam - Add check for kcalloc() in test_len() 2026-01-02 12:57:27 +01:00
cavium crypto: cavium/zip - Remove driver 2025-04-07 13:22:25 +08:00
ccp crypto: ccp - Add support for PCI device 0x115A 2026-01-02 12:56:40 +01:00
ccree crypto: ccree - Correctly handle return of sg_nents_for_len 2025-12-18 14:03:11 +01:00
chelsio crypto: chelsio - Use library to prepare HMAC keys 2025-09-13 12:11:06 +08:00
gemini crypto: drivers - Switch back to struct platform_driver::remove() 2024-10-19 08:44:30 +08:00
hisilicon crypto: hisilicon/qm - restore original qos values 2025-12-18 14:02:35 +01:00
inside-secure This update includes the following changes: 2025-07-31 09:45:28 -07:00
intel crypto: qat - fix duplicate restarting msg during AER error 2026-01-17 16:35:20 +01:00
loongson crypto: loongson - add Loongson RNG driver support 2025-09-02 12:29:57 +01:00
marvell crypto: octeontx2 - Call strscpy() with correct size argument 2025-08-22 17:28:44 +08:00
nx crypto: comp - Use same definition of context alloc and free ops 2025-09-20 20:21:03 +08:00
qce crypto: qce - revert "use __free() for a buffer that's always freed" 2024-12-21 22:46:24 +08:00
rockchip crypto: rockchip - Fix dma_unmap_sg() nents value 2025-09-13 12:11:05 +08:00
starfive crypto: starfive - Correctly handle return of sg_nents_for_len 2025-12-18 14:03:11 +01:00
stm32 crypto: stm32 - Fix spelling mistake "STMicrolectronics" -> "STMicroelectronics" 2025-08-16 17:22:46 +08:00
tegra crypto: tegra - Use int type to store negative error codes 2025-09-13 12:11:06 +08:00
ti crypto: ti - Add CRYPTO_ALG_ASYNC flag to DTHEv2 AES algos 2025-10-02 17:48:50 +08:00
virtio crypto: engine - remove request batching support 2025-07-18 20:52:00 +10:00
xilinx crypto: xilinx - Add TRNG driver for Versal 2025-09-06 15:57:23 +08:00
atmel-aes-regs.h
atmel-aes.c crypto: atmel - add support for AES and SHA IPs available on sama7d65 SoC 2025-06-23 16:59:38 +08:00
atmel-authenc.h
atmel-ecc.c crypto: atmel - Drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-10-05 13:22:05 +08:00
atmel-i2c.c crypto: atmel-sha204a - add reading from otp zone 2024-05-10 17:15:25 +08:00
atmel-i2c.h crypto: atmel-sha204a - add reading from otp zone 2024-05-10 17:15:25 +08:00
atmel-sha-regs.h
atmel-sha.c crypto: atmel - add support for AES and SHA IPs available on sama7d65 SoC 2025-06-23 16:59:38 +08:00
atmel-sha204a.c crypto: atmel-sha204a - Set hwrng quality to lowest possible 2025-04-23 09:32:57 +08:00
atmel-tdes-regs.h
atmel-tdes.c crypto: atmel - Fix dma_unmap_sg() direction 2025-09-13 12:11:05 +08:00
exynos-rng.c crypto: drivers - Switch back to struct platform_driver::remove() 2024-10-19 08:44:30 +08:00
geode-aes.c module: Convert symbol namespace to string literal 2024-12-02 11:34:44 -08:00
geode-aes.h
hifn_795x.c crypto: hifn_795x - Remove unused hifn_*_command structs 2024-05-31 17:34:56 +08:00
img-hash.c crypto: md5 - Wrap library and add HMAC support 2025-08-26 12:52:28 -04:00
Kconfig This update includes the following changes: 2025-10-04 14:59:29 -07:00
Makefile This update includes the following changes: 2025-10-04 14:59:29 -07:00
mxs-dcp.c crypto: mxs-dcp - Only set OTP_KEY bit for OTP key 2025-03-08 16:22:23 +08:00
omap-aes-gcm.c crypto: drivers - Remove redundant pm_runtime_mark_last_busy() calls 2025-07-18 20:51:59 +10:00
omap-aes.c crypto: omap - convert from tasklet to BH workqueue 2025-09-13 12:11:06 +08:00
omap-aes.h crypto: omap - convert from tasklet to BH workqueue 2025-09-13 12:11:06 +08:00
omap-crypto.c
omap-crypto.h
omap-des.c crypto: omap - convert from tasklet to BH workqueue 2025-09-13 12:11:06 +08:00
omap-sham.c crypto: omap - convert from tasklet to BH workqueue 2025-09-13 12:11:06 +08:00
padlock-aes.c
padlock-sha.c crypto: padlock-sha - Use core import and export for fallback 2025-05-05 18:20:46 +08:00
qcom-rng.c crypto: drivers - Switch back to struct platform_driver::remove() 2024-10-19 08:44:30 +08:00
s5p-sss.c crypto: s5p-sss - Add missing header inclusions 2025-04-16 15:16:21 +08:00
sa2ul.c crypto: sa2ul - Use proper helpers to setup request 2025-04-07 13:22:26 +08:00
sa2ul.h crypto: sa2ul - change unsafe data size limit to 255 bytes 2023-05-19 16:45:43 +08:00
sahara.c crypto: drivers - Switch back to struct platform_driver::remove() 2024-10-19 08:44:30 +08:00
talitos.c crypto: drivers - Switch back to struct platform_driver::remove() 2024-10-19 08:44:30 +08:00
talitos.h