[PATCH v9 3/3] ARM: ARMv7-M: Allow the building of new kernel port

Uwe Kleine-König u.kleine-koenig at pengutronix.de
Wed Mar 27 06:58:26 EDT 2013


Hi Jonny,

On Wed, Mar 27, 2013 at 10:37:30AM +0000, Jonathan Austin wrote:
> >+# ARMv7M
> >+config CPU_V7M
> >+	bool
> >+	select CPU_32v7M
> >+	select CPU_ABRT_NOMMU
> >+	select CPU_CACHE_NOP
> >+	select CPU_CACHE_VIPT
> 
> What's the deal with VIPT here? I presume something left over?
Right, this was dropped for v10 (as you already pointed it out via irc).

> >+	select CPU_PABRT_LEGACY
> >+	select CPU_THUMBONLY
> >+
> >  config CPU_THUMBONLY
> >  	bool
> >  	# There are no CPUs available with MMU that don't implement an ARM ISA:
> >@@ -441,6 +451,9 @@ config CPU_32v6K
> >  config CPU_32v7
> >  	bool
> >
> >+config CPU_32v7M
> >+	bool
> >+
> 
> What is this config option for?
Just for completeness. There is no use for it (yet).
 
> >  # The abort model
> >  config CPU_ABRT_NOMMU
> >  	bool
> >@@ -494,6 +507,9 @@ config CPU_CACHE_V6
> >  config CPU_CACHE_V7
> >  	bool
> >
> >+config CPU_CACHE_NOP
> >+	bool
> >+
> >  config CPU_CACHE_VIVT
> >  	bool
> >
> >@@ -616,7 +632,11 @@ config ARCH_DMA_ADDR_T_64BIT
> >
> >  config ARM_THUMB
> >  	bool "Support Thumb user binaries" if !CPU_THUMBONLY
> >-	depends on CPU_ARM720T || CPU_ARM740T || CPU_ARM920T || CPU_ARM922T || CPU_ARM925T || CPU_ARM926T || CPU_ARM940T || CPU_ARM946E || CPU_ARM1020 || CPU_ARM1020E || CPU_ARM1022 || CPU_ARM1026 || CPU_XSCALE || CPU_XSC3 || CPU_MOHAWK || CPU_V6 || CPU_V6K || CPU_V7 || CPU_FEROCEON
> >+	depends on CPU_ARM720T || CPU_ARM740T || CPU_ARM920T || CPU_ARM922T || \
> >+		CPU_ARM925T || CPU_ARM926T || CPU_ARM940T || CPU_ARM946E || \
> >+		CPU_ARM1020 || CPU_ARM1020E || CPU_ARM1022 || CPU_ARM1026 || \
> >+		CPU_XSCALE || CPU_XSC3 || CPU_MOHAWK || CPU_V6 || CPU_V6K || \
> >+		CPU_V7 || CPU_FEROCEON || CPU_V7M
> 
> It looks like there has been a rough attempt to order this list...
> 
> Can V7M go before FEROCEON please?
I missed that because I only saw your mail when I sent out v10. :-\

Best regards
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |



More information about the linux-arm-kernel mailing list