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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1D1B3C0032E for ; Wed, 25 Oct 2023 08:49:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232800AbjJYItq (ORCPT ); Wed, 25 Oct 2023 04:49:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52796 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232654AbjJYIto (ORCPT ); Wed, 25 Oct 2023 04:49:44 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A41FCB0 for ; Wed, 25 Oct 2023 01:49:42 -0700 (PDT) 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") 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 Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.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.