aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorAnup Patel <[email protected]>2025-06-05 06:14:46 +0000
committerAnup Patel <[email protected]>2025-06-17 04:48:40 +0000
commit6aba0cb5bba6141158d5449f2cf53187b7f755f9 (patch)
tree10845b1fdb7dd8d0c0373572bf880cb992ff0c44 /net/unix/af_unix.c
parentLinux 6.16-rc2 (diff)
downloadkernel-6aba0cb5bba6141158d5449f2cf53187b7f755f9.tar.gz
kernel-6aba0cb5bba6141158d5449f2cf53187b7f755f9.zip
RISC-V: KVM: Fix the size parameter check in SBI SFENCE calls
As-per the SBI specification, an SBI remote fence operation applies to the entire address space if either: 1) start_addr and size are both 0 2) size is equal to 2^XLEN-1 >From the above, only #1 is checked by SBI SFENCE calls so fix the size parameter check in SBI SFENCE calls to cover #2 as well. Fixes: 13acfec2dbcc ("RISC-V: KVM: Add remote HFENCE functions based on VCPU requests") Reviewed-by: Atish Patra <[email protected]> Signed-off-by: Anup Patel <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Anup Patel <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions