[U-Boot] [PATCH 00/18] ARC: cache subsystem improvement/refactoring

Eugeniy Paltsev Eugeniy.Paltsev at synopsys.com
Tue Feb 13 17:34:33 UTC 2018


Eugeniy Paltsev (18):
  ARC: cache: move i$ entire operation to separate function
  ARC: cache: remove per-line I$ operations as unused
  ARC: cache: Add support of FLUSH_N_INV d$ operations
  ARC: introduce is_isa_X functions
  ARC: flush & invalidate D$ with a single command
  ARC: cache: move IOC initialization to separate function
  ARC: move BCR encodings to separate header file
  ARC: cache: allways check dcache status before entire/line operations
  ARC: cache: Use is_isa_arcv2() instead of CONFIG_ISA_ARCV2 ifdef
  ARC: cache: move slc status check into slc_entire_op and slc_rgn_op
  ARC: cache: get rid of [slc,pae,icache,dcache]_exists global variables
  ARC: mode cache global variables to global data struct
  ARC: move IOC enabling to compile time options
  ARC: implement function to sync I/D caches before relocation
  ARC: implement function to cleanup caches before linux
  ARC: cache: move pae exists check into slc_upper_region_init
  ARC: cache: don't invalidate SLC in invalidate_icache_all
  ARC: cache: add missing cache cleanup before cache disable

 arch/arc/Kconfig                   |  18 ++
 arch/arc/include/asm/arc-bcr.h     |  77 ++++++
 arch/arc/include/asm/arcregs.h     |  11 +
 arch/arc/include/asm/cache.h       |   8 +
 arch/arc/include/asm/global_data.h |   6 +
 arch/arc/lib/bootm.c               |   4 +-
 arch/arc/lib/cache.c               | 469 +++++++++++++++++++------------------
 arch/arc/lib/init_helpers.c        |   6 +-
 8 files changed, 365 insertions(+), 234 deletions(-)
 create mode 100644 arch/arc/include/asm/arc-bcr.h

-- 
2.9.3



More information about the U-Boot mailing list