<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-dev/tools/testing/selftests/kvm/aarch64/psci_test.c, branch linus/master</title>
<subtitle>Linux kernel development work - see feature branches</subtitle>
<id>https://git.zx2c4.com/linux-dev/atom/tools/testing/selftests/kvm/aarch64/psci_test.c?h=linus%2Fmaster</id>
<link rel='self' href='https://git.zx2c4.com/linux-dev/atom/tools/testing/selftests/kvm/aarch64/psci_test.c?h=linus%2Fmaster'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/'/>
<updated>2022-05-04T08:28:46Z</updated>
<entry>
<title>selftests: KVM: Test SYSTEM_SUSPEND PSCI call</title>
<updated>2022-05-04T08:28:46Z</updated>
<author>
<name>Oliver Upton</name>
<email>oupton@google.com</email>
</author>
<published>2022-05-04T03:24:46Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=b26dafc8a9e74254a390e8f21ff028a2573ee4fc'/>
<id>urn:sha1:b26dafc8a9e74254a390e8f21ff028a2573ee4fc</id>
<content type='text'>
Assert that the vCPU exits to userspace with KVM_SYSTEM_EVENT_SUSPEND if
the guest calls PSCI SYSTEM_SUSPEND. Additionally, guarantee that the
SMC32 and SMC64 flavors of this call are discoverable with the
PSCI_FEATURES call.

Signed-off-by: Oliver Upton &lt;oupton@google.com&gt;
Signed-off-by: Marc Zyngier &lt;maz@kernel.org&gt;
Link: https://lore.kernel.org/r/20220504032446.4133305-13-oupton@google.com
</content>
</entry>
<entry>
<title>selftests: KVM: Refactor psci_test to make it amenable to new tests</title>
<updated>2022-05-04T08:28:46Z</updated>
<author>
<name>Oliver Upton</name>
<email>oupton@google.com</email>
</author>
<published>2022-05-04T03:24:45Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=67a36a821312e9c0d2a2f7e6c2225204500cc01c'/>
<id>urn:sha1:67a36a821312e9c0d2a2f7e6c2225204500cc01c</id>
<content type='text'>
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 &lt;oupton@google.com&gt;
Reviewed-by: Andrew Jones &lt;drjones@redhat.com&gt;
Signed-off-by: Marc Zyngier &lt;maz@kernel.org&gt;
Link: https://lore.kernel.org/r/20220504032446.4133305-12-oupton@google.com
</content>
</entry>
<entry>
<title>selftests: KVM: Use KVM_SET_MP_STATE to power off vCPU in psci_test</title>
<updated>2022-05-04T08:28:46Z</updated>
<author>
<name>Oliver Upton</name>
<email>oupton@google.com</email>
</author>
<published>2022-05-04T03:24:44Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=d135399a97cc3e27716a8e468a5fd1a209346831'/>
<id>urn:sha1:d135399a97cc3e27716a8e468a5fd1a209346831</id>
<content type='text'>
Setting a vCPU's MP state to KVM_MP_STATE_STOPPED has the effect of
powering off the vCPU. Rather than using the vCPU init feature flag, use
the KVM_SET_MP_STATE ioctl to power off the target vCPU.

Signed-off-by: Oliver Upton &lt;oupton@google.com&gt;
Signed-off-by: Marc Zyngier &lt;maz@kernel.org&gt;
Link: https://lore.kernel.org/r/20220504032446.4133305-11-oupton@google.com
</content>
</entry>
<entry>
<title>selftests: KVM: Create helper for making SMCCC calls</title>
<updated>2022-05-04T08:28:45Z</updated>
<author>
<name>Oliver Upton</name>
<email>oupton@google.com</email>
</author>
<published>2022-05-04T03:24:43Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=694e3dcc47471b8b409a0ef647319b746eabcb3a'/>
<id>urn:sha1:694e3dcc47471b8b409a0ef647319b746eabcb3a</id>
<content type='text'>
The PSCI and PV stolen time tests both need to make SMCCC calls within
the guest. Create a helper for making SMCCC calls and rework the
existing tests to use the library function.

Signed-off-by: Oliver Upton &lt;oupton@google.com&gt;
Reviewed-by: Andrew Jones &lt;drjones@redhat.com&gt;
Signed-off-by: Marc Zyngier &lt;maz@kernel.org&gt;
Link: https://lore.kernel.org/r/20220504032446.4133305-10-oupton@google.com
</content>
</entry>
<entry>
<title>selftests: KVM: Rename psci_cpu_on_test to psci_test</title>
<updated>2022-05-04T08:28:45Z</updated>
<author>
<name>Oliver Upton</name>
<email>oupton@google.com</email>
</author>
<published>2022-05-04T03:24:42Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=6689fb8f21ecf5fd99278b622c9579ffbc2742c2'/>
<id>urn:sha1:6689fb8f21ecf5fd99278b622c9579ffbc2742c2</id>
<content type='text'>
There are other interactions with PSCI worth testing; rename the PSCI
test to make it more generic.

No functional change intended.

Signed-off-by: Oliver Upton &lt;oupton@google.com&gt;
Reviewed-by: Andrew Jones &lt;drjones@redhat.com&gt;
Signed-off-by: Marc Zyngier &lt;maz@kernel.org&gt;
Link: https://lore.kernel.org/r/20220504032446.4133305-9-oupton@google.com
</content>
</entry>
</feed>
