diff options
author | H. Peter Anvin (Intel) <hpa@zytor.com> | 2023-12-05 02:49:58 -0800 |
---|---|---|
committer | Borislav Petkov (AMD) <bp@alien8.de> | 2024-01-31 22:00:18 +0100 |
commit | 0115f8b1a26ef49338cdb0bd98ad374b8586d0fd (patch) | |
tree | 0571f085f62d99f96f2d22a53f917c8a58dae2f8 /tools/objtool | |
parent | 3810da12710aaa05c6101418675c923642a80c0c (diff) | |
download | lwn-0115f8b1a26ef49338cdb0bd98ad374b8586d0fd.tar.gz lwn-0115f8b1a26ef49338cdb0bd98ad374b8586d0fd.zip |
x86/opcode: Add ERET[US] instructions to the x86 opcode map
ERETU returns from an event handler while making a transition to ring 3,
and ERETS returns from an event handler while staying in ring 0.
Add instruction opcodes used by ERET[US] to the x86 opcode map; opcode
numbers are per FRED spec v5.0.
Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
Signed-off-by: Xin Li <xin3.li@intel.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Tested-by: Shan Kang <shan.kang@intel.com>
Reviewed-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Link: https://lore.kernel.org/r/20231205105030.8698-10-xin3.li@intel.com
Diffstat (limited to 'tools/objtool')
0 files changed, 0 insertions, 0 deletions