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 7A51BC25B08 for ; Wed, 17 Aug 2022 09:34:47 +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=xTXojYNYrMPDGSkksSuX6q7cQL6Tr/4VRXqhJvLsmU4=; b=Nm8j7LQS25KRFt YDTlkY/jD3hItIEaMfE63ieK5H/O/k88D5iLo4bqgI1SVH4rXLwGExc6O680XGo+WLDxWkcFXM7Zd uEAUUn89CrsZvKRaUVN3PwaQ/6FJopO6YQFVRf+Byx6LcoiAmEda5KDAf4Cd1cxrxAKzjayTAp8JA isOU/lj3fMb1Jl4FrFtySgXusHhhkPt72RP+zkJZ+x4Jepyc1vJqkHKAeiRaNs+wYWCfJFLH9nDmA k5298VWwPT2TnHbHAFjSaUHeXHHcKe0/Pq7A6zQv0VE85Rpd/WR3pIFWHntZwODF94a42qwD0XsJ8 fCWOume8Kj2ZeMJCZ7ew==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oOFQr-00HRnn-OU; Wed, 17 Aug 2022 09:33:49 +0000 Received: from sin.source.kernel.org ([2604:1380:40e1:4800::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oOFQo-00HRaT-7I for linux-arm-kernel@lists.infradead.org; Wed, 17 Aug 2022 09:33:47 +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 0C1F8CE1BF7; Wed, 17 Aug 2022 09:33:42 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 688E5C433C1; Wed, 17 Aug 2022 09:33:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1660728820; bh=8W05Vg11+71pYOZwxRs2Q2L01sgUXY8xwN75MdQxdGc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=RJzGYJd2+sXYIfFvHeub6vQvr2peqvmgb6DV1+U7bLJwkecH3ijh5UoCdFQG26LRQ CZ7UuKymsXIzRtmo2Kzo282VaBd70F+DHybYbWwZdTI6EhHW/ahesX62V+neTMIho2 /vJzgpbAbaW1RsYC0vB7//54nZ55miCb9/UzolDQpF4OFXcHdb7y+RIH2WPKG8ESdB rNY2gWvUcZgKLf5TfF4ohNM/uvuondmCUDPj9PWTgk9HXkOvfZkGDchMWnbvDT1z0+ jICXADqBn9I4FlPuxYASSoVOpUqAtczW/mJRYfQOu8+jV4aah9QPcnvOq4MyDUOPW+ dyl6NYqZMcsfw== 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 ) id 1oOFQg-003hCO-4U; Wed, 17 Aug 2022 10:33:38 +0100 From: Marc Zyngier To: kvmarm@lists.cs.columbia.edu, Oliver Upton Cc: will@kernel.org, kvm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, james.morse@arm.com, alexandru.elisei@arm.com, suzuki.poulose@arm.com Subject: Re: [PATCH v2 0/2] KVM: arm64: Uphold 64bit-only behavior on asymmetric systems Date: Wed, 17 Aug 2022 10:33:35 +0100 Message-Id: <166072880531.274916.7682174772371767098.b4-ty@kernel.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220816192554.1455559-1-oliver.upton@linux.dev> References: <20220816192554.1455559-1-oliver.upton@linux.dev> MIME-Version: 1.0 X-SA-Exim-Connect-IP: 185.219.108.64 X-SA-Exim-Rcpt-To: kvmarm@lists.cs.columbia.edu, oliver.upton@linux.dev, will@kernel.org, kvm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, james.morse@arm.com, alexandru.elisei@arm.com, suzuki.poulose@arm.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-20220817_023346_820311_1F59A92F X-CRM114-Status: GOOD ( 13.09 ) 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 Tue, 16 Aug 2022 19:25:52 +0000, Oliver Upton wrote: > Small series to fix a couple issues around when 64bit-only behavior is > applied. As KVM is more restrictive than the kernel in terms of 32bit > support (no asymmetry), we really needed our own predicate when the > meaning of system_supports_32bit_el0() changed in commit 2122a833316f > ("arm64: Allow mismatched 32-bit EL0 support"). > > Lightly tested as I do not have any asymmetric systems on hand at the > moment. Attention on patch 2 would be appreciated as it affects ABI. > > [...] Applied to fixes, thanks! [1/2] KVM: arm64: Treat PMCR_EL1.LC as RES1 on asymmetric systems commit: f3c6efc72f3b20ec23566e768979802f0a398f04 [2/2] KVM: arm64: Reject 32bit user PSTATE on asymmetric systems commit: b10d86fb8e46cc812171728bcd326df2f34e9ed5 Cheers, M. -- Marc Zyngier _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel