From: Anton Blanchard <hidden> Date: 2016-08-04 06:38:41
From: Anton Blanchard <redacted>
This patch utilises the GENERIC_CPU_AUTOPROBE infrastructure
to automatically load the crc32c-vpmsum module if the CPU supports
it.
Signed-off-by: Anton Blanchard <redacted>
---
arch/powerpc/crypto/crc32c-vpmsum_glue.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
From: Michael Ellerman <mpe@ellerman.id.au> Date: 2016-08-04 08:38:00
Anton Blanchard [off-list ref] writes:
quoted hunk
From: Anton Blanchard <redacted>
This patch utilises the GENERIC_CPU_AUTOPROBE infrastructure
to automatically load the crc32c-vpmsum module if the CPU supports
it.
Signed-off-by: Anton Blanchard <redacted>
---
arch/powerpc/crypto/crc32c-vpmsum_glue.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
From: Michael Ellerman <mpe@ellerman.id.au> Date: 2016-08-05 06:51:53
Anton Blanchard [off-list ref] writes:
Hi Michael,
quoted
Is VEC_CRYPTO the right feature?
That's new power8 crypto stuff.
The vpmsum* instructions are part of the same pipeline as the vcipher*
instructions, introduced in POWER8.
OK.
quoted
I thought this only used VMX? (but I haven't looked closely)
Yes, vcipher* and vpmsum* are VMX instructions.
Right. The confusion is that we have PPC_FEATURE_HAS_ALTIVEC, but that
doesn't mean we have *these* VMX instructions.
This is actually an arch/powerpc patch, so I'll merge it unless Herbert
objects.
cheers
From: Michael Ellerman <hidden> Date: 2016-08-09 11:26:36
On Thu, 2016-04-08 at 06:38:15 UTC, Anton Blanchard wrote:
From: Anton Blanchard <redacted>
This patch utilises the GENERIC_CPU_AUTOPROBE infrastructure
to automatically load the crc32c-vpmsum module if the CPU supports
it.
Signed-off-by: Anton Blanchard <redacted>