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 ED9ABC7619A for ; Thu, 13 Apr 2023 00:12:10 +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:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=QPH0JttozI18V46goWnYLJ9zc3vsRuh5R3KJXC8cyz8=; b=G5U6zX8aoBr/qj Sr/zwVBgUW90aC7WfDpy0GlTctTR1cdG0DFB2m5suAgsN4s4YdX7VMsPfuyMFhj8/D0JFJ+PhHv9n IFrDMJs2YFcVhFSQDA56buMHY+YcoP6atHeTNMN8lu9Ro9DT4RejXgTH9Kou3FKOu6FbyIF05Z/w+ LulEwtvv4ItPpmWsOiyCCFGFe2ACf2dopIs3rUjdE77pnkpHvHZ5YV4gl6Qfm0Oci4jCw4AKsEh1F udBeQg7QoO5FDOmLbcWTSo7Vjvl2Y3mbs/IAOop1a90FksUuMRpPAbrjmuFq30OYJOcGIrVT2PTAz e/cHkeb9nMeA+jxi7rGA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pmkYh-004fp7-39; Thu, 13 Apr 2023 00:11:27 +0000 Received: from out-38.mta1.migadu.com ([95.215.58.38]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pmkYf-004fnx-0z for linux-arm-kernel@lists.infradead.org; Thu, 13 Apr 2023 00:11:26 +0000 Date: Thu, 13 Apr 2023 00:11:19 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1681344683; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=/xuOUgwS7TiFTRCp7ny40dhXaDJWfispO1TUSx/Mbis=; b=b+vcXBq5wvyopZkHQAHD0NtZXphddOBWAPktMo4f69NnKfebtEF46yZUg7HUtmelvVLg1R doFyHmUTgqvYxljC5p+HVfGeT8UFIA4tMXL/xhSC+ft+cDOUQoZ/O4Hfe1IBlV/paD9HiY VcFtRAjNPuZqRduARLxik/Pl0nqtX2U= X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Oliver Upton To: Marc Zyngier Cc: kvmarm@lists.linux.dev, kvm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, James Morse , Suzuki K Poulose , Zenghui Yu , Will Deacon Subject: Re: [PATCH v2 4/5] KVM: arm64: vhe: Synchronise with page table walker on MMU update Message-ID: References: <20230408160427.10672-1-maz@kernel.org> <20230408160427.10672-5-maz@kernel.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20230408160427.10672-5-maz@kernel.org> X-Migadu-Flow: FLOW_OUT X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230412_171125_490071_BABA7D72 X-CRM114-Status: UNSURE ( 9.21 ) X-CRM114-Notice: Please train this message. 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 Sat, Apr 08, 2023 at 05:04:26PM +0100, Marc Zyngier wrote: > Contrary to nVHE, VHE is a lot easier when it comes to dealing > with speculative page table walks started at EL1. As we only change > EL1&0 translation regime when context-switching, we already benefit > from the effect of the DSB that sits in the context switch code. > > We only need to take care of it in the NV case, where we can > flip between between two EL1 contexts (one of them being the virtual > EL2) without a context switch. > > Signed-off-by: Marc Zyngier Reviewed-by: Oliver Upton -- Thanks, Oliver _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel