Skip to content

Uncomment VSX enable routine for instructions access

Leonidas S. Barbosa linux-crypto linuxppc-dev lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2Uncomment and make enable_kernel_vsx() routine availablearch/powerpc/include/asm/switch_to.h arch/powerpc/kernel/process.c+1 -30 replies
2/2Adding enable_kernel_vsx() to access VSX instructionsdrivers/crypto/vmx/aes.c drivers/crypto/vmx/aes_cbc.c drivers/crypto/vmx/aes_ctr.c +1 more+13 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] Uncomment VSX enable routine for instructions access

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(-)
Signature · 1 line
2.1.0