]> git.sur5r.net Git - u-boot/commit
drivers: net: cpsw: always flush cache of size aligned to PKTALIGN
authorLokesh Vutla <lokeshvutla@ti.com>
Thu, 11 Aug 2016 07:30:59 +0000 (13:00 +0530)
committerTom Rini <trini@konsulko.com>
Fri, 12 Aug 2016 13:23:47 +0000 (09:23 -0400)
commit1f01962e0fde9d3e57318e9f6e05c45d8ef2a783
tree705a2495695397c838f8019a9651af4d344be202
parent358133239b37cf3c936cc968d7bde9c5546ad130
drivers: net: cpsw: always flush cache of size aligned to PKTALIGN

cpsw tries to flush dcache which is not in the range of PKTALIGN.
Because of this the following warning comes while flushing:

CACHE: Misaligned operation at range [dffecec0dffed016]

Fix it by flushing cache of size aligned to PKTALIGN.

Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
drivers/net/cpsw.c