[PATCH] net: cpsw: prevent stray cache writeback
Sascha Hauer
s.hauer at pengutronix.de
Mon Mar 2 23:37:43 PST 2015
On Mon, Mar 02, 2015 at 09:59:36AM +0100, Lucas Stach wrote:
> The cache should be invalidated when transfering ownership of a buffer
> to the device. Otherwise the writeback of dirty cache lines can
> corrupt the hardware written data.
>
> Signed-off-by: Lucas Stach <l.stach at pengutronix.de>
> Tested-by: Jan Weitzel <j.weitzel at phytec.de>
> ---
> Sascha, please apply this to master. It fixes a TFTP buffer corruption
> issue reported by Jan.
Did that.
Sascha
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
More information about the barebox
mailing list