[PW_SID:1129931] RISC-V: KVM: Allow memslots ending at the GPA limit#2309
[PW_SID:1129931] RISC-V: KVM: Allow memslots ending at the GPA limit#2309linux-riscv-bot wants to merge 2 commits into
Conversation
KVM memslots describe half-open ranges [base_gfn, base_gfn + npages). A slot ending exactly at the guest physical-address limit has its final page below that limit and is valid. The current greater-than-or-equal comparison rejects a valid boundary case. Use a strict greater-than comparison, matching equivalent KVM architecture checks. Fixes: 9d05c1f ("RISC-V: KVM: Implement stage2 page table programming") Signed-off-by: Pengpeng Hou <pengpeng@iscas.ac.cn> Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
|
Patch 1: "RISC-V: KVM: Allow memslots ending at the GPA limit" |
|
Patch 1: "RISC-V: KVM: Allow memslots ending at the GPA limit" |
|
Patch 1: "RISC-V: KVM: Allow memslots ending at the GPA limit" |
|
Patch 1: "RISC-V: KVM: Allow memslots ending at the GPA limit" |
|
Patch 1: "RISC-V: KVM: Allow memslots ending at the GPA limit" |
|
Patch 1: "RISC-V: KVM: Allow memslots ending at the GPA limit" |
|
Patch 1: "RISC-V: KVM: Allow memslots ending at the GPA limit" |
|
Patch 1: "RISC-V: KVM: Allow memslots ending at the GPA limit" |
|
Patch 1: "RISC-V: KVM: Allow memslots ending at the GPA limit" |
|
Patch 1: "RISC-V: KVM: Allow memslots ending at the GPA limit" |
|
Patch 1: "RISC-V: KVM: Allow memslots ending at the GPA limit" |
|
Patch 1: "RISC-V: KVM: Allow memslots ending at the GPA limit" |
60e0882 to
36eafdd
Compare
PR for series 1129931 applied to workflow__riscv__fixes
Name: RISC-V: KVM: Allow memslots ending at the GPA limit
URL: https://patchwork.kernel.org/project/linux-riscv/list/?series=1129931
Version: 1