From: Shuah Khan <skhan@linuxfoundation.org>
To: "Chang S. Bae" <chang.seok.bae@intel.com>,
linux-kselftest@vger.kernel.org, shuah@kernel.org,
linux-kernel@vger.kernel.org
Cc: dave.hansen@linux.intel.com, tglx@linutronix.de, bp@suse.de,
Shuah Khan <skhan@linuxfoundation.org>
Subject: Re: [PATCH 0/2] selftests/x86: AMX-related test improvements
Date: Thu, 16 Jun 2022 16:55:30 -0600 [thread overview]
Message-ID: <86661dd7-6ca3-dc72-dff7-782a83ba7bc5@linuxfoundation.org> (raw)
In-Reply-To: <20220401221014.13556-1-chang.seok.bae@intel.com>
On 4/1/22 4:10 PM, Chang S. Bae wrote:
> A couple of test updates are included:
>
> * With this option [1,2], the kernel's altstack check becomes stringent.
> The x86 sigaltstack test is ignorant about this. Adjust the test now.
> This check was established [3] to ensure every AMX task's altstack is
> sufficient (regardless of that option) [4].
>
> * The AMX test wrongly fails on non-AMX machines. Fix the code to skip the
> test instead.
>
> The series is available in this repository:
> git://github.com/intel/amx-linux.git selftest
>
> [1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/arch/x86/Kconfig#n2432
> [2] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/admin-guide/kernel-parameters.txt#n5676
> [3] 3aac3ebea08f ("x86/signal: Implement sigaltstack size validation")
> [4] 4b7ca609a33d ("x86/signal: Use fpu::__state_user_size for sigalt stack validation")
>
> Chang S. Bae (2):
> selftests/x86/signal: Adjust the test to the kernel's altstack check
> selftests/x86/amx: Fix the test to avoid failure when AMX is
> unavailable
>
> tools/testing/selftests/x86/amx.c | 42 +++++++++++++++++------
> tools/testing/selftests/x86/sigaltstack.c | 12 ++++++-
> 2 files changed, 42 insertions(+), 12 deletions(-)
>
>
> base-commit: f443e374ae131c168a065ea1748feac6b2e76613
>
These are fixes and I can take them through kselftest once the review
comments are addressed and get an ack from x86 maintainers.
thanks,
-- Shuah
prev parent reply other threads:[~2022-06-16 22:55 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-01 22:10 Chang S. Bae
2022-04-01 22:10 ` [PATCH 1/2] selftests/x86/signal: Adjust the test to the kernel's altstack check Chang S. Bae
2022-06-16 22:47 ` Shuah Khan
2022-04-01 22:10 ` [PATCH 2/2] selftests/x86/amx: Fix the test to avoid failure when AMX is unavailable Chang S. Bae
2022-06-16 22:54 ` Shuah Khan
2022-06-17 22:21 ` Chang S. Bae
2022-06-17 22:29 ` Shuah Khan
2022-06-16 22:55 ` Shuah Khan [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=86661dd7-6ca3-dc72-dff7-782a83ba7bc5@linuxfoundation.org \
--to=skhan@linuxfoundation.org \
--cc=bp@suse.de \
--cc=chang.seok.bae@intel.com \
--cc=dave.hansen@linux.intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-kselftest@vger.kernel.org \
--cc=shuah@kernel.org \
--cc=tglx@linutronix.de \
/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®