Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.5 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 30AEAC32771 for ; Wed, 15 Jan 2020 17:06:31 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 036C6214AF for ; Wed, 15 Jan 2020 17:06:31 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="MwFMU+VU"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=sirena.org.uk header.i=@sirena.org.uk header.b="pqCdWrUg" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 036C6214AF Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender:Content-Type:Cc: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: In-Reply-To:MIME-Version:References:Message-ID:Subject: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=P1EnzP3NnHmIYhajV/pcyNct4bpzrmrUJerzs2+NwU8=; b=MwFMU+VUFsmKh8lOkaBaqg9a1 sWkbrP4jm/HQEomKymwhdZwFovsOo2V7EXHf44QMFwg3X+MDvV+JPMxKaVgrG3qvV3bO0ZcbkBbeQ mUE34labF5wbPLlyFzYRiJR/NUzk/oivam+gsDg/WkDxiALSVNhTKbtqR3XCpw7S3IcWnuVL1Nn1w xQYTZnZBNaHTYpJbSrquHj9cBOmtoxct+fEAU9uPnOt1iqdHUzAS3EvphvlRcDF4UDdrRIHB5KVbQ ghtvXiVUReyDwOG4lThSs8tG0gZzQomDO3HjpujmQj8XsRtkckkieG2ZlOtNN3id25MkZR+w2Tq1O kiJ1piB2Q==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1irm7d-0005s3-5w; Wed, 15 Jan 2020 17:06:25 +0000 Received: from heliosphere.sirena.org.uk ([172.104.155.198]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1irm7X-0005rT-27 for linux-arm-kernel@lists.infradead.org; Wed, 15 Jan 2020 17:06:23 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sirena.org.uk; s=20170815-heliosphere; 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:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=C79DPnsSFXkRpTKaYTh3BiwvibkSKpR8sSAbPhUIRww=; b=pqCdWrUggYbJCB2yIaTlI9U3V mDRFjYMC2Qzjif3QIiNy7vh/d4oc8teu0eujJOM6aZ9EJgxH7i2/O0kLNlWTLzUWZwz/lazAQDSab ao05eh1eP+3/QOh7RzB7nM9jBwzfm/PyGBBKorxszyeQTxx6whtw/yD7N4d6JKp7ifSw8=; Received: from 188.31.192.185.threembb.co.uk ([188.31.192.185] helo=fitzroy.sirena.org.uk) by heliosphere.sirena.org.uk with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1irm7U-0006bt-Nb; Wed, 15 Jan 2020 17:06:16 +0000 Received: by fitzroy.sirena.org.uk (Postfix, from userid 1000) id 3E306D02009; Wed, 15 Jan 2020 17:06:16 +0000 (GMT) Date: Wed, 15 Jan 2020 17:06:16 +0000 From: Mark Brown To: Will Deacon Subject: Re: [PATCH 2/2] arm64: Use register field helper in kaslr_requires_kpti() Message-ID: <20200115170616.GN3897@sirena.org.uk> References: <20200115142900.28976-1-will@kernel.org> <20200115142900.28976-3-will@kernel.org> MIME-Version: 1.0 In-Reply-To: <20200115142900.28976-3-will@kernel.org> X-Cookie: Programming is an unnatural act. User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200115_090619_098255_1373B379 X-CRM114-Status: UNSURE ( 9.53 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Marc Zyngier , Catalin Marinas , kernel-team@android.com, linux-arm-kernel@lists.infradead.org, Suzuki K Poulose Content-Type: multipart/mixed; boundary="===============0678134117703005700==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============0678134117703005700== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="AO7xfgsPaN7qs9GL" Content-Disposition: inline --AO7xfgsPaN7qs9GL Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Jan 15, 2020 at 02:29:00PM +0000, Will Deacon wrote: > Rather than open-code the extraction of the E0PD field from the MMFR2 > register, we can use the cpuid_feature_extract_unsigned_field() helper > instead. This was suggested by Suzuki at some point but I ended up not doing it as the helper function name is so long I couldn't work out how to lay the code out in a satisfactory way at the time. Reviewed-by: Mark Brown --AO7xfgsPaN7qs9GL Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAl4fRocACgkQJNaLcl1U h9A6+Qf/fb2HNZ/8XFsgYsMr+JQBL6BBO+fz4PoKw2m7znS0cJrW1pHEAbaoN4Ft uLLPns5B3YIwEo/9Y6YO89RyRYnieco3hPiMUnfUbSbVlEy8YRAm1DHG0Irehjni 5g+mGjObrPkFrdSoDxV3XOCYCMZm6Mc544kToVqQ+DWdPQIGFOtUw/vK7V8F1KM1 KftVEWmdodaCUZhGFAKPGKUWjvyTZwsGjmtk7cIue6rRvBY2aP2xG/KP03VWNnMh SV9wtw9vcnMlvbHy1pI0z3p9Mst2fkeYn5sC3fCqM4Q578koFF5gETIl4y+sRPre HKEKLSQ4jZ2vgN4mFt3xaxHZFhcVCA== =c78y -----END PGP SIGNATURE----- --AO7xfgsPaN7qs9GL-- --===============0678134117703005700== 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 --===============0678134117703005700==--