Skip to content

Commit

Permalink
intel_adsp/ace: power: Restore interruptions after sleep
Browse files Browse the repository at this point in the history
Explicitly restore interruptions in pm_state_exit_post_ops.

Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
  • Loading branch information
Flavio Ceolin committed Jan 20, 2024
1 parent b57c31a commit b4a97cb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions soc/xtensa/intel_adsp/ace/power.c
Original file line number Diff line number Diff line change
Expand Up @@ -404,6 +404,11 @@ void pm_state_exit_post_ops(enum pm_state state, uint8_t substate_id)
}

z_xt_ints_on(core_desc[cpu].intenable);

/* We don't have the key used to lock interruptions here.
* Just set PS.INTLEVEL to 0.
*/
__asm__ volatile ("rsil a2, 0");
}

#endif /* CONFIG_PM */

0 comments on commit b4a97cb

Please sign in to comment.