mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Willy Tarreau <w@1wt.eu>
To: "Thomas Weißschuh" <linux@weissschuh.net>
Cc: Richard Henderson <richard.henderson@linaro.org>,
	Shuah Khan <shuah@kernel.org>, Matt Turner <mattst88@gmail.com>,
	linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org,
	linux-alpha@vger.kernel.org, Arnd Bergmann <arnd@arndb.de>,
	John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Subject: Re: [PATCH] tools/nolibc: add support for Alpha
Date: Wed, 16 Jul 2025 08:50:43 +0200	[thread overview]
Message-ID: <20250716065043.GA30755@1wt.eu> (raw)
In-Reply-To: <c39ae47e-8a07-44e3-8d71-d44fa804877d@t-8ch.de>

On Tue, Jul 15, 2025 at 04:42:10PM +0200, Thomas Weißschuh wrote:
> > I finally managed to reinstall my DS10 to build and test this and FWIW
> > the test passes:
> 
> Thanks for getting real hardware involved!

You're welcome, I was happy to revive it after 15yr of downtime and
upgrade it from 2.4.37 to 6.12 ;-)

> > The result is exactly the same if I comment that line that resets brk,
> > as brk was apparently already NULL:
> > 
> >   13 sbrk_0 = <0x120024000>                                         [OK]
> >   14 sbrk = 0                                                       [OK]
> >   15 brk = 0                                                        [OK]
> 
> brk shouldn't be NULL I think. It looks instead like it's 0x120024000.
> And it looks weird because the raw numbers look similar to my machine.
> 
> >   1 argv_addr = <0x11fc7b428>                                       [OK]
> 
> >   13 sbrk_0 = <0x120024000>                                         [OK]
> 
> argv is not greater than brk.
> 
> Could you double-check your test modification?

I only commented out the "brk = NULL;" line enclosed in the
"#if defined(__alpha__)" block. But I can recheck everything. I
must say, the machine is old and super slow, I untarred a kernel
and applied the for-next patches then your alpha series on top
of it. Cloning via git would take a day or two based on my
experience with haproxy which is hundreds of times smaller...

> How does it behave in QEMU for you?

Not tested.

> Also could you provide your kernel config?

I could but for this I'll need to find a way to access it again. For an
unknown reason the console stopped responding yesterday, and now it only
speaks but I cannot enter anything. I suspect a voltage issue (same with
two adapters). Anyway it was the default config from the 6.12 debian 13
kernel apparently.

Will report back when I figure out this console issue (I'm still having
machines with real serial ports anyway).

Willy

      reply	other threads:[~2025-07-16  6:51 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-13 20:08 Thomas Weißschuh
2025-07-13 20:11 ` John Paul Adrian Glaubitz
2025-07-13 22:21 ` Richard Henderson
2025-07-14  5:21   ` Thomas Weißschuh
2025-07-15  6:28     ` Willy Tarreau
2025-07-15 14:42       ` Thomas Weißschuh
2025-07-16  6:50         ` Willy Tarreau [this message]

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=20250716065043.GA30755@1wt.eu \
    --to=w@1wt.eu \
    --cc=arnd@arndb.de \
    --cc=glaubitz@physik.fu-berlin.de \
    --cc=linux-alpha@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-kselftest@vger.kernel.org \
    --cc=linux@weissschuh.net \
    --cc=mattst88@gmail.com \
    --cc=richard.henderson@linaro.org \
    --cc=shuah@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®