[lkml]   [2019]   [Apr]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subject[PATCH 0/3] ARC: cache: allow to autodetect L1 cache line size
Allow to autodetect L1 I/D caches line size in runtime instead of
relying on value provided via kconfig.

This patch series is inspired by
however has the following improvements:
* we don't touch any generic code, so it's easier to upstream it.
* autodetection can be disabled via kconfig.
* changes are rebased on latest kernel version.

Eugeniy Paltsev (3):
ARC: cache: declare cache-related defines via ARC_MAX_CACHE_SHIFT
ARC: cache: check cache configuration on each CPU
ARC: cache: allow to autodetect L1 cache line size

arch/arc/Kconfig | 10 +++
arch/arc/include/asm/cache.h | 20 ++++--
arch/arc/lib/memset-archs.S | 8 ++-
arch/arc/mm/cache.c | 147 ++++++++++++++++++++++++++++++++-----------
4 files changed, 141 insertions(+), 44 deletions(-)


 \ /
  Last update: 2019-04-16 19:10    [W:0.035 / U:2.636 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site