[PATCH 14/16] PCI: hv: Switch to msi_create_parent_irq_domain()

Michael Kelley mhklinux at outlook.com
Mon Jul 7 12:04:17 PDT 2025


From: Nam Cao <namcao at linutronix.de> Sent: Saturday, July 5, 2025 3:02 AM
> 
> On Sat, Jul 05, 2025 at 11:46:59AM +0200, Nam Cao wrote:
> > On Sat, Jul 05, 2025 at 03:51:48AM +0000, Michael Kelley wrote:
> > > From: Nam Cao <namcao at linutronix.de> Sent: Thursday, June 26, 2025 7:48 AM
> > > >
> > > > Move away from the legacy MSI domain setup, switch to use
> > > > msi_create_parent_irq_domain().
> > >
> > > With the additional tweak to this patch that you supplied separately,
> > > everything in my testing on both x86 and arm64 seems to work OK. So
> > > that's all good.
> >
> > Thanks so much for examining the patch,
> 
> Btw, you probably would also be interested in
> https://lore.kernel.org/lkml/cover.1751277765.git.namcao@linutronix.de/
> 
> which does a similar conversion for the other hyperv driver.
> 

Thanks. I had seen this other small series for the driver used by Linux
when running as the root partition (i.e., "dom0") on the Hyper-V
hypervisor. Unfortunately, I have less familiarity with that configuration,
and I lack access to hardware needed to run and test it. Someone at
Microsoft would need to look at the patches and give them a basic smoke
test with Linux-as-root.

FWIW, I was a Microsoft employee for many years, working on Linux
guests on Hyper-V. But I retired about 2 years ago. Though I've kept my
hands in Linux kernel work, my access to hardware configs is more
limited than when I was an employee -- now it's guest VMs on my
personal laptop and Azure VMs.

Michael



More information about the Linux-mediatek mailing list