kernel-packages team mailing list archive
-
kernel-packages team
-
Mailing list archive
-
Message #125023
[Bug 1454687] Comment bridged from LTC Bugzilla
------- Comment From ddstreet@xxxxxxxxxx 2015-06-25 18:38 EDT-------
(In reply to comment #13)
> In Ubuntu we use initramfs-tools to update the initramfs.
ah ok.
> In this package
> there is a 'auto_add_modules' hook-function. So we can add the modules
> here. Can you give me a specific list of which modules are required?
Assuming it's ok that the modules won't always be present - i.e. they're
only built on powerpc - the modules will be:
nx-compress
nx-compress-crypto
nx-compress-platform
nx-compress-pseries
nx-compress-powernv
842-decompress
the 842-compress module actually isn't needed; the 842-compress and
842-decompress modules are only the "reference implementation" in
software, and due to the specifics of the 842 format they are very
painfully slow; 842 is really only suited to be done in custom hardware.
The 842-decompress module is needed, because the 842 hardware driver
falls back to using it if the hardware fails or is disabled, so that
decompression never fails.
but including the 842-compress module doesn't hurt anything.
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1454687
Title:
add NX 842 hw compression patches
Status in initramfs-tools package in Ubuntu:
New
Status in linux package in Ubuntu:
In Progress
Status in initramfs-tools source package in Vivid:
New
Status in linux source package in Vivid:
In Progress
Bug description:
[Impact]
Users of PowerPC processors with an NX coprocessor will not be able to use features like memory compression without this set of patches.
[Test Case]
Run kernel on a PowerPC processor with an NX coprocessor implementing 842 memory compression.
[Fix]
Commits:
b130e7c04f1130f241eddf72098a6e08d41d08fe
edc424f8cd84bbae530d8a9f86caf1923606fb24
2da572c959dd5815aef153cf62010b16a498a0d3
2062c5b6da758ca2bb64b698d7f9c5c45a06fcf9
fdd05e4b9ae22603ed09beb4e179ae7746555a81
7011a122383e36dab594406720fa1d089e0be8f9
959e6659b6f74ec1fa4d391a3b88d63dc0189f36
99182a42b7ef3d5e4180992ce01befd9e87526d2
b8e04187c90107c58d1ccbeb68a0ba4c5bfd4167
ed70b479c2c0b6e1319f0cb2de19f1051be219a4
f7ead7b47a758bbee6fdc66f95f27fdb866e5e9d
ca7fc7e962fa067ba31f76a6e5828537394f6481
9358eac06b8fcf9fcaf566ec825fc05e2b1acd10
3e648cbeb31be5cb84b9ec19822e2b85417f07c4
3154de71258a32040214fda174e67b975b0810ef
32be6d3e362b896c81aae7c635d44e5a91406ce2
2c6f6eabc0bfcea0a62370038da713e3873cff31
c47d63020c03659e584673f78f24f2e5de3e6b9b
Plus the following configuration changes:
+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
In addition some modules need to be loaded by initramfs which requires
changes to the initramfs-tools package.
--
Please add/include the patches for PowerPC NX coprocessor 842 memory
compression. They're currently in Herbert Xu's upstream tree, and
presumably he will send them up to Linus at the 4.2 merge window.
You can find the commits at
git://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
ed70b47 crypto: nx - add hardware 842 crypto comp alg
b8e04187 crypto: nx - simplify pSeries nx842 driver
99182a42 crypto: nx - add PowerNV platform NX-842 driver
959e665 crypto: nx - add nx842 constraints
7011a12 crypto: nx - add NX-842 platform frontend driver
fdd05e4 crypto: nx - rename nx-842.c to nx-842-pseries.c
2062c5b crypto: 842 - change 842 alg to use software
2da572c lib: add software 842 compression/decompression
edc424f powerpc: Add ICSWX instruction
b130e7c powerpc: export of_get_ibm_chip_id function
I'll update this when they are added to Linus' tree.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1454687/+subscriptions