[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20250613193616.GA971782@bhelgaas>
Date: Fri, 13 Jun 2025 14:36:16 -0500
From: Bjorn Helgaas <helgaas@...nel.org>
To: Nuno Das Neves <nunodasneves@...ux.microsoft.com>
Cc: linux-hyperv@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org, linux-pci@...r.kernel.org,
kys@...rosoft.com, haiyangz@...rosoft.com, wei.liu@...nel.org,
mhklinux@...look.com, decui@...rosoft.com, catalin.marinas@....com,
will@...nel.org, tglx@...utronix.de, mingo@...hat.com, bp@...en8.de,
dave.hansen@...ux.intel.com, hpa@...or.com, lpieralisi@...nel.org,
kw@...ux.com, manivannan.sadhasivam@...aro.org, robh@...nel.org,
bhelgaas@...gle.com, jinankjain@...ux.microsoft.com,
skinsburskii@...ux.microsoft.com, mrathor@...ux.microsoft.com,
x86@...nel.org
Subject: Re: [PATCH 4/4] PCI: hv: Use the correct hypercall for unmasking
interrupts on nested
On Tue, Jun 10, 2025 at 04:52:06PM -0700, Nuno Das Neves wrote:
> From: Stanislav Kinsburskii <skinsburskii@...ux.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().
Powered by blists - more mailing lists