diff options
author | Xin Li <[email protected]> | 2023-12-05 02:49:50 -0800 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2024-01-25 19:10:29 +0100 |
commit | a4cb5ece145828cae35503857debf3d49c9d1c5f (patch) | |
tree | c6fdc9b00cc4efc65f4ff43574809df8e7fa3d0f /net/lapb/lapb_timer.c | |
parent | 6613476e225e090cc9aad49be7fa504e290dd33d (diff) |
x86/cpufeatures,opcode,msr: Add the WRMSRNS instruction support
WRMSRNS is an instruction that behaves exactly like WRMSR, with
the only difference being that it is not a serializing instruction
by default. Under certain conditions, WRMSRNS may replace WRMSR to
improve performance.
Add its CPU feature bit, opcode to the x86 opcode map, and an
always inline API __wrmsrns() to embed WRMSRNS into the code.
Signed-off-by: Xin Li <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Tested-by: Shan Kang <[email protected]>
Acked-by: Masami Hiramatsu (Google) <[email protected]>
Acked-by: Borislav Petkov (AMD) <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions