Received: from out-108.mta0.migadu.com (out-108.mta0.migadu.com [91.218.175.108]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 51E8319BBC for ; Tue, 1 Aug 2023 08:15:23 +0000 (UTC) Date: Tue, 1 Aug 2023 01:15:14 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1690877721; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type; bh=NJXyz71UWN5dEwNYPmqB5WKFGNITeZh3IOXfm4I58G8=; b=LKm9NtDDL7/mKj+tI/Q7boBV8oKLR2SJK+3i/cYV17JrtOSZxLDRVSIytuqRGkt05Qo22D dawkO6zHH5lLzJ0sfdxIh90ctEexT1l2Ho84xGlyUhYKOIB/OrIVO9p52tAdaFm/duJdC4 TOHnvPQA+oZCwtRzYaZ6nknghqN5tA8= X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Oliver Upton To: Paolo Bonzini Cc: Marc Zyngier , kvmarm@lists.linux.dev, kvm@vger.kernel.org, rananta@google.com, tabba@google.com, arnd@arndb.de, James Morse , Suzuki K Poulose , Zenghui Yu Subject: [GIT PULL] KVM/arm64 fixes for 6.5, part #2 Message-ID: Precedence: bulk X-Mailing-List: kvmarm@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Migadu-Flow: FLOW_OUT Hi Paolo, Second batch of fixes for 6.5 here. As usual, details are in the tag but of particular interest is the fix for AmpereOne systems, as VMs fail to boot when setting up the MMU (yikes). Please pull. -- Thanks, Oliver The following changes since commit 9d2a55b403eea26cab7c831d8e1c00ef1e6a6850: KVM: arm64: Fix the name of sys_reg_desc related to PMU (2023-07-14 23:34:05 +0000) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git tags/kvmarm-fixes-6.5-2 for you to fetch changes up to 74158a8cad79d2f5dcf71508993664c5cfcbfa3c: KVM: arm64: Skip instruction after emulating write to TCR_EL1 (2023-07-28 17:11:23 +0000) ---------------------------------------------------------------- KVM/arm64 fixes for 6.5, part #2 - Fixes for the configuration of SVE/SME traps when hVHE mode is in use - Allow use of pKVM on systems with FF-A implementations that are v1.0 compatible - Request/release percpu IRQs (arch timer, vGIC maintenance) correctly when pKVM is in use - Fix function prototype after __kvm_host_psci_cpu_entry() rename - Skip to the next instruction when emulating writes to TCR_EL1 on AmpereOne systems ---------------------------------------------------------------- Arnd Bergmann (1): KVM: arm64: fix __kvm_host_psci_cpu_entry() prototype Fuad Tabba (7): KVM: arm64: Factor out code for checking (h)VHE mode into a macro KVM: arm64: Use the appropriate feature trap register for SVE at EL2 setup KVM: arm64: Disable SME traps for (h)VHE at setup KVM: arm64: Helper to write to appropriate feature trap register based on mode KVM: arm64: Use the appropriate feature trap register when activating traps KVM: arm64: Fix resetting SVE trap values on reset for hVHE KVM: arm64: Fix resetting SME trap values on reset for (h)VHE Oliver Upton (3): KVM: arm64: Allow pKVM on v1.0 compatible FF-A implementations KVM: arm64: Rephrase percpu enable/disable tracking in terms of hyp KVM: arm64: Skip instruction after emulating write to TCR_EL1 Raghavendra Rao Ananta (1): KVM: arm64: Fix hardware enable/disable flows for pKVM arch/arm64/include/asm/el2_setup.h | 44 ++++++++++++++++-------- arch/arm64/include/asm/kvm_asm.h | 2 +- arch/arm64/include/asm/kvm_emulate.h | 21 +++++++++--- arch/arm64/kvm/arm.c | 61 +++++++++++++++------------------ arch/arm64/kvm/hyp/include/hyp/switch.h | 1 + arch/arm64/kvm/hyp/nvhe/ffa.c | 15 +++++++- arch/arm64/kvm/hyp/nvhe/switch.c | 2 +- 7 files changed, 90 insertions(+), 56 deletions(-)