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


Groups > linux.debian.kernel > #86525

Bug#1100909: fix selftest tpdir2 Segmentation fault

Path csiph.com!weretis.net!feeder8.news.weretis.net!news.usenet.ovh!news.corradoroberto.it!gothmog.csi.it!bofh.it!news.nic.it!robomod
From Salvatore Bonaccorso <carnil@debian.org>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#1100909: fix selftest tpdir2 Segmentation fault
Date Fri, 21 Mar 2025 19:10:01 +0100
Message-ID <KsOYF-7Ivj-7@gated-at.bofh.it> (permalink)
References <Ksorv-7rqB-5@gated-at.bofh.it> <Ksorv-7rqB-3@gated-at.bofh.it> <KsOYF-7Ivj-9@gated-at.bofh.it> <Ksorv-7rqB-5@gated-at.bofh.it> <KsOYF-7Ivj-9@gated-at.bofh.it>
X-Original-To Kang Wenlin <wenlin.kang@windriver.com>
X-Mailbox-Line From debian-bugs-dist-request@lists.debian.org Fri Mar 21 18:03:10 2025
Old-Return-Path <debbugs@buxtehude.debian.org>
X-Spam-Flag NO
X-Spam-Score -4
Reply-To Salvatore Bonaccorso <carnil@debian.org>, 1100909@bugs.debian.org
Original-Sender Salvatore Bonaccorso <salvatore.bonaccorso@gmail.com>
Resent-To debian-bugs-dist@lists.debian.org
Resent-Cc Debian Kernel Team <debian-kernel@lists.debian.org>
X-Debian-Pr-Message followup 1100909
X-Debian-Pr-Package linux
X-Debian-Pr-Keywords moreinfo
X-Debian-Pr-Source linux
X-Gm-Message-State AOJu0Yz/F5hkwfyM+c5b7h+YoQFgBzu83ny98LKRSk3knaZlq2jP/ZFf amyTcUoCE4uaLDiO5r1iK1usniROIHkClRIu+BOmrQhSuwcwP96WJMbQuVFT
X-Gm-Gg ASbGncs88uVZuWJEQKhNocV08nJgg1fDffolNn/MmRzH3lh+ppOCVqpXTjW1PtALGOs Ycfu5o1Nck+DvREaubOn1jKDlJge569C5SJgabPftsNq85TySrU+9UHjt0kIBENaWLnAA4k+5E2 FaE50SRG9BuG6P34lgmeh8xcK5TCNGU2RjO4CFsSgKGgqTgMwHCFbNHMXYt660LCiZzYDP46tmI Ph4WJFwl3K+TirqWtUu/TsIVeMhiivu/BXVkhbK2w7XFBW2vbQkZFS6lEe3csy0QJqRZJBtaVu8 eTuNF8JCh/IV/sMl/NqL74LWh1fw7WTy1AX6NYraoptHCpUN4DvW8ILbJOaqdt9GxAavSG4Quea 6efGbodAucGOn
X-Google-SMTP-Source AGHT+IE62wzELteTKB0P9kguNUyDmjRM7S/NNYJEHgw2qGgOn51c4plabVU5rKmZpahXgqq9zSSdAA==
X-Received by 2002:a17:907:2ce1:b0:ac3:8897:eb75 with SMTP id a640c23a62f3a-ac3f20d8b99mr405830566b.10.1742580046184; Fri, 21 Mar 2025 11:00:46 -0700 (PDT)
Sender robomod@news.nic.it
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Disposition inline
X-Debian-Message from BTS
X-Mailing-List <debian-bugs-dist@lists.debian.org> archive/latest/1894469
List-ID <debian-bugs-dist.lists.debian.org>
List-URL <https://lists.debian.org/debian-bugs-dist/>
Approved robomod@news.nic.it
Lines 61
Organization linux.* mail to news gateway
X-Original-Cc 1100909@bugs.debian.org
X-Original-Date Fri, 21 Mar 2025 19:00:44 +0100
X-Original-Message-ID <Z92pTMktCvtjnDo9@eldamar.lan>
X-Original-References <86fbc1f0-8946-4dbd-9c0a-a42a7c878cc0@windriver.com> <Z9waZB4sOb8E6C_m@eldamar.lan> <bbc9b437-b0df-4271-9e03-0e18681af24b@windriver.com> <86fbc1f0-8946-4dbd-9c0a-a42a7c878cc0@windriver.com> <bbc9b437-b0df-4271-9e03-0e18681af24b@windriver.com>
X-Original-Sender Salvatore Bonaccorso <salvatore.bonaccorso@gmail.com>
Xref csiph.com linux.debian.bugs.dist:1238625 linux.debian.kernel:86525

Cross-posted to 2 groups.

Show key headers only | View raw


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

Back to linux.debian.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

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

csiph-web