Skip to content

Commit 448e711

Browse files
ouptonMarc Zyngier
authored andcommitted
KVM: selftests: Update top-of-file comment in psci_test
Fix the comment to accurately describe the test and recently added SYSTEM_SUSPEND test case. What was once psci_cpu_on_test was renamed and extended to squeeze in a test case for PSCI SYSTEM_SUSPEND. Nonetheless, the author of those changes (whoever they may be...) failed to update the file comment to reflect what had changed. Reported-by: Reiji Watanabe <[email protected]> Signed-off-by: Oliver Upton <[email protected]> Signed-off-by: Marc Zyngier <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent b2a4d00 commit 448e711

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

tools/testing/selftests/kvm/aarch64/psci_test.c

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
// SPDX-License-Identifier: GPL-2.0-only
22
/*
3-
* psci_cpu_on_test - Test that the observable state of a vCPU targeted by the
4-
* CPU_ON PSCI call matches what the caller requested.
3+
* psci_test - Tests relating to KVM's PSCI implementation.
54
*
65
* Copyright (c) 2021 Google LLC.
76
*
8-
* This is a regression test for a race between KVM servicing the PSCI call and
9-
* userspace reading the vCPUs registers.
7+
* This test includes:
8+
* - A regression test for a race between KVM servicing the PSCI CPU_ON call
9+
* and userspace reading the targeted vCPU's registers.
10+
* - A test for KVM's handling of PSCI SYSTEM_SUSPEND and the associated
11+
* KVM_SYSTEM_EVENT_SUSPEND UAPI.
1012
*/
1113

1214
#define _GNU_SOURCE

0 commit comments

Comments
 (0)