Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[do not merge] acrn: support mwait emulation #68

Draft
wants to merge 1 commit into
base: celadon/u/mr0/master
Choose a base branch
from

Conversation

izhouwu
Copy link
Contributor

@izhouwu izhouwu commented Nov 21, 2024

As we can only emulate unmonitored mwait, some adjust have to be made for kernel idle routing when running as ACRN guest.

  1. Mark ecx bit2 for mwait to indicate an unmonitored mwait.
  2. Clear TIF_POLLING_NRFLAG so that kernel uses event to wakeup core.

As we can only emulate unmonitored mwait, some adjust have to be
made for kernel idle routing when running as ACRN guest.
1. Mark ecx bit2 for mwait to indicate an unmonitored mwait.
2. Clear TIF_POLLING_NRFLAG so that kernel uses event to wakeup core.

Signed-off-by: Wu Zhou <[email protected]>
@sysopenci
Copy link

Improper Commit Message
Tracked on not found in commit message,
make sure Tracked-On: Jira-ticket is present.

@sysopenci sysopenci added Pending Developer Approval Pending Developer Approval Pending PR Review Pending PR Review Engineering Build Not Started Engineering Build Not Started labels Nov 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Engineering Build Not Started Engineering Build Not Started Invalid commit message Pending Developer Approval Pending Developer Approval Pending PR Review Pending PR Review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants