From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=193.175.24.41 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796477617; b=nAgMW1pIC/6Kdg+4NtGveOrb4RcD0FlRqH5TjSL55oyhVsGqsVGNUPgUMHMsrXOPJlI6 FiGUna7zjd6VwbD1RCEWjCpdULF6B62mmHgixw9x6zWLbA7raiVBzE1UxJgfk9liB293P F2hr9I35e2dec8wvtl8YL/4FaWQ6mLGtsANhOp/9172VGfVXSmDEUKr/n1CoAq5Gh06I0 zyI3uP5d+7ij7El6izbJNT2dAYPTO5e6tdK6E5HPG6Jr5jMrUr+khgajs7BZmVs50kVZb MazZzARKcYfkHbeH8AncI/Xoy0xHIuOjlgbNvPOXO3YVhlVB1SbCKmiM/ABoqr9cpbA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796477617; h=DMARC-Filter:Received:Received:Date:From:To:Cc:Subject:Message-ID: References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To; bh=6UK/bLehVJyjBDOZQXiRb6oS+9+ZQfMo076hg6Ig8rA=; b=bGT3BrzLsUTAIXfayvLH9b2ZRIRx5UBwjE1xRcXVoDzYs5JpTZ0itjklkRNX1JS3KaBo rvXtFiP9jmjHNfKWSdNPh5RKktlOjafAAGnnKyC9/RjeivxTlFupWVKSO6BhXXn6X6MG3 V2/qxrrol+T90U7UtG/mYrD+ecpw+pvOZyw8u3v9alSJx75dl363mh2DQuI2Xjyablo+f 6eqCu79+qhg/pKZthlhrAWJtYn8z7miYAfqRPbxwaIPpW68FG9Knhl78EdkfAcwYzX94M +Y9U/ixGMa5MIUBFrY2i0Z3UA9FAwrTuYJD/PXVdrvBVFYszk68slkkh5a1mo1x4Klw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none header.from=alpha.franken.de; spf=pass smtp.mailfrom=alpha.franken.de; arc=none smtp.remote-ip=193.175.24.41 Received: from elvis.franken.de (elvis.franken.de [193.175.24.41]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CF112606A332; Sat, 5 Dec 2026 13:33:35 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org CF112606A332 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=alpha.franken.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=alpha.franken.de Received: by elvis.franken.de (Postfix, from userid 10) id B3C98100458; Sat, 5 Dec 2026 14:33:33 +0100 (CET) Received: by alpha.franken.de (Postfix, from userid 1000) id 77AF0C0193; Sat, 5 Dec 2026 14:27:46 +0100 (CET) Date: Sat, 5 Dec 2026 14:27:46 +0100 From: Thomas Bogendoerfer To: Imre Kaloz Cc: linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, Lee Jones Subject: Re: [PATCH v2 13/53] MIPS: SGI-IP27: add the Bedrock hub register windows Message-ID: References: X-Mailing-List: linux-mips@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Tue, Oct 13, 2026 at 03:16:33PM +0200, Imre Kaloz wrote: > Bedrock places its hub register blocks at different offsets than Hub > does. Add a header for them and include it next to the Hub one, since > one kernel has to reach either generation's blocks. > > Signed-off-by: Imre Kaloz > --- > arch/mips/include/asm/sn/agent.h | 3 +-- > arch/mips/include/asm/sn/sn1/hub.h | 15 +++++++++++++++ > 2 files changed, 16 insertions(+), 2 deletions(-) > create mode 100644 arch/mips/include/asm/sn/sn1/hub.h > > diff --git a/arch/mips/include/asm/sn/agent.h b/arch/mips/include/asm/sn/agent.h > index 7e9b3271737a..8873eb34e31b 100644 > --- a/arch/mips/include/asm/sn/agent.h > +++ b/arch/mips/include/asm/sn/agent.h > @@ -16,9 +16,8 @@ > > #if defined(CONFIG_SGI_IP27) > #include > -#elif defined(CONFIG_SGI_IP35) > #include > -#endif /* !CONFIG_SGI_IP27 && !CONFIG_SGI_IP35 */ > +#endif /* CONFIG_SGI_IP27 */ > > /* > * NIC register macros > diff --git a/arch/mips/include/asm/sn/sn1/hub.h b/arch/mips/include/asm/sn/sn1/hub.h > new file mode 100644 > index 000000000000..db41bcb3d34a > --- /dev/null > +++ b/arch/mips/include/asm/sn/sn1/hub.h > @@ -0,0 +1,15 @@ > +/* SPDX-License-Identifier: GPL-2.0 */ > +/* > + * SN1 (Bedrock) hub register windows. > + * > + * Copyright (C) 2026 Imre Kaloz > + */ > +#ifndef _ASM_SN_SN1_HUB_H > +#define _ASM_SN_SN1_HUB_H > + > +#define HUBLBBASE_IP35 0x00600000 > +#define HUBNIBASE_IP35 0x00680000 > +#define HUBXBBASE_IP35 0x00700000 > +#define HUBMDBASE_IP35 0x00780000 > + > +#endif /* _ASM_SN_SN1_HUB_H */ why not the name file bedrock.h ? Thomas. -- Crap can work. Given enough thrust pigs will fly, but it's not necessarily a good idea. [ RFC1925, 2.3 ]