From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out-36.mta0.migadu.com (out-36.mta0.migadu.com [91.218.175.36]) (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 428246FD0 for ; Wed, 5 Apr 2023 16:12:56 +0000 (UTC) Date: Wed, 5 Apr 2023 09:12:49 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1680711173; 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=7CkgZMZOVF7MbpZue7UsvX7LmMmfoQVPHzEDVenfrgw=; b=lcojLCqkONgW2SfBtg4a6NrQ3YjDDqXdKyYv4UAzFV1xRAgdzhwC4aiXEhAP13/vysW5ER FbKVqUI4qhrDjvr1Uew6BeHLbRkn0ibu2xSSfKveUeor4VjT3eiJl6nsLf2CRmNk/C7yCN G7A4GCArBLUM57KPGVdhPC75oYACwog= 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 , Fuad Tabba , Reiji Watanabe , James Morse , Suzuki K Poulose , Zenghui Yu , kvmarm@lists.linux.dev, kvm@vger.kernel.org Subject: [GIT PULL] KVM/arm64 fixes for 6.3, part #3 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, Sending out what is likely the last batch of fixes for 6.3. Most noteworthy is the PMU fix, as Reiji found that events counting in guest userspace stopped working after live migration on VHE systems. Additionally, Fuad found that pKVM was underselling the Spectre/Meltdown mitigation state to protected VMs, so we have a fix for that too. Also, FYI, Marc will reprise his role for the 6.4 kernel. Nothing is set in stone but the working model is that we'll alternate the maintainer duties each kernel release. Please pull, Oliver The following changes since commit 8c2e8ac8ad4be68409e806ce1cc78fc7a04539f3: KVM: arm64: Check for kvm_vma_mte_allowed in the critical section (2023-03-16 23:42:56 +0000) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git tags/kvmarm-fixes-6.3-3 for you to fetch changes up to e81625218bf7986ba1351a98c43d346b15601d26: KVM: arm64: Advertise ID_AA64PFR0_EL1.CSV2/3 to protected VMs (2023-04-04 15:52:06 +0000) ---------------------------------------------------------------- KVM/arm64 fixes for 6.3, part #3 - Ensure the guest PMU context is restored before the first KVM_RUN, fixing an issue where EL0 event counting is broken after vCPU save/restore - Actually initialize ID_AA64PFR0_EL1.{CSV2,CSV3} based on the sanitized, system-wide values for protected VMs ---------------------------------------------------------------- Fuad Tabba (1): KVM: arm64: Advertise ID_AA64PFR0_EL1.CSV2/3 to protected VMs Reiji Watanabe (1): KVM: arm64: PMU: Restore the guest's EL0 event counting after migration arch/arm64/kvm/arm.c | 26 +++++++++++++++++++++++++- arch/arm64/kvm/hyp/include/nvhe/fixed_config.h | 5 ++++- arch/arm64/kvm/hyp/nvhe/sys_regs.c | 7 ------- arch/arm64/kvm/pmu-emul.c | 1 + arch/arm64/kvm/sys_regs.c | 1 - 5 files changed, 30 insertions(+), 10 deletions(-)