Re: crypto API and IBM z990 hardware support

From: Arnd Bergmann (
Date: Sun Jul 06 2003 - 12:46:41 EST

On Sunday 06 July 2003 16:08, James Morris wrote:

> While this looks like it will work fine for the z990, it is a special case
> which does not address other requirements for hardware support (some
> initial requirements are listed at
> I'm not enthusiastic about adding infrastructure which is really just a
> hack for some quaint hardware, and probably does not work towards
> addressing more common hardware requirements.

Ok, then I guess the module will simply have to declare MODULE_ALIAS("aes")
and live in arch/s390/crypto/, which means that the common code
is not touched at all, but building both the z990 assembler as well
as the C implementation as modules requires editing /etc/modprobe.conf
to get the right one.

As soon as you have the new API for crypto cards, we can move to that
for autoprobing the CPU features and reliably using the right

Maybe you can add to your list something like the following items:

- Support for CPU specific optimized algorithms:
  - autodetection of CPU features (e.g. Pentium MMX or z990 crypto)
  - selection of different implementations. A high priority job
    probably wants to use the CPU while another job offloads crypto
    to an asynchronous add-on card.

Hardware Documentation status:
- IBM zSeries cryptographic instructions:

GPL Driver status:
- IBM PCICC and PCICA cards (incompatible API):
  Robert Burroughs <>
- IBM zSeries cryptographic instructions:
  Thomas Spatzier (work in progress)

        Arnd <><
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Mon Jul 07 2003 - 22:00:27 EST