Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.kernel > #89829
| Path | csiph.com!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod |
|---|---|
| From | "Arnd Bergmann" <arnd@arndb.de> |
| Newsgroups | linux.debian.ports.arm, linux.debian.kernel |
| Subject | Re: Architecture baseline for Forky |
| Date | Thu, 30 Oct 2025 10:10:01 +0100 |
| Message-ID | <LLwPn-96Ea-5@gated-at.bofh.it> (permalink) |
| References | <LK8cp-85Zv-3@gated-at.bofh.it> <LKdON-89IL-1@gated-at.bofh.it> <LKerv-8ag9-1@gated-at.bofh.it> <LKjKx-8dPd-5@gated-at.bofh.it> <LKsNP-8k46-1@gated-at.bofh.it> <LKtJT-8kLF-17@gated-at.bofh.it> <LKD6y-8sUr-3@gated-at.bofh.it> <LL9g5-8Q1a-1@gated-at.bofh.it> <LLtRw-94j2-3@gated-at.bofh.it> <LLtRw-94j2-1@gated-at.bofh.it> <LLwPn-96Ea-3@gated-at.bofh.it> <LLwPn-96Ea-1@gated-at.bofh.it> |
| X-Mailbox-Line | From debian-arm-request@lists.debian.org Thu Oct 30 09:05:51 2025 |
| Old-Return-Path | <arnd@arndb.de> |
| X-Amavis-Spam-Status | No, score=-7.898 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, LDO_WHITELIST=-5, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001] autolearn=ham autolearn_force=no |
| X-Policyd-Weight | NOT_IN_SBL_XBL_SPAMHAUS=-1.5 IX_MANITU=ERR(0) CL_IP_EQ_HELO_IP=-2 (check from: .arndb. - helo: .fhigh-a2-smtp.messagingengine. - helo-domain: .messagingengine.) FROM/MX_MATCHES_HELO(DOMAIN)=-2; rate: -5.5 |
| X-Me-Sender | <xms:VyoDaY7syIHPK7m2JPxk2v23XfHnKg4IzikwfCuilSZCVHWwefUSVQ> <xme:VyoDaUsgi9n7CI3Bu5n4EjiMnxwuRhp6scohJveoVRSTI9MFuVHJczI_3pbnywkyr HHP4ivq4qfJHZThKpqb2lvJEOoDR-7oJkeCdmZC5hKUgIILBDglUj6y> |
| X-Me-Proxy-Cause | gggruggvucftvghtrhhoucdtuddrgeeffedrtdeggdduieeivdduucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucenucfjughrpefoggffhffvvefkjghfufgtgfesthejre dtredttdenucfhrhhomhepfdetrhhnugcuuegvrhhgmhgrnhhnfdcuoegrrhhnugesrghr nhgusgdruggvqeenucggtffrrghtthgvrhhnpeeggfejudejvdeijeeglefgtdfhudffie etfedugefhffekjeefhedtjeefjeetfeenucffohhmrghinhepghhithhhuhgsrdgtohhm necuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprghrnh gusegrrhhnuggsrdguvgdpnhgspghrtghpthhtohepgedpmhhouggvpehsmhhtphhouhht pdhrtghpthhtohepphhluhhgfigrshhhseguvggsihgrnhdrohhrghdprhgtphhtthhope guvggsihgrnhdqrghrmheslhhishhtshdruggvsghirghnrdhorhhgpdhrtghpthhtohep uggvsghirghnqdhkvghrnhgvlheslhhishhtshdruggvsghirghnrdhorhhgpdhrtghpth htohepuggvsghirghnqdhtohholhgthhgrihhnsehlihhsthhsrdguvggsihgrnhdrohhr gh |
| X-Me-Proxy | <xmx:VyoDaSlmeCO5mO_YLVVwOKu9vs9wHxUdqT8Y57sMD0-5NEO78Uq3iQ> <xmx:VyoDaQs8BR3e2jz0hHJ5ucUiK0M5-Lk1RAFkjWKJxEidJwGV96Nckw> <xmx:VyoDaY8FY5ZkZttaZjtYNZjQy0vkUKKaynrOJ0MZxj0bqTyGDQJXfA> <xmx:VyoDaSMCnaZ35mxTNwnNoBBCsuOuAyPtjXm56wy-bWpWAXxJxnOktw> <xmx:VyoDaa2Z5te-EKZMu1hJqJh0iwAGd6BwQsSKFUdgcVzkg-rbw_LGwYcC> |
| Feedback-ID | i56a14606:Fastmail |
| X-Mailer | MessagingEngine.com Webmail Interface |
| MIME-Version | 1.0 |
| X-Threadid | A1HG9NAFg8xg |
| Content-Type | text/plain |
| Content-Transfer-Encoding | 7bit |
| X-Mailing-List | <debian-arm@lists.debian.org> archive/latest/25037 |
| List-ID | <debian-arm.lists.debian.org> |
| List-URL | <https://lists.debian.org/debian-arm/> |
| List-Archive | https://lists.debian.org/msgid-search/864fd97e-acd9-440b-a9b0-bbc3ccf6bcf2@app.fastmail.com |
| Approved | robomod@news.nic.it |
| Lines | 24 |
| Organization | linux.* mail to news gateway |
| Sender | robomod@news.nic.it |
| X-Original-Cc | debian-arm@lists.debian.org, debian-kernel@lists.debian.org, debian-toolchain@lists.debian.org |
| X-Original-Date | Thu, 30 Oct 2025 10:05:07 +0100 |
| X-Original-Message-ID | <864fd97e-acd9-440b-a9b0-bbc3ccf6bcf2@app.fastmail.com> |
| X-Original-References | <20251026122129.qhuo7s5y6ezbmyh7@shell.thinkmo.de> <C270F881-3BA7-4501-9BAD-C7C32797F71F@gmail.com> <aP5yiDbM3PwYSN4K@bongo.bofh.it> <f61cb992-7847-4d41-b9c1-9eeaa3a0a53a@aol.de> <66bcd332-17f5-41d0-985f-a30a82560798@juszkiewicz.com.pl> <aP9X9A0Vy9Td8jDP@localhost> <13816324-150f-4180-8182-2ea9c250e924@app.fastmail.com> <aQHEwUgfWS4wCI1Z@localhost> <57c5f44d-4714-4e94-9dcb-751a6b336d80@app.fastmail.com> <c5bde8e0-8cd2-4be6-8e17-444be46d72c5@debian.org> <9506b61d-049c-477e-93da-e6f213ccc799@app.fastmail.com> <84339331-7bdc-41a0-8bf6-98f2713c2336@debian.org> |
| Xref | csiph.com linux.debian.ports.arm:14266 linux.debian.kernel:89829 |
Cross-posted to 2 groups.
Show key headers only | View raw
On Thu, Oct 30, 2025, at 09:47, Peter Green wrote:
> On 30/10/2025 08:28, Arnd Bergmann wrote:
>> On Thu, Oct 30, 2025, at 06:39, Peter Green wrote:
>>> The problem is that arm64 kernels by default trap the armv6k memory
>>> barriers into the kernel and emulate them. Asside from being slow
>>> this can also cause hangs if the optimiser moves a barrier inside
>>> a load-exclusive/store-exclusive loop.
>> Right, this is very unfortunate, and I suspect that this is something
>> we should change in both the arm64 kernel and in the compiler. If
>> you can point me to specific userspace code that has this problem,
>> I can probably come up with a kernel patch to work around it,
>> at least if that userspace code isn't obviously wrong.
> https://github.com/rust-lang/rust/issues/53670
Thanks for the pointer! This strongly suggests that the bug is
in llvm itself, not in userspace applications or the kernel.
I think the armv7-a version of the reproducer shows the same bug,
though that happens to work. This is probably one of the cases
where we want a compiler fix first, but can then add a workaround
in the host kernel (enabling the instruction itself instead of
the emulation where possible, same as the Raspberry Pi downstream
kernel does).
Arnd
Back to linux.debian.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Architecture baseline for Forky Bastian Blank <waldi@debian.org> - 2025-10-26 13:40 +0100
Re: Architecture baseline for Forky John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> - 2025-10-26 14:20 +0100
Re: Architecture baseline for Forky Bastian Blank <waldi@debian.org> - 2025-10-27 08:40 +0100
Re: Architecture baseline for Forky Tony Rodriguez <unixpro1970@gmail.com> - 2025-10-26 19:40 +0100
Re: Architecture baseline for Forky John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> - 2025-10-26 20:30 +0100
Re: Architecture baseline for Forky Adrian Bunk <bunk@debian.org> - 2025-10-27 12:50 +0100
Re: Architecture baseline for Forky Martin <debacle@debian.org> - 2025-10-27 18:10 +0100
Re: Architecture baseline for Forky "Arnd Bergmann" <arnd@arndb.de> - 2025-10-27 22:40 +0100
Re: Architecture baseline for Forky Adrian Bunk <bunk@debian.org> - 2025-10-29 09:00 +0100
Re: Architecture baseline for Forky Peter Green <plugwash@debian.org> - 2025-10-30 07:00 +0100
Re: Architecture baseline for Forky Peter Green <plugwash@debian.org> - 2025-10-30 10:10 +0100
Re: Architecture baseline for Forky "Arnd Bergmann" <arnd@arndb.de> - 2025-10-30 10:10 +0100
Re: Architecture baseline for Forky Adrian Bunk <bunk@debian.org> - 2025-10-30 15:30 +0100
Re: Architecture baseline for Forky Rob Landley <rob@landley.net> - 2025-10-27 21:40 +0100
Re: Architecture baseline for Forky Adrian Bunk <bunk@debian.org> - 2025-10-27 11:20 +0100
Re: Architecture baseline for Forky Colin Watson <cjwatson@debian.org> - 2025-10-27 19:30 +0100
Re: Architecture baseline for Forky "Nikos Tsipinakis" <nikos@tsipinakis.com> - 2025-10-30 14:40 +0100
Re: Architecture baseline for Forky Milan Kupcevic <milan@debian.org> - 2025-10-27 22:40 +0100
Re: Architecture baseline for Forky Bastian Blank <waldi@debian.org> - 2025-10-27 23:40 +0100
Re: Architecture baseline for Forky Marc Haber <mh+debian-release@zugschlus.de> - 2025-10-28 10:10 +0100
Planned obsolescence ? (was: Re: Architecture baseline for Forky) Romain Dolbeau <romain@dolbeau.org> - 2025-10-28 10:00 +0100
Re: Planned obsolescence ? (OpenBSD) Paul Tagliamonte <paultag@debian.org> - 2025-11-02 23:30 +0100
Re: Planned obsolescence ? (*BSD, Rust) David Starner <prosfilaes@gmail.com> - 2025-11-04 00:20 +0100
Re: Architecture baseline for Forky Rob Landley <rob@landley.net> - 2025-12-05 00:20 +0100
R: Re: Architecture baseline for Forky Federico Vaga <federico.vaga@vaga.pv.it> - 2026-09-07 09:20 +0200
csiph-web