mbox series

[SRU,FOCAL,0/1] kvm: svm: Update svm_xsaves_supported

Message ID cover.1600200606.git.william.gray@canonical.com
Headers show
Series kvm: svm: Update svm_xsaves_supported | expand

Message

William Breathitt Gray Sept. 15, 2020, 8:53 p.m. UTC
SRU Justification
=================

[Impact]

AMD CPUs now support XSAVES in a limited fashion (they require IA32_XSS
to be zero).

AMD has no equivalent of Intel's "Enable XSAVES/XRSTORS" VM-execution
control. Instead, XSAVES is always available to the guest when supported
on the host.

[Regression Potential]

Very low chance of regression; previous code returned false for all CPUs
while change should only return true when the CPU reports support for
the XSAVES feature.

[Miscellaneous]

Commit 52297436199d is the last remaining patch necessary to add support
for the EPYC-v3 and EPYC-Rome CPU model to Focal.

Aaron Lewis (1):
  kvm: svm: Update svm_xsaves_supported

 arch/x86/kvm/svm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

William Breathitt Gray Sept. 17, 2020, 1:49 p.m. UTC | #1
On Tue, Sep 15, 2020 at 04:53:47PM -0400, William Breathitt Gray wrote:
> SRU Justification
> =================
> 
> [Impact]
> 
> AMD CPUs now support XSAVES in a limited fashion (they require IA32_XSS
> to be zero).
> 
> AMD has no equivalent of Intel's "Enable XSAVES/XRSTORS" VM-execution
> control. Instead, XSAVES is always available to the guest when supported
> on the host.
> 
> [Regression Potential]
> 
> Very low chance of regression; previous code returned false for all CPUs
> while change should only return true when the CPU reports support for
> the XSAVES feature.
> 
> [Miscellaneous]
> 
> Commit 52297436199d is the last remaining patch necessary to add support
> for the EPYC-v3 and EPYC-Rome CPU model to Focal.
> 
> Aaron Lewis (1):
>   kvm: svm: Update svm_xsaves_supported
> 
>  arch/x86/kvm/svm.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> -- 
> 2.25.1

Applied to Focal with BugLink line moved to top and "cherry picked" line
corrected.

William Breathitt Gray