Re: [PATCH v7 2/6] target/i386: Enable XSS feature enumeration for CPUID

2021-05-07 Thread Yang Weijiang
On Thu, May 06, 2021 at 06:16:47PM -0400, Eduardo Habkost wrote: > On Fri, Feb 26, 2021 at 10:20:54AM +0800, Yang Weijiang wrote: > > Currently, CPUID.(EAX=0DH,ECX=01H) doesn't enumerate features in > > XSS properly, add the support here. XCR0 bits indicate user-mode XSAVE > > components, and XSS

Re: [PATCH v7 2/6] target/i386: Enable XSS feature enumeration for CPUID

2021-05-06 Thread Eduardo Habkost
On Fri, Feb 26, 2021 at 10:20:54AM +0800, Yang Weijiang wrote: > Currently, CPUID.(EAX=0DH,ECX=01H) doesn't enumerate features in > XSS properly, add the support here. XCR0 bits indicate user-mode XSAVE > components, and XSS bits indicate supervisor-mode XSAVE components. > > Signed-off-by: Yang

[PATCH v7 2/6] target/i386: Enable XSS feature enumeration for CPUID

2021-02-25 Thread Yang Weijiang
Currently, CPUID.(EAX=0DH,ECX=01H) doesn't enumerate features in XSS properly, add the support here. XCR0 bits indicate user-mode XSAVE components, and XSS bits indicate supervisor-mode XSAVE components. Signed-off-by: Yang Weijiang --- target/i386/cpu.c | 48