]> 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)
commit70307c89e1136bf5895d24b05922f18a73e4e82c
tree6db36317010c9e96dbdff560e66838c1ec34e8c1
parentb2e5f94a3e81a973dc156c317612b55d25d7e3e5
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