diff options
author | Anup Patel <apatel@ventanamicro.com> | 2025-06-05 09:14:46 +0300 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2025-06-17 07:48:40 +0300 |
commit | 6aba0cb5bba6141158d5449f2cf53187b7f755f9 (patch) | |
tree | 10845b1fdb7dd8d0c0373572bf880cb992ff0c44 /scripts/lib/kdoc/kdoc_output.py | |
parent | e04c78d86a9699d136910cfc0bdcf01087e3267e (diff) | |
download | linux-6aba0cb5bba6141158d5449f2cf53187b7f755f9.tar.xz |
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 <atishp@rivosinc.com>
Signed-off-by: Anup Patel <apatel@ventanamicro.com>
Link: https://lore.kernel.org/r/20250605061458.196003-2-apatel@ventanamicro.com
Signed-off-by: Anup Patel <anup@brainfault.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_output.py')
0 files changed, 0 insertions, 0 deletions