Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp722077rdh; Sun, 24 Sep 2023 08:51:50 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEIgr3qWOuEzgOY6FDY2MbzC3/oghiYhxp6BX4fodwAV354zAHw7Qz+Ko02Pq7RF+Tx3lox X-Received: by 2002:a05:6a00:15d6:b0:690:1c1b:aefd with SMTP id o22-20020a056a0015d600b006901c1baefdmr5667782pfu.5.1695570709955; Sun, 24 Sep 2023 08:51:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695570709; cv=none; d=google.com; s=arc-20160816; b=RyVWGqukPaORdduJis47Z9f10surApdh/bRoTypLyzhnGaivLtVliVrGitEL9NQ1Yc P9UknDjkmxEufRBKF79cmVIyqT3v7QHpgMrHhI8HFfn2BbrQ3B40P1Cv9KpH3X+QYh9y E7u/TJUYFelQZXmRQB8Jt2yN2JroAH3QNB5tknBOEDEWp/Le8eXUEZw5F27ZxfVvDFYS N9C9h+y2h+/x6fd2rWz4nkfnGHAiZOVZG1o0YYJACXpTlgLBSiBlxvXltJ7S0owP8Umw NLbgrbifK3M8xRcduM+Y7CydpnHNZxkL7sFE+I5lb80keEmiNbgHLj+01vd577U58MUO IhGg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=zHKWyHfacqVewjndjBS85PHaoQHVa8lSR8E5aIAAdmQ=; fh=RXl73CWCYIm5aDIRwkpfnnURSCU9og7XETYThrQEo9o=; b=lN/ZaotGOAYhmXi+EsmDku8KJv4ff3oVzQBBbdSq9nxUIqfAXBHzdAV9NUNHFowfqN d2p2lynw0vRw9QbNnisQUxXN9p9iZkDMuZ099TL11KFzOVW4uA5ZIPcR+Jfg1bXC1Ey8 oPPhcLLgiPxWL8EJQ+BnAJaAqN/AlYlYVOiBFTuGQSJyALIT8xUEVXim0dGMKFkN62Kk 0dhRvgSEHreTi8yrzBCbLwi9lvQbuqIyBUpndYuTmcCaDO4DsaxA5OED9N5lhZpp1K7B 4lTJbjFZTZf/Wvyg8pqSHDMRUymw5vP3YDEtO5nM9183/QTsuXvbz9aUYIKK/rXEQKdj YG6w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Eq4P5QZ+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id eg6-20020a056a00800600b00690d25b1988si8009391pfb.30.2023.09.24.08.51.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 Sep 2023 08:51:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Eq4P5QZ+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 5F9CE80C5FB1; Sun, 24 Sep 2023 02:27:55 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229576AbjIXJ15 (ORCPT + 99 others); Sun, 24 Sep 2023 05:27:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45290 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229437AbjIXJ15 (ORCPT ); Sun, 24 Sep 2023 05:27:57 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 225F8FE for ; Sun, 24 Sep 2023 02:27:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1695547624; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=zHKWyHfacqVewjndjBS85PHaoQHVa8lSR8E5aIAAdmQ=; b=Eq4P5QZ+DMpuOeajTXeZ9sE08e7vJHfB74AdYsjHUMzKAJpflvMEzBqD2cHStXVM47YprL yQ3W1WKk2lX8miJ18UYRQYk+nICaB6R6MdsJdesCPX4OEyXAMb2GE80AdCgyors65f/lE3 pwBfa167FRYInLcWLqwf3qyEhlwvdg0= Received: from mimecast-mx02.redhat.com (mx-ext.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-680-dWYrLDX-NRu4iiNPZAxlbQ-1; Sun, 24 Sep 2023 05:27:01 -0400 X-MC-Unique: dWYrLDX-NRu4iiNPZAxlbQ-1 Received: from smtp.corp.redhat.com (int-mx09.intmail.prod.int.rdu2.redhat.com [10.11.54.9]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id B6B55380673E; Sun, 24 Sep 2023 09:27:00 +0000 (UTC) Received: from virtlab701.virt.lab.eng.bos.redhat.com (virtlab701.virt.lab.eng.bos.redhat.com [10.19.152.228]) by smtp.corp.redhat.com (Postfix) with ESMTP id 96A27711291; Sun, 24 Sep 2023 09:27:00 +0000 (UTC) From: Paolo Bonzini To: torvalds@linux-foundation.org Cc: linux-kernel@vger.kernel.org, kvm@vger.kernel.org Subject: [GIT PULL] KVM fixes for Linux 6.6-rc3 Date: Sun, 24 Sep 2023 05:27:00 -0400 Message-Id: <20230924092700.1192123-1-pbonzini@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 3.1 on 10.11.54.9 X-Spam-Status: No, score=1.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL, RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_NONE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Level: * X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Sun, 24 Sep 2023 02:27:55 -0700 (PDT) Linus, The following changes since commit ce9ecca0238b140b88f43859b211c9fdfd8e5b70: Linux 6.6-rc2 (2023-09-17 14:40:24 -0700) are available in the Git repository at: https://git.kernel.org/pub/scm/virt/kvm/kvm.git tags/for-linus for you to fetch changes up to 5804c19b80bf625c6a9925317f845e497434d6d3: Merge tag 'kvm-riscv-fixes-6.6-1' of https://github.com/kvm-riscv/linux into HEAD (2023-09-23 05:35:55 -0400) ---------------------------------------------------------------- ARM: * Fix an UV boot crash * Skip spurious ENDBR generation on _THIS_IP_ * Fix ENDBR use in putuser() asm methods * Fix corner case boot crashes on 5-level paging * and fix a false positive WARNING on LTO kernels" RISC-V: * Fix KVM_GET_REG_LIST API for ISA_EXT registers * Fix reading ISA_EXT register of a missing extension * Fix ISA_EXT register handling in get-reg-list test * Fix filtering of AIA registers in get-reg-list test x86: * Fixes for TSC_AUX virtualization * Stop zapping page tables asynchronously, since we don't zap them as often as before ---------------------------------------------------------------- Anup Patel (4): RISC-V: KVM: Fix KVM_GET_REG_LIST API for ISA_EXT registers RISC-V: KVM: Fix riscv_vcpu_get_isa_ext_single() for missing extensions KVM: riscv: selftests: Fix ISA_EXT register handling in get-reg-list KVM: riscv: selftests: Selectively filter-out AIA registers Jean-Philippe Brucker (1): KVM: arm64: nvhe: Ignore SVE hint in SMCCC function ID Marc Zyngier (1): KVM: arm64: Properly return allocated EL2 VA from hyp_alloc_private_va_range() Paolo Bonzini (4): Merge tag 'kvmarm-fixes-6.6-1' of git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm into HEAD KVM: x86/mmu: Do not filter address spaces in for_each_tdp_mmu_root_yield_safe() KVM: SVM: INTERCEPT_RDTSCP is never intercepted anyway Merge tag 'kvm-riscv-fixes-6.6-1' of https://github.com/kvm-riscv/linux into HEAD Sean Christopherson (3): KVM: selftests: Assert that vasprintf() is successful KVM: x86/mmu: Open code leaf invalidation from mmu_notifier KVM: x86/mmu: Stop zapping invalidated TDP MMU roots asynchronously Tom Lendacky (2): KVM: SVM: Fix TSC_AUX virtualization setup KVM: SVM: Do not use user return MSR support for virtualized TSC_AUX arch/arm64/include/asm/kvm_hyp.h | 2 +- arch/arm64/kvm/hyp/include/nvhe/ffa.h | 2 +- arch/arm64/kvm/hyp/nvhe/ffa.c | 3 +- arch/arm64/kvm/hyp/nvhe/hyp-init.S | 1 + arch/arm64/kvm/hyp/nvhe/hyp-main.c | 8 +- arch/arm64/kvm/hyp/nvhe/psci-relay.c | 3 +- arch/arm64/kvm/mmu.c | 3 + arch/riscv/kvm/vcpu_onereg.c | 7 +- arch/x86/include/asm/kvm_host.h | 3 +- arch/x86/kvm/mmu/mmu.c | 21 +--- arch/x86/kvm/mmu/mmu_internal.h | 15 ++- arch/x86/kvm/mmu/tdp_mmu.c | 152 ++++++++++------------- arch/x86/kvm/mmu/tdp_mmu.h | 5 +- arch/x86/kvm/svm/sev.c | 34 +++-- arch/x86/kvm/svm/svm.c | 43 +++++-- arch/x86/kvm/svm/svm.h | 1 + arch/x86/kvm/x86.c | 5 +- include/linux/arm-smccc.h | 2 + tools/testing/selftests/kvm/lib/test_util.c | 2 +- tools/testing/selftests/kvm/riscv/get-reg-list.c | 60 ++++++--- 20 files changed, 210 insertions(+), 162 deletions(-)