summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/timerlist.py
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@kernel.org>2025-07-08 12:38:28 -0700
committerHerbert Xu <herbert@gondor.apana.org.au>2025-07-18 20:51:59 +1000
commitc7f49dadfcdf27e1f747442e874e9baa52ab7674 (patch)
tree0fe5e68f805bfcc659a1e406cf0444e646253f28 /scripts/gdb/linux/timerlist.py
parentc963ff0ec45a4eef7fad8a741848af9a888a0863 (diff)
crypto: x86/aegis - Fix sleeping when disallowed on PREEMPT_RT
skcipher_walk_done() can call kfree(), which takes a spinlock, which makes it incorrect to call while preemption is disabled on PREEMPT_RT. Therefore, end the kernel-mode FPU section before calling skcipher_walk_done(), and restart it afterwards. Moreover, pass atomic=false to skcipher_walk_aead_encrypt() instead of atomic=true. The point of atomic=true was to make skcipher_walk_done() safe to call while in a kernel-mode FPU section, but that does not actually work. So just use the usual atomic=false. Fixes: 1d373d4e8e15 ("crypto: x86 - Add optimized AEGIS implementations") Cc: stable@vger.kernel.org Signed-off-by: Eric Biggers <ebiggers@kernel.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'scripts/gdb/linux/timerlist.py')
0 files changed, 0 insertions, 0 deletions