Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp587550pxb; Tue, 5 Apr 2022 15:03:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyvII0h5WhRdRg3hufmTXl0L63YD94enlIS5oFfsJch3mFu9AJoVTOQdySArQlaSWBgpH+5 X-Received: by 2002:a63:5712:0:b0:399:28f1:3c76 with SMTP id l18-20020a635712000000b0039928f13c76mr4639230pgb.129.1649196238336; Tue, 05 Apr 2022 15:03:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649196238; cv=none; d=google.com; s=arc-20160816; b=Yl9WkGtaoicVbD7E1E9VhWMaWpRGJwWITTATdqa+ZVFh0Gx7TNIpk45PWq0jPg9Mlj eddIrQX0K5/g+RN/fR1RRBeUHirQvSe5jJp7eEBdMcuBeuB71ZEMmYUa2sAjcgwzr1sa qfko+IVqUWM3IEAEtsSpsUJP0FD0G2wkY6110RDU7jYAz/hx1xF92pfzKP8ey+JAs/Ga BPEhHI21d8L2Ejcr71srCtYaaHLAVmR5bove2ngHpwxNj4To3qkuS0UCOVrknUVVs5sF Ka34dOwCDsguP0hWCvlX3u9jWeEWcLGj7iwXqXUOMx8de9rqP/9i3P8dbf99bvhdeldd mPbA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=MIiLAZflRPjk0zaJP96rkKHVrTCdp8dfKIBPsujlb58=; b=cveo/o+IzFJbwyMZ7b6MCk0UveZmgHwiZglettmWVmOcybaabD+BmWcTGwadqfAgdC JE2qN5qZKyePjPdBeUzrcVPC5YscSB/94hIyiBMgvqQ1HhblzWxffvASdkCRTUSTaF7N IyD5pRIfB7jJmze0KB6cqeld9BrLe5sncx3eMdAlvoQV5bS/6zHX/lbyQ2hpdweW2c64 PT2V7nUGXwfNFFTNLfmMdqBXp/Yk+5K/Pr11+PCHP6JT4Bg2g0j6JzjpbKqdh+4SdoHM WyQxFXfaEI0wLEaWt8GUg065VklUv0BfMkFsi3XneQlBeLo3L+N/IiEKFOd7hHmoPqIc 1B0g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=tH4wksIO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id j11-20020aa78dcb000000b004fa3a8e0082si12527696pfr.313.2022.04.05.15.03.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Apr 2022 15:03:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=tH4wksIO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 1434E8165A; Tue, 5 Apr 2022 14:50:06 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1382052AbiDEMAg (ORCPT + 99 others); Tue, 5 Apr 2022 08:00:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34818 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236458AbiDEIQq (ORCPT ); Tue, 5 Apr 2022 04:16:46 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 275B970CD3; Tue, 5 Apr 2022 01:04:15 -0700 (PDT) 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 ams.source.kernel.org (Postfix) with ESMTPS id AA3C7B81B90; Tue, 5 Apr 2022 08:04:10 +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 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="U4yPShB2sk24Ez1L" Content-Disposition: inline In-Reply-To: <20220404211858.968452-1-pcc@google.com> X-Cookie: diplomacy, n: X-Spam-Status: No, score=-2.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --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--