Skip to contentSkip to conversation

ARC: CONFIG_ARC_MMU_V4

PATCH New Paul Bolle 2 participants 3 messages Jun 11, 2014 Synopsys ARC architecture

lore
Share & tools
lore

Paul Bolle

author
#0 lore raw

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

#1 lore raw
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 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?

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

author
#2 lore raw

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
index c1d3d2da1191..b3c750979aa1 100644
@@ -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