* ARC: CONFIG_ARC_MMU_V4
@ 2014-06-11 8:26 Paul Bolle
2014-06-11 8:43 ` Vineet Gupta
0 siblings, 1 reply; 3+ messages in thread
From: Paul Bolle @ 2014-06-11 8:26 UTC (permalink / raw)
To: Vineet Gupta; +Cc: linux-kernel
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
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: ARC: CONFIG_ARC_MMU_V4
2014-06-11 8:26 ARC: CONFIG_ARC_MMU_V4 Paul Bolle
@ 2014-06-11 8:43 ` Vineet Gupta
2014-06-11 8:57 ` [PATCH] ARC: remove checks for CONFIG_ARC_MMU_V4 Paul Bolle
0 siblings, 1 reply; 3+ messages in thread
From: Vineet Gupta @ 2014-06-11 8:43 UTC (permalink / raw)
To: Paul Bolle; +Cc: linux-kernel@vger.kernel.org
On Wednesday 11 June 2014 01:56 PM, Paul Bolle wrote:
> 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
^ permalink raw reply [flat|nested] 3+ messages in thread* [PATCH] ARC: remove checks for CONFIG_ARC_MMU_V4
2014-06-11 8:43 ` Vineet Gupta
@ 2014-06-11 8:57 ` Paul Bolle
0 siblings, 0 replies; 3+ messages in thread
From: Paul Bolle @ 2014-06-11 8:57 UTC (permalink / raw)
To: Vineet Gupta; +Cc: linux-kernel
There's no Kconfig symbol ARC_MMU_V4 so the checks for CONFIG_ARC_MMU_V4
will always evaluate to false. Remove them.
Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
---
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(-)
diff --git a/arch/arc/include/asm/cache.h b/arch/arc/include/asm/cache.h
index c1d3d2da1191..b3c750979aa1 100644
--- a/arch/arc/include/asm/cache.h
+++ b/arch/arc/include/asm/cache.h
@@ -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
--
1.9.3
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-06-11 9:11 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-11 8:26 ARC: CONFIG_ARC_MMU_V4 Paul Bolle
2014-06-11 8:43 ` Vineet Gupta
2014-06-11 8:57 ` [PATCH] ARC: remove checks for CONFIG_ARC_MMU_V4 Paul Bolle
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.