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 2C3C1C43334 for ; Wed, 29 Jun 2022 16:14:38 +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=alJ9+DUFlxpxXy404KnPvC9ea8bEcARQlnH3xGsTFfE=; b=gICRm+YvI9DXxvppQNvLJDzf3Z NOcKPvjo4qtMZc9C+BXNNCeKugAIsa6fBP5beN5/0+rnmukao2qJf1NULwGNQ2zELloQSxCuArC9v gq4mOEV7Vfp2fsV2GL5kwSyvrgJkQNSL8JpI02gvl3C8QZB/hiT7IdT8AnkbXA7INOxxrTv7gm6CF UpEiVB73nuFX2DkBvpwzXfC16moEYL/3TlBzEGwzkpQcehxSIFPH8dhasp1Jh+2aRgTDsNmwqS71V gkxVxVKNrtorrpmqKQfNpIY+pSFDicyQTKDFBA7SDN927frP/hR1nFWLf/hJ5oTv/wnLz/8IH7715 9YHl50Bg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o6aJa-00CvIp-Cw; Wed, 29 Jun 2022 16:13:18 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1o6a7S-00Cop7-S8 for linux-arm-kernel@lists.infradead.org; Wed, 29 Jun 2022 16:00:48 +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 569146179B; Wed, 29 Jun 2022 16:00:46 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DC52CC34114; Wed, 29 Jun 2022 16:00:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1656518443; bh=//NdBZGIn70IKfTDn1Pj2HIrRcP8SxCgs/Vt79O2xqg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=LD8YjlPv17XTm42CA5d77fgUb7Mxqe/vK4x+IbAeNdNYL2MpqPbbfMk7n/yR/n7/c X5epHWghVdayH8hG1rNefPqZXfGoQQ7LzYi1z2r+MSF2N6vAs0f6t3h1FtGMbv9Mrk 71gUb/tyiFQ8FNQBU4vBYzGLSTcjIXIhnN3OyZBEk88kXmOwts6FKt2eS1yUpYFo57 gmzmHomfkqEt1jSNGGoaKF6azjlcf25vF5hE8FuBrZnKAkz8L+bR/+5OY91gq3XT8/ 5shhFikE8StOTTnPrJKURPc59RC9j7xhskrOr7MK1tv8KZv80RKM7gyycR3cTA+nDq Ef+Ii5qyCtA/g== Date: Wed, 29 Jun 2022 17:00:38 +0100 From: Mark Brown To: Marc Zyngier Cc: linux-arm-kernel@lists.infradead.org, Will Deacon , Catalin Marinas , Mark Rutland , Ard Biesheuvel , danielmentz@google.com, saravanak@google.com, kernel-team@android.com Subject: Re: [PATCH 4/6] arm64: Factor out checking of a feature against the override into a macro Message-ID: References: <20220627151412.1496361-1-maz@kernel.org> <20220627151412.1496361-5-maz@kernel.org> <87r1371ngw.wl-maz@kernel.org> MIME-Version: 1.0 In-Reply-To: <87r1371ngw.wl-maz@kernel.org> X-Cookie: Booths for two or more. X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220629_090046_990047_6919485B X-CRM114-Status: GOOD ( 18.53 ) 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="===============7652788884312811641==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============7652788884312811641== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="LujEbf0jdQqRncPJ" Content-Disposition: inline --LujEbf0jdQqRncPJ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jun 29, 2022 at 04:46:55PM +0100, Marc Zyngier wrote: > On Tue, 28 Jun 2022 12:28:32 +0100, > Mark Brown wrote: > >=20 > > On Mon, Jun 27, 2022 at 04:14:10PM +0100, Marc Zyngier wrote: > > > Checking for a feature being supported from assembly code is > > > a bit tedious if we need to factor in the idreg override. > > >=20 > > > Since we already have such code written for forcing nVHE, move > > > the whole thing into a macro. This heavily relies on the override > > > structure being called foo_override for foo_el1. > >=20 > > Reviwed-by: Mark Brown >=20 > Reviewed? Yes, sorry. Reviewed-by: Mark Brown --LujEbf0jdQqRncPJ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmK8dyYACgkQJNaLcl1U h9AqMwf/eT3p+ZNZ9KGNLXjdixHtlkwcrz5+n/zPpHm9cA+tRQU8rzeY6/6B+Oz9 7XFslc62N/oP7hzauLIt5uPYQO3CzUba9+Efe91cOXZH+y0wpYeDGVjafEQLC4sI sA2XXFRbxLKkmrBLaqFngxhdIeVhWOKDbAiv8A52XD1i1HTXpdZIxMBHj5Ubjw5z UcYxvxasdQtuleCdrZhIl75K678TOvYtenv3PmBTJwWKr4D6FRdmSeZlNi2BliAl j6r4flCAujW/lfnqa6Kq7qYEqXHR01bjJlKTemVopLkov82BOFYZEQ5sBsyyUyMJ iJLRD5HhOFW3baxaV1VMn7iSTmPrRQ== =keht -----END PGP SIGNATURE----- --LujEbf0jdQqRncPJ-- --===============7652788884312811641== 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 --===============7652788884312811641==--