Re: [PATCH for-4.18] x86/cpuid: Fix handling of XSAVE dynamic leaves

2024-06-20 Thread Andrew Cooper
On 20/06/2024 1:10 pm, Jan Beulich wrote: > On 20.06.2024 13:14, Andrew Cooper wrote: >> [ This is a minimal backport of commit 71cacfb035f4 ("x86/cpuid: Fix handling >> of XSAVE dynamic leaves") to fix the bugs without depending on large >> rework of >> XSTATE handling in Xen 4.19 ] >> >> Fir

Re: [PATCH for-4.18] x86/cpuid: Fix handling of XSAVE dynamic leaves

2024-06-20 Thread Jan Beulich
On 20.06.2024 13:14, Andrew Cooper wrote: > [ This is a minimal backport of commit 71cacfb035f4 ("x86/cpuid: Fix handling > of XSAVE dynamic leaves") to fix the bugs without depending on large rework > of > XSTATE handling in Xen 4.19 ] > > First, if XSAVE is available in hardware but not vis

[PATCH for-4.18] x86/cpuid: Fix handling of XSAVE dynamic leaves

2024-06-20 Thread Andrew Cooper
[ This is a minimal backport of commit 71cacfb035f4 ("x86/cpuid: Fix handling of XSAVE dynamic leaves") to fix the bugs without depending on large rework of XSTATE handling in Xen 4.19 ] First, if XSAVE is available in hardware but not visible to the guest, the dynamic leaves shouldn't be fill