]> git.baikalelectronics.ru Git - kernel.git/commit
pciehp: workaround against Bad DLLP during power off
authorKenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Thu, 20 Dec 2007 10:45:09 +0000 (19:45 +0900)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 1 Feb 2008 23:04:28 +0000 (15:04 -0800)
commit7207141150dbdb7a5a5b52dc756133200080c63a
treecff53ccb259acaae0fe25f3caf396cc5df6426a7
parent33537bb4cf628854ab9d8aec9959710305ae19ef
pciehp: workaround against Bad DLLP during power off

Set Bad DLLP Mask bit in Correctable Error Mask Register during
turning power off the slot.

This is the workaround against Bad DLLP error that sometimes happen
during turning power off on the slot which conforms to PCI Express
1.0a spec. The cause of this error seems that PCI Express 1.0a spec
doesn't have the following consideration that was added to PCI Express
1.1 spec.

    "If the port is associated with a hot-pluggable slot (Hot-Plug
    Capable bit in the Slot Capabilities register set to 1b), and
    Power Controller Control bit in Slot Control register is 1b(Off),
    then any transition to DL Inactive must not be considered an
    error."

Signed-off-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Signed-off-by: Kristen Carlson Accardi <kristen.c.accardi@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/pci/hotplug/pciehp_hpc.c