From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D21446A35B for ; Thu, 8 Feb 2024 12:27:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.140.110.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707395249; cv=none; b=MjcHaZ3BshDNBqSt2u9g+bJ/KHcVUlwvOVjAPw9Pnyn/zMAiXGvnXtNyq1uI0JDSpC7pvybJboPiJ8UktKZpYv42iB77BCpHr0W/H16o+pOTidxsn3TIxpvE0YOVBY2IHPa3dI1gOR5wxTlXpTEwWemXmcUVUGyR6RAx0NpFbc0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707395249; c=relaxed/simple; bh=VEMdI4miws6OolOBVwacav02EmP7olFAtmoaqw6hKGE=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=ZSIBXp95eWyI/IN9WWQENjofAan7G6DNKx66i7qZLJJwGa4EIrAd+hJYEFgjvwkh9DolXzxPGXC8snxRF2OhMTDy9eJIVX2vwGrKgO5doB5OgC9iOxpqWMNkDvUadDXrfT3b4wCeB7GNeeVMCPgIk5j+wWdGKs4tYe49G5iyijU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com; spf=pass smtp.mailfrom=arm.com; arc=none smtp.client-ip=217.140.110.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arm.com Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 76C021FB; Thu, 8 Feb 2024 04:28:09 -0800 (PST) Received: from arm.com (RQ4T19M611.cambridge.arm.com [10.1.31.53]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 0345E3F5A1; Thu, 8 Feb 2024 04:27:25 -0800 (PST) Date: Thu, 8 Feb 2024 12:27:23 +0000 From: Catalin Marinas To: Marc Zyngier Cc: linux-arm-kernel@lists.infradead.org, kvmarm@lists.linux.dev, Will Deacon , Mark Rutland , Suzuki K Poulose , Ard Biesheuvel , James Morse , Oliver Upton , Zenghui Yu Subject: Re: [PATCH v4 06/10] arm64: cpufeature: Detect HCR_EL2.NV1 being RES0 Message-ID: References: <20240122181344.258974-1-maz@kernel.org> <20240122181344.258974-7-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=us-ascii Content-Disposition: inline In-Reply-To: <20240122181344.258974-7-maz@kernel.org> On Mon, Jan 22, 2024 at 06:13:40PM +0000, Marc Zyngier wrote: > A variant of FEAT_E2H0 not being implemented exists in the form of > HCR_EL2.E2H being RES1 *and* HCR_EL2.NV1 being RES0 (indicating that > only VHE is supported on the host and nested guests). > > Add the necessary infrastructure for this new CPU capability. > > Reviewed-by: Suzuki K Poulose > Signed-off-by: Marc Zyngier Reviewed-by: Catalin Marinas