Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D524BC433F5 for ; Tue, 5 Apr 2022 08:05:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: In-Reply-To:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date: Reply-To:Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date :Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=oE7QcGwLW89WlKMVe+fezD/wv6zwUaK5OoGvCo00otc=; b=bKIfKfBjT2H7oTnFiodOA30EbU 41S4lT9BRJ3jVjsZVQTkqfD8gvt/c+hrGrqVwzRi0WI45vkHbena2bC1L3VlnOFyENhQfziWexdlN gNNU8D39meCsX3vdM63dmuDUJYo4Sj9Ej8dHEvqTRmQJ9BfCtEISkl8cT2p+TS/hL0b7Mfq/bQLZ2 WAP5Fv/g1JYqB1Vykm9B/YXgWHsjjFe6xGWcPG72tntcX6ccVGFgAL0Y0KOahYtccreiL2CKGelad 1AEQb9Mkl2UserY3YXfOdmZ3YEqtI0S3WoIaDf1wU1uSN6rCwgHr80BiE6lSwo++i8mDOUv7gsYmx 8L1LM/eg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nbeAf-00088l-Nk; Tue, 05 Apr 2022 08:04:13 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nbeAc-00087E-Pu for linux-arm-kernel@lists.infradead.org; Tue, 05 Apr 2022 08:04:12 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 9C901617E3; Tue, 5 Apr 2022 08:04:09 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D5DE3C385A9; Tue, 5 Apr 2022 08:04:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1649145849; bh=qsQljiMucqRqUd4z9Wprhd8esh75p1YRIbEPGlFNo3E=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=tH4wksIOmH925t36apUo4rEAwz/Kw5BXVljl8CZcdvTQHmZK4pXSqxJn7aWRy3ago hgb6L0aVPRUdzTeVnwPDSqXF8v4Ubbrgal+OGCCSJxuagKU2zxkmJFYmlJsGl3o3ZE UNptV5Gw5TUTftVFX/KUs+BSuNKTtjtqtU2qAdKkJmgyO6ahfnMam4xHfBdL7NpMeC LExnO4naFkC6fFTHBM0Dy4BzfLHTcOsbseIVpL9Txm/xlJuCwn8k5I12MAR2Dmx6ta Ror/O5sMJS+FqWH03vZnwylCiXanCpmD8zS0XSZgb11WfLJ2ZRiT9An6qPiV6+M7IP XcPuBvxBNZhPg== Date: Tue, 5 Apr 2022 09:04:04 +0100 From: Mark Brown To: Peter Collingbourne Cc: Catalin Marinas , Will Deacon , Jonathan Corbet , linux-arm-kernel@lists.infradead.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] arm64: document the boot requirements for MTE Message-ID: References: <20220404211858.968452-1-pcc@google.com> MIME-Version: 1.0 In-Reply-To: <20220404211858.968452-1-pcc@google.com> X-Cookie: diplomacy, n: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220405_010410_898735_7E865608 X-CRM114-Status: GOOD ( 15.62 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============4799609901033092547==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============4799609901033092547== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="U4yPShB2sk24Ez1L" Content-Disposition: inline --U4yPShB2sk24Ez1L Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Apr 04, 2022 at 02:18:58PM -0700, Peter Collingbourne wrote: > + For CPUs with the Memory Tagging Extension feature: > + > + - If EL3 is present: > + > + - SCR_EL3.ATA (bit 26) must be initialised to 0b1. > + > + - If the kernel is entered at EL1 and EL2 is present: > + > + - HCR_EL2.ATA (bit 56) must be initialised to 0b1. Very nitpicky but this is only required for FEAT_MTE2 and above, plain FEAT_MTE doesn't have these traps. I don't know that this is a thing that anyone's actually implemented and from v8.7 on it's not permitted but the above isn't strictly true if someone did for some reason have the most basic version. Otherwise Reviewed-by: Mark Brown --U4yPShB2sk24Ez1L Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmJL9/AACgkQJNaLcl1U h9Advgf+IuZZugXrsq2QTXupthCBNsC0BjU8HXkBBUqx6xRi96h59EIv/TR0K9Tv o/Ku1OZjykNhby0S0ts/PhxEWP79+z4mpA+kN13hYiTUp9HytXg4hppOtikWnNE5 qVieJHkjEL5QLmqaxEOd3zf9MPotutz9n+AXI4UC+Av6p3cYamCKwpalZKcenm66 1k6/2iJooTZa+U2jEcZE18tokuwbTMC3lkqjyKoNAEXmSq3DkOHbaxblDFm9eXgf UeYeYH8GPAU5EO7WASyDs5zYVMouxfO9yFpafW0JoK7HuI/AqlFycD98lwbHvufv 6rlXx8H0HRoghHMSO92joqBVQymltA== =78rB -----END PGP SIGNATURE----- --U4yPShB2sk24Ez1L-- --===============4799609901033092547== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel --===============4799609901033092547==--