forked from torvalds/linux
Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
PCI: pciehp: Quirk to ignore spurious DLLSC when off
When a specific x8 CEM card is bifurcated into x4x4 mode, and the upstream ports both support hotplugging on each respective x4 device, a slot management system for the CEM card requires both x4 devices to be sysfs removed from the OS before it can safely turn-off physical power. The implications are that Slot Control will display Powered Off status for the device where the device is actually powered until both ports have powered off. When power is removed from the first half, real power and link remains active while waiting for the second half to have power removed. When power is then removed from the second half, the first half starts shutdown sequence and will trigger a DLLSC event. This is misinterpreted as an enabling event and causes the first half to be re-enabled. The spurious enable can be resolved by ignoring link status change events when no link is active when in the off state. This patch adds a quirk for the card. Acked-by: Jon Derrick <jonathan.derrick@intel.com> Signed-off-by: James Puthukattukaran <james.puthukattukaran@oracle.com>
- Loading branch information
1 parent
eda0e92
commit 64e85d3cc3a64aea26c4b89c9661ee4eef99ac5e
Showing
3 changed files
with
38 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters