RE: [PATCH] PCI: hv: Fix hibernation in case interrupts are not re-created

2020-09-08 Thread Dexuan Cui
> From: Michael Kelley > Sent: Tuesday, September 8, 2020 2:16 PM > > @@ -1211,6 +1211,21 @@ static void hv_irq_unmask(struct irq_data *data) > > pbus = pdev->bus; > > hbus = container_of(pbus->sysdata, struct hv_pcibus_device, sysdata); > > > > + if (hbus->state == hv_pcibus_removing) {

RE: [PATCH] PCI: hv: Fix hibernation in case interrupts are not re-created

2020-09-08 Thread Michael Kelley
From: Dexuan Cui Sent: Friday, September 4, 2020 7:55 PM > > Hyper-V doesn't trap and emulate the accesses to the MSI/MSI-X registers, > and we must use hv_compose_msi_msg() to ask Hyper-V to create the IOMMU > Interrupt Remapping Table Entries. This is not an issue for a lot of > PCI device driv

RE: [PATCH] PCI: hv: Fix hibernation in case interrupts are not re-created

2020-09-07 Thread Jake Oshins
> -Original Message- > From: Dexuan Cui > Sent: Friday, September 4, 2020 7:55 PM > To: wei@kernel.org; KY Srinivasan ; Haiyang Zhang > ; Stephen Hemminger ; > lorenzo.pieral...@arm.com; bhelg...@google.com; linux-hyp...@vger.kernel.org; > linux-...@vger.kernel.org; linux-kernel@vger.k