Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #86518 > unrolled thread

Bug#1100909: fix selftest tpdir2 Segmentation fault

Started bySalvatore Bonaccorso <carnil@debian.org>
First post2025-03-20 14:50 +0100
Last post2025-03-21 19:10 +0100
Articles 2 — 1 participant

Back to article view | Back to linux.debian.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Bug#1100909: fix selftest tpdir2 Segmentation fault Salvatore Bonaccorso <carnil@debian.org> - 2025-03-20 14:50 +0100
    Bug#1100909: fix selftest tpdir2 Segmentation fault Salvatore Bonaccorso <carnil@debian.org> - 2025-03-21 19:10 +0100

#86518 — Bug#1100909: fix selftest tpdir2 Segmentation fault

FromSalvatore Bonaccorso <carnil@debian.org>
Date2025-03-20 14:50 +0100
SubjectBug#1100909: fix selftest tpdir2 Segmentation fault
Message-ID<Ksorv-7rqB-3@gated-at.bofh.it>
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?

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

[toc] | [next] | [standalone]


#86525

FromSalvatore Bonaccorso <carnil@debian.org>
Date2025-03-21 19:10 +0100
Message-ID<KsOYF-7Ivj-7@gated-at.bofh.it>
In reply to#86518
Hi,

On Fri, Mar 21, 2025 at 12:05:41AM +0800, Kang Wenlin wrote:
> 
> 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.

No problem about the wrong commit id, was just something I spotted
while checking what commits we are speaking about and did it not found
in upstream. 

Make sure that it is asked to be backported to each "upper" stable
version as well where commits are missing, otherwise upstream will
likely reject your backport request. So if there are commits missing
in 6.6.y for instance, they need to flow in there as well.

Regards,
Salvatore

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.kernel


csiph-web