ARC: CONFIG_ARC_MMU_V4
Hi Vineet,
Commit ef680cdc2437 ("ARC: Disable caches in early boot if so configured") landed in linux-next yesterday (ie, next-20140610). It includes two optional tests for CONFIG_ARC_MMU_V4. There's no Kconfig symbol ARC_MMU_V4 in linux-next.
I assume you've got that symbol queued somewhere. Is that correct?
Thanks,
Paul Bolle
Quoted 8 lines · Paul Bolle
Hi Vineet,
Commit
ef680cdc2437("ARC: Disable caches in early boot if so configured") landed in linux-next yesterday (ie, next-20140610). It includes two optional tests forCONFIG_ARC_MMU_V4. There's noKconfigsymbolARC_MMU_V4in linux-next.I assume you've got that symbol queued somewhere. Is that correct?
My bad - MMU_V4 support is still in works, and not ready for mainline yet. If you wish you could submit a patch to nuke it.
Thx,
-Vineet
PATCH 1/1 ARC: remove checks for CONFIG_ARC_MMU_V4
There's no Kconfig symbol ARC_MMU_V4 so the checks for CONFIG_ARC_MMU_V4 will always evaluate to false. Remove them.
---
Entirely untested!
It would be nice if this could be squashed into commit ef680cdc2437 ("ARC: Disable caches in early boot if so configured"). But I guess the ARC tree that is included in linux-next cannot be rebased.
arch/arc/include/asm/cache.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arc/include/asm/cache.h +2 -2
@@ -60,7 +60,7 @@ extern void read_decode_cache_bcr(void);#define ARC_REG_IC_IVIC 0x10#define ARC_REG_IC_CTRL 0x11#define ARC_REG_IC_IVIL 0x19 -#if defined(CONFIG_ARC_MMU_V3 ) || defined (CONFIG_ARC_MMU_V4 ) +#if defined(CONFIG_ARC_MMU_V3 )#define ARC_REG_IC_PTAG 0x1E#endif
@@ -74,7 +74,7 @@ extern void read_decode_cache_bcr(void);#define ARC_REG_DC_IVDL 0x4A#define ARC_REG_DC_FLSH 0x4B#define ARC_REG_DC_FLDL 0x4C -#if defined(CONFIG_ARC_MMU_V3 ) || defined (CONFIG_ARC_MMU_V4 ) +#if defined(CONFIG_ARC_MMU_V3 )#define ARC_REG_DC_PTAG 0x5C#endif
Signature · 1 line
1.9.3