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 D4A15C352A1 for ; Wed, 7 Dec 2022 11:19:33 +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-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Subject:Cc:To:From:Message-ID:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=li5K8arugQ64gslvkpJcz1R9GM+MxC6Vo01E1uFfMqc=; b=qCa3B23rkAlj0w f9lrW6X9RLcwpRQ8378dMgwd6COWSdqfe0RsXyb6s9Aq3k1RCFy9TuoqmUELRYMCnfPLJ1Blbtx8v k/EqNzda4uwxgnDuuP65B2sYxQSznwPIywXPyoeXnYCBvT/BZkZvNPBlVZ0dhs3gYoqQc6dxXOpP4 nmNgmr89Y+7s2VvZ3R1hCc+3p9XM6Gj6cLsfNMc3NsIEmQ4IyZAS+720ARAml8rWCnAy/OhaIWpY3 juYhyGaL+6Vtc8EaunwMkW9lO1MfqA4YBo8a37pxH9PJnFU0fUoVxUR6fwE3PaaXNHIbiYWaMxTTw KTX9Lo2Vx5pXHnD1E4Sg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1p2sRb-000a9l-2A; Wed, 07 Dec 2022 11:18:31 +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 1p2sRJ-000a13-Q0 for linux-arm-kernel@lists.infradead.org; Wed, 07 Dec 2022 11:18:15 +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 24379614D5; Wed, 7 Dec 2022 11:18:13 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 887F2C433C1; Wed, 7 Dec 2022 11:18:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1670411892; bh=VNDFsKfFvy9gXR6yL9aC4P8tDS5rzo/FKaxsn+pX8Nk=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=Ldtzmeg0/8j4wnjLNNBn6e8oZv3JH8zNIkf3fteahs2y34qKP20jhWkXxz1cFsEjX PRKu4xJhNeeDVGvXxNrKtBuYlGtuU0ukLmGdZFCfgkrrtZZMXhPquUdctDKfGjx4ry IEqHlms9lAe7zuSQilZ07T4pJFlC+X3uzxrNB1tPSvvXm77Z26RFROgSuKBchly93N /eAoswkA+A8bATtnQ0g3e5MLB2QA/pxbwMEvjoK4MdUUof8OC0wxXtEswPBFiqLMGk vfkUQOKisdL1V9yPvWdVweGL+bLT/S2ppcT7jy3XH6rZjJKIfE9LHpGyqAHD2h7zYN 6kigxZCVZ9Vdg== Received: from sofa.misterjones.org ([185.219.108.64] helo=goblin-girl.misterjones.org) by disco-boy.misterjones.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1p2sRG-00B4g0-9p; Wed, 07 Dec 2022 11:18:10 +0000 Date: Wed, 07 Dec 2022 11:18:10 +0000 Message-ID: <86cz8vlax9.wl-maz@kernel.org> From: Marc Zyngier To: Mark Brown Cc: Catalin Marinas , Will Deacon , linux-arm-kernel@lists.infradead.org, kvmarm@lists.linux.dev Subject: Re: [PATCH v1 3/3] KVM: arm64: Use symbolic definition for ISR_EL1.A In-Reply-To: <20221206131144.115774-4-broonie@kernel.org> References: <20221206131144.115774-1-broonie@kernel.org> <20221206131144.115774-4-broonie@kernel.org> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM-LB/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL-LB/10.8 EasyPG/1.0.0 Emacs/27.1 (aarch64-unknown-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") X-SA-Exim-Connect-IP: 185.219.108.64 X-SA-Exim-Rcpt-To: broonie@kernel.org, catalin.marinas@arm.com, will@kernel.org, linux-arm-kernel@lists.infradead.org, kvmarm@lists.linux.dev 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-20221207_031813_921112_C63F3A61 X-CRM114-Status: GOOD ( 20.40 ) 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: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Tue, 06 Dec 2022 13:11:44 +0000, Mark Brown wrote: > > Now that we are generating ISR_EL1 we have acquired a constant for > ISR_EL1.A, use it rather than the magic number we had been using in the KVM > entry code. > > Suggested-by: Marc Zyngier > Signed-off-by: Mark Brown > --- > arch/arm64/kvm/hyp/entry.S | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/arm64/kvm/hyp/entry.S b/arch/arm64/kvm/hyp/entry.S > index 435346ea1504..f3aa7738b477 100644 > --- a/arch/arm64/kvm/hyp/entry.S > +++ b/arch/arm64/kvm/hyp/entry.S > @@ -171,7 +171,7 @@ alternative_else > dsb sy // Synchronize against in-flight ld/st > isb // Prevent an early read of side-effect free ISR > mrs x2, isr_el1 > - tbnz x2, #8, 2f // ISR_EL1.A > + tbnz x2, #ISR_EL1_A_SHIFT, 2f > ret > nop > 2: Acked-by: Marc Zyngier M. -- Without deviation from the norm, progress is not possible. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel