From: "Chang S. Bae" <chang.seok.bae@intel.com>
To: Andrei Vagin <avagin@google.com>, Borislav Petkov <bp@alien8.de>
Cc: <linux-kernel@vger.kernel.org>, <criu@lists.linux.dev>,
Thomas Gleixner <tglx@kernel.org>, Ingo Molnar <mingo@redhat.com>,
Dave Hansen <dave.hansen@linux.intel.com>, <x86@kernel.org>,
Alexander Mikhalitsyn <alexander@mihalicyn.com>,
"H. Peter Anvin" <hpa@zytor.com>
Subject: Re: [PATCH 2/2] selftests/x86: Check restoring FPU state with larger xstate_size
Date: Wed, 2 Dec 2026 10:12:53 -0800 [thread overview]
Message-ID: <b51b5e47-830a-4b08-950a-fb164f5c84dc@intel.com> (raw)
In-Reply-To: <20260929232621.3745312-3-avagin@google.com>
On 9/29/2026 4:26 PM, Andrei Vagin wrote:
> Extend sigframe_fpu_portability.c with two test cases for signal frames
> whose xstate_size exceeds the current task's fpstate->user_size:
The invalid case appears to result in a #GP. Overall, the change looks
good to me.
I'm curious, though, how complicated it would be to test the other
failure path involving dynamic states, where silent resetting instead.
But I think this case will eventually matter since userspace needs to
detect this type of migration failure.
Thanks,
Chang
next prev parent reply other threads:[~2026-12-02 18:13 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-29 23:26 [PATCH 0/2] x86/fpu: Allow restoring signal frames " Andrei Vagin
2026-09-29 23:26 ` [PATCH 1/2] " Andrei Vagin
2026-12-02 18:12 ` Chang S. Bae
2026-09-29 23:26 ` [PATCH 2/2] selftests/x86: Check restoring FPU state " Andrei Vagin
2026-12-02 18:12 ` Chang S. Bae [this message]
2026-09-29 23:57 ` [PATCH 0/2] x86/fpu: Allow restoring signal frames " Borislav Petkov
2026-09-30 0:02 ` Andrei Vagin
2026-09-30 2:51 ` Borislav Petkov
2026-09-30 19:37 ` Andrei Vagin
2026-10-01 1:56 ` Borislav Petkov
2026-10-21 17:50 ` Andrei Vagin
2026-12-01 16:14 ` Andrei Vagin
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=b51b5e47-830a-4b08-950a-fb164f5c84dc@intel.com \
--to=chang.seok.bae@intel.com \
--cc=alexander@mihalicyn.com \
--cc=avagin@google.com \
--cc=bp@alien8.de \
--cc=criu@lists.linux.dev \
--cc=dave.hansen@linux.intel.com \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=tglx@kernel.org \
--cc=x86@kernel.org \
/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
all inboxes | Powered by JetHome®