Re: [PATCH v2 0/2] KVM: LoongArch: selftests: MAINTAINERS coverage and a VM leak
From: Huacai Chen
Date: Wed Dec 02 2026 - 22:09:14 EST
On Fri, Nov 27, 2026 at 9:12 AM Bibo Mao <maobibo@xxxxxxxxxxx> wrote:
>
> On 2026/11/26 下午1:03, Gokul K wrote:
> > 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.
> >
> > Changes in v2:
> > - 1/2: also drop the lib/loongarch/ line, which */loongarch/ already
> > covers, so the entry matches the other arches (Zenghui Yu)
> > - 2/2: unchanged
> >
> > v1: https://lore.kernel.org/all/20261123100701.1679376-1-gokul02k@xxxxxxxxx/
> >
> > [1] https://lore.kernel.org/all/20260428053204.1018608-1-nichen@xxxxxxxxxxx/
> >
> > Gokul K (2):
> > MAINTAINERS: Add the LoongArch KVM selftests directory
> > KVM: LoongArch: selftests: Free the VM when the PMU test skips
> >
> > MAINTAINERS | 2 +-
> > tools/testing/selftests/kvm/loongarch/pmu_test.c | 3 ++-
> > 2 files changed, 3 insertions(+), 2 deletions(-)
> >
> For this series.
> Reviewed-by: Bibo Mao <maobibo@xxxxxxxxxxx>
Applied, thanks.
Huacai
>
>