[PATCH 4/4] PCI: hv: Use the correct hypercall for unmasking interrupts on nested
Bjorn Helgaas
helgaas at kernel.org
Fri Jun 13 12:36:16 PDT 2025
On Tue, Jun 10, 2025 at 04:52:06PM -0700, Nuno Das Neves wrote:
> From: Stanislav Kinsburskii <skinsburskii at linux.microsoft.com>
>
> Running as nested root on MSHV imposes a different requirement
> for the pci-hyperv controller.
>
> In this setup, the interrupt will first come to the L1 (nested) hypervisor,
> which will deliver it to the appropriate root CPU. Instead of issuing the
> RETARGET hypercall, we should issue the MAP_DEVICE_INTERRUPT
> hypercall to L1 to complete the setup.
Maybe strengthen this to say that this issues MAP_DEVICE_INTERRUPT
instead of RETARGET in this case? (Not just that we "should".)
> Rename hv_arch_irq_unmask() to hv_irq_retarget_interrupt().
More information about the linux-arm-kernel
mailing list