diff options
author | Tsuchiya Yuto <[email protected]> | 2021-08-20 16:20:50 +0200 |
---|---|---|
committer | Kalle Valo <[email protected]> | 2021-08-29 14:46:41 +0300 |
commit | a847666accf2c1d4f4ed6c50be43dbc30ebc3a11 (patch) | |
tree | e965e0caa458db100c26b055b6b34ea74f02cd56 /tools/perf/scripts/python/syscall-counts.py | |
parent | 5448bc2a426c2199db9b8bd87ae2b5c06b77ef92 (diff) |
mwifiex: pcie: add reset_d3cold quirk for Surface gen4+ devices
To reset mwifiex on Surface gen4+ (Pro 4 or later gen) devices, it
seems that putting the wifi device into D3cold is required according
to errata.inf file on Windows installation (Windows/INF/errata.inf).
This patch adds a function that performs power-cycle (put into D3cold
then D0) and call the function at the end of reset_prepare().
Note: Need to also reset the parent device (bridge) of wifi on SB1;
it might be because the bridge of wifi always reports it's in D3hot.
When I tried to reset only the wifi device (not touching parent), it gave
the following error and the reset failed:
acpi device:4b: Cannot transition to power state D0 for parent in D3hot
mwifiex_pcie 0000:03:00.0: can't change power state from D3cold to D0 (config space inaccessible)
Signed-off-by: Tsuchiya Yuto <[email protected]>
Signed-off-by: Jonas Dreßler <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions