crypto: vmx - comply with ABIs that specify vrsave as reserved.

[ Upstream commit 5ca5573820 ]

It gives significant improvements ( ~+15%) on some modes.

These code has been adopted from OpenSSL project in collaboration
with the original author (Andy Polyakov <appro@openssl.org>).

Signed-off-by: Paulo Flabiano Smorigo <pfsmorigo@linux.vnet.ibm.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Paulo Flabiano Smorigo 2016-05-05 11:09:27 -03:00 • committed by Greg Kroah-Hartman
commit e29e85ac08