Skip to content

KVM: LoongArch: selftests: MAINTAINERS coverage and a VM leak

Gokul K kvm linux-kselftest lkml loongarch 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2MAINTAINERS: Add the LoongArch KVM selftests directoryMAINTAINERS+1 -01 reply
2/2KVM: LoongArch: selftests: Free the VM when the PMU test skipstools/testing/selftests/kvm/loongarch/pmu_test.c+2 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] KVM: LoongArch: selftests: MAINTAINERS coverage and a VM leak

Two small fixes to the LoongArch KVM selftests. Patch 2 frees the VM on the PMU test's skip path. Patch 1 came out of routing it:
get_maintainer.pl did not name the LoongArch KVM maintainers for tools/testing/selftests/kvm/loongarch/, because the MAINTAINERS entry does not cover that directory, so this series would otherwise have gone to Paolo, Sean and Shuah only.

Based on loongarch-kvm in linux-loongson.git.

Patch 2's hunk sits next to the one in "KVM: selftests: Convert comma to semicolon" [1], which is not applied yet. They do not overlap and apply in either order.

Compile-tested only. Patch 2 builds: tools/testing/selftests/kvm/loongarch/ pmu_test links for loongarch64 with a GCC 15.2.1 cross compiler, using glibc from Debian's loong64 port as the sysroot. The binary was not run. Patch 2 changes the PMU-not-enabled skip path, which only runs on a LoongArch host whose VM config leaves the PMU off.

[1] https://lore.kernel.org/all/[email protected]/

Gokul K (2):
MAINTAINERS: Add the LoongArch KVM selftests directory
KVM: LoongArch: selftests: Free the VM when the PMU test skips

 MAINTAINERS                                      | 1 +
 tools/testing/selftests/kvm/loongarch/pmu_test.c | 3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)
Signature · 1 line
2.54.0