]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: arm64: selftests: Fix multiple versions of GIC creation
authorZenghui Yu <yuzenghui@huawei.com>
Sun, 9 Oct 2022 03:31:31 +0000 (11:31 +0800)
committerMarc Zyngier <maz@kernel.org>
Mon, 10 Oct 2022 08:41:39 +0000 (09:41 +0100)
commit7dcf4d3f4e7a5c50557aa82ebeafe78d3f5e8eeb
treeb0435f1da94620b5c4858bafd123e5c488883345
parentb0ec742ef1826691aa7a4f6110a6b0845aa515d5
KVM: arm64: selftests: Fix multiple versions of GIC creation

Commit ba010427497d ("KVM: selftests: Move KVM_CREATE_DEVICE_TEST code to
separate helper") wrongly converted a "real" GIC device creation to
__kvm_test_create_device() and caused the test failure on my D05 (which
supports v2 emulation). Fix it.

Fixes: ba010427497d ("KVM: selftests: Move KVM_CREATE_DEVICE_TEST code to separate helper")
Signed-off-by: Zenghui Yu <yuzenghui@huawei.com>
Reviewed-by: Oliver Upton <oliver.upton@linux.dev>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20221009033131.365-1-yuzenghui@huawei.com
tools/testing/selftests/kvm/aarch64/vgic_init.c