mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2026-02-04 06:59:02 +00:00
Supporting hardware updates of PTE A and D bits is optional for any
RISC-V implementation so current software strategy is to always set
these bits in both G-stage (hypervisor) and VS-stage (guest kernel).
If PTE A and D bits are not set by software (hypervisor or guest)
then RISC-V implementations not supporting hardware updates of these
bits will cause traps even for perfectly valid PTEs.
Based on above explanation, the VS-stage page table created by various
KVM selftest applications is not correct because PTE A and D bits are
not set. This patch fixes VS-stage page table programming of PTE A and
D bits for KVM selftests.
Fixes:
|
||
|---|---|---|
| .. | ||
| aarch64 | ||
| riscv | ||
| s390x | ||
| x86_64 | ||
| guest_modes.h | ||
| kvm_util_base.h | ||
| kvm_util.h | ||
| numaif.h | ||
| perf_test_util.h | ||
| sparsebit.h | ||
| test_util.h | ||
| ucall_common.h | ||