aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/sancov_plugin.c
diff options
context:
space:
mode:
authorMiquel Raynal <[email protected]>2023-12-15 13:32:08 +0100
committerMiquel Raynal <[email protected]>2023-12-22 12:39:30 +0100
commit828f6df1bcba7f64729166efc7086ea657070445 (patch)
treef9498163d0b42099f447fa1064cfbf0fcff1ba8b /scripts/gcc-plugins/sancov_plugin.c
parenta62c4597953fe54c6af04166a5e2872efd0e1490 (diff)
mtd: rawnand: Clarify conditions to enable continuous reads
The current logic is probably fine but is a bit convoluted. Plus, we don't want partial pages to be part of the sequential operation just in case the core would optimize the page read with a subpage read (which would break the sequence). This may happen on the first and last page only, so if the start offset or the end offset is not aligned with a page boundary, better avoid them to prevent any risk. Cc: [email protected] Fixes: 003fe4b9545b ("mtd: rawnand: Support for sequential cache reads") Signed-off-by: Miquel Raynal <[email protected]> Tested-by: Martin Hundebøll <[email protected]> Link: https://lore.kernel.org/linux-mtd/[email protected]
Diffstat (limited to 'scripts/gcc-plugins/sancov_plugin.c')
0 files changed, 0 insertions, 0 deletions