From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (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 41D283DA7D2 for ; Wed, 4 Feb 2026 17:55:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770227716; cv=none; b=E+GmvBlInmxghyMOzOflU6EXFaZjGS55jES96PoSqPsJbuPKItEBy84/Jzgy2Bu0J10PiWbzJ724q0zOXSmG+N3eSp/vri9ajWbRTTGC1Up5y8y6mv5Ci4i1z/U5pOQ8gb7SJ+jrbVh8z++MaKq58dUvhAEsTGUofNHVaruCOAQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770227716; c=relaxed/simple; bh=TLBCUTvP15RruxQjOOFWeQkrr5l0mypZhABnKB8F1QI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=crHsMc2VKJrDGuVYC5P4SXRNcFp9tzXVf6shA/kaoD6fGs87i8k/NRd8wh0kOBJZQq70KuCRKTPhQgoS8ntc5Y8uEdkKPzSuYQnOgFQ16OfOsywc32EO/h3xcuftIwUotN6f4NmY09aEK3Y8xCjRpfmzfVgKKMAUNcKOcdcN5L4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=JK7EXF3h; dkim=pass (2048-bit key) header.d=redhat.com header.i=@redhat.com header.b=i37uSa9s; arc=none smtp.client-ip=170.10.133.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="JK7EXF3h"; dkim=pass (2048-bit key) header.d=redhat.com header.i=@redhat.com header.b="i37uSa9s" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1770227715; 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=Bu84bBv18VElvpl4fBxGEtl/ANlOXU8e1YPfRaTP8Dc=; b=JK7EXF3hzJsnt/fXjZLmTVymUDgTGXCahW6E66L+RrmlF0IgW9He3GvSRiaGe/aZ9iN9mz XtprwXIO27Gm26FYPQpQiO+tsG2xd80+RFT7ZwoKiHXn1xq5R+4U3Jo+VX5GdWI9YgHInt WFLlKGibphH9CaQfPFtwRET08P7ves4= Received: from mail-wr1-f72.google.com (mail-wr1-f72.google.com [209.85.221.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-684-um_M4UWeOkSQ8MrHOiowVA-1; Wed, 04 Feb 2026 12:55:12 -0500 X-MC-Unique: um_M4UWeOkSQ8MrHOiowVA-1 X-Mimecast-MFC-AGG-ID: um_M4UWeOkSQ8MrHOiowVA_1770227711 Received: by mail-wr1-f72.google.com with SMTP id ffacd0b85a97d-430fcb6b2ebso97148f8f.2 for ; Wed, 04 Feb 2026 09:55:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=google; t=1770227711; x=1770832511; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=Bu84bBv18VElvpl4fBxGEtl/ANlOXU8e1YPfRaTP8Dc=; b=i37uSa9sYNb4VC/32JwHjzAgQM92Bzi+5VYNPrK7ipj9MlmY20A80tCNqp9WhzvgfD tCPrIBGH3pGD9MwVYteVai4gaJxsyqD8a+DM7NTmXsiJozsLBDiDSxC3RssWzcdwXioQ qYXwDvTrgdvZ3G+4VzmSG400hXylqL8Zkbg4dEr2M80DJftV4vF+UBzN5hOdqxjpvFQ3 g675j06iuq9SZd8F7x6MWDisd5vkQDX/ppxPfP5fAOCP1QAkn/2GcXgPpXqYpgvlnXLM X9TuHvhMsgPFRpgn60RECg5cfXK6EghKjyAsYfI2iXQCXmfjE2c7KI+XCgmfCYbRkpjd AD2Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1770227711; x=1770832511; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=Bu84bBv18VElvpl4fBxGEtl/ANlOXU8e1YPfRaTP8Dc=; b=sS46hk0lzNL1SU+4bVhC3uObocJGPuPkyG5w40ON0wisKGwsYObC2s1GfbfWHIQpG+ qAAgajG7P2GpikUNj1O5+xRvjhVrLNdhWoqfpgu+VFnR0Tx5gae/qMzeRNmRT0ZsvuKp /BS5xS3k80U/M+IHeGFVPNWI+YGLmW2SyUKZhnbPVHL2fMjndummpcH+02OUhq/ADwI8 eS/z20cgdBNVY+nF3UmkyvJC3xqeZehcW4l9ENhNamK0T9XAlo+yohWhTTJ9gubdEIyb 4HXfO1SevGLljlBX4VGhGWgaDVS8nGKvBCFY2nqr4/tVUvD0bZ8IfvDERMBl5KiwREWA 8RbA== X-Gm-Message-State: AOJu0YzY7roDp1IfOslgT4baq3ijhdka1QAvic5g2zCmoY47+hufKhUo w25yTotNFI0OZ2FY1Ll5IXyFmp96Rd1RH3AAGoqtInHutruKW3Kq2rm1Fqr76HJztyrYWTn++sN RCzMlJB3ox+EF8F70uyDmhYwkkwxWG9kLoAKMo70u7/C5cYamtCF6Jt3pYE1lUWacuQ== X-Gm-Gg: AZuq6aLpvh66WOFaP9oWnA93VZ6hz3iDmGBgnogi6xNq3KyboWGMRVu2t+CHLj4AffH dYcquQvvv3Q1pLFTM5FOQTahia0Bebo4vQhnp1QcjGEMnm4MPhH/5By/1kPHd9xrXMOZ5PqRZEg 31pbVULtcgJ5brtJkerSkzzKHzw9SZ0iSsP+6ETqpBx1t+wLhxiBFwVScF+y34vEAcZJrEodzLj jdqDBTXHR/5veC56az0Llm7LdscvCYHAHbyNDvlISlJQPLWm7zf0/Xjz7/1RR29VKSlw+qSF/Cd yB60uEiXYaVsGg6TnI0/cYBVNx76pwNtp5SwBNdST8qJBMVoV086dL7weZfGSeWOmjBhW4GQw3k 3djT2iIytUQpJYd9UkpCxrVVUXP4QyUXte4ZTH5M87m26ccPPVCdtxfCIT55RV7MpWGLHqrYVEb 7U9ecWYgodkKDgAA== X-Received: by 2002:a05:6000:2384:b0:435:e3e7:1da7 with SMTP id ffacd0b85a97d-436180596d3mr5531898f8f.48.1770227710907; Wed, 04 Feb 2026 09:55:10 -0800 (PST) X-Received: by 2002:a05:6000:2384:b0:435:e3e7:1da7 with SMTP id ffacd0b85a97d-436180596d3mr5531871f8f.48.1770227710460; Wed, 04 Feb 2026 09:55:10 -0800 (PST) Received: from [192.168.10.48] ([151.61.26.160]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-43617e3a486sm8313201f8f.16.2026.02.04.09.55.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Feb 2026 09:55:09 -0800 (PST) From: Paolo Bonzini To: torvalds@linux-foundation.org Cc: linux-kernel@vger.kernel.org, kvm@vger.kernel.org Subject: [GIT PULL] Final KVM changes for Linux 6.19 Date: Wed, 4 Feb 2026 18:55:09 +0100 Message-ID: <20260204175509.163280-1-pbonzini@redhat.com> X-Mailer: git-send-email 2.52.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Linus, The following changes since commit e89f0e9a0a007e8c3afb8ecd739c0b3255422b00: Merge tag 'kvmarm-fixes-6.19-1' of https://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm into HEAD (2026-01-24 08:42:14 +0100) 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 0de4a0eec25b9171f2a2abb1a820e125e6797770: Merge tag 'kvm-x86-fixes-6.19-rc8' of https://github.com/kvm-x86/linux into HEAD (2026-02-04 18:30:32 +0100) Sorry for being a bit late, I try to send things over the weekend if possible but last Saturday/Sunday I was at FOSDEM. ---------------------------------------------------------------- Final KVM fixes for 6.19: - Fix a bug where AVIC is incorrectly inhibited when running with x2AVIC disabled via module param (or on a system without x2AVIC). - Fix a dangling device posted IRQs bug by explicitly checking if the irqfd is still active (on the list) when handling an eventfd signal, instead of zeroing the irqfd's routing information when the irqfd is deassigned. Zeroing the irqfd's routing info causes arm64 and x86's to not disable posting for the IRQ (kvm_arch_irq_bypass_del_producer() looks for an MSI), incorrectly leaving the IRQ in posted mode (and leading to use-after-free and memory leaks on AMD in particular). This is both the most pressing and scariest, but it's been in -next for a while. - Disable FORTIFY_SOURCE for KVM selftests to prevent the compiler from generating calls to the checked versions of memset() and friends, which leads to unexpected page faults in guest code due e.g. __memset_chk@plt not being resolved. - Explicitly configure the support XSS from within {svm,vmx}_set_cpu_caps() to fix a bug where VMX will compute the reference VMCS configuration with SHSTK and IBT enabled, but then compute each CPUs local config with SHSTK and IBT disabled if not all CET xfeatures are enabled, e.g. if the kernel is built with X86_KERNEL_IBT=n. The mismatch in features results in differing nVMX setting, and ultimately causes kvm-intel.ko to refuse to load with nested=1. ---------------------------------------------------------------- Paolo Bonzini (1): Merge tag 'kvm-x86-fixes-6.19-rc8' of https://github.com/kvm-x86/linux into HEAD Sean Christopherson (4): KVM: SVM: Check vCPU ID against max x2AVIC ID if and only if x2AVIC is enabled KVM: Don't clobber irqfd routing type when deassigning irqfd KVM: x86: Assert that non-MSI doesn't have bypass vCPU when deleting producer KVM: x86: Explicitly configure supported XSS from {svm,vmx}_set_cpu_caps() Zhiquan Li (1): KVM: selftests: Add -U_FORTIFY_SOURCE to avoid some unpredictable test failures arch/x86/kvm/irq.c | 3 ++- arch/x86/kvm/svm/avic.c | 4 +-- arch/x86/kvm/svm/svm.c | 2 ++ arch/x86/kvm/vmx/vmx.c | 2 ++ arch/x86/kvm/x86.c | 30 ++++++++++++---------- arch/x86/kvm/x86.h | 2 ++ tools/testing/selftests/kvm/Makefile.kvm | 1 + virt/kvm/eventfd.c | 44 +++++++++++++++++--------------- 8 files changed, 52 insertions(+), 36 deletions(-)