PCI: hv: Use the correct hypercall for unmasking interrupts on nested
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, issue the MAP_DEVICE_INTERRUPT hypercall to L1 to complete the setup. Rename hv_arch_irq_unmask() to hv_irq_retarget_interrupt(). Co-developed-by:Jinank Jain <jinankjain@linux.microsoft.com> Signed-off-by:
Jinank Jain <jinankjain@linux.microsoft.com> Signed-off-by:
Stanislav Kinsburskii <skinsburskii@linux.microsoft.com> Signed-off-by:
Nuno Das Neves <nunodasneves@linux.microsoft.com> Reviewed-by:
Roman Kisel <romank@linux.microsoft.com> Reviewed-by:
Michael Kelley <mhklinux@outlook.com> Acked-by:
Bjorn Helgaas <bhelgaas@google.com> Link: https://lore.kernel.org/r/1752261532-7225-4-git-send-email-nunodasneves@linux.microsoft.com Signed-off-by:
Wei Liu <wei.liu@kernel.org> Message-ID: <1752261532-7225-4-git-send-email-nunodasneves@linux.microsoft.com>
Loading
Please sign in to comment