Re: [PATCH v2 23/53] MIPS: SGI-IP27: xbow_probe(): recognize KLTYPE_PBRICK_XBOW
From: Thomas Bogendoerfer
Date: Sat Oct 24 2026 - 06:16:05 EST
On Tue, Oct 13, 2026 at 03:16:43PM +0200, Imre Kaloz wrote:
> An IP35-family chassis records its crossbar board as KLTYPE_PBRICK_XBOW
> rather than the KLTYPE_MIDPLANE8 an Origin 200/2000 midplane carries, so
> xbow_probe() found no board record and never set up the crossbar. Fall
> back to the brick type when the midplane lookup misses, and warn when
> neither matches.
>
> Signed-off-by: Imre Kaloz <kaloz@xxxxxxxxxx>
> ---
> arch/mips/sgi-ip27/ip27-xtalk.c | 15 +++++++++++++--
> 1 file changed, 13 insertions(+), 2 deletions(-)
>
> diff --git a/arch/mips/sgi-ip27/ip27-xtalk.c b/arch/mips/sgi-ip27/ip27-xtalk.c
> index 10834880c261..baa937b474a8 100644
> --- a/arch/mips/sgi-ip27/ip27-xtalk.c
> +++ b/arch/mips/sgi-ip27/ip27-xtalk.c
> @@ -159,8 +159,19 @@ static int xbow_probe(nasid_t nasid)
> * need to probe xbow
> */
> brd = find_lboard((lboard_t *)KL_CONFIG_INFO(nasid), KLTYPE_MIDPLANE8);
use
brd = find_lboard_class(KL_CONFIG_INFO(nasid), KLCLASS_MIDPLANE);
instead, which looks for all midplane types.
Thomas.
--
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea. [ RFC1925, 2.3 ]