aacraid: controller hangs if kernel uses non-default ASPM policy
Subsystems (2)
PATCH 1/1 aacraid: controller hangs if kernel uses non-default ASPM policy
Patch from RHEL6 kernel
- [scsi] aacraid: Disable ASPM by default (Matthew Garrett) [599735] aacraid controller hangs if kernel uses non-default ASPM policy
drivers/scsi/aacraid/linit.c +4 -0
@@ -38,6 +38,7 @@#include <linux/module.h> #include <linux/moduleparam.h> #include <linux/pci.h> +#include <linux/pci-aspm.h> #include <linux/slab.h> #include <linux/mutex.h> #include <linux/spinlock.h>
@@ -1108,6 +1109,9 @@ static int __devinit aac_probe_one(struct pci_dev *pdev, unique_id++; } +pci_disable_link_state (pdev,PCIE_LINK_STATE_L0S |PCIE_LINK_STATE_L1 | +PCIE_LINK_STATE_CLKPM ); + error =pci_enable_device (pdev);if (error) goto out;
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Vasily Averin
Sent: Freitag, 11. November 2011 10:42
To: [email protected]; Adaptec OEM Raid Solutions
Cc: Matthew Garrett; James Bottomley; Mark Salyzyn
Subject: [patch] aacraid: controller hangs if kernel uses non-default ASPM policy
Patch from RHEL6 kernel
- [scsi] aacraid: Disable ASPM by default (Matthew Garrett) [599735] aacraid controller hangs if kernel uses non-default ASPM policy
Quoted 6 lines · Vasily Averin
Patch from RHEL6 kernel
- [scsi] aacraid: Disable ASPM by default (Matthew Garrett) [599735] aacraid controller hangs if kernel uses non-default ASPM policySigned-off-by Vasily Averin <[email protected]>CC Matthew Garrett <[email protected]>
Checking the Windows drivers indicates that they disable ASPM under all circumstances, so: