From: Muhammad Usama Anjum <usama.anjum@collabora.com>
To: Shuah Khan <shuah@kernel.org>,
Nathan Chancellor <nathan@kernel.org>,
Nick Desaulniers <ndesaulniers@google.com>,
Bill Wendling <morbo@google.com>,
Justin Stitt <justinstitt@google.com>,
Rick Edgecombe <rick.p.edgecombe@intel.com>,
"Mike Rapoport (IBM)" <rppt@kernel.org>,
Ingo Molnar <mingo@kernel.org>,
Dave Hansen <dave.hansen@linux.intel.com>,
Alexey Dobriyan <adobriyan@gmail.com>,
Binbin Wu <binbin.wu@linux.intel.com>,
"Chang S. Bae" <chang.seok.bae@intel.com>,
"Kirill A. Shutemov" <kirill.shutemov@linux.intel.com>,
linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org,
llvm@lists.linux.dev, maskray@google.com
Cc: Muhammad Usama Anjum <usama.anjum@collabora.com>, kernel@collabora.com
Subject: Re: [PATCH 0/8] selftests: x86: build suite with clang
Date: Thu, 16 May 2024 08:06:16 -0600 [thread overview]
Message-ID: <1f896922-1a62-44f5-b9b4-2e48e90e7f70@collabora.com> (raw)
In-Reply-To: <20240501122918.3831734-1-usama.anjum@collabora.com>
On 5/1/24 6:29 AM, Muhammad Usama Anjum wrote:
> This series fixes build errors found by clang to allow the x86 suite to
> get built with the clang.
>
> Unfortunately, there is one bug [1] in the clang becuase of which
> extended asm isn't handled correctly by it and build fails for
> sysret_rip.c. Hence even after this series the build of this test would
> fail with clang. Should we disable this test for now when clang is used
> until the bug is fixed in clang? Not sure. Any opinions?
Its seems like the bug has been fixed in clang. I'll verify it in next
release and draft a patch separately to fix that error.
I think this series is good to accept then.
>
> [1] https://github.com/llvm/llvm-project/issues/53728
>
> Muhammad Usama Anjum (8):
> selftests: x86: Remove dependence of headers file
> selftests: x86: check_initial_reg_state: remove -no-pie while using
> -static
> selftests: x86: test_vsyscall: remove unused function
> selftests: x86: fsgsbase_restore: fix asm directive from =rm to =r
> selftests: x86: syscall_arg_fault_32: remove unused variable
> selftests: x86: test_FISTTP: use fisttps instead of ambigous fisttp
> selftests: x86: fsgsbase: Remove unused function and variable
> selftests: x86: amx: Remove unused functions
>
> tools/testing/selftests/x86/Makefile | 9 +++++----
> tools/testing/selftests/x86/amx.c | 16 ----------------
> tools/testing/selftests/x86/fsgsbase.c | 6 ------
> tools/testing/selftests/x86/fsgsbase_restore.c | 2 +-
> tools/testing/selftests/x86/syscall_arg_fault.c | 1 -
> tools/testing/selftests/x86/test_FISTTP.c | 8 ++++----
> tools/testing/selftests/x86/test_vsyscall.c | 5 -----
> 7 files changed, 10 insertions(+), 37 deletions(-)
>
--
BR,
Muhammad Usama Anjum
next prev parent reply other threads:[~2024-05-16 14:07 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-01 12:29 [PATCH 0/8] selftests: x86: build suite with clang Muhammad Usama Anjum
2024-05-01 12:29 ` [PATCH 1/8] selftests: x86: Remove dependence of headers file Muhammad Usama Anjum
2024-05-01 12:29 ` [PATCH 2/8] selftests: x86: check_initial_reg_state: remove -no-pie while using -static Muhammad Usama Anjum
2024-05-01 12:29 ` [PATCH 3/8] selftests: x86: test_vsyscall: remove unused function Muhammad Usama Anjum
2024-05-01 12:29 ` [PATCH 4/8] selftests: x86: fsgsbase_restore: fix asm directive from =rm to =r Muhammad Usama Anjum
2024-05-01 12:29 ` [PATCH 5/8] selftests: x86: syscall_arg_fault_32: remove unused variable Muhammad Usama Anjum
2024-05-01 12:29 ` [PATCH 6/8] selftests: x86: test_FISTTP: use fisttps instead of ambigous fisttp Muhammad Usama Anjum
2024-05-01 12:29 ` [PATCH 7/8] selftests: x86: fsgsbase: Remove unused function and variable Muhammad Usama Anjum
2024-05-01 12:29 ` [PATCH 8/8] selftests: x86: amx: Remove unused functions Muhammad Usama Anjum
2024-05-06 23:26 ` [PATCH 0/8] selftests: x86: build suite with clang Fangrui Song
2024-05-15 22:20 ` Fangrui Song
2024-05-16 14:06 ` Muhammad Usama Anjum [this message]
2024-05-28 5:04 ` Muhammad Usama Anjum
2024-06-07 20:50 ` Shuah Khan
2024-06-07 21:17 ` Dave Hansen
2024-06-07 21:25 ` John Hubbard
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=1f896922-1a62-44f5-b9b4-2e48e90e7f70@collabora.com \
--to=usama.anjum@collabora.com \
--cc=adobriyan@gmail.com \
--cc=binbin.wu@linux.intel.com \
--cc=chang.seok.bae@intel.com \
--cc=dave.hansen@linux.intel.com \
--cc=justinstitt@google.com \
--cc=kernel@collabora.com \
--cc=kirill.shutemov@linux.intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-kselftest@vger.kernel.org \
--cc=llvm@lists.linux.dev \
--cc=maskray@google.com \
--cc=mingo@kernel.org \
--cc=morbo@google.com \
--cc=nathan@kernel.org \
--cc=ndesaulniers@google.com \
--cc=rick.p.edgecombe@intel.com \
--cc=rppt@kernel.org \
--cc=shuah@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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).