All of lore.kernel.org
 help / color / mirror / Atom feed
From: Naman Jain <namjain@linux.microsoft.com>
To: Thomas Gleixner <tglx@kernel.org>, Ingo Molnar <mingo@redhat.com>,
	Borislav Petkov <bp@alien8.de>,
	Dave Hansen <dave.hansen@linux.intel.com>,
	x86@kernel.org, "H . Peter Anvin" <hpa@zytor.com>
Cc: Neeraj Upadhyay <Neeraj.Upadhyay@amd.com>,
	linux-kernel@vger.kernel.org, linux-hyperv@vger.kernel.org,
	Michael Kelley <mhklinux@outlook.com>
Subject: Re: [RFC PATCH] x86/apic: Fix lost IRQ during forced vector migration on Hyper-V
Date: Wed, 22 Jul 2026 20:44:57 +0530	[thread overview]
Message-ID: <9739e095-9696-412b-adaa-2c37ef630bdf@linux.microsoft.com> (raw)
In-Reply-To: <87y0f3jhd6.ffs@fw13>



On 7/22/2026 6:45 PM, Thomas Gleixner wrote:
> Naman!
> 
> On Wed, Jul 22 2026 at 14:59, Naman Jain wrote:
>> I completely agree with your comments, and now that I know how to fix
>> this, do you suggest me to -
>>
>> 1. add irq_retrigger callback in pci-hyperv.c
>> or
>> 2. go with your fixup-irq() change to no longer need drivers to add the
>> above? And then see what all stale irq_retrigger inits can be removed
>>
>> Going with 1) would be easier for me to fix this bug, and back port it
>> to older kernels, with proper Fixes tag (pointing to some pci-hyperv.c
>> change).
>> Then later, we can go with 2) separately as a general enhancement (not a
>> Fix).
> 
> This should be one patch series:
> 
>    1) Add the callback to pci-hyperv, i.e. in hv_pcie_init_dev_msi_info()
> 
>       +    chip->irq_retrigger = irq_chip_retrigger_hierarchy;
> 
>       That sets it on the outermost domain interrupt chip (PCI/MSI
>       device domain), which is what fixup_irqs() looks at.
> 
>       This one needs a Fixes: tag (The first commit which introduced the
>       driver) and a Cc: stable@... so it will be backported.
> 
>    2) Change fixup_irqs() to use irq_chip_retrigger_hierarchy()
> 
>       Feel free to pick up the patch I gave you, add a proper change log
>       and a Suggested-by: Thomas .... tag.
> 
>    3) Remove the initialization of the outermost chip from arch/x86/* and
>       drivers/iommu/amd/* as that's not longer required then.
> 
> Thanks,
> 
>          tglx
> 

Understood. Thanks.

Regards,
Naman


      reply	other threads:[~2026-07-22 15:15 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-10  5:40 [RFC PATCH] x86/apic: Fix lost IRQ during forced vector migration on Hyper-V Naman Jain
2026-07-16  1:17 ` Long Li
2026-07-21 21:10 ` Thomas Gleixner
2026-07-22  9:29   ` Naman Jain
2026-07-22 13:15     ` Thomas Gleixner
2026-07-22 15:14       ` Naman Jain [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9739e095-9696-412b-adaa-2c37ef630bdf@linux.microsoft.com \
    --to=namjain@linux.microsoft.com \
    --cc=Neeraj.Upadhyay@amd.com \
    --cc=bp@alien8.de \
    --cc=dave.hansen@linux.intel.com \
    --cc=hpa@zytor.com \
    --cc=linux-hyperv@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mhklinux@outlook.com \
    --cc=mingo@redhat.com \
    --cc=tglx@kernel.org \
    --cc=x86@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.