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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0338EC433FE for ; Fri, 12 Nov 2021 15:38:00 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D881060F41 for ; Fri, 12 Nov 2021 15:37:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235345AbhKLPkt (ORCPT ); Fri, 12 Nov 2021 10:40:49 -0500 Received: from mail.kernel.org ([198.145.29.99]:38536 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235492AbhKLPkT (ORCPT ); Fri, 12 Nov 2021 10:40:19 -0500 Received: from disco-boy.misterjones.org (disco-boy.misterjones.org [51.254.78.96]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id D4A2A60F41; Fri, 12 Nov 2021 15:37:27 +0000 (UTC) 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.94.2) (envelope-from ) id 1mlYcH-0053Av-KL; Fri, 12 Nov 2021 15:37:25 +0000 From: Marc Zyngier To: Paolo Bonzini Cc: Alexandru Elisei , Catalin Marinas , Fuad Tabba , James Morse , Mark Rutland , Quentin Perret , Randy Dunlap , Suzuki K Poulose , Will Deacon , YueHaibing , kvmarm@lists.cs.columbia.edu, linux-arm-kernel@lists.infradead.org, kvm@vger.kernel.org Subject: [GIT PULL] KVM/arm64 fixes for 5.16, take #1 Date: Fri, 12 Nov 2021 15:37:22 +0000 Message-Id: <20211112153722.4010408-1-maz@kernel.org> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 185.219.108.64 X-SA-Exim-Rcpt-To: pbonzini@redhat.com, alexandru.elisei@arm.com, catalin.marinas@arm.com, tabba@google.com, james.morse@arm.com, mark.rutland@arm.com, qperret@google.com, rdunlap@infradead.org, suzuki.poulose@arm.com, will@kernel.org, yuehaibing@huawei.com, kvmarm@lists.cs.columbia.edu, linux-arm-kernel@lists.infradead.org, kvm@vger.kernel.org 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 [this went out as a series instead of a PR yesterday, my bad] Paolo, Here's the first set of fixes for 5.16. The main items are a fix for a host S2 issue for protected VM, as well as a correctness fix when extracting the exception class from assembly code. The rest is strictly cosmetic. Please pull, M. The following changes since commit 5a2acbbb0179a7ffbb5440b9fa46689f619705ac: Merge branch kvm/selftests/memslot into kvmarm-master/next (2021-10-21 11:40:03 +0100) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git tags/kvmarm-fixes-5.16-1 for you to fetch changes up to 50a8d3315960c74095c59e204db44abd937d4b5d: KVM: arm64: Fix host stage-2 finalization (2021-11-08 18:07:48 +0000) ---------------------------------------------------------------- KVM/arm64 fixes for 5.16, take #1 - Fix the host S2 finalization by solely iterating over the memblocks instead of the whole IPA space - Tighten the return value of kvm_vcpu_preferred_target() now that 32bit support is long gone - Make sure the extraction of ESR_ELx.EC is limited to the architected bits - Comment fixups ---------------------------------------------------------------- Mark Rutland (1): KVM: arm64: Extract ESR_ELx.EC only Quentin Perret (1): KVM: arm64: Fix host stage-2 finalization Randy Dunlap (1): KVM: arm64: nvhe: Fix a non-kernel-doc comment YueHaibing (1): KVM: arm64: Change the return type of kvm_vcpu_preferred_target() arch/arm64/include/asm/esr.h | 1 + arch/arm64/include/asm/kvm_host.h | 2 +- arch/arm64/kvm/arm.c | 5 +---- arch/arm64/kvm/guest.c | 7 +------ arch/arm64/kvm/hyp/hyp-entry.S | 2 +- arch/arm64/kvm/hyp/nvhe/host.S | 2 +- arch/arm64/kvm/hyp/nvhe/setup.c | 14 ++++++++++++-- arch/arm64/kvm/hyp/nvhe/sys_regs.c | 2 +- 8 files changed, 19 insertions(+), 16 deletions(-)