diff options
author | Jack Rosenthal <jrosenth@chromium.org> | 2019-07-03 15:31:12 -0600 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2019-07-03 22:30:13 +0000 |
commit | 2b200899c01c4b0f970c55a4c6774cea13445f19 (patch) | |
tree | 5430b79a3e99c353a7e42cf923fe1ac9e8919d57 | |
parent | 6d401d94fc885f2fc133f23ae6d101e5c097292e (diff) | |
download | chrome-ec-2b200899c01c4b0f970c55a4c6774cea13445f19.tar.gz |
ish: enter ISH ROM during reset prep
This is a temporary workaround based on PS1 of Hebo's CL:1684825. The
actual fix for b:136265450 should revert this.
The cost of this change is higher power usage when the system is
powered off.
BUG=b:136265450
BRANCH=R75,R76,master
TEST=Normally failed DUT comes back alive consistently with this
change.
Change-Id: I623249dfcb697a055378ca721721f346b01b7a8f
Signed-off-by: Jack Rosenthal <jrosenth@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1688147
Reviewed-by: Jett Rink <jettrink@chromium.org>
Commit-Queue: Jett Rink <jettrink@chromium.org>
-rw-r--r-- | chip/ish/power_mgt.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/chip/ish/power_mgt.c b/chip/ish/power_mgt.c index 26cc42e104..27af113296 100644 --- a/chip/ish/power_mgt.c +++ b/chip/ish/power_mgt.c @@ -709,12 +709,7 @@ static void reset_prep_isr(void) IOAPIC_EOI_REG = ISH_RESET_PREP_VEC; LAPIC_EOI_REG = 0x0; - if (pm_ctx.aon_valid) { - handle_reset_in_aontask(ISH_PM_STATE_RESET_PREP); - } else { - ish_mia_reset(); - } - + ish_mia_reset(); __builtin_unreachable(); } |