|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [xen master] x86/thunk: Don't opencode TSX instructions in clear_bhb_tsx()
commit 3f182352c50cc3df17adf25d15ef9b96b1e7cb13
Author: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
AuthorDate: Thu May 1 19:05:53 2025 +0100
Commit: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
CommitDate: Fri May 2 14:12:10 2025 +0100
x86/thunk: Don't opencode TSX instructions in clear_bhb_tsx()
The new toolchain baseline understands the RTM instructions.
No functional change.
Signed-off-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
Reviewed-by: Jan Beulich <jbeulich@xxxxxxxx>
---
xen/arch/x86/bhb-thunk.S | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/xen/arch/x86/bhb-thunk.S b/xen/arch/x86/bhb-thunk.S
index 678c00c5d0..f5ac41834b 100644
--- a/xen/arch/x86/bhb-thunk.S
+++ b/xen/arch/x86/bhb-thunk.S
@@ -19,8 +19,8 @@
* disabled for e.g. TAA mitigation reasons.
*/
FUNC(clear_bhb_tsx)
- .byte 0xc7, 0xf8; .long 1f - 0f /* xbegin 1f */
-0: .byte 0xc6, 0xf8, 0 /* xabort $0 */
+ xbegin 1f
+ xabort $0
int3
1:
ret
--
generated by git-patchbot for /home/xen/git/xen.git#master
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |