[PATCH] crypto: crc32c-vpmsum - Convert to CPU feature based module autoloading

Michael Ellerman mpe at ellerman.id.au
Fri Aug 5 16:51:51 AEST 2016

Anton Blanchard <anton at samba.org> writes:

> Hi Michael,
>> 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.


>> 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


More information about the Linuxppc-dev mailing list