forked from projectacrn/acrn-hypervisor
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
hv: vie: emulate cmpxchg instructions for uc-lock
LOCK prefix is one of 4-group instruction prefixes and it may not be the first prefix because 4 groups of prefixes can be arranged in arbitrary order. Thus conceptually, we have to emulate all bus-lock instructions to support bus-lock(uc/ac) detection. This patch adds cmpxchg support which may trigger bus-lock if memory is mapped uncached. Tracked-On: projectacrn#8750 Signed-off-by: Qiang Zhang <qiang4.zhang@intel.com>
- Loading branch information
1 parent
72db4e3
commit 3aa9706
Showing
3 changed files
with
70 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters