diff options
author | Tsuchiya Yuto <kitakar@gmail.com> | 2021-08-20 16:20:50 +0200 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2021-08-29 14:46:41 +0300 |
commit | a847666accf2c1d4f4ed6c50be43dbc30ebc3a11 (patch) | |
tree | e965e0caa458db100c26b055b6b34ea74f02cd56 /tools/perf/scripts/python/export-to-postgresql.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 <kitakar@gmail.com>
Signed-off-by: Jonas Dreßler <verdre@v0yd.nl>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20210820142050.35741-3-verdre@v0yd.nl
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions