Skip to content

Revert "pm: allow reset when reset type is set" - #83

Merged
kwd-doodling merged 1 commit into
mainfrom
dwang4_revert_reset_type
Aug 28, 2026
Merged

Revert "pm: allow reset when reset type is set"#83
kwd-doodling merged 1 commit into
mainfrom
dwang4_revert_reset_type

Conversation

@kwd-doodling

Copy link
Copy Markdown
Contributor

This reverts commit c467506.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR reverts commit c46750677fb595924532ff7464fe4d9e7d31af4e, restoring the prior reset-preparation handling in the ISH always-on (AON) power-management task by removing the “reset type” special-case path.

Changes:

  • Remove the PMU_RST_AP_REBOOT constant and associated logic that treated a specific reset type as sufficient to enter reset-prep handling.
  • Simplify reset-prep polling in handle_d0i2() and handle_d0i3() to only trigger when PMU_RST_PREP_AVAIL is set.
  • Remove the PMU_RST_PREP_RESET_TYPE bitmask definition from the AON PMU register header.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
bsp_sedi/soc/intel_ish/pm/aon/ish_aontask.c Reverts reset-prep polling behavior to only check PMU_RST_PREP_AVAIL, removing the reset-type override path.
bsp_sedi/soc/intel_ish/pm/aon/include/ish_registers.h Removes the PMU_RST_PREP_RESET_TYPE mask definition that is no longer used after the revert.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated no new comments.

@kwd-doodling
kwd-doodling merged commit 71e18c0 into main Aug 28, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants