]> git.baikalelectronics.ru Git - kernel.git/commit
selftests: KVM: Refactor psci_test to make it amenable to new tests
authorOliver Upton <oupton@google.com>
Wed, 4 May 2022 03:24:45 +0000 (03:24 +0000)
committerMarc Zyngier <maz@kernel.org>
Wed, 4 May 2022 08:28:46 +0000 (09:28 +0100)
commit59669fbc5a94a0e74e1a6cba2f5f9fa9c0a8a81f
tree6db36317010c9e96dbdff560e66838c1ec34e8c1
parent416022801d4687ff5b7c0ab2c84c3a7c6039c8fa
selftests: KVM: Refactor psci_test to make it amenable to new tests

Split up the current test into several helpers that will be useful to
subsequent test cases added to the PSCI test suite.

Signed-off-by: Oliver Upton <oupton@google.com>
Reviewed-by: Andrew Jones <drjones@redhat.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20220504032446.4133305-12-oupton@google.com
tools/testing/selftests/kvm/aarch64/psci_test.c