Building a kernel that supports the Integrated Accelerator for zEDC

You must select the kernel configuration option CONFIG_ZLIB_DFLTCC to compile the kernel zlib with support for the Integrated Accelerator for zEDC.

7.1 LPAR mode z/VM guest KVM guest

Kernel builders: This information is intended for those who want to build their own kernel. Be aware that both compiling your own kernel or recompiling an existing distribution usually means that you have to maintain your kernel yourself.
Figure 1. Kernel configuration menu option for the Integrated Accelerator for zEDC
Library routines ->
    ...
    Enable s390x DEFLATE CONVERSION CALL support for kernel zlib  (CONFIG_ZLIB_DFLTCC)

The CONFIG_ZLIB_DFLTCC option compiles the kernel zlib with support for on-chip data compression and decompression through the Integrated Accelerator for zEDC. This support is always compiled directly into the kernel.