linux-samsung-r9q2/tools/testing/selftests/kvm/aarch64
Sean Christopherson e779fd53b4 KVM: selftests: Define literal to asm constraint in aarch64 as unsigned long
Define a literal '0' asm input constraint to aarch64/page_fault_test's
guest_cas() as an unsigned long to make clang happy.

  tools/testing/selftests/kvm/aarch64/page_fault_test.c:120:16: error:
    value size does not match register size specified by the constraint
    and modifier [-Werror,-Wasm-operand-widths]
                       :: "r" (0), "r" (TEST_DATA), "r" (guest_test_memory));
                               ^
  tools/testing/selftests/kvm/aarch64/page_fault_test.c:119:15: note:
    use constraint modifier "w"
                       "casal %0, %1, [%2]\n"
                              ^~
                              %w0

Fixes: 35c5810157 ("KVM: selftests: aarch64: Add aarch64/page_fault_test")
Cc: Ricardo Koller <ricarkol@google.com>
Signed-off-by: Sean Christopherson <seanjc@google.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20221213001653.3852042-2-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2022-12-27 06:00:45 -05:00
..
aarch32_id_regs.c KVM/arm64 updates for 6.2 2022-12-09 09:12:12 +01:00
arch_timer.c KVM: selftests: Use non-atomic clear/set bit helpers in KVM tests 2022-12-02 13:22:33 -05:00
debug-exceptions.c Merge remote-tracking branch 'kvm/queue' into HEAD 2022-12-12 15:54:07 -05:00
get-reg-list.c KVM: selftests: Add TEST_REQUIRE macros to reduce skipping copy+paste 2022-06-11 11:47:29 -04:00
hypercalls.c KVM: selftests: move common startup logic to kvm_util.c 2022-11-16 16:58:56 -08:00
page_fault_test.c KVM: selftests: Define literal to asm constraint in aarch64 as unsigned long 2022-12-27 06:00:45 -05:00
psci_test.c KVM: selftests: Automatically do init_ucall() for non-barebones VMs 2022-11-16 16:58:51 -08:00
vcpu_width_config.c KVM: selftests: Add TEST_REQUIRE macros to reduce skipping copy+paste 2022-06-11 11:47:29 -04:00
vgic_init.c KVM: selftests: Automatically do init_ucall() for non-barebones VMs 2022-11-16 16:58:51 -08:00
vgic_irq.c KVM: selftests: move common startup logic to kvm_util.c 2022-11-16 16:58:56 -08:00