------- Comment From [email protected] 2015-06-25 13:13 EDT-------
(In reply to comment #11)
> All patches cleanly cherry-pick into 3.19.
>
> The following config options are already set in Ubuntu:
>
> CONFIG_ZSWAP=y
> CONFIG_ZPOOL=y
> CONFIG_ZBUD=y
> CONFIG_ZSMALLOC=y
> CONFIG_CRYPTO_ALGAPI=y
> CONFIG_CRYPTO_DEV_NX=y
> CONFIG_CRYPTO_DEV_NX_COMPRESS=m
>
> I'll add the following:
> +CONFIG_842_COMPRESS=m
> +CONFIG_842_DECOMPRESS=m
> +CONFIG_CRYPTO_DEV_NX_COMPRESS_CRYPTO=m
> +CONFIG_CRYPTO_DEV_NX_COMPRESS_POWERNV=m
> +CONFIG_CRYPTO_DEV_NX_COMPRESS_PSERIES=m
>
> The only changes are build these as modules, and add 842_COMPRESS.
>
> Does this work?

yep that's fine.

The downside of them being modules is that to use NX 842 with zswap -
which requires configuration to all be done at boot time (currently, I
have patches pending to change that) - the initramfs has to be rebuilt
with the NX 842 modules.  But that's not a big deal, just creating a
dracut.d conf file and rerunning dracut.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1454687

Title:
  add NX 842 hw compression patches

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1454687/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to