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 E5723C4829B for ; Mon, 12 Feb 2024 14:48: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:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=qy9MF3u292NnWwmE84UsImWA+99ttskHJrbuxgr3lbE=; b=C+S/8Sc3aGSr5n QPPjOoYDBHlnhSJ6HUtNoL063Uqymb0gTQ/BbLh2r7PndOpcPxZPwzZbmKXrESF4zD14NhN/NvayW od8kSWi2NorokuZ8zsxFFIU7zffh9tzrbEp/6RyufL0SUB6Zr2PiHrcsvbod07VdEJA8gsN7ppKkO iajAXXlPY6zrzI7LjxlSZJMVmyEslvpT9fBAo319p86nHSixjWB7vNw1RhLcrBGG4MJQGLnlS3fb0 lY7iySKWX1ovc7tGcI8buTxSl9TpXOU8g/O6zLJvX/qAjp05m9KmDr5CqG9AWepMX67gXjxpw6Yf/ yFgi7JW+qAW7Q+Km/9jw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rZXbF-00000005qHO-1a8H; Mon, 12 Feb 2024 14:48:01 +0000 Received: from sin.source.kernel.org ([145.40.73.55]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rZXb9-00000005qFO-1Xfs for linux-arm-kernel@lists.infradead.org; Mon, 12 Feb 2024 14:47:56 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sin.source.kernel.org (Postfix) with ESMTP id 57A26CE0F60; Mon, 12 Feb 2024 14:47:53 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 89688C433C7; Mon, 12 Feb 2024 14:47:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1707749272; bh=e/tWxSOkmw6htrhwgmxgeclP5tKG6yp5OWGwNwdixWg=; h=From:To:Cc:Subject:Date:From; b=be8tDfyAPs4RBfXpCJMaVeDrEo0197DTqvmpTzQEEAkB0YjCl5Bkqgd5y134Ko+R1 IR8iNdRuQK+IQvLZMePTdfPp6iL4uevAYsMyHqSBRwlPUO6yqujzD3Zy7OAEcv0HI7 37ZExq41ciTRS8EzaYvAh4Qo72Vjj4VtkhM7sA4Ep7I5hvCf+FI3AEtwgirYxOHjhp oXuGAClU3zWE1oytTmTzDQaQKhueo6qhW+3T7CTMtDykNe5qEySBhltIfFgN3cbuTE mskMW/n7iwgZdwMtJcpGX8fFyKLsXRYVMeVAS/+2vPcYxZpyBLxdU3tQShXp1mgSE+ Z0YYEnIqcDDBA== Received: from sofa.misterjones.org ([185.219.108.64] helo=valley-girl.lan) by disco-boy.misterjones.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1rZXb4-002SFp-4p; Mon, 12 Feb 2024 14:47:50 +0000 From: Marc Zyngier To: kvmarm@lists.linux.dev, linux-arm-kernel@lists.infradead.org, kvm@vger.kernel.org Cc: James Morse , Suzuki K Poulose , Oliver Upton , Zenghui Yu , Catalin Marinas , Will Deacon , Marek Szyprowski Subject: [PATCH 0/2] ARM64: Fixes for FEAT_E2H0 handling Date: Mon, 12 Feb 2024 14:47:34 +0000 Message-Id: <20240212144736.1933112-1-maz@kernel.org> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 X-SA-Exim-Connect-IP: 185.219.108.64 X-SA-Exim-Rcpt-To: kvmarm@lists.linux.dev, linux-arm-kernel@lists.infradead.org, kvm@vger.kernel.org, james.morse@arm.com, suzuki.poulose@arm.com, oliver.upton@linux.dev, yuzenghui@huawei.com, catalin.marinas@arm.com, will@kernel.org, m.szyprowski@samsung.com 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-20240212_064755_607067_D59F35FA X-CRM114-Status: UNSURE ( 8.60 ) 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 As the FEAT_E2H0 handling series has made it to -next, some of its shortcomings are becoming apparent: - A missing ID register in __read_sysreg_by_encoding() is causing CPU hotplug to explode (reported by Marek) - NV1 is getting advertised on HW that doesn't have FEAT_NV, which is fairly harmless, but still annoying These fixes should directly apply on the feat_e2h0 branch that Oliver has pushed to kvmarm/next. Marc Zyngier (2): arm64: cpufeatures: Add missing ID_AA64MMFR4_EL1 to __read_sysreg_by_encoding() arm64: cpufeatures: Only check for NV1 if NV is present arch/arm64/kernel/cpufeature.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) -- 2.39.2 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel