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 36A20CCF9F0 for ; Thu, 30 Oct 2025 11:25:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Type:MIME-Version: References:In-Reply-To:Subject:Cc:To:From:Message-ID:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=HWMunky0qzcx9theQKjEHlZSQ6ckSg8e3C6iSkhSWU8=; b=ksHYtSwgTq59F+dWJMg2jyReKL PtTqnRZvSRFCTNWtuPKD2pTb47BQYpqQqIrm8hh3leFPvp6BDZH05BkUAYuALns+isjkd1wpUbJKa 4YsV8D0C+EgfWUvDUPFi5JVjk+cF8IZswlZ7+VJSYE+eABuwNiptX9NRVOxGvd7p7d2BOnsYU68kx VP6vnHTyHZCld32tQDf+4+DPP5eHQxWMQARB0pRsbFDfIExRK0LDa1Ar91cf+bALYnavCmr2KwLuG qe6xlnUKiJcaLtQrIS+HqF5QQBarvallrKlUXTlhipG5Ra9qO84Nxa3XyWd/Gy0jJaSn320FcBbgX iaKDycwA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1vEQmT-000000043T2-0fsu; Thu, 30 Oct 2025 11:25:25 +0000 Received: from sea.source.kernel.org ([172.234.252.31]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1vEQmP-000000043Sf-0DPG for linux-arm-kernel@lists.infradead.org; Thu, 30 Oct 2025 11:25:24 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sea.source.kernel.org (Postfix) with ESMTP id 5FB1843536; Thu, 30 Oct 2025 11:25:20 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3F4D9C4CEF8; Thu, 30 Oct 2025 11:25:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1761823520; bh=6pRLhXQTg48LccghaYa5grB/ldAS7xutWQXqYeaONAI=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=OK/iWfsGKPH76eTFnRmfEgmrgWV+XlSP07CDbXrbXrT5kabli0le+L3nLFvZyLmg3 uDtdKVLtBAJQDlhIdZDjbKkD+O9erGphWHpSUwXCKM9IwBRGDUms4h4NQfFswyZmhP SqGFIHJ4BGbAUAQk2Z81nCkGtGd4wFoTkbcJFbzPuKQsO/WxoOgtIpcMQXqDTdZaiY 4UZtYM1KAgwl5L56fuUCkhFk5NWPCLZG3YAWpaT1zfVqau8wKZc6t66BbWzNC6k/Gz mf2OQrEKHAjd0eTObb7YTHD981blAirH/sop1L0IU1eDwAfY0FwExedoSdbDeCk1oE m62/WGvW+HHUg== Received: from sofa.misterjones.org ([185.219.108.64] helo=goblin-girl.misterjones.org) by disco-boy.misterjones.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1vEQmM-00000000xUk-0abm; Thu, 30 Oct 2025 11:25:18 +0000 Date: Thu, 30 Oct 2025 11:25:17 +0000 Message-ID: <86tszgvdgi.wl-maz@kernel.org> From: Marc Zyngier To: Oliver Upton Cc: kvmarm@lists.linux.dev, linux-arm-kernel@lists.infradead.org, kvm@vger.kernel.org, Joey Gouly , Suzuki K Poulose , Zenghui Yu , Peter Maydell , stable@vger.kernel.org Subject: Re: [PATCH 1/3] KVM: arm64: Make ID_PFR1_EL1.GIC writable In-Reply-To: References: <20251013083207.518998-1-maz@kernel.org> <20251013083207.518998-2-maz@kernel.org> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM-LB/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL-LB/10.8 EasyPG/1.0.0 Emacs/30.1 (aarch64-unknown-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII X-SA-Exim-Connect-IP: 185.219.108.64 X-SA-Exim-Rcpt-To: oliver.upton@linux.dev, kvmarm@lists.linux.dev, linux-arm-kernel@lists.infradead.org, kvm@vger.kernel.org, joey.gouly@arm.com, suzuki.poulose@arm.com, yuzenghui@huawei.com, peter.maydell@linaro.org, stable@vger.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-20251030_042522_800688_8C23D619 X-CRM114-Status: GOOD ( 16.85 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed, 22 Oct 2025 08:00:47 +0100, Oliver Upton wrote: > > Hey, > > On Mon, Oct 13, 2025 at 09:32:05AM +0100, Marc Zyngier wrote: > > Similarly to ID_AA64PFR0_EL1.GIC, relax ID_PFR1_EL1.GIC to be writable. > > This looks fine to me, although I do wonder if we should just allow > userspace to write whatever value it wants to the 32-bit ID registers > and be done with it. That's a good point. Nobody really cares about 32bit anyway, and I'd be happy to just let the VMM write whatever it wants. Might be a bit harder to backport, but whoever is interested in AArch32 will be able to do it. Thanks, M. -- Without deviation from the norm, progress is not possible.