Message ID | 20240214131827.2856277-2-maz@kernel.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org> 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 3FB43C48BC3 for <linux-arm-kernel@archiver.kernel.org>; Wed, 14 Feb 2024 13:18:54 +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:References:In-Reply-To: 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: List-Owner; bh=eFQ9qJ7MAGstlUL6LVldum/KJcvQFX7lwEiB3ouswwc=; b=dfcFwONfex0e7x ncEI8WfUCJI6+szERu5xOpt5xYxl2ciI41FdZwM0yPUfwf9oCGlc14o9oTzkz7kF4suxHu/wyPEYK HnB6SCVg63kwTmc+zWOwdV8KERem7v2vsaPmafm3XZq9SkQu2TVol9WJfSlOzZ8TiH+FWYvpEDTs2 6qgoFonSAE57245wXEZ+eEGD5dmlVvW4lE8TEBlEjp/dkVXZSeu+6Ql5yaxwWeKXi/C95PBgn7o59 2OWndUOz1RWpi7Omwl+Ds5cE6qp8qTEvnbTYGwft5YujCBOTjfJaGd6Li1jjkKo4936tOX2ru9rgO nugrjWBP1lsu9iswCYaQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1raF9u-0000000Cxp8-3Lqt; Wed, 14 Feb 2024 13:18:42 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1raF9l-0000000CxfD-3uFj for linux-arm-kernel@lists.infradead.org; Wed, 14 Feb 2024 13:18:35 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id 54B4561956; Wed, 14 Feb 2024 13:18:33 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id EE8F7C43394; Wed, 14 Feb 2024 13:18:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1707916713; bh=9Vsgu4gJOf4jI0IRQ9JR0eGd9nGeKlEuw7398GwLIoE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Qnkp3rUFxujG+y93w7Y6Yuk/Q8mBpb+zRkeMvpW0pwLqkzjkNMId954VKvOyjE63Q uxxz3jopk81RI+5nqUbUUm3rV3OIVOJQHq/puFHceRmrL/MhlY5rJfUcnYclMbwQ92 sEmP3TxVDEjPXHWSzY6Vc68A6zp+y/PRG/URBz99Nx/ZneGkzDiKiJudtCQesgjUAu BfhfrOUDJWT+Kzz1HCiZNYKFi9cYBFoCiCG3EhKDvZGUMCh8jBbVtIwXN+a0uBoUg7 tsvSN2a8AxdIY2PRqEuG1G6mPlhbqoDKrGBwXqpUwWrbfFw0T8/MKvd18ofZqcXGpa b3iIjg/gS2rag== 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 <maz@kernel.org>) id 1raF9i-00394l-Oa; Wed, 14 Feb 2024 13:18:30 +0000 From: Marc Zyngier <maz@kernel.org> To: kvmarm@lists.linux.dev, linux-arm-kernel@lists.infradead.org Cc: James Morse <james.morse@arm.com>, Suzuki K Poulose <suzuki.poulose@arm.com>, Oliver Upton <oliver.upton@linux.dev>, Zenghui Yu <yuzenghui@huawei.com>, Catalin Marinas <catalin.marinas@arm.com>, Will Deacon <will@kernel.org>, Joey Gouly <joey.gouly@arm.com>, Mark Brown <broonie@kernel.org> Subject: [PATCH v4 01/26] arm64: sysreg: Add missing ID_AA64ISAR[13]_EL1 fields and variants Date: Wed, 14 Feb 2024 13:18:02 +0000 Message-Id: <20240214131827.2856277-2-maz@kernel.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240214131827.2856277-1-maz@kernel.org> References: <20240214131827.2856277-1-maz@kernel.org> 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, james.morse@arm.com, suzuki.poulose@arm.com, oliver.upton@linux.dev, yuzenghui@huawei.com, catalin.marinas@arm.com, will@kernel.org, joey.gouly@arm.com, broonie@kernel.org 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-20240214_051834_049006_B5F7EBFB X-CRM114-Status: UNSURE ( 9.97 ) 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: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org |
Series |
KVM/arm64: VM configuration enforcement
|
expand
|
On Wed, Feb 14, 2024 at 01:18:02PM +0000, Marc Zyngier wrote: > Despite having the control bits for FEAT_SPECRES and FEAT_PACM, > the ID registers fields are either incomplete or missing. > > Fix it. > > Reviewed-by: Mark Brown <broonie@kernel.org> > Signed-off-by: Marc Zyngier <maz@kernel.org> In case you need another ack on this patch: Acked-by: Catalin Marinas <catalin.marinas@arm.com>
diff --git a/arch/arm64/tools/sysreg b/arch/arm64/tools/sysreg index fa3fe0856880..53daaaef46cb 100644 --- a/arch/arm64/tools/sysreg +++ b/arch/arm64/tools/sysreg @@ -1366,6 +1366,7 @@ EndEnum UnsignedEnum 43:40 SPECRES 0b0000 NI 0b0001 IMP + 0b0010 COSP_RCTX EndEnum UnsignedEnum 39:36 SB 0b0000 NI @@ -1492,7 +1493,12 @@ EndEnum EndSysreg Sysreg ID_AA64ISAR3_EL1 3 0 0 6 3 -Res0 63:12 +Res0 63:16 +UnsignedEnum 15:12 PACM + 0b0000 NI + 0b0001 TRIVIAL_IMP + 0b0010 FULL_IMP +EndEnum UnsignedEnum 11:8 TLBIW 0b0000 NI 0b0001 IMP