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 DB69DC48260 for ; Thu, 8 Feb 2024 12:28: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-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=MhBaxkYTmus7thCuZ1V+rNXcGqDlh1uCRrFuCQqGfnk=; b=dVM2kNh/2IrO5f WjBqbBC04DYUiVxZQ5hqqybO+aifAfiRjBJwoLgvJNGZn9fYoN/zLoi/vfrMNBGtOukpKHyUsoemW f+UohNlh83+vTW4+5SimaRFB0OtX9ZxOuCbq2A70wy5cRWgM8QhueNBWBDy4Vq6g/GHTmFENGcEF0 it81oOeam6x+su72P7pwTlEqc1zh9nyX3KxD1cBHZiL7h8lznmILRA3Y+qFpMHg7rtsn+PCqwd85N t5JxQGXleWVNWlB66qzHvNqTLo74/LXKa8nBXEfIBLL0eA0VasOOxxClctU1tiuCWOZWzySqy8xdv CB0luBO7wS4zMvXtWRTg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rY3Va-0000000DilQ-3s6y; Thu, 08 Feb 2024 12:28:02 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rY3VX-0000000Dikv-3JVP for linux-arm-kernel@lists.infradead.org; Thu, 08 Feb 2024 12:28:01 +0000 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 5F1B61FB; Thu, 8 Feb 2024 04:28:38 -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 DD1C83F5A1; Thu, 8 Feb 2024 04:27:54 -0800 (PST) Date: Thu, 8 Feb 2024 12:27:52 +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 07/10] arm64: Treat HCR_EL2.E2H as RES1 when ID_AA64MMFR4_EL1.E2H0 is negative Message-ID: References: <20240122181344.258974-1-maz@kernel.org> <20240122181344.258974-8-maz@kernel.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20240122181344.258974-8-maz@kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240208_042759_899291_DA0CBF5C 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 Mon, Jan 22, 2024 at 06:13:41PM +0000, Marc Zyngier wrote: > For CPUs that have ID_AA64MMFR4_EL1.E2H0 as negative, it is important > to avoid the boot path that sets HCR_EL2.E2H=0. Fortunately, we > already have this path to cope with fruity CPUs. > > Tweak init_el2 to look at ID_AA64MMFR4_EL1.E2H0 first. > > Reviewed-by: Suzuki K Poulose > Signed-off-by: Marc Zyngier Reviewed-by: Catalin Marinas _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel