[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1100909: fix selftest tpdir2 Segmentation fault




On 3/20/2025 21:38, Salvatore Bonaccorso wrote:
CAUTION: This email comes from a non Wind River email account!
Do not click links or open attachments unless you recognize the sender and know the content is safe.

Control: severity -1 normal
Control: tags -1 + moreinfo

On Thu, Mar 20, 2025 at 07:04:14PM +0800, Wenlin Kang wrote:
Package: linux
Version: 6.1.129-1
Severity: critical

The selftest tpidr2 fails with a segfault(Segmentation fault) when i run it.

root@localhost:~# uname -rvm
6.1.0-32-arm64 #1 SMP Debian 6.1.129-1 (2025-03-06) aarch64
root@localhost:~#
root@localhost:~# cd linux-kenel/tools/testing/selftests/arm64/abi && make
root@localhost:~/linux-kernel/tools/testing/selftests/arm64/abi# ./tpidr2
Segmentation fault


I've backported the fix patches from upstream for debian-linux(branch:
debian/6.1/bookworm)
and attached it, it works as:

root@localhost:~/linux-kernel/tools/testing/selftests/arm64/abi# ./tpidr2
TAP version 13
1..5
ok 0 skipped, TPIDR2 not supported
ok 1 skipped, TPIDR2 not supported
ok 2 skipped, TPIDR2 not supported
ok 3 skipped, TPIDR2 not supported
ok 4 skipped, TPIDR2 not supported
I'm sorry but we are not going to apply such a patch series. Make sure
they get backported upstream to the 6.1.y branch and let us know again
when this has happened. Note that the upstream commit of the first
patch is as well not correct, it would be
dc64cc12bcd14219afb91b55d23192c3eb45aa43 ? Was this a typo?


Thank you for the clarification. I understand the requirement to backport
to the upstream 6.1.y branch. In addition, my apologies for the incorrect
commit ID on the first patch, thank you for correcting me. I will backport
the patches with the correct commit and inform you when it is complete.



So in short: Make sure that the backport land in the upstream stable
6.1.y branch and then it will flow automatically down to us.

I will close this bug for the time beeing as it can be handled on the
upstream side.

Regards,
Salvatore

--
--
Thanks
Wenlin Kang


Reply to: