linux/tools/testing/selftests/kvm/lib
Anup Patel ebdef0de2d KVM: selftests: riscv: Fix alignment of the guest_hang() function
The guest_hang() function is used as the default exception handler
for various KVM selftests applications by setting it's address in
the vstvec CSR. The vstvec CSR requires exception handler base address
to be at least 4-byte aligned so this patch fixes alignment of the
guest_hang() function.

Fixes: 3e06cdf105 ("KVM: selftests: Add initial support for RISC-V
64-bit")
Signed-off-by: Anup Patel <apatel@ventanamicro.com>
Tested-by: Mayuresh Chitale <mchitale@ventanamicro.com>
Signed-off-by: Anup Patel <anup@brainfault.org>
2022-04-09 09:15:51 +05:30
..
aarch64 KVM/arm64 updates for 5.18 2022-03-18 12:43:24 -04:00
riscv KVM: selftests: riscv: Fix alignment of the guest_hang() function 2022-04-09 09:15:51 +05:30
s390x KVM: selftests: Add wrapper to allocate page table page 2021-06-24 11:47:49 -04:00
x86_64 KVM: selftests: nSVM: Set up MSR-Bitmap for SVM guests 2022-02-10 13:50:47 -05:00
assert.c KVM: selftests: Print the errno besides error-string in TEST_ASSERT 2021-04-20 04:18:52 -04:00
elf.c KVM: selftests: Expose align() helpers to tests 2021-11-16 07:43:24 -05:00
guest_modes.c KVM/riscv changes for 5.17, take #1 2022-01-07 10:43:02 -05:00
io.c selftests: kvm: Uses TEST_FAIL in tests/utilities 2020-03-16 17:59:11 +01:00
kvm_util_internal.h KVM: selftests: create alias mappings when using shared memory 2021-05-27 07:45:56 -04:00
kvm_util.c KVM: selftests: Split out helper to allocate guest mem via memfd 2022-03-08 10:59:10 -05:00
perf_test_util.c KVM: selftests: Wait for all vCPU to be created before entering guest mode 2021-11-16 07:43:28 -05:00
rbtree.c KVM: selftests: Keep track of memslots more efficiently 2021-05-27 07:45:54 -04:00
sparsebit.c kvm: selftests: Fix spelling mistake "missmatch" -> "mismatch" 2021-09-30 04:27:08 -04:00
test_util.c KVM: selftests: Assert mmap HVA is aligned when using HugeTLB 2021-11-16 07:43:25 -05:00