anolis-cloud-kernel/drivers/crypto
xiongmengbiao 71a37bdc5f anolis: crypto: ccp: use time_after() instead of time_before() to checks schedule condition
ANBZ: #22926

Used time_before(jiffies, last_je) in psp_mutex_lock_timeout()
which yields CPU too early.

Fixed to time_after(jiffies, last_je + msecs_to_jiffies(100))
for proper 100ms wait.

Signed-off-by: xiongmengbiao <xiongmengbiao@hygon.cn>
Reviewed-by: Guixin Liu <kanie@linux.alibaba.com>
Link: https://gitee.com/anolis/cloud-kernel/pulls/5532
2025-07-23 06:27:52 +00:00
..
alibaba/alicc anolis: Rename ycc to alicc due to some tech adjustments 2022-11-24 09:38:12 +00:00
allwinner crypto: sun8i-ss - handle zero sized sg 2022-06-09 10:21:17 +02:00
amcc crypto: crypto4xx - Replace bitwise OR with logical OR in crypto4xx_build_pd 2020-12-30 11:53:17 +01:00
amlogic crypto: amlogic - call finalize with bh disabled 2022-04-08 14:40:01 +02:00
axis treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
bcm crypto: bcm - Fix pointer arithmetic 2024-10-12 05:46:17 +00:00
caam crypto: caam - fix i.MX6SX entropy delay value 2022-06-06 08:42:43 +02:00
cavium crypto: nitrox - fix unchecked variable in nitrox_register_interrupts 2021-07-14 16:56:06 +02:00
ccp anolis: crypto: ccp: use time_after() instead of time_before() to checks schedule condition 2025-07-23 06:27:52 +00:00
ccree crypto: ccree - use fine grained DMA mapping dir 2022-06-09 10:20:57 +02:00
chelsio crypto: chelsio - Read rxchannel-id from firmware 2021-05-14 09:50:19 +02:00
hisilicon crypto: hisilicon/sec - fixup 3des minimum key size declaration 2021-07-14 16:55:53 +02:00
iax anolis: crypto: iax: fix deflate acomp registration failure 2024-08-28 00:22:39 +00:00
inside-secure crypto: inside-secure - Fix sizeof() mismatch 2020-12-30 11:53:00 +01:00
marvell crypto: marvell/cesa - ECB does not IV 2022-06-09 10:21:15 +02:00
mediatek crypto: mediatek - simplify the return expression of mtk_dfe_dse_reset() 2020-10-02 18:02:10 +10:00
montage anolis: crypto: update Mont-TSSE driver 2025-02-17 18:02:37 +08:00
nx powerpc/powernv/vas: Assign real address to rx_fifo in vas_rx_win_attr 2022-06-09 10:20:58 +02:00
qat crypto: qat - disable registration of algorithms 2022-03-28 09:57:10 +02:00
qce crypto: qce - fix uaf on qce_skcipher_register_one 2022-01-27 10:53:49 +01:00
rockchip crypto: rockchip - ECB does not need IV 2022-04-08 14:40:00 +02:00
stm32 anolis: Revert "dmaengine: Remove the last, used parameters in dma_async_is_tx_complete" 2024-06-03 11:32:38 +00:00
ux500 crypto: ux500 - Fix error return code in hash_hw_final() 2021-07-14 16:56:03 +02:00
virtio crypto: virtio - don't use 'default m' 2020-08-21 14:47:50 +10:00
vmx crypto: vmx - add missing dependencies 2022-04-08 14:40:01 +02:00
xilinx crypto: algapi - Remove skbuff.h inclusion 2020-08-20 14:04:28 +10:00
Kconfig anolis: crypto: Add support for Zhaoxin SHA algorithm 2024-08-07 05:50:52 +00:00
Makefile anolis: crypto: Add support for Zhaoxin SHA algorithm 2024-08-07 05:50:52 +00:00
atmel-aes-regs.h
atmel-aes.c crypto: atmel-aes - convert to use be32_add_cpu() 2020-09-25 17:48:12 +10:00
atmel-authenc.h
atmel-ecc.c mm, treewide: rename kzfree() to kfree_sensitive() 2020-08-07 11:33:22 -07:00
atmel-i2c.c
atmel-i2c.h
atmel-sha-regs.h
atmel-sha.c
atmel-sha204a.c
atmel-tdes-regs.h
atmel-tdes.c crypto: atmel-tdes - use semicolons rather than commas to separate statements 2020-10-02 18:02:15 +10:00
exynos-rng.c
geode-aes.c
geode-aes.h
hifn_795x.c crypto: drivers - use semicolons rather than commas to separate statements 2020-10-02 18:02:15 +10:00
img-hash.c crypto: algapi - Remove skbuff.h inclusion 2020-08-20 14:04:28 +10:00
ixp4xx_crypto.c crypto: ixp4xx - update IV after requests 2021-07-14 16:56:03 +02:00
mxs-dcp.c crypto: mxs-dcp - Fix scatterlist processing 2022-04-08 14:39:59 +02:00
n2_asm.S
n2_core.c crypto: n2 - Fix sparse endianness warning 2020-09-18 17:20:12 +10:00
n2_core.h
omap-aes-gcm.c
omap-aes.c crypto: omap-aes - Fix broken pm_runtime_and_get() usage 2022-01-27 10:54:24 +01:00
omap-aes.h crypto: omap-aes - permit asynchronous skcipher as fallback 2020-07-16 21:49:02 +10:00
omap-crypto.c
omap-crypto.h
omap-des.c crypto: omap - Fix inconsistent locking of device lists 2021-09-15 09:50:26 +02:00
omap-sham.c crypto: omap - Fix inconsistent locking of device lists 2021-09-15 09:50:26 +02:00
padlock-aes.c anolis: crypto: Add support for Zhaoxin AES algorithm 2024-08-07 05:50:52 +00:00
padlock-sha.c anolis: crypto: Add support for Zhaoxin SHA algorithm 2024-08-07 05:50:52 +00:00
picoxcell_crypto.c crypto: picoxcell - Fix potential race condition bug 2020-08-21 14:47:50 +10:00
picoxcell_crypto_regs.h
qcom-rng.c crypto: qcom-rng - fix infinite loop on requests not multiple of WORD_SZ 2022-05-25 09:17:56 +02:00
s5p-sss.c crypto: s5p-sss - Add error handling in s5p_aes_probe() 2021-11-18 14:03:38 +01:00
sa2ul.c crypto: sa2ul - Fix pm_runtime enable in sa_ul_probe() 2021-07-14 16:56:04 +02:00
sa2ul.h crypto: sa2ul - Add AEAD algorithm support 2020-07-23 17:34:17 +10:00
sahara.c crypto: algapi - Remove skbuff.h inclusion 2020-08-20 14:04:28 +10:00
talitos.c crypto: talitos - Fix ctr(aes) on SEC1 2021-03-04 11:37:45 +01:00
talitos.h crypto: talitos - Work around SEC6 ERRATA (AES-CTR mode data size error) 2021-03-04 11:37:45 +01:00
zhaoxin-aes.c anolis: crypto: Add support for Zhaoxin AES algorithm 2024-08-07 05:50:52 +00:00
zhaoxin-sha.c anolis: crypto: Add support for Zhaoxin SHA algorithm 2024-08-07 05:50:52 +00:00