Re: [PATCH 2/3] sparc32: derive phys_base from the PAGE_OFFSET mapping
From: Magnus Lindholm
Date: Fri Aug 14 2026 - 17:59:04 EST
Hi Sam,
On Fri, Aug 14, 2026 at 10:46 PM Sam Ravnborg <sam@xxxxxxxxxxxx> wrote:
> Use 0x%xl to avoid the casts?
> If we are noisy like this it would be nice to always print the RAM start
> and kernel start.
I've taken that as making the first print unconditional so both values
always show, and leaving the "adopted" line only for when they actually
differ - is that what you meant?
One wrinkle: __get_phys() returns 0 on anything but sun4m/sun4d, so on LEON
it would read "kernel is at 0x0" - happy to gate the whole thing on those
two if you'd prefer that, and I'll send a v2 either way.
Magnus