[PW_SID:971798] RISC-V: KVM: Enable ring-based dirty memory tracking#532
[PW_SID:971798] RISC-V: KVM: Enable ring-based dirty memory tracking#532linux-riscv-bot wants to merge 3 commits into
Conversation
Enable ring-based dirty memory tracking on riscv: - Enable CONFIG_HAVE_KVM_DIRTY_RING_ACQ_REL as riscv is weakly ordered. - Set KVM_DIRTY_LOG_PAGE_OFFSET for the ring buffer's physical page offset. - Add a check to kvm_vcpu_kvm_riscv_check_vcpu_requests for checking whether the dirty ring is soft full. To handle vCPU requests that cause exits to userspace, modified the `kvm_riscv_check_vcpu_requests` to return a value (currently only returns 0 or 1). Signed-off-by: Quan Zhou <zhouquan@iscas.ac.cn> Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
Some common KVM test cases are supported on riscv now as following:
access_tracking_perf_test
demand_paging_test
dirty_log_perf_test
dirty_log_test
guest_print_test
kvm_binary_stats_test
kvm_create_max_vcpus
kvm_page_table_test
memslot_modification_stress_test
memslot_perf_test
rseq_test
set_memory_region_test
Add missing headers for tests and fix RISCV_FENCE redefinition
in `rseq-riscv.h` by using the existing macro from <asm/fence.h>.
Signed-off-by: Quan Zhou <zhouquan@iscas.ac.cn>
Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
|
Patch 1: "[1/2] RISC-V: KVM: Enable ring-based dirty memory tracking" |
|
Patch 1: "[1/2] RISC-V: KVM: Enable ring-based dirty memory tracking" |
|
Patch 1: "[1/2] RISC-V: KVM: Enable ring-based dirty memory tracking" |
|
Patch 1: "[1/2] RISC-V: KVM: Enable ring-based dirty memory tracking" |
|
Patch 1: "[1/2] RISC-V: KVM: Enable ring-based dirty memory tracking" |
|
Patch 1: "[1/2] RISC-V: KVM: Enable ring-based dirty memory tracking" |
|
Patch 1: "[1/2] RISC-V: KVM: Enable ring-based dirty memory tracking" |
|
Patch 1: "[1/2] RISC-V: KVM: Enable ring-based dirty memory tracking" |
|
Patch 1: "[1/2] RISC-V: KVM: Enable ring-based dirty memory tracking" |
|
Patch 1: "[1/2] RISC-V: KVM: Enable ring-based dirty memory tracking" |
|
Patch 1: "[1/2] RISC-V: KVM: Enable ring-based dirty memory tracking" |
|
Patch 1: "[1/2] RISC-V: KVM: Enable ring-based dirty memory tracking" |
|
Patch 2: "[2/2] KVM: riscv: selftests: Add common supported test cases" |
|
Patch 2: "[2/2] KVM: riscv: selftests: Add common supported test cases" |
|
Patch 2: "[2/2] KVM: riscv: selftests: Add common supported test cases" |
|
Patch 2: "[2/2] KVM: riscv: selftests: Add common supported test cases" |
|
Patch 2: "[2/2] KVM: riscv: selftests: Add common supported test cases" |
|
Patch 2: "[2/2] KVM: riscv: selftests: Add common supported test cases" |
|
Patch 2: "[2/2] KVM: riscv: selftests: Add common supported test cases" |
|
Patch 2: "[2/2] KVM: riscv: selftests: Add common supported test cases" |
|
Patch 2: "[2/2] KVM: riscv: selftests: Add common supported test cases" |
|
Patch 2: "[2/2] KVM: riscv: selftests: Add common supported test cases" |
|
Patch 2: "[2/2] KVM: riscv: selftests: Add common supported test cases" |
|
Patch 2: "[2/2] KVM: riscv: selftests: Add common supported test cases" |
8023d1f to
6ce2eef
Compare
PR for series 971798 applied to workflow__riscv__fixes
Name: RISC-V: KVM: Enable ring-based dirty memory tracking
URL: https://patchwork.kernel.org/project/linux-riscv/list/?series=971798
Version: 1