Public bug reported:
Quoting lib/bch.c:
* Option CONFIG_BCH_CONST_PARAMS can be used to force fixed values of
* parameters m and t; thus allowing extra compiler optimizations and providing
* better (up to 2x) encoding performance. Using this option makes sense when
* (m,t) are fixed and known in advance, e.g. when using BCH error correction
* on a particular NAND flash device.
Ubuntu's kernel targets generic hardware, so using this option is not a
good idea.
As a result of this option being enabled, nandsim's option "bch" is
unusable:
[34200.137521] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB
size: 64
[34200.137522] [nandsim] using 8-bit/512 bytes BCH ECC
[34200.137524] bch encoder/decoder was configured to support parameters m=14,
t=4 only!
---
Ubuntu 18.04.1 LTS, linux-image-4.15.0-34-generic: 4.15.0-34.37 (amd64)
** Affects: linux-signed (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1792205
Title:
CONFIG_BCH_CONST_PARAMS should be unset
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-signed/+bug/1792205/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs