PCI/MSI: Drop pci_msi_off() calls from quirks
The PCI core now disables MSI and MSI-X for all devices during enumeration regardless of CONFIG_PCI_MSI. Remove device-specific code to disable MSI/MSI-X. Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
This commit is contained in:
parent
8c9bb608e8
commit
96803199b7
1 changed files with 0 additions and 2 deletions
|
@ -1600,7 +1600,6 @@ DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_EESSC, quirk_a
|
||||||
|
|
||||||
static void quirk_pcie_mch(struct pci_dev *pdev)
|
static void quirk_pcie_mch(struct pci_dev *pdev)
|
||||||
{
|
{
|
||||||
pci_msi_off(pdev);
|
|
||||||
pdev->no_msi = 1;
|
pdev->no_msi = 1;
|
||||||
}
|
}
|
||||||
DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_E7520_MCH, quirk_pcie_mch);
|
DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_E7520_MCH, quirk_pcie_mch);
|
||||||
|
@ -1614,7 +1613,6 @@ DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_E7525_MCH, quir
|
||||||
*/
|
*/
|
||||||
static void quirk_pcie_pxh(struct pci_dev *dev)
|
static void quirk_pcie_pxh(struct pci_dev *dev)
|
||||||
{
|
{
|
||||||
pci_msi_off(dev);
|
|
||||||
dev->no_msi = 1;
|
dev->no_msi = 1;
|
||||||
dev_warn(&dev->dev, "PXH quirk detected; SHPC device MSI disabled\n");
|
dev_warn(&dev->dev, "PXH quirk detected; SHPC device MSI disabled\n");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue