mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
To: Karl Mehltretter <kmehltretter@gmail.com>
Cc: Thomas Gleixner <tglx@kernel.org>, Marc Zyngier <maz@kernel.org>,
	Radu Rendec <radu@rendec.net>,
	Artur Rojek <contact@artur-rojek.eu>,
	Rich Felker <dalias@libc.org>,
		linux-sh@vger.kernel.org, linux-kernel@vger.kernel.org,
	Florian Fuchs	 <fuchsfl@gmail.com>
Subject: Re: [PATCH] irqchip/jcore-aic: Fix lost IPIs on SMP
Date: Mon, 28 Sep 2026 08:42:09 +0200	[thread overview]
Message-ID: <38ed243fefebd11cbb2a02fefa394d0766a0bfbe.camel@physik.fu-berlin.de> (raw)
In-Reply-To: <aroDuGZBLsAw7tMS@gmail.com>

Hi Karl,

On Mon, 2026-09-28 at 08:07 +0200, Karl Mehltretter wrote:
> On Mon, Sep 28, 2026 at 07:57:27AM +0100, John Paul Adrian Glaubitz wrote:
> > Can you tell me what toolchain you used to build the kernel for J2?
> > 
> > Last time I tried to use the one provided by Rob Landley, the build
> > failed due to an internal compiler error so I couldn't actually build
> > a kernel to test it on my J2 Turtleboard.
> > 
> 
> musl.cc's sh2eb-linux-muslfdpic toolchain (GCC 11.2.1, binutils 2.37):
> 
>   https://musl.cc/sh2eb-linux-muslfdpic-cross.tgz
> 
> Your ICE is probably the one in kernel/nstree.c. Since listns() went in
> (v6.19), every GCC I tried ICEs there with j2_defconfig. The 64-bit
> put_user() asm prints %T (address + 4) of an "m" operand, and GCC can
> pick an indexed address that cannot be offset. The asm needs "o".
> GCC should still error out instead of crashing, so I filed a GCC bug
> too:
> 
>   https://gcc.gnu.org/bugzilla/show_bug.cgi?id=127639
> 
> Fix below, formal patch follows. With it, j2_defconfig with SMP=y
> builds fine with the musl.cc toolchain.

Oh, I think Florian (CC'ed) already sent a patch for that. I will
look into that one today and pick it up for 7.4 if it fixes the
problem.

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer
`. `'   Physicist
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913

  reply	other threads:[~2026-09-28  6:42 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-28  3:54 Karl Mehltretter
2026-09-28  5:57 ` John Paul Adrian Glaubitz
2026-09-28  6:07   ` Karl Mehltretter
2026-09-28  6:42     ` John Paul Adrian Glaubitz [this message]
2026-09-28 13:40     ` John Paul Adrian Glaubitz
2026-09-28 14:04 ` John Paul Adrian Glaubitz

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=38ed243fefebd11cbb2a02fefa394d0766a0bfbe.camel@physik.fu-berlin.de \
    --to=glaubitz@physik.fu-berlin.de \
    --cc=contact@artur-rojek.eu \
    --cc=dalias@libc.org \
    --cc=fuchsfl@gmail.com \
    --cc=kmehltretter@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-sh@vger.kernel.org \
    --cc=maz@kernel.org \
    --cc=radu@rendec.net \
    --cc=tglx@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

all inboxes | Powered by JetHome®