Skip to content

arm: changes in cache handling

Aneesh V u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 0 repliesNew

V2 from the cover letter

* Rebased to latest HEAD of u-boot/master
* Improved the README
* Added a patch for removing the flush in invalidate and for printing a warning in such cases.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4arm: do not force d-cache enable on all boardsarch/arm/lib/board.c arch/arm/lib/cache.c doc/README.arm-caches +1 more+67 -50 replies
2/4omap: enable caches at system start-uparch/arm/cpu/armv7/omap3/board.c arch/arm/cpu/armv7/omap4/board.c+16 -00 replies
3/4armv7: stronger barrier for cache-maintenance operationsarch/arm/cpu/armv7/cache_v7.c+6 -60 replies
4/4armv7: cache: remove flush on un-aligned invalidatearch/arm/cpu/armv7/cache_v7.c arch/arm/lib/cache-pl310.c+17 -125 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [U-Boot] [PATCH 0/4] arm: changes in cache handling

- Avoid enabling caches for all ARM boards
- Enable caches for omap3/4
- Stronger barrier for armv7 cache-maintenance operations.

V2:
* Rebased to latest HEAD of u-boot/master
* Improved the README
* Added a patch for removing the flush in invalidate and for printing a warning in such cases.

Aneesh V (4):
arm: do not force d-cache enable on all boards
omap: enable caches at system start-up
armv7: stronger barrier for cache-maintenance operations
armv7: cache: remove flush on un-aligned invalidate

 arch/arm/cpu/armv7/cache_v7.c    |   26 ++++++++++---------
 arch/arm/cpu/armv7/omap3/board.c |    8 ++++++
 arch/arm/cpu/armv7/omap4/board.c |    8 ++++++
 arch/arm/lib/board.c             |    8 ++---
 arch/arm/lib/cache-pl310.c       |   15 ++++++----
 arch/arm/lib/cache.c             |   12 +++++++++
 doc/README.arm-caches            |   51 ++++++++++++++++++++++++++++++++++++++
 include/common.h                 |    1 +
 8 files changed, 106 insertions(+), 23 deletions(-)
 create mode 100644 doc/README.arm-caches