aboutsummaryrefslogtreecommitdiffstats
path: root/lib/crypto/mpi/mpi-pow.c
diff options
context:
space:
mode:
authorBibo Mao <[email protected]>2025-06-27 10:27:44 +0000
committerHuacai Chen <[email protected]>2025-06-27 10:27:44 +0000
commit9159c5e733cfa35ec863fa81960a3e7435f831fb (patch)
tree644ca21819ae3c79098b0bae2ed8bcd7b3cb9752 /lib/crypto/mpi/mpi-pow.c
parentLoongArch: KVM: Avoid overflow with array index (diff)
downloadkernel-9159c5e733cfa35ec863fa81960a3e7435f831fb.tar.gz
kernel-9159c5e733cfa35ec863fa81960a3e7435f831fb.zip
LoongArch: KVM: Add address alignment check for IOCSR emulation
IOCSR instruction supports 1/2/4/8 bytes access, the address should be naturally aligned with its access size. Here address alignment check is added in the EIOINTC kernel emulation. Cc: [email protected] Fixes: 3956a52bc05b ("LoongArch: KVM: Add EIOINTC read and write functions") Signed-off-by: Bibo Mao <[email protected]> Signed-off-by: Huacai Chen <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpi-pow.c')
0 files changed, 0 insertions, 0 deletions