linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Uncomment VSX enable routine for instructions access
@ 2015-07-13 16:50 Leonidas S. Barbosa
  2015-07-14  7:02 ` Herbert Xu
  0 siblings, 1 reply; 2+ messages in thread
From: Leonidas S. Barbosa @ 2015-07-13 16:50 UTC (permalink / raw)
  To: linux-kernel, linux-crypto
  Cc: linuxppc-dev, Herbert Xu, pfsmorigo, Michael Ellerman

enable_kernel_vsx() was commented since anything was using
it. It changes with vmx_crypto driver that call VSX instructions
and need kernel_vsx enabled in order to do it properly. Without
a way to enable VSX instruction vmx_crypto fails into an exception.

These patches uncomment enable_kernel_vsx() rountine and put it
available for use. Also adds it in vmx_crypto in order to
enable kernel_vsx before use VSX instructions.

Leonidas S. Barbosa (2):
  Uncomment and make enable_kernel_vsx() routine available
  Adding enable_kernel_vsx() to access VSX instructions

 arch/powerpc/include/asm/switch_to.h | 1 +
 arch/powerpc/kernel/process.c        | 3 ---
 drivers/crypto/vmx/aes.c             | 3 +++
 drivers/crypto/vmx/aes_cbc.c         | 3 +++
 drivers/crypto/vmx/aes_ctr.c         | 3 +++
 drivers/crypto/vmx/ghash.c           | 4 ++++
 6 files changed, 14 insertions(+), 3 deletions(-)

-- 
2.1.0

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH 0/2] Uncomment VSX enable routine for instructions access
  2015-07-13 16:50 [PATCH 0/2] Uncomment VSX enable routine for instructions access Leonidas S. Barbosa
@ 2015-07-14  7:02 ` Herbert Xu
  0 siblings, 0 replies; 2+ messages in thread
From: Herbert Xu @ 2015-07-14  7:02 UTC (permalink / raw)
  To: Leonidas S. Barbosa
  Cc: linux-kernel, linux-crypto, linuxppc-dev, pfsmorigo, mpe

Leonidas S. Barbosa <leosilva@linux.vnet.ibm.com> wrote:
> enable_kernel_vsx() was commented since anything was using
> it. It changes with vmx_crypto driver that call VSX instructions
> and need kernel_vsx enabled in order to do it properly. Without
> a way to enable VSX instruction vmx_crypto fails into an exception.
> 
> These patches uncomment enable_kernel_vsx() rountine and put it
> available for use. Also adds it in vmx_crypto in order to
> enable kernel_vsx before use VSX instructions.
> 
> Leonidas S. Barbosa (2):
>  Uncomment and make enable_kernel_vsx() routine available
>  Adding enable_kernel_vsx() to access VSX instructions

All applied.
-- 
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-07-14  7:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-13 16:50 [PATCH 0/2] Uncomment VSX enable routine for instructions access Leonidas S. Barbosa
2015-07-14  7:02 ` Herbert Xu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).