[PATCH] x86: support VMGEXIT
H.J. Lu
hjl.tools@gmail.com
Tue Mar 3 11:25:00 GMT 2020
On Tue, Mar 3, 2020 at 12:24 AM Jan Beulich <jbeulich@suse.com> wrote:
>
> It has been publicly documented for quite some time, albeit not in the
> "General-Purpose and System Instructions" volume:
> https://www.amd.com/system/files/TechDocs/24593.pdf.
>
> gas/
> 2020-03-XX Jan Beulich <jbeulich@suse.com>
>
> * config/tc-i386.c (cpu_arch): Add .sev_es entry.
> * doc/c-i386.texi: Mention sev_es.
> * testsuite/gas/i386/arch-13.s: Add SEV-ES case.
> * testsuite/gas/i386/arch-13.d: Extend -march=. Adjust
> expectations.
> * testsuite/gas/i386/arch-13-znver1.d,
> testsuite/gas/i386/arch-13-znver2.d: Extend -march=.
>
> opcodes/
> 2020-03-XX Jan Beulich <jbeulich@suse.com>
>
> * i386-dis.c (PREFIX_0F01_REG_3_RM_1): New.
> (prefix_table): Move vmmcall here. Add vmgexit.
> (rm_table): Replace vmmcall entry by prefix_table[] escape.
> * i386-gen.c (cpu_flag_init): Add CPU_SEV_ES_FLAGS entry.
> (cpu_flags): Add CpuSEV_ES entry.
> * i386-opc.h (CpuSEV_ES): New.
> (union i386_cpu_flags): Add cpusev_es field.
> * i386-opc.tbl (vmgexit): New.
> * i386-init.h, i386-tbl.h: Re-generate.
>
OK,
Thanks.
--
H.J.
More information about the Binutils
mailing list