From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 438374C77A7 for ; Thu, 3 Sep 2026 15:04:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788447854; cv=none; b=CbR3GV8Om868t4bask0y71+G5r8oczbTzfT/CRgsCLIT/7ov5jgy1kgZkTpoglkVcLstRjt3YaILVO9Pblj3ZPz5IF6iYVwFmUmIEvpsaPA7dMhv85eAAldG9JCztVNZpMpi30/0tIoDA0GYlADNInI1QaBIBypSzrgFw0LKi0M= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788447854; c=relaxed/simple; bh=J83WNyrymTSYzuNhaOqeaxgAdvYKDR5XP/8uMHM84e8=; h=Subject:To:Cc:From:Date:Message-ID:MIME-Version:Content-Type; b=lSGgizgne5lUoCOUl/dkrC8dQfP26Uwf8hf5VIGqi6p30+DkiBKAfQxRRyDzAypV6uBxSWTgtaRKoi/hYWFBWY72BVgAYL/QNKnjZnIjrfNA2X9tovm6AJJ6g/RYNRhiinqxptKwzP/egv/C8uTsW+TfJcKhvH/NYa1q36phXl8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=uzWwkWe0; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="uzWwkWe0" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9D8461F000E9; Thu, 3 Sep 2026 15:04:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1788447853; bh=KuHYUkyzxZwSPIPvuL+DHzXs67al0Z65eqhCeaAK880=; h=Subject:To:Cc:From:Date; b=uzWwkWe0u716Xdti3WIdVS/5a76dYddcOZq3rB0zSvWFlyYfeFbV8ny97CIt/WdZk PyTQZeBbrXJrWW/uBp3YNhcx0hTlg+qPB1PHdWuiIkpjfXawVkQ+gW3UBsAHHp3/0c 6ZSj01pjlO4Bf1tqHxP/1pbqdeWJjG+PIlkMpQj4= Subject: FAILED: patch "[PATCH] PCI: hv: Set irq_retrigger callback for the Hyper-V PCI MSI" failed to apply to 6.6-stable tree To: namjain@linux.microsoft.com,gargaditya@linux.microsoft.com,longli@microsoft.com,mhklinux@outlook.com,shradhagupta@linux.microsoft.com,tglx@kernel.org,wei.liu@kernel.org Cc: From: Date: Thu, 03 Sep 2026 16:41:42 +0200 Message-ID: <2026090342-landlady-deflected-5dd5@gregkh> Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=ANSI_X3.4-1968 Content-Transfer-Encoding: 8bit The patch below does not apply to the 6.6-stable tree. If someone wants it applied there, or to any other stable or longterm tree, then please email the backport, including the original git commit id to . To reproduce the conflict and resubmit, you may use the following commands: git fetch https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/ linux-6.6.y git checkout FETCH_HEAD git cherry-pick -x 86bdd16e8f390d51bae9e77a4bc4164ca2f580fe # git commit -s git send-email --to '' --in-reply-to '2026090342-landlady-deflected-5dd5@gregkh' --subject-prefix 'PATCH 6.6.y' 'HEAD^..' Possible dependencies: thanks, greg k-h ------------------ original commit in Linus's tree ------------------ >From 86bdd16e8f390d51bae9e77a4bc4164ca2f580fe Mon Sep 17 00:00:00 2001 From: Naman Jain Date: Mon, 10 Aug 2026 09:07:13 +0000 Subject: [PATCH] PCI: hv: Set irq_retrigger callback for the Hyper-V PCI MSI irqchip The Hyper-V vPCI MSI irqchip never installs an irq_retrigger() callback. On CPU hot-unplug fixup_irqs() migrates the interrupts which are affine to the outgoing CPU to a new target. If an interrupt still has its pending bit set in the outgoing CPU's IRR at that point, fixup_irqs() resends it on the new target through the irqchip's irq_retrigger() callback. As the Hyper-V PCI/MSI chip does not provide that callback, the pending interrupt is silently dropped, which can result in lost interrupts, stalls and "No irq handler for vector" messages during CPU hotplug. Install irq_chip_retrigger_hierarchy() as the irq_retrigger() callback for the Hyper-V PCI/MSI irqchip, so that a pending interrupt is resent on its new target CPU via the parent x86 vector domain. Fixes: 4daace0d8ce85 ("PCI: hv: Add paravirtual PCI front-end for Microsoft Hyper-V VMs") Cc: stable@vger.kernel.org Suggested-by: Long Li Suggested-by: Thomas Gleixner Reviewed-by: Aditya Garg Reviewed-by: Shradha Gupta Signed-off-by: Naman Jain Reviewed-by: Michael Kelley Signed-off-by: Wei Liu diff --git a/drivers/pci/controller/pci-hyperv.c b/drivers/pci/controller/pci-hyperv.c index cfc8fa403dad..89816a2bd7cd 100644 --- a/drivers/pci/controller/pci-hyperv.c +++ b/drivers/pci/controller/pci-hyperv.c @@ -2119,6 +2119,7 @@ static bool hv_pcie_init_dev_msi_info(struct device *dev, struct irq_domain *dom info->ops->msi_prepare = hv_msi_prepare; chip->irq_set_affinity = irq_chip_set_affinity_parent; + chip->irq_retrigger = irq_chip_retrigger_hierarchy; if (IS_ENABLED(CONFIG_X86)) chip->flags |= IRQCHIP_MOVE_DEFERRED;