[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <169270956288.17505.3353115322149468320.b4-ty@kernel.org>
Date: Tue, 22 Aug 2023 15:06:16 +0200
From: Lorenzo Pieralisi <lpieralisi@...nel.org>
To: tglx@...utronix.de, jgg@...pe.ca, bhelgaas@...gle.com,
haiyangz@...rosoft.com, kw@...ux.com, kys@...rosoft.com,
linux-hyperv@...r.kernel.org, linux-pci@...r.kernel.org,
mikelley@...rosoft.com, robh@...nel.org, wei.liu@...nel.org,
helgaas@...nel.org, Dexuan Cui <decui@...rosoft.com>
Cc: Lorenzo Pieralisi <lpieralisi@...nel.org>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] PCI: hv: Fix a crash in hv_pci_restore_msi_msg() during hibernation
On Wed, 16 Aug 2023 10:59:39 -0700, Dexuan Cui wrote:
> When a Linux VM with an assigned PCI device runs on Hyper-V, if the PCI
> device driver is not loaded yet (i.e. MSI-X/MSI is not enabled on the
> device yet), doing a VM hibernation triggers a panic in
> hv_pci_restore_msi_msg() -> msi_lock_descs(&pdev->dev), because
> pdev->dev.msi.data is still NULL.
>
> Avoid the panic by checking if MSI-X/MSI is enabled.
>
> [...]
Applied to controller/hv, thanks!
[1/1] PCI: hv: Fix a crash in hv_pci_restore_msi_msg() during hibernation
https://git.kernel.org/pci/pci/c/04bbe863241a
Thanks,
Lorenzo
Powered by blists - more mailing lists