Re: [PATCH v2 09/53] MIPS: SGI-IP27: detect Bedrock hubs at boot

From: Thomas Bogendoerfer

Date: Sat Dec 05 2026 - 08:34:00 EST


On Tue, Oct 13, 2026 at 03:16:29PM +0200, Imre Kaloz wrote:
> Read a hub's widget-ID register as the first thing prom_init() does
> and record whether it is a Bedrock ASIC, so later code can branch on
> that instead of a compile-time select. A local alias read needs no
> nasid, so this runs first.
>
> Signed-off-by: Imre Kaloz <kaloz@xxxxxxxxxx>
> ---
> arch/mips/include/asm/sn/addrs.h | 6 ++++++
> arch/mips/sgi-ip27/ip27-init.c | 9 +++++++++
> 2 files changed, 15 insertions(+)

applied to mips-next

Thomas.

--
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea. [ RFC1925, 2.3 ]