PCHPowergatingStats: allow HDA-PGD1 in S0ix check.
HDA-PGD1 may require for WoV feature. Just warn about it
instead of error.
BUG=b:110484138
TEST=power_SuspendToIdle passed on Nocturne
Change-Id: I69c8cc2f1daf7c428a3fc60904430ff58c49d9d1
Signed-off-by: Puthikorn Voravootivat <puthik@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1312213
Reviewed-by: Todd Broch <tbroch@chromium.org>
diff --git a/client/cros/power/power_status.py b/client/cros/power/power_status.py
index 4e65a98..cee24fc 100644
--- a/client/cros/power/power_status.py
+++ b/client/cros/power/power_status.py
@@ -2347,8 +2347,8 @@
# PCH IP block that is on/off for S0ix depend on features enabled.
# Add log when these IPs state are on.
S0IX_WARNLIST = set([
- 'HDA-PGD0', 'HDA-PGD2', 'HDA-PGD3', 'LPSS', 'AVSPGD1',
- 'AVSPGD4'])
+ 'HDA-PGD0', 'HDA-PGD1', 'HDA-PGD2', 'HDA-PGD3', 'LPSS',
+ 'AVSPGD1', 'AVSPGD4'])
on_ip = set(ip['name'] for ip in self._stat if ip['state'])
on_ip -= S0IX_WHITELIST