From: Marc Zyngier <maz@kernel.org>
To: Like Xu <like.xu.linux@gmail.com>
Cc: Oliver Upton <oupton@kernel.org>,
kvmarm@lists.linux.dev, Paolo Bonzini <pbonzini@redhat.com>,
kvm@vger.kernel.org, linux-kernel@vger.kernel.org,
Jiaqi Yan <jiaqiyan@google.com>
Subject: Re: [PATCH] KVM: selftests: arm64: Skip sea_to_user without 1GB hugepages
Date: Mon, 17 Aug 2026 09:52:58 +0100 [thread overview]
Message-ID: <86qzjxyvpx.wl-maz@kernel.org> (raw)
In-Reply-To: <20260817080759.25601-1-likexu@tencent.com>
+ Jiaqi.
On Mon, 17 Aug 2026 09:07:59 +0100,
Like Xu <like.xu.linux@gmail.com> wrote:
>
> sea_to_user backs guest memory with 1GB hugepages but never checks any
> are reserved, aborting instead of skipping when the host has none:
>
> kvm_syscalls.h:68: mem != MAP_FAILED, errno=12 (ENOMEM)
> not ok 1 selftests: kvm: sea_to_user # exit=254
>
> Check for enough free hugepages up front so the test skips cleanly.
See my comments at [1].
This test is totally borked, and Jiaqi stopped replying. It is a
liability, and I'd like it *removed*. But if you want to fix it,
please go ahead.
M.
[1] https://lore.kernel.org/all/86y0le9cvz.wl-maz@kernel.org/
--
Without deviation from the norm, progress is not possible.
prev parent reply other threads:[~2026-08-17 8:53 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-17 8:07 [PATCH] KVM: selftests: arm64: Skip sea_to_user without 1GB hugepages Like Xu
2026-08-17 8:52 ` Marc Zyngier [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=86qzjxyvpx.wl-maz@kernel.org \
--to=maz@kernel.org \
--cc=jiaqiyan@google.com \
--cc=kvm@vger.kernel.org \
--cc=kvmarm@lists.linux.dev \
--cc=like.xu.linux@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=oupton@kernel.org \
--cc=pbonzini@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox