From mboxrd@z Thu Jan 1 00:00:00 1970 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 2AFDCC43334 for ; Tue, 28 Jun 2022 11:30:16 +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=Sl/3tX5YuOeqoN4uK/Mrdf8VH7ldfq8uKrpSECW9Lqc=; b=GarGOtKkzTbd3Pfp9tv9uU5R89 z+l7BFdr8PA7g3wENNjgMd9f/p00jmNsrKvT1bPbPYW9JJTEXlOUdWmbaZOGiUTTSYzrPMI1NQRN4 EzgO2v3IvtRevx0HNoDMXXRnuks6mkzhet6dyl+Slj6wQc/mKOJZ25iu2o5iJvadPvn21XWGi2VrO KkzUs6sWl+4s7AENnYoNpkzym/quvxCShVx3kJoOfc8UGvF15l0UIGGJ2Qts82VxygFKRD53psUDh tbe03wdho3AhEb23kkV0EkKFcg/Lae2A48rZ24MVhrFwFFEGpASX0uhyQwOGyvdQqI2JoiHCjrN9z q8OJp3uw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o69P7-005vrU-7t; Tue, 28 Jun 2022 11:29:13 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1o69P5-005vq1-KC for linux-arm-kernel@bombadil.infradead.org; Tue, 28 Jun 2022 11:29:11 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=o4WWUi6M2LSTPVdZtb7+9pwpHMy5ubtDZXyAsKkaVP0=; b=f4rBbfYM3UL7I7ZdPzM06FJCXP 4L92ZHXoZXxR1MgRrUNZKc56bjs5K/nrVhalAbG9/JyOIX9W8qYJ3IVCDTd3O90FGumrRyBFdxNXd YBf1dmQdbrUR6FWw+bGOTsn+9UgJxsTl8LvJZ7UMwQw7zYnW4VBKXP2fGkBmRMuhLbCuuHnqkpvxX ThRWjT58k/QKjQ0C1JHhYVz0t62n+1o9pXamfaX58pFabf4i6JuxZ0EXn9ODxwhmiUokf5+qZTFH4 wc7TL7FsKCxyGztv8NTnGkQgYLQ9d5h5wvu7PnDPOnQMAI7rQOurajVWuVdYbWgWWcE2SeIwSnYM2 cQnkPiJA==; Received: from dfw.source.kernel.org ([139.178.84.217]) by desiato.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1o69Oh-00E4Zt-Ex for linux-arm-kernel@lists.infradead.org; Tue, 28 Jun 2022 11:28:52 +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 957E761A14; Tue, 28 Jun 2022 11:28:37 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7C180C3411D; Tue, 28 Jun 2022 11:28:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1656415717; bh=o4WWUi6M2LSTPVdZtb7+9pwpHMy5ubtDZXyAsKkaVP0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=sTj7YUoxxFfHwuuvYMZapnZk27GGiSzCY7XkyTm7OrJqwFB5/4TQIJH8zV8+99vBN 0c+aisttSli68kdG3b0bqgKzaiKYojS22SbqMFu6XLS32eBYKRVt05JdTBajQKwwKN HPG3v9XVHKQdrsuVuk09TK6EqldnALH5HvM+r2GGZMs2doDt66ONoJ1LkN10iFwco6 XGcIB5NQw5X8nxerBWWBu69DEzgTUK9DAsb2ciO2Gt0OqTKJbmdkqXDjHhPNpJucYw 83k2+Qt/m1/eR0XPWNxsW8i+bm0bs5NrP+61VvZ4ATAXn5ebRVRYFSOWJyOS9Lqf7U lgE3CmGSCF2nQ== Date: Tue, 28 Jun 2022 12:28:32 +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> MIME-Version: 1.0 In-Reply-To: <20220627151412.1496361-5-maz@kernel.org> X-Cookie: I like your SNOOPY POSTER!! X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220628_122850_150525_F5F3894A X-CRM114-Status: GOOD ( 14.52 ) 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="===============2905387548199202152==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============2905387548199202152== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="IHVvun5w6OqiMdP0" Content-Disposition: inline --IHVvun5w6OqiMdP0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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. Reviwed-by: Mark Brown --IHVvun5w6OqiMdP0 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmK65d8ACgkQJNaLcl1U h9D/dwf/ZjEaGsEBAejKLmKMEFaHPf6TJK6C8L7IOH+8V0g3TQCJsgWt72LCSCSj 9oIri77bSXmRoe8LruhmxnVEPf2Z1xGo231TngTEKg7/E5WVcary4CHN/WrPNMa9 DUzX0aoKKUcSJ+HSv9sHLlrvkcBVxiF19tFqArPxzK/hEdM1wyu/cMEeIpfybb8j yTIE2fDo+XHhxo2tZ2mbsraRTP+pXnrXFBf2h15iXtonvAp8qtOXGm+8eaHONx2Y SkgMsdut/cnCcBJ/0pIZSrpqzmTsvukMRXIwfK7rwubFM3RJcfAHNJquSEOIBFP+ 22YvbdMLBH/ilT7gCx22FmjHC0SFkw== =ZsbA -----END PGP SIGNATURE----- --IHVvun5w6OqiMdP0-- --===============2905387548199202152== 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 --===============2905387548199202152==--