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 3DDD1C433EF for ; Thu, 24 Feb 2022 15:20:14 +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: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:Message-ID:References:In-Reply-To:Subject:Cc:To:From :Date:MIME-Version:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=ZrQH2h1WABft+YH/zen/cDzaXmZMTxjRCO63NkGB5Xo=; b=02eU0TeTLGN+oiPofmoZI8tV1v K58QQvW6UnCzfhL5RZCFLiOEldL8JBUkvZ3OqbGufBMs3nYA9ZO3ItaSy1YdswNBfTMPOOZfwL9FX G84t4idHrhXg8FD4tJ89TCrsz0rQLzANveE2n5NnX9lLIrR0uEIk0eHnofiS7tKzOd05hR38g8aQw Vvv+nsIyx7tnT6i1vs7MzrQ+PHggobFS+spOH13xkdfDp3d5R/PBUuAglJGxcfOFM4GlYOZqgheBE XXt9YLe3AbSKtj3DYp3KYO3FKL5EpvO9wNeu3R6RdUmI3w9u6zKXzBFWTunPN7DQaxNDQClp+fs8C T+i+lExA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nNFtL-001Fkp-SJ; Thu, 24 Feb 2022 15:18:52 +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 1nNFtH-001FjV-Sp for linux-arm-kernel@lists.infradead.org; Thu, 24 Feb 2022 15:18:49 +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 7576F60F54; Thu, 24 Feb 2022 15:18:47 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D4FD0C340EC; Thu, 24 Feb 2022 15:18:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1645715926; bh=EeoinMcuqNvzn0sRkRzcEemguZHKOIkKXuXJR25rluw=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=fP0mxt4ibh/PUAdNC8fD3gYnzwvGqg3w67zjREMemlF2JZt+Y4uaXKQ8np5Mvl7Sc WZzmSHyhNy27bsmHbFNDxvmO/DdJg6s2y9dCTu3LuknZ6SLpS1UonkmiI/4oIItdb6 H/HCNHKvru8Xm7xoQlsPp6iwt3qv8/B8nFt+MOvExPocfdaAWAXciH32hZHzInOQQk IKBxg4DhazvN1yzs1WLhL+9ML8JQ4geM8uGAni5vZA4zIpATqG6bf8VLcQW7a8fL94 z1Wyl7KpGDHfxhG+LIecELreDqABWwHgwqquezpFHFryPb3wLa0G25p0a9cBe6ozP2 oCOX93KC/ZxJw== Received: from disco-boy.misterjones.org ([51.254.78.96] helo=www.loen.fr) by disco-boy.misterjones.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1nNFtE-00ADPM-KE; Thu, 24 Feb 2022 15:18:44 +0000 MIME-Version: 1.0 Date: Thu, 24 Feb 2022 15:18:44 +0000 From: Marc Zyngier To: Vladimir Murzin Cc: linux-arm-kernel@lists.infradead.org, catalin.marinas@arm.com, mark.rutland@arm.com, will@kernel.org Subject: Re: [PATCH v3 0/3] arm64: Support of PAuth QARMA3 architected algorithm In-Reply-To: <20220224124952.119612-1-vladimir.murzin@arm.com> References: <20220224124952.119612-1-vladimir.murzin@arm.com> User-Agent: Roundcube Webmail/1.4.13 Message-ID: <0e3614c72b6fbb235258c65b4b9c65c2@kernel.org> X-Sender: maz@kernel.org X-SA-Exim-Connect-IP: 51.254.78.96 X-SA-Exim-Rcpt-To: vladimir.murzin@arm.com, linux-arm-kernel@lists.infradead.org, catalin.marinas@arm.com, mark.rutland@arm.com, will@kernel.org X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220224_071848_042978_F6B64B1E X-CRM114-Status: GOOD ( 15.22 ) 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-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 2022-02-24 12:49, Vladimir Murzin wrote: > QARMA3 is relaxed version of the QARMA5 algorithm which expected to > reduce the latency of calculation while still delivering a suitable > level of security. > > Feature advertised via a new ID fields in ID_AA64ISAR2_EL1 [1], so we > need to teach the kernel to identify this. > > [1] > https://developer.arm.com/documentation/ddi0601/2021-12/AArch64-Registers/ID-AA64ISAR2-EL1--AArch64-Instruction-Set-Attribute-Register-2?lang=en > > > Changelog: > > v1 -> v2 > - Removed unintended whitespace change in sysreg.h > - FTR_ALIAS_OPTION_LEN now accounts null terminator > - Extract only APA3 bits from ID_AA64ISAR2_APA3_SHIFT (in > contrast to id_aa64isar1_el1 where both APA and API bits > are extracted) in asm_pointer_auth.h > v2 -> v3 > - Removed WARN_ON(s) (per Will) > - Rebased on 5.17-rc5 > > Thanks! > > Vladimir Murzin (3): > arm64: cpufeature: Account min_field_value when cheking secondaries > for PAuth > arm64: cpufeature: Mark existing PAuth architected algorithm as > QARMA5 > arm64: Add support of PAuth QARMA3 architected algorithm > > arch/arm64/include/asm/asm_pointer_auth.h | 3 ++ > arch/arm64/include/asm/cpufeature.h | 1 + > arch/arm64/include/asm/kvm_hyp.h | 1 + > arch/arm64/include/asm/sysreg.h | 12 ++++++ > arch/arm64/kernel/cpufeature.c | 59 > ++++++++++++++++++++++---- > arch/arm64/kernel/idreg-override.c | 16 ++++++- > arch/arm64/kvm/arm.c | 1 + > arch/arm64/kvm/hyp/include/nvhe/fixed_config.h | 5 +++ > arch/arm64/kvm/hyp/nvhe/sys_regs.c | 14 ++++++ > arch/arm64/kvm/sys_regs.c | 5 +++ > arch/arm64/tools/cpucaps | 6 ++- > 11 files changed, 110 insertions(+), 13 deletions(-) For the series: Acked-by: Marc Zyngier M. -- Jazz is not dead. It just smells funny... _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel