[U-Boot] [PATCH] net: usb: r8152: Use ALLOC_CACHE_ALIGN_BUFFER() to allocate the buffers

Joe Hershberger joe.hershberger at gmail.com
Tue Nov 29 20:46:51 CET 2016


On Tue, Nov 22, 2016 at 9:14 AM, Stefan Roese <sr at denx.de> wrote:
> Testing on theadorable (Armada XP) has shown, that using this driver
> results in many cache misaligned warning, such as:
>
> CACHE: Misaligned operation at range [7fabd8fc, 7fabd900]
>
> This patch now uses the ALLOC_CACHE_ALIGN_BUFFER() macro to allocate the
> buffers on a cache aligned boundary. This fixes all warnings seen on the
> Armada XP platform.
>
> Signed-off-by: Stefan Roese <sr at denx.de>
> Cc: Ted Chen <tedchen at realtek.com>
> Cc: Joe Hershberger <joe.hershberger at ni.com>

Acked-by: Joe Hershberger <joe.hershberger at ni.com>


More information about the U-Boot mailing list