This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] x86: support VMGEXIT
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: Jan Beulich <jbeulich at suse dot com>
- Cc: "binutils at sourceware dot org" <binutils at sourceware dot org>
- Date: Tue, 3 Mar 2020 03:24:09 -0800
- Subject: Re: [PATCH] x86: support VMGEXIT
- References: <56f93f18-94ff-9ee9-0113-d5449648f05c@suse.com>
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.