Received: from out-19.mta1.migadu.com (out-19.mta1.migadu.com [95.215.58.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 61F276AA8 for ; Thu, 15 Jun 2023 13:21:09 +0000 (UTC) X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1686835268; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=1N2PfJFS89EFOCSeE5U73sMtxej+HkxZvFHecxXs22o=; b=ZnJKmAicUuKmbZxF+wZbgqPIu++0g4lbc80cJAGwX5M4XpVw7X9YrfnB43Xyby9thkWZja jZL01bIPK/M9OTb/N3Al4GmPIO+GqOrL3n12p4PA/f7fNp97+g8Q68K556KLOIdHor3nyq 1j2mA0l0tNrIuJpF6C5MlXO3g+9BSeE= From: Oliver Upton To: kvm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Marc Zyngier , kvmarm@lists.linux.dev Cc: Oliver Upton , James Morse , Zenghui Yu , Suzuki K Poulose Subject: Re: [PATCH] KVM: arm64: Fix hVHE init on CPUs where HCR_EL2.E2H is not RES1 Date: Thu, 15 Jun 2023 13:20:19 +0000 Message-ID: <168683521445.136757.9747840058175928962.b4-ty@linux.dev> In-Reply-To: <20230614155129.2697388-1-maz@kernel.org> References: <20230614155129.2697388-1-maz@kernel.org> Precedence: bulk X-Mailing-List: kvmarm@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT On Wed, 14 Jun 2023 16:51:29 +0100, Marc Zyngier wrote: > On CPUs where E2H is RES1, we very quickly set the scene for > running EL2 with a VHE configuration, as we do not have any other > choice. > > However, CPUs that conform to the current writing of the architecture > start with E2H=0, and only later upgrade with E2H=1. This is all > good, but nothing there is actually reconfiguring EL2 to be able > to correctly run the kernel at EL1. Huhuh... > > [...] Applied to kvmarm/next, thanks! [1/1] KVM: arm64: Fix hVHE init on CPUs where HCR_EL2.E2H is not RES1 https://git.kernel.org/kvmarm/kvmarm/c/1700f89cb99a -- Best, Oliver