Skip to content
Snippets Groups Projects
Commit d025021e authored by Clemens Gruber's avatar Clemens Gruber Committed by Tom Rini
Browse files

gunzip: cache-align write buffer memory


When using gzwrite to eMMC on an i.MX6Q board, the following warning
occurs repeatedly:
CACHE: Misaligned operation at range [4fd63318, 4fe63318]

This patch cache-aligns the memory allocation for the gzwrite writebuf,
therefore avoiding the misaligned dcache flush and the warning from
check_cache_range.

Signed-off-by: default avatarClemens Gruber <clemens.gruber@pqgruber.com>
Reviewed-by: default avatarEric Nelson <eric@nelint.com>
Reviewed-by: default avatarStefan Agner <stefan.agner@toradex.com>
parent 4dc34be4
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment