From: Shuah Khan <skhan@linuxfoundation.org>
To: Ingo Molnar <mingo@kernel.org>
Cc: Muhammad Usama Anjum <usama.anjum@collabora.com>,
Shuah Khan <shuah@kernel.org>,
"Chang S. Bae" <chang.seok.bae@intel.com>,
"Kirill A. Shutemov" <kirill.shutemov@linux.intel.com>,
Binbin Wu <binbin.wu@linux.intel.com>,
angquan yu <angquan21@gmail.com>,
kernel@collabora.com, linux-kselftest@vger.kernel.org,
linux-kernel@vger.kernel.org,
Shuah Khan <skhan@linuxfoundation.org>
Subject: Re: [PATCH v3] selftests: x86: skip the tests if prerequisites aren't fulfilled
Date: Fri, 29 Mar 2024 09:01:07 -0600 [thread overview]
Message-ID: <70698a24-3794-4621-ac74-7aaeae01a750@linuxfoundation.org> (raw)
In-Reply-To: <ZgZvaUbZIr0qpxK5@gmail.com>
On 3/29/24 01:36, Ingo Molnar wrote:
>
> * Shuah Khan <skhan@linuxfoundation.org> wrote:
>
>> On 3/27/24 05:17, Muhammad Usama Anjum wrote:
>>> Skip instead of failing when prerequisite conditions aren't fulfilled,
>>> such as invalid xstate values etc. This patch would make the tests show
>>> as skip when run by:
>>> make -C tools/testing/selftests/ TARGETS=x86 run_tests
>>>
>>> ...
>>> # timeout set to 45
>>> # selftests: x86: amx_64
>>> # # xstate cpuid: invalid tile data size/offset: 0/0
>>> ok 42 selftests: x86: amx_64 # SKIP
>>> # timeout set to 45
>>> # selftests: x86: lam_64
>>> # # Unsupported LAM feature!
>>> ok 43 selftests: x86: lam_64 # SKIP
>>> ...
>>>
>>> In amx test, Move away from check_cpuid_xsave() and start using
>>> arch_prctl() to find out if amx support is present or not. In the
>>> kernels where amx isn't present, arch_prctl returns -EINVAL. Hence it is
>>> backward compatible.
>>>
>>> Reviewed-by: Chang S. Bae <chang.seok.bae@intel.com>
>>> Acked-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
>>> Reviewed-by: Binbin Wu <binbin.wu@linux.intel.com>
>>> Signed-off-by: Muhammad Usama Anjum <usama.anjum@collabora.com>
>>> ---
>>> Changes since v2:
>>> - Update the changelog
>>>
>>
>> Thank you - applied to linux-kselftest next for 6.10-rc1
>
> Please don't, I've applied the patch to tip:x86/cpu with a tidied up
> changelog.
>
Thanks. I will drop it.
thanks,
-- Shuah
next prev parent reply other threads:[~2024-03-29 15:01 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-27 11:17 Muhammad Usama Anjum
2024-03-28 18:42 ` Shuah Khan
2024-03-29 7:36 ` Ingo Molnar
2024-03-29 15:01 ` Shuah Khan [this message]
2024-03-30 11:08 ` Ingo Molnar
2024-03-29 7:51 ` [tip: x86/cpu] x86/selftests: Skip " tip-bot2 for Muhammad Usama Anjum
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=70698a24-3794-4621-ac74-7aaeae01a750@linuxfoundation.org \
--to=skhan@linuxfoundation.org \
--cc=angquan21@gmail.com \
--cc=binbin.wu@linux.intel.com \
--cc=chang.seok.bae@intel.com \
--cc=kernel@collabora.com \
--cc=kirill.shutemov@linux.intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-kselftest@vger.kernel.org \
--cc=mingo@kernel.org \
--cc=shuah@kernel.org \
--cc=usama.anjum@collabora.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
all inboxes | Powered by JetHome®