From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C63023D72 for ; Wed, 25 Oct 2023 08:49:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="c6TaCqD3" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 45B23C433C8; Wed, 25 Oct 2023 08:49:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1698223782; bh=CnRtIBJnMvU6qpl4zkd6oC8y2Uyj3dhXoopdH9cTZKw=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=c6TaCqD3Ks0mwFimT4J2P4wtWFcirQ3+KdyxIAI4m2cgyW55X9lQKkJ6DbAanbwqe OBCJWUlxboLYj1fdxEqFjte3HobSSVjtpuAzkNovzhFzmbfQ1ZWicz18FwFjU80ulg +NQKb8tnBTQ7RUzrXm7ZENlOVJpE18PqiwM19gV7TN/uhEFDScQEj35DpOoICbBv44 nisniq9++5yykSjlNvwseQsP6L2ufiRxzO2cA7Lv2juRACYtFbHaS3sgIrzXlSZ01f 9pDmQDNoYj2p8sffThvd3pJQsCSGGhGp3PmnuHvSf0qlupZf2K6bHyxXHQZLMdVGIv OwO3x4Lb3ujow== 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.95) (envelope-from ) id 1qvZa7-007U82-PF; Wed, 25 Oct 2023 09:49:39 +0100 Date: Wed, 25 Oct 2023 09:49:39 +0100 Message-ID: <86edhj3x3w.wl-maz@kernel.org> From: Marc Zyngier To: Oliver Upton Cc: Miguel Luis , "kvmarm@lists.linux.dev" , "kvm@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , Eric Auger , James Morse , Suzuki K Poulose , Zenghui Yu Subject: Re: [PATCH 5/5] KVM: arm64: Handle AArch32 SPSR_{irq,abt,und,fiq} as RAZ/WI In-Reply-To: References: <20231023095444.1587322-1-maz@kernel.org> <20231023095444.1587322-6-maz@kernel.org> <7DD05DC0-164E-440F-BEB1-E5040C512008@oracle.com> <86jzrc3pbm.wl-maz@kernel.org> <86h6mf3y3w.wl-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/29.1 (aarch64-unknown-linux-gnu) MULE/6.0 (HANACHIRUSATO) Precedence: bulk X-Mailing-List: kvmarm@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: 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, miguel.luis@oracle.com, kvmarm@lists.linux.dev, kvm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, eric.auger@redhat.com, james.morse@arm.com, suzuki.poulose@arm.com, yuzenghui@huawei.com X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false On Wed, 25 Oct 2023 09:46:13 +0100, Oliver Upton wrote: > > To your point, the SPSR_* accessors still trap even if AArch32 is not > implemented. I was suggesting in passing that it'd be nice if the > architecture alternatively allowed for these to read as RES0 (no trap) > if NV==1 and AArch32 is not implemented, which aligns with your change. Ah, I see what you mean now. Yeah, I'll put that on the bucket list of things I need to write up. It has quite a few entries already, and I really should get to it. Thanks, M. -- Without deviation from the norm, progress is not possible. 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 5038CC0032E for ; Wed, 25 Oct 2023 08:50:20 +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: Subject:Cc:To:From:Message-ID:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=t7x8gQCFtxh2a/yVwsKLuRl6DYISiPjPMOb3RpsB7TI=; b=L6mmLdJynRHxRc 42ukKFkWQI/40q+DKahBuOISHipDOPzr7W5fJQtidO+GA9BUtHxlwjPjjXs0G916fIleR8FRQv/dv A+aOr+aYOs5Sjg/jxz2GohNRjQpz5ceQ0b77aIK5jzPwl6JVmf4FoYvIdjPSbutH8IkGpAaiX9T0/ BNooRCwtGp7NFXIdM7QSkl+BqSjCXZX0DoHu6UD7mOzp6MY4gkBPSr+2AWZ8j9o+anhP/peeHXZWV 3xuig4p75BYK4zSruo+qI7RzF/x5Y5WEkCKJAnkLKURAlmjXI+nRmBy4CwUTk2hv9uga2zGv41PGj pSftHhRR5D3IqdZgA0Jw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qvZaL-00BkjV-2E; Wed, 25 Oct 2023 08:49:53 +0000 Received: from sin.source.kernel.org ([2604:1380:40e1:4800::1]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qvZaI-00Bkim-31 for linux-arm-kernel@lists.infradead.org; Wed, 25 Oct 2023 08:49:52 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sin.source.kernel.org (Postfix) with ESMTP id 1B46FCE0222; Wed, 25 Oct 2023 08:49:43 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 45B23C433C8; Wed, 25 Oct 2023 08:49:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1698223782; bh=CnRtIBJnMvU6qpl4zkd6oC8y2Uyj3dhXoopdH9cTZKw=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=c6TaCqD3Ks0mwFimT4J2P4wtWFcirQ3+KdyxIAI4m2cgyW55X9lQKkJ6DbAanbwqe OBCJWUlxboLYj1fdxEqFjte3HobSSVjtpuAzkNovzhFzmbfQ1ZWicz18FwFjU80ulg +NQKb8tnBTQ7RUzrXm7ZENlOVJpE18PqiwM19gV7TN/uhEFDScQEj35DpOoICbBv44 nisniq9++5yykSjlNvwseQsP6L2ufiRxzO2cA7Lv2juRACYtFbHaS3sgIrzXlSZ01f 9pDmQDNoYj2p8sffThvd3pJQsCSGGhGp3PmnuHvSf0qlupZf2K6bHyxXHQZLMdVGIv OwO3x4Lb3ujow== 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.95) (envelope-from ) id 1qvZa7-007U82-PF; Wed, 25 Oct 2023 09:49:39 +0100 Date: Wed, 25 Oct 2023 09:49:39 +0100 Message-ID: <86edhj3x3w.wl-maz@kernel.org> From: Marc Zyngier To: Oliver Upton Cc: Miguel Luis , "kvmarm@lists.linux.dev" , "kvm@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , Eric Auger , James Morse , Suzuki K Poulose , Zenghui Yu Subject: Re: [PATCH 5/5] KVM: arm64: Handle AArch32 SPSR_{irq,abt,und,fiq} as RAZ/WI In-Reply-To: References: <20231023095444.1587322-1-maz@kernel.org> <20231023095444.1587322-6-maz@kernel.org> <7DD05DC0-164E-440F-BEB1-E5040C512008@oracle.com> <86jzrc3pbm.wl-maz@kernel.org> <86h6mf3y3w.wl-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/29.1 (aarch64-unknown-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") X-SA-Exim-Connect-IP: 185.219.108.64 X-SA-Exim-Rcpt-To: oliver.upton@linux.dev, miguel.luis@oracle.com, kvmarm@lists.linux.dev, kvm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, eric.auger@redhat.com, james.morse@arm.com, suzuki.poulose@arm.com, yuzenghui@huawei.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-20231025_014951_156558_BF527C01 X-CRM114-Status: GOOD ( 14.29 ) 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 Wed, 25 Oct 2023 09:46:13 +0100, Oliver Upton wrote: > > To your point, the SPSR_* accessors still trap even if AArch32 is not > implemented. I was suggesting in passing that it'd be nice if the > architecture alternatively allowed for these to read as RES0 (no trap) > if NV==1 and AArch32 is not implemented, which aligns with your change. Ah, I see what you mean now. Yeah, I'll put that on the bucket list of things I need to write up. It has quite a few entries already, and I really should get to it. Thanks, M. -- Without deviation from the norm, progress is not possible. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel