diff options
author | Sandeep Singh <[email protected]> | 2018-12-05 14:22:38 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2018-12-06 13:00:10 +0100 |
commit | a7d57abcc8a5bdeb53bbf8e87558e8e0a2c2a29d (patch) | |
tree | 361e979677d62df1b8c48c1043600a7916a41125 /lib/mpi/mpi-cmp.c | |
parent | 704620afc70cf47abb9d6a1a57f3825d2bca49cf (diff) |
xhci: workaround CSS timeout on AMD SNPS 3.0 xHC
Occasionally AMD SNPS 3.0 xHC does not respond to
CSS when set, also it does not flag anything on SRE and HCE
to point the internal xHC errors on USBSTS register. This stalls
the entire system wide suspend and there is no point in stalling
just because of xHC CSS is not responding.
To work around this problem, if the xHC does not flag
anything on SRE and HCE, we can skip the CSS
timeout and allow the system to continue the suspend. Once the
system resume happens we can internally reset the controller
using XHCI_RESET_ON_RESUME quirk
Signed-off-by: Shyam Sundar S K <[email protected]>
Signed-off-by: Sandeep Singh <[email protected]>
cc: Nehal Shah <[email protected]>
Cc: <[email protected]>
Tested-by: Kai-Heng Feng <[email protected]>
Signed-off-by: Mathias Nyman <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions