From patchwork Thu Aug 18 14:08:44 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marc Zyngier X-Patchwork-Id: 1667718 Return-Path: X-Original-To: incoming-imx@patchwork.ozlabs.org Delivered-To: patchwork-incoming-imx@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:3::133; helo=bombadil.infradead.org; envelope-from=linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=LGDXkVjr; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20201202 header.b=bo6wLDFE; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4M7nTg0fHfz1ygd for ; Fri, 19 Aug 2022 00:34:47 +1000 (AEST) 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: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:In-Reply-To:References: List-Owner; bh=vEAel2WbEBKb9p7eYtFU5VCeEcfV74pybxLnsteT4y0=; b=LGDXkVjr2/Ks+A CBYAmPTh4tf4dZgCEGYkhIrXu1h46vancw1PfEsdRMCXnvL5rK+5qqvzsfhXOrojDTy5X9+EOwStV k4BIZWPtagC1UqxJIahudEMQ9ml62qm9/6B16mSOcuZnCyGUQXRPMfob9f6O7HnEz6ZpEiQsIw/PC IH8Ul5l//gkTi/ihsoX6cBeXipNlRxNbFWPbWDz2sXAZRq/+c5tKGRkRyAsYf8un2Xhet8tPgub6U zQEVsYNOoxGiC3A2YpA41ZFoX85VCw2k3ujwaXffMLz+VCuPWXQFpfEVtoIR7218cUstlgvvNcCWZ elVq87OjH3P8op9Svkdg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oOgbJ-0066H0-0y; Thu, 18 Aug 2022 14:34:26 +0000 Received: from ams.source.kernel.org ([2604:1380:4601:e00::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oOgCg-005sY4-As for linux-arm-kernel@lists.infradead.org; Thu, 18 Aug 2022 14:09:00 +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 ams.source.kernel.org (Postfix) with ESMTPS id D9B1FB821B9; Thu, 18 Aug 2022 14:08:56 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 886A8C433D6; Thu, 18 Aug 2022 14:08:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1660831735; bh=X1Q1sXj76atg/ztMAloIPiEyVV7Q9AK3llXhBBs0MmA=; h=From:To:Cc:Subject:Date:From; b=bo6wLDFENY/dx4DUWVormN+6hJ5A9pYQFMzpjuywKvF4lhCF+9O4x3tMACBV/BR3m e5TiY1hNZgAXb0IE1gePs0l4oShBGznPAUEDn/47qxNSqBAGSnbQ4LApjarbeeCC+4 UuzzNcQAeNuJdPt5EV+Q+ztevu97V6mtbz6PlBfjaoT+3uxr5htsyLqoFRX9iyb7oe LfKQwU47K+rMc5ZHoN/GSKYZpcZqsO++RO34SjYhRaupsqeu5J5tJwA3aRS3kZvsWa VU2npwUtwjPxFtW+KFfVL3Z+HZrWQFuHisn+pCtqx27bmugcKoY9kS1B1kr8jzEGo+ z7rAGjyS04eRA== Received: from sofa.misterjones.org ([185.219.108.64] helo=why.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 1oOgCb-0040U4-HY; Thu, 18 Aug 2022 15:08:53 +0100 From: Marc Zyngier To: Paolo Bonzini Cc: Oliver Upton , Yang Yingliang , James Morse , Suzuki K Poulose , Alexandru Elisei , kvmarm@lists.cs.columbia.edu, kvm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, kernel-team@android.com Subject: [GIT PULL] KVM/arm64 fixes for 6.0, take #1 Date: Thu, 18 Aug 2022 15:08:44 +0100 Message-Id: <20220818140844.2312534-1-maz@kernel.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-SA-Exim-Connect-IP: 185.219.108.64 X-SA-Exim-Rcpt-To: pbonzini@redhat.com, oliver.upton@linux.dev, yangyingliang@huawei.com, james.morse@arm.com, suzuki.poulose@arm.com, alexandru.elisei@arm.com, kvmarm@lists.cs.columbia.edu, kvm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, kernel-team@android.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-20220818_070858_624835_CCFFB3E8 X-CRM114-Status: GOOD ( 12.00 ) X-Spam-Score: -5.4 (-----) X-Spam-Report: Spam detection software, running on the system "bombadil.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Paolo, Here's a small set of KVM/arm64 fixes for 6.0, the most visible thing being a better handling of systems with asymmetric AArch32 support. Please pull, Content analysis details: (-5.4 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at https://www.dnswl.org/, high trust [2604:1380:4601:e00:0:0:0:1 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.2 DKIMWL_WL_HIGH DKIMwl.org - High trust sender 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+incoming-imx=patchwork.ozlabs.org@lists.infradead.org Paolo, Here's a small set of KVM/arm64 fixes for 6.0, the most visible thing being a better handling of systems with asymmetric AArch32 support. Please pull, M. The following changes since commit 0982c8d859f8f7022b9fd44d421c7ec721bb41f9: Merge branch kvm-arm64/nvhe-stacktrace into kvmarm-master/next (2022-07-27 18:33:27 +0100) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git tags/kvmarm-fixes-6.0-1 for you to fetch changes up to b10d86fb8e46cc812171728bcd326df2f34e9ed5: KVM: arm64: Reject 32bit user PSTATE on asymmetric systems (2022-08-17 10:29:07 +0100) ---------------------------------------------------------------- KVM/arm64 fixes for 6.0, take #1 - Fix unexpected sign extension of KVM_ARM_DEVICE_ID_MASK - Tidy-up handling of AArch32 on asymmetric systems ---------------------------------------------------------------- Oliver Upton (2): KVM: arm64: Treat PMCR_EL1.LC as RES1 on asymmetric systems KVM: arm64: Reject 32bit user PSTATE on asymmetric systems Yang Yingliang (1): KVM: arm64: Fix compile error due to sign extension arch/arm64/include/asm/kvm_host.h | 4 ++++ arch/arm64/include/uapi/asm/kvm.h | 6 ++++-- arch/arm64/kvm/arm.c | 3 +-- arch/arm64/kvm/guest.c | 2 +- arch/arm64/kvm/sys_regs.c | 4 ++-- 5 files changed, 12 insertions(+), 7 deletions(-)