diff options
author | 2023-12-15 13:32:07 +0100 | |
---|---|---|
committer | 2023-12-22 12:39:24 +0100 | |
commit | a62c4597953fe54c6af04166a5e2872efd0e1490 (patch) | |
tree | 41db956392676d4247f4c4098219655a6c02975d /crypto/tcrypt.h | |
parent | mtd: rawnand: Fix core interference with sequential reads (diff) | |
download | linux-a62c4597953fe54c6af04166a5e2872efd0e1490.tar.gz linux-a62c4597953fe54c6af04166a5e2872efd0e1490.tar.bz2 linux-a62c4597953fe54c6af04166a5e2872efd0e1490.zip |
mtd: rawnand: Prevent sequential reads with on-die ECC engines
Some devices support sequential reads when using the on-die ECC engines,
some others do not. It is a bit hard to know which ones will break other
than experimentally, so in order to avoid such a difficult and painful
task, let's just pretend all devices should avoid using this
optimization when configured like this.
Cc: stable@vger.kernel.org
Fixes: 003fe4b9545b ("mtd: rawnand: Support for sequential cache reads")
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Tested-by: Martin Hundebøll <martin@geanix.com>
Link: https://lore.kernel.org/linux-mtd/20231215123208.516590-4-miquel.raynal@bootlin.com
Diffstat (limited to 'crypto/tcrypt.h')
0 files changed, 0 insertions, 0 deletions