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 03664C433FE for ; Wed, 9 Nov 2022 15:53:49 +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-Type: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: In-Reply-To:MIME-Version:References:Message-ID:Subject:Cc:To:From: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=H2hGXVvgbxlPdGY57PGCKhUgBhS5bstTronC9b28+qc=; b=qEJVJVb68huc3YCIVcmL98s+St 5QzQAtQbQOkEamQQwAxnr6peK5tA0++HZf0q2NlTC2IVU94bOh8TAwTzMoI5DdW0GBkLbTcnxDfXr lMc3b60iGF3yOIVw0sk1ef7PFY2fTPB8CBWv/ro4+5Bd9BZ+Y3mtiYZy/ZCR/uBkViLouiowog29d NThBP6ZFqf8I3PwIKMcer4f9AI/jvdTkI22aAX8Fb7rdc9YphK8937ghhfkglc0yxoN5AfNetX4cl nyUcGrXDHCr9+pLDBCGLy6o/hRPybwauZAjrypEts4ghyBy051L8feUgHQsWYI2BJIfwMM6+TtXIb Phwqer6A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1osnNi-00Ennm-Fm; Wed, 09 Nov 2022 15:52:50 +0000 Received: from sin.source.kernel.org ([145.40.73.55]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1osnNe-00Engh-Mv for linux-arm-kernel@lists.infradead.org; Wed, 09 Nov 2022 15:52:48 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sin.source.kernel.org (Postfix) with ESMTPS id 1A117CE1FE1; Wed, 9 Nov 2022 15:52:45 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8D665C433C1; Wed, 9 Nov 2022 15:52:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1668009163; bh=ei3p9LQadRvWn0opOeZTAB0wJyQ/FMlKDx53ia+kc3M=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=kQ0SrctLlU9or+8XaqneKfod3VaylnzzLNBknM02xqukWT2EwoUYpKx8UngAhMS/j ISQiRWfBd2UEQtexB0aRMjqAci/goaq06V8YGudwAqHnLuZN5FiQlqKNtLH4RXbt// msYgLzS+WO/62idPNGxolCVsRK8SQ3/1A06PeRmWNI2cvn0NWvfmMNVkeBV+dVQ/XQ /Tbu04uGI7fWWKV5M4GQn5o3RnuLZDhE7LVE9J9VtAX7bT8FkQT4hrxXiCDnmphiZH zbEM6XmLwYG9FA4li980jW7CXBVSXjhTjKhI5jaDRbD6P4at8fOjZdFHaAaSyZTyyw axWc4wMxu9ytQ== Date: Wed, 9 Nov 2022 15:52:39 +0000 From: Mark Brown To: Christophe Fergeau Cc: linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v10 09/39] arm64/sme: Basic enumeration support Message-ID: References: <20220126152749.233712-10-broonie@kernel.org> <20221108163001.279649-1-cfergeau@redhat.com> MIME-Version: 1.0 In-Reply-To: X-Cookie: Sign here without admitting guilt. X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221109_075246_955241_0EF5A678 X-CRM114-Status: GOOD ( 22.51 ) 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: multipart/mixed; boundary="===============4616525424759696032==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============4616525424759696032== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="dEG1IEfgNOv9SFVZ" Content-Disposition: inline --dEG1IEfgNOv9SFVZ Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Nov 09, 2022 at 04:24:21PM +0100, Christophe Fergeau wrote: > =D1=81=D1=80, 9 =D0=BD=D0=BE=D1=8F=D0=B1. 2022 =D0=B3. =D0=B2 14:32, Mark= Brown : > > On Tue, Nov 08, 2022 at 05:30:01PM +0100, Christophe Fergeau wrote: > > > I've raised this issue with Apple as there's most likely a bug to fix= in their > > > hypervisor, but I was wondering if this could also be worked around k= ernel-side? > > > Before this change, I've had no problems with my linux VMs. > > It should be *possible* to add quirks for this, but there was some > > sentiment against adding workarounds where the out of spec system could > > be fixed (unknown registers in the ID space are supposed to be read as > > zero). > I haven't heard back from Apple yet. I've tried macOS 13 though, the > latest macOS major version, and in this version, unpatched kernels > boot fine, so they probably fixed this out of spec behaviour. It's > only with macOS 12 that I'm hitting this read_cpuid() failure. > macOS 13 was released just a few weeks ago, I'm not sure how fast "my" > users will upgrade, nor if Apple will be willing to backport the fix > to macOS 12 :-/ Having a workaround for a while would definitely help. If it's fixed then I'd expect it'd be a struggle to get anything merged upstream. --dEG1IEfgNOv9SFVZ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmNrzMYACgkQJNaLcl1U h9AYqAf+KMDRyJEMc7imHXXYftfMS7Nov0RlyrjsuV/LjHZ5mMXL9u5mTtf16bYk /TE1mx678vx6B+4RnZSx07B0bm34V4B/QGiagm9Um+HPqvb0BC8IZQkLhLQtaNW1 gcbvsKLuaYBt60U7qqJNUDhXjjysUtfceauXqfii/umeXg89m6OB12RsqoDI37ve 7hz+PX9hLxgiN1p632FmQX1Fs3vFAlMQbtmGBm4QZfxONB9xAyUHE10S5Trf4S99 etMEx8JXfdMIwPZ+77ErkxVIxiJXfE3Pvfl/0C8E+nhd8A0bVvRcPe8Avd/rMfFz ooRMYC3wJ5vHIaDXkJTCayz0Uurmmg== =I7kK -----END PGP SIGNATURE----- --dEG1IEfgNOv9SFVZ-- --===============4616525424759696032== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel --===============4616525424759696032==--