aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/autoload.c
diff options
context:
space:
mode:
authorYong-Xuan Wang <[email protected]>2024-07-26 16:49:28 +0800
committerAnup Patel <[email protected]>2024-11-21 17:40:14 +0530
commit97eccf7db4f2e5e59d16bca45f7803ae3aeff6e1 (patch)
tree15a362d8e87a3ec3394926fb86b6974a7948126f /tools/testing/selftests/bpf/prog_tests/autoload.c
parentb8d481671703c4ba24bb250a99225e0e3d8aedac (diff)
RISC-V: KVM: Add Svade and Svadu Extensions Support for Guest/VM
We extend the KVM ISA extension ONE_REG interface to allow VMM tools to detect and enable Svade and Svadu extensions for Guest/VM. Since the henvcfg.ADUE is read-only zero if the menvcfg.ADUE is zero, the Svadu extension is available for Guest/VM and the Svade extension is allowed to disabledonly when arch_has_hw_pte_young() is true. Signed-off-by: Yong-Xuan Wang <[email protected]> Reviewed-by: Andrew Jones <[email protected]> Reviewed-by: Samuel Holland <[email protected]> Acked-by: Palmer Dabbelt <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Anup Patel <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions