aboutsummaryrefslogtreecommitdiffstats
path: root/lib/crypto/mpi/mpi-cmp.c
diff options
context:
space:
mode:
authorNam Cao <[email protected]>2025-06-20 11:09:39 +0000
committerPalmer Dabbelt <[email protected]>2025-06-23 22:38:09 +0000
commit2f73c62d4e13df67380ff6faca39eec2bf08dd93 (patch)
tree74326bdb91466f49859c16e9c6699a6dbae63787 /lib/crypto/mpi/mpi-cmp.c
parentMAINTAINERS: Update Drew Fustini's email address (diff)
downloadkernel-2f73c62d4e13df67380ff6faca39eec2bf08dd93.tar.gz
kernel-2f73c62d4e13df67380ff6faca39eec2bf08dd93.zip
Revert "riscv: misaligned: fix sleeping function called during misaligned access handling"
This reverts commit 61a74ad25462 ("riscv: misaligned: fix sleeping function called during misaligned access handling"). The commit addresses a sleeping in atomic context problem, but it is not the correct fix as explained by Clément: "Using nofault would lead to failure to read from user memory that is paged out for instance. This is not really acceptable, we should handle user misaligned access even at an address that would generate a page fault." This bug has been properly fixed by commit 453805f0a28f ("riscv: misaligned: enable IRQs while handling misaligned accesses"). Revert this improper fix. Link: https://lore.kernel.org/linux-riscv/[email protected]/ Signed-off-by: Nam Cao <[email protected]> Cc: [email protected] Reviewed-by: Clément Léger <[email protected]> Reviewed-by: Alexandre Ghiti <[email protected]> Fixes: 61a74ad25462 ("riscv: misaligned: fix sleeping function called during misaligned access handling") Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions