Searched hist:"9 ab2e5eb63ddc4561058755c4e53f454b03275e3" (Results 1 – 1 of 1) sorted by relevance
| /rk3399_rockchip-uboot/drivers/core/ |
| H A D | device.c | 9ab2e5eb63ddc4561058755c4e53f454b03275e3 Tue Sep 19 11:23:50 UTC 2017 Faiz Abbas <faiz_abbas@ti.com> UPSTREAM: dm: core: Round up size when allocating so that it is cache line aligned
The size variable may not be always be a mulitple of ARCH_DMA_MINALIGN and using it to flush cache leads to cache misaligned warnings.
Therefore, round up the size to a multiple of ARCH_DMA_MINLAIGN when allocating private data.
Change-Id: I29c4fb89f4be628518c2f5350d3efbccd28acd36 Signed-off-by: Faiz Abbas <faiz_abbas@ti.com> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Kever Yang <kever.yang@rock-chips.com> (cherry picked from commit 5924da1dfe56d32a45b8adf29bdc8caf788bd4c8)
|