xref: /linux/arch/arm/mm/Kconfig (revision fefdaa06ccdde394be865ed76509be82813e425b)
11da177e4SLinus Torvaldscomment "Processor Type"
21da177e4SLinus Torvalds
31da177e4SLinus Torvaldsconfig CPU_32
41da177e4SLinus Torvalds	bool
51da177e4SLinus Torvalds	default y
61da177e4SLinus Torvalds
71da177e4SLinus Torvalds# Select CPU types depending on the architecture selected.  This selects
81da177e4SLinus Torvalds# which CPUs we support in the kernel image, and the compiler instruction
91da177e4SLinus Torvalds# optimiser behaviour.
101da177e4SLinus Torvalds
111da177e4SLinus Torvalds# ARM610
121da177e4SLinus Torvaldsconfig CPU_ARM610
131da177e4SLinus Torvalds	bool "Support ARM610 processor"
141da177e4SLinus Torvalds	depends on ARCH_RPC
151da177e4SLinus Torvalds	select CPU_32v3
161da177e4SLinus Torvalds	select CPU_CACHE_V3
171da177e4SLinus Torvalds	select CPU_CACHE_VIVT
18*fefdaa06SHyok S. Choi	select CPU_CP15_MMU
19f9c21a6eSHyok S. Choi	select CPU_COPY_V3 if MMU
20f9c21a6eSHyok S. Choi	select CPU_TLB_V3 if MMU
211da177e4SLinus Torvalds	help
221da177e4SLinus Torvalds	  The ARM610 is the successor to the ARM3 processor
231da177e4SLinus Torvalds	  and was produced by VLSI Technology Inc.
241da177e4SLinus Torvalds
251da177e4SLinus Torvalds	  Say Y if you want support for the ARM610 processor.
261da177e4SLinus Torvalds	  Otherwise, say N.
271da177e4SLinus Torvalds
281da177e4SLinus Torvalds# ARM710
291da177e4SLinus Torvaldsconfig CPU_ARM710
301da177e4SLinus Torvalds	bool "Support ARM710 processor" if !ARCH_CLPS7500 && ARCH_RPC
311da177e4SLinus Torvalds	default y if ARCH_CLPS7500
321da177e4SLinus Torvalds	select CPU_32v3
331da177e4SLinus Torvalds	select CPU_CACHE_V3
341da177e4SLinus Torvalds	select CPU_CACHE_VIVT
35*fefdaa06SHyok S. Choi	select CPU_CP15_MMU
36f9c21a6eSHyok S. Choi	select CPU_COPY_V3 if MMU
37f9c21a6eSHyok S. Choi	select CPU_TLB_V3 if MMU
381da177e4SLinus Torvalds	help
391da177e4SLinus Torvalds	  A 32-bit RISC microprocessor based on the ARM7 processor core
401da177e4SLinus Torvalds	  designed by Advanced RISC Machines Ltd. The ARM710 is the
411da177e4SLinus Torvalds	  successor to the ARM610 processor. It was released in
421da177e4SLinus Torvalds	  July 1994 by VLSI Technology Inc.
431da177e4SLinus Torvalds
441da177e4SLinus Torvalds	  Say Y if you want support for the ARM710 processor.
451da177e4SLinus Torvalds	  Otherwise, say N.
461da177e4SLinus Torvalds
471da177e4SLinus Torvalds# ARM720T
481da177e4SLinus Torvaldsconfig CPU_ARM720T
491da177e4SLinus Torvalds	bool "Support ARM720T processor" if !ARCH_CLPS711X && !ARCH_L7200 && !ARCH_CDB89712 && ARCH_INTEGRATOR
501da177e4SLinus Torvalds	default y if ARCH_CLPS711X || ARCH_L7200 || ARCH_CDB89712 || ARCH_H720X
51260e98edSLennert Buytenhek	select CPU_32v4T
521da177e4SLinus Torvalds	select CPU_ABRT_LV4T
531da177e4SLinus Torvalds	select CPU_CACHE_V4
541da177e4SLinus Torvalds	select CPU_CACHE_VIVT
55*fefdaa06SHyok S. Choi	select CPU_CP15_MMU
56f9c21a6eSHyok S. Choi	select CPU_COPY_V4WT if MMU
57f9c21a6eSHyok S. Choi	select CPU_TLB_V4WT if MMU
581da177e4SLinus Torvalds	help
591da177e4SLinus Torvalds	  A 32-bit RISC processor with 8kByte Cache, Write Buffer and
601da177e4SLinus Torvalds	  MMU built around an ARM7TDMI core.
611da177e4SLinus Torvalds
621da177e4SLinus Torvalds	  Say Y if you want support for the ARM720T processor.
631da177e4SLinus Torvalds	  Otherwise, say N.
641da177e4SLinus Torvalds
651da177e4SLinus Torvalds# ARM920T
661da177e4SLinus Torvaldsconfig CPU_ARM920T
673434d9d9SBen Dooks	bool "Support ARM920T processor"
683434d9d9SBen Dooks	depends on ARCH_EP93XX || ARCH_INTEGRATOR || CPU_S3C2410 || CPU_S3C2440 || CPU_S3C2442 || ARCH_IMX || ARCH_AAEC2000 || ARCH_AT91RM9200
693434d9d9SBen Dooks	default y if CPU_S3C2410 || CPU_S3C2440 || CPU_S3C2442 || ARCH_AT91RM9200
70260e98edSLennert Buytenhek	select CPU_32v4T
711da177e4SLinus Torvalds	select CPU_ABRT_EV4T
721da177e4SLinus Torvalds	select CPU_CACHE_V4WT
731da177e4SLinus Torvalds	select CPU_CACHE_VIVT
74*fefdaa06SHyok S. Choi	select CPU_CP15_MMU
75f9c21a6eSHyok S. Choi	select CPU_COPY_V4WB if MMU
76f9c21a6eSHyok S. Choi	select CPU_TLB_V4WBI if MMU
771da177e4SLinus Torvalds	help
781da177e4SLinus Torvalds	  The ARM920T is licensed to be produced by numerous vendors,
791da177e4SLinus Torvalds	  and is used in the Maverick EP9312 and the Samsung S3C2410.
801da177e4SLinus Torvalds
811da177e4SLinus Torvalds	  More information on the Maverick EP9312 at
821da177e4SLinus Torvalds	  <http://linuxdevices.com/products/PD2382866068.html>.
831da177e4SLinus Torvalds
841da177e4SLinus Torvalds	  Say Y if you want support for the ARM920T processor.
851da177e4SLinus Torvalds	  Otherwise, say N.
861da177e4SLinus Torvalds
871da177e4SLinus Torvalds# ARM922T
881da177e4SLinus Torvaldsconfig CPU_ARM922T
891da177e4SLinus Torvalds	bool "Support ARM922T processor" if ARCH_INTEGRATOR
900fec53a2SRussell King	depends on ARCH_LH7A40X || ARCH_INTEGRATOR
910fec53a2SRussell King	default y if ARCH_LH7A40X
92260e98edSLennert Buytenhek	select CPU_32v4T
931da177e4SLinus Torvalds	select CPU_ABRT_EV4T
941da177e4SLinus Torvalds	select CPU_CACHE_V4WT
951da177e4SLinus Torvalds	select CPU_CACHE_VIVT
96*fefdaa06SHyok S. Choi	select CPU_CP15_MMU
97f9c21a6eSHyok S. Choi	select CPU_COPY_V4WB if MMU
98f9c21a6eSHyok S. Choi	select CPU_TLB_V4WBI if MMU
991da177e4SLinus Torvalds	help
1001da177e4SLinus Torvalds	  The ARM922T is a version of the ARM920T, but with smaller
1011da177e4SLinus Torvalds	  instruction and data caches. It is used in Altera's
1021da177e4SLinus Torvalds	  Excalibur XA device family.
1031da177e4SLinus Torvalds
1041da177e4SLinus Torvalds	  Say Y if you want support for the ARM922T processor.
1051da177e4SLinus Torvalds	  Otherwise, say N.
1061da177e4SLinus Torvalds
1071da177e4SLinus Torvalds# ARM925T
1081da177e4SLinus Torvaldsconfig CPU_ARM925T
109b288f75fSTony Lindgren 	bool "Support ARM925T processor" if ARCH_OMAP1
1103179a019STony Lindgren 	depends on ARCH_OMAP15XX
1113179a019STony Lindgren 	default y if ARCH_OMAP15XX
112260e98edSLennert Buytenhek	select CPU_32v4T
1131da177e4SLinus Torvalds	select CPU_ABRT_EV4T
1141da177e4SLinus Torvalds	select CPU_CACHE_V4WT
1151da177e4SLinus Torvalds	select CPU_CACHE_VIVT
116*fefdaa06SHyok S. Choi	select CPU_CP15_MMU
117f9c21a6eSHyok S. Choi	select CPU_COPY_V4WB if MMU
118f9c21a6eSHyok S. Choi	select CPU_TLB_V4WBI if MMU
1191da177e4SLinus Torvalds 	help
1201da177e4SLinus Torvalds 	  The ARM925T is a mix between the ARM920T and ARM926T, but with
1211da177e4SLinus Torvalds	  different instruction and data caches. It is used in TI's OMAP
1221da177e4SLinus Torvalds 	  device family.
1231da177e4SLinus Torvalds
1241da177e4SLinus Torvalds 	  Say Y if you want support for the ARM925T processor.
1251da177e4SLinus Torvalds 	  Otherwise, say N.
1261da177e4SLinus Torvalds
1271da177e4SLinus Torvalds# ARM926T
1281da177e4SLinus Torvaldsconfig CPU_ARM926T
1298ad68bbfSCatalin Marinas	bool "Support ARM926T processor"
1308fc5ffa0SAndrew Victor	depends on ARCH_INTEGRATOR || ARCH_VERSATILE_PB || MACH_VERSATILE_AB || ARCH_OMAP730 || ARCH_OMAP16XX || MACH_REALVIEW_EB || ARCH_PNX4008 || ARCH_NETX || CPU_S3C2412 || ARCH_AT91SAM9260 || ARCH_AT91SAM9261
1318fc5ffa0SAndrew Victor	default y if ARCH_VERSATILE_PB || MACH_VERSATILE_AB || ARCH_OMAP730 || ARCH_OMAP16XX || ARCH_PNX4008 || ARCH_NETX || CPU_S3C2412 || ARCH_AT91SAM9260 || ARCH_AT91SAM9261
1321da177e4SLinus Torvalds	select CPU_32v5
1331da177e4SLinus Torvalds	select CPU_ABRT_EV5TJ
1341da177e4SLinus Torvalds	select CPU_CACHE_VIVT
135*fefdaa06SHyok S. Choi	select CPU_CP15_MMU
136f9c21a6eSHyok S. Choi	select CPU_COPY_V4WB if MMU
137f9c21a6eSHyok S. Choi	select CPU_TLB_V4WBI if MMU
1381da177e4SLinus Torvalds	help
1391da177e4SLinus Torvalds	  This is a variant of the ARM920.  It has slightly different
1401da177e4SLinus Torvalds	  instruction sequences for cache and TLB operations.  Curiously,
1411da177e4SLinus Torvalds	  there is no documentation on it at the ARM corporate website.
1421da177e4SLinus Torvalds
1431da177e4SLinus Torvalds	  Say Y if you want support for the ARM926T processor.
1441da177e4SLinus Torvalds	  Otherwise, say N.
1451da177e4SLinus Torvalds
1461da177e4SLinus Torvalds# ARM1020 - needs validating
1471da177e4SLinus Torvaldsconfig CPU_ARM1020
1481da177e4SLinus Torvalds	bool "Support ARM1020T (rev 0) processor"
1491da177e4SLinus Torvalds	depends on ARCH_INTEGRATOR
1501da177e4SLinus Torvalds	select CPU_32v5
1511da177e4SLinus Torvalds	select CPU_ABRT_EV4T
1521da177e4SLinus Torvalds	select CPU_CACHE_V4WT
1531da177e4SLinus Torvalds	select CPU_CACHE_VIVT
154*fefdaa06SHyok S. Choi	select CPU_CP15_MMU
155f9c21a6eSHyok S. Choi	select CPU_COPY_V4WB if MMU
156f9c21a6eSHyok S. Choi	select CPU_TLB_V4WBI if MMU
1571da177e4SLinus Torvalds	help
1581da177e4SLinus Torvalds	  The ARM1020 is the 32K cached version of the ARM10 processor,
1591da177e4SLinus Torvalds	  with an addition of a floating-point unit.
1601da177e4SLinus Torvalds
1611da177e4SLinus Torvalds	  Say Y if you want support for the ARM1020 processor.
1621da177e4SLinus Torvalds	  Otherwise, say N.
1631da177e4SLinus Torvalds
1641da177e4SLinus Torvalds# ARM1020E - needs validating
1651da177e4SLinus Torvaldsconfig CPU_ARM1020E
1661da177e4SLinus Torvalds	bool "Support ARM1020E processor"
1671da177e4SLinus Torvalds	depends on ARCH_INTEGRATOR
1681da177e4SLinus Torvalds	select CPU_32v5
1691da177e4SLinus Torvalds	select CPU_ABRT_EV4T
1701da177e4SLinus Torvalds	select CPU_CACHE_V4WT
1711da177e4SLinus Torvalds	select CPU_CACHE_VIVT
172*fefdaa06SHyok S. Choi	select CPU_CP15_MMU
173f9c21a6eSHyok S. Choi	select CPU_COPY_V4WB if MMU
174f9c21a6eSHyok S. Choi	select CPU_TLB_V4WBI if MMU
1751da177e4SLinus Torvalds	depends on n
1761da177e4SLinus Torvalds
1771da177e4SLinus Torvalds# ARM1022E
1781da177e4SLinus Torvaldsconfig CPU_ARM1022
1791da177e4SLinus Torvalds	bool "Support ARM1022E processor"
1801da177e4SLinus Torvalds	depends on ARCH_INTEGRATOR
1811da177e4SLinus Torvalds	select CPU_32v5
1821da177e4SLinus Torvalds	select CPU_ABRT_EV4T
1831da177e4SLinus Torvalds	select CPU_CACHE_VIVT
184*fefdaa06SHyok S. Choi	select CPU_CP15_MMU
185f9c21a6eSHyok S. Choi	select CPU_COPY_V4WB if MMU # can probably do better
186f9c21a6eSHyok S. Choi	select CPU_TLB_V4WBI if MMU
1871da177e4SLinus Torvalds	help
1881da177e4SLinus Torvalds	  The ARM1022E is an implementation of the ARMv5TE architecture
1891da177e4SLinus Torvalds	  based upon the ARM10 integer core with a 16KiB L1 Harvard cache,
1901da177e4SLinus Torvalds	  embedded trace macrocell, and a floating-point unit.
1911da177e4SLinus Torvalds
1921da177e4SLinus Torvalds	  Say Y if you want support for the ARM1022E processor.
1931da177e4SLinus Torvalds	  Otherwise, say N.
1941da177e4SLinus Torvalds
1951da177e4SLinus Torvalds# ARM1026EJ-S
1961da177e4SLinus Torvaldsconfig CPU_ARM1026
1971da177e4SLinus Torvalds	bool "Support ARM1026EJ-S processor"
1981da177e4SLinus Torvalds	depends on ARCH_INTEGRATOR
1991da177e4SLinus Torvalds	select CPU_32v5
2001da177e4SLinus Torvalds	select CPU_ABRT_EV5T # But need Jazelle, but EV5TJ ignores bit 10
2011da177e4SLinus Torvalds	select CPU_CACHE_VIVT
202*fefdaa06SHyok S. Choi	select CPU_CP15_MMU
203f9c21a6eSHyok S. Choi	select CPU_COPY_V4WB if MMU # can probably do better
204f9c21a6eSHyok S. Choi	select CPU_TLB_V4WBI if MMU
2051da177e4SLinus Torvalds	help
2061da177e4SLinus Torvalds	  The ARM1026EJ-S is an implementation of the ARMv5TEJ architecture
2071da177e4SLinus Torvalds	  based upon the ARM10 integer core.
2081da177e4SLinus Torvalds
2091da177e4SLinus Torvalds	  Say Y if you want support for the ARM1026EJ-S processor.
2101da177e4SLinus Torvalds	  Otherwise, say N.
2111da177e4SLinus Torvalds
2121da177e4SLinus Torvalds# SA110
2131da177e4SLinus Torvaldsconfig CPU_SA110
2141da177e4SLinus Torvalds	bool "Support StrongARM(R) SA-110 processor" if !ARCH_EBSA110 && !FOOTBRIDGE && !ARCH_TBOX && !ARCH_SHARK && !ARCH_NEXUSPCI && ARCH_RPC
2151da177e4SLinus Torvalds	default y if ARCH_EBSA110 || FOOTBRIDGE || ARCH_TBOX || ARCH_SHARK || ARCH_NEXUSPCI
2161da177e4SLinus Torvalds	select CPU_32v3 if ARCH_RPC
2171da177e4SLinus Torvalds	select CPU_32v4 if !ARCH_RPC
2181da177e4SLinus Torvalds	select CPU_ABRT_EV4
2191da177e4SLinus Torvalds	select CPU_CACHE_V4WB
2201da177e4SLinus Torvalds	select CPU_CACHE_VIVT
221*fefdaa06SHyok S. Choi	select CPU_CP15_MMU
222f9c21a6eSHyok S. Choi	select CPU_COPY_V4WB if MMU
223f9c21a6eSHyok S. Choi	select CPU_TLB_V4WB if MMU
2241da177e4SLinus Torvalds	help
2251da177e4SLinus Torvalds	  The Intel StrongARM(R) SA-110 is a 32-bit microprocessor and
2261da177e4SLinus Torvalds	  is available at five speeds ranging from 100 MHz to 233 MHz.
2271da177e4SLinus Torvalds	  More information is available at
2281da177e4SLinus Torvalds	  <http://developer.intel.com/design/strong/sa110.htm>.
2291da177e4SLinus Torvalds
2301da177e4SLinus Torvalds	  Say Y if you want support for the SA-110 processor.
2311da177e4SLinus Torvalds	  Otherwise, say N.
2321da177e4SLinus Torvalds
2331da177e4SLinus Torvalds# SA1100
2341da177e4SLinus Torvaldsconfig CPU_SA1100
2351da177e4SLinus Torvalds	bool
2361da177e4SLinus Torvalds	depends on ARCH_SA1100
2371da177e4SLinus Torvalds	default y
2381da177e4SLinus Torvalds	select CPU_32v4
2391da177e4SLinus Torvalds	select CPU_ABRT_EV4
2401da177e4SLinus Torvalds	select CPU_CACHE_V4WB
2411da177e4SLinus Torvalds	select CPU_CACHE_VIVT
242*fefdaa06SHyok S. Choi	select CPU_CP15_MMU
243f9c21a6eSHyok S. Choi	select CPU_TLB_V4WB if MMU
2441da177e4SLinus Torvalds
2451da177e4SLinus Torvalds# XScale
2461da177e4SLinus Torvaldsconfig CPU_XSCALE
2471da177e4SLinus Torvalds	bool
2483f7e5815SLennert Buytenhek	depends on ARCH_IOP32X || ARCH_IOP33X || ARCH_PXA || ARCH_IXP4XX || ARCH_IXP2000
2491da177e4SLinus Torvalds	default y
2501da177e4SLinus Torvalds	select CPU_32v5
2511da177e4SLinus Torvalds	select CPU_ABRT_EV5T
2521da177e4SLinus Torvalds	select CPU_CACHE_VIVT
253*fefdaa06SHyok S. Choi	select CPU_CP15_MMU
254f9c21a6eSHyok S. Choi	select CPU_TLB_V4WBI if MMU
2551da177e4SLinus Torvalds
25623bdf86aSLennert Buytenhek# XScale Core Version 3
25723bdf86aSLennert Buytenhekconfig CPU_XSC3
25823bdf86aSLennert Buytenhek	bool
25923bdf86aSLennert Buytenhek	depends on ARCH_IXP23XX
26023bdf86aSLennert Buytenhek	default y
26123bdf86aSLennert Buytenhek	select CPU_32v5
26223bdf86aSLennert Buytenhek	select CPU_ABRT_EV5T
26323bdf86aSLennert Buytenhek	select CPU_CACHE_VIVT
264*fefdaa06SHyok S. Choi	select CPU_CP15_MMU
265f9c21a6eSHyok S. Choi	select CPU_TLB_V4WBI if MMU
26623bdf86aSLennert Buytenhek	select IO_36
26723bdf86aSLennert Buytenhek
2681da177e4SLinus Torvalds# ARMv6
2691da177e4SLinus Torvaldsconfig CPU_V6
2701da177e4SLinus Torvalds	bool "Support ARM V6 processor"
2711dbae815STony Lindgren	depends on ARCH_INTEGRATOR || MACH_REALVIEW_EB || ARCH_OMAP2
2721da177e4SLinus Torvalds	select CPU_32v6
2731da177e4SLinus Torvalds	select CPU_ABRT_EV6
2741da177e4SLinus Torvalds	select CPU_CACHE_V6
2751da177e4SLinus Torvalds	select CPU_CACHE_VIPT
276*fefdaa06SHyok S. Choi	select CPU_CP15_MMU
277f9c21a6eSHyok S. Choi	select CPU_COPY_V6 if MMU
278f9c21a6eSHyok S. Choi	select CPU_TLB_V6 if MMU
2791da177e4SLinus Torvalds
2804a5f79e7SRussell King# ARMv6k
2814a5f79e7SRussell Kingconfig CPU_32v6K
2824a5f79e7SRussell King	bool "Support ARM V6K processor extensions" if !SMP
2834a5f79e7SRussell King	depends on CPU_V6
2844a5f79e7SRussell King	default y if SMP
2854a5f79e7SRussell King	help
2864a5f79e7SRussell King	  Say Y here if your ARMv6 processor supports the 'K' extension.
2874a5f79e7SRussell King	  This enables the kernel to use some instructions not present
2884a5f79e7SRussell King	  on previous processors, and as such a kernel build with this
2894a5f79e7SRussell King	  enabled will not boot on processors with do not support these
2904a5f79e7SRussell King	  instructions.
2914a5f79e7SRussell King
2921da177e4SLinus Torvalds# Figure out what processor architecture version we should be using.
2931da177e4SLinus Torvalds# This defines the compiler instruction set which depends on the machine type.
2941da177e4SLinus Torvaldsconfig CPU_32v3
2951da177e4SLinus Torvalds	bool
29660b6cf68SRussell King	select TLS_REG_EMUL if SMP || !MMU
29748fa14f7SRussell King	select NEEDS_SYSCALL_FOR_CMPXCHG if SMP
2981da177e4SLinus Torvalds
2991da177e4SLinus Torvaldsconfig CPU_32v4
3001da177e4SLinus Torvalds	bool
30160b6cf68SRussell King	select TLS_REG_EMUL if SMP || !MMU
30248fa14f7SRussell King	select NEEDS_SYSCALL_FOR_CMPXCHG if SMP
3031da177e4SLinus Torvalds
304260e98edSLennert Buytenhekconfig CPU_32v4T
305260e98edSLennert Buytenhek	bool
306260e98edSLennert Buytenhek	select TLS_REG_EMUL if SMP || !MMU
307260e98edSLennert Buytenhek	select NEEDS_SYSCALL_FOR_CMPXCHG if SMP
308260e98edSLennert Buytenhek
3091da177e4SLinus Torvaldsconfig CPU_32v5
3101da177e4SLinus Torvalds	bool
31160b6cf68SRussell King	select TLS_REG_EMUL if SMP || !MMU
31248fa14f7SRussell King	select NEEDS_SYSCALL_FOR_CMPXCHG if SMP
3131da177e4SLinus Torvalds
3141da177e4SLinus Torvaldsconfig CPU_32v6
3151da177e4SLinus Torvalds	bool
3161da177e4SLinus Torvalds
3171da177e4SLinus Torvalds# The abort model
3181da177e4SLinus Torvaldsconfig CPU_ABRT_EV4
3191da177e4SLinus Torvalds	bool
3201da177e4SLinus Torvalds
3211da177e4SLinus Torvaldsconfig CPU_ABRT_EV4T
3221da177e4SLinus Torvalds	bool
3231da177e4SLinus Torvalds
3241da177e4SLinus Torvaldsconfig CPU_ABRT_LV4T
3251da177e4SLinus Torvalds	bool
3261da177e4SLinus Torvalds
3271da177e4SLinus Torvaldsconfig CPU_ABRT_EV5T
3281da177e4SLinus Torvalds	bool
3291da177e4SLinus Torvalds
3301da177e4SLinus Torvaldsconfig CPU_ABRT_EV5TJ
3311da177e4SLinus Torvalds	bool
3321da177e4SLinus Torvalds
3331da177e4SLinus Torvaldsconfig CPU_ABRT_EV6
3341da177e4SLinus Torvalds	bool
3351da177e4SLinus Torvalds
3361da177e4SLinus Torvalds# The cache model
3371da177e4SLinus Torvaldsconfig CPU_CACHE_V3
3381da177e4SLinus Torvalds	bool
3391da177e4SLinus Torvalds
3401da177e4SLinus Torvaldsconfig CPU_CACHE_V4
3411da177e4SLinus Torvalds	bool
3421da177e4SLinus Torvalds
3431da177e4SLinus Torvaldsconfig CPU_CACHE_V4WT
3441da177e4SLinus Torvalds	bool
3451da177e4SLinus Torvalds
3461da177e4SLinus Torvaldsconfig CPU_CACHE_V4WB
3471da177e4SLinus Torvalds	bool
3481da177e4SLinus Torvalds
3491da177e4SLinus Torvaldsconfig CPU_CACHE_V6
3501da177e4SLinus Torvalds	bool
3511da177e4SLinus Torvalds
3521da177e4SLinus Torvaldsconfig CPU_CACHE_VIVT
3531da177e4SLinus Torvalds	bool
3541da177e4SLinus Torvalds
3551da177e4SLinus Torvaldsconfig CPU_CACHE_VIPT
3561da177e4SLinus Torvalds	bool
3571da177e4SLinus Torvalds
358f9c21a6eSHyok S. Choiif MMU
3591da177e4SLinus Torvalds# The copy-page model
3601da177e4SLinus Torvaldsconfig CPU_COPY_V3
3611da177e4SLinus Torvalds	bool
3621da177e4SLinus Torvalds
3631da177e4SLinus Torvaldsconfig CPU_COPY_V4WT
3641da177e4SLinus Torvalds	bool
3651da177e4SLinus Torvalds
3661da177e4SLinus Torvaldsconfig CPU_COPY_V4WB
3671da177e4SLinus Torvalds	bool
3681da177e4SLinus Torvalds
3691da177e4SLinus Torvaldsconfig CPU_COPY_V6
3701da177e4SLinus Torvalds	bool
3711da177e4SLinus Torvalds
3721da177e4SLinus Torvalds# This selects the TLB model
3731da177e4SLinus Torvaldsconfig CPU_TLB_V3
3741da177e4SLinus Torvalds	bool
3751da177e4SLinus Torvalds	help
3761da177e4SLinus Torvalds	  ARM Architecture Version 3 TLB.
3771da177e4SLinus Torvalds
3781da177e4SLinus Torvaldsconfig CPU_TLB_V4WT
3791da177e4SLinus Torvalds	bool
3801da177e4SLinus Torvalds	help
3811da177e4SLinus Torvalds	  ARM Architecture Version 4 TLB with writethrough cache.
3821da177e4SLinus Torvalds
3831da177e4SLinus Torvaldsconfig CPU_TLB_V4WB
3841da177e4SLinus Torvalds	bool
3851da177e4SLinus Torvalds	help
3861da177e4SLinus Torvalds	  ARM Architecture Version 4 TLB with writeback cache.
3871da177e4SLinus Torvalds
3881da177e4SLinus Torvaldsconfig CPU_TLB_V4WBI
3891da177e4SLinus Torvalds	bool
3901da177e4SLinus Torvalds	help
3911da177e4SLinus Torvalds	  ARM Architecture Version 4 TLB with writeback cache and invalidate
3921da177e4SLinus Torvalds	  instruction cache entry.
3931da177e4SLinus Torvalds
3941da177e4SLinus Torvaldsconfig CPU_TLB_V6
3951da177e4SLinus Torvalds	bool
3961da177e4SLinus Torvalds
397f9c21a6eSHyok S. Choiendif
398f9c21a6eSHyok S. Choi
399*fefdaa06SHyok S. Choiconfig CPU_CP15
400*fefdaa06SHyok S. Choi	bool
401*fefdaa06SHyok S. Choi	help
402*fefdaa06SHyok S. Choi	  Processor has the CP15 register.
403*fefdaa06SHyok S. Choi
404*fefdaa06SHyok S. Choiconfig CPU_CP15_MMU
405*fefdaa06SHyok S. Choi	bool
406*fefdaa06SHyok S. Choi	select CPU_CP15
407*fefdaa06SHyok S. Choi	help
408*fefdaa06SHyok S. Choi	  Processor has the CP15 register, which has MMU related registers.
409*fefdaa06SHyok S. Choi
410*fefdaa06SHyok S. Choiconfig CPU_CP15_MPU
411*fefdaa06SHyok S. Choi	bool
412*fefdaa06SHyok S. Choi	select CPU_CP15
413*fefdaa06SHyok S. Choi	help
414*fefdaa06SHyok S. Choi	  Processor has the CP15 register, which has MPU related registers.
415*fefdaa06SHyok S. Choi
41623bdf86aSLennert Buytenhek#
41723bdf86aSLennert Buytenhek# CPU supports 36-bit I/O
41823bdf86aSLennert Buytenhek#
41923bdf86aSLennert Buytenhekconfig IO_36
42023bdf86aSLennert Buytenhek	bool
42123bdf86aSLennert Buytenhek
4221da177e4SLinus Torvaldscomment "Processor Features"
4231da177e4SLinus Torvalds
4241da177e4SLinus Torvaldsconfig ARM_THUMB
4251da177e4SLinus Torvalds	bool "Support Thumb user binaries"
42623bdf86aSLennert Buytenhek	depends on CPU_ARM720T || CPU_ARM920T || CPU_ARM922T || CPU_ARM925T || CPU_ARM926T || CPU_ARM1020 || CPU_ARM1020E || CPU_ARM1022 || CPU_ARM1026 || CPU_XSCALE || CPU_XSC3 || CPU_V6
4271da177e4SLinus Torvalds	default y
4281da177e4SLinus Torvalds	help
4291da177e4SLinus Torvalds	  Say Y if you want to include kernel support for running user space
4301da177e4SLinus Torvalds	  Thumb binaries.
4311da177e4SLinus Torvalds
4321da177e4SLinus Torvalds	  The Thumb instruction set is a compressed form of the standard ARM
4331da177e4SLinus Torvalds	  instruction set resulting in smaller binaries at the expense of
4341da177e4SLinus Torvalds	  slightly less efficient code.
4351da177e4SLinus Torvalds
4361da177e4SLinus Torvalds	  If you don't know what this all is, saying Y is a safe choice.
4371da177e4SLinus Torvalds
4381da177e4SLinus Torvaldsconfig CPU_BIG_ENDIAN
4391da177e4SLinus Torvalds	bool "Build big-endian kernel"
4401da177e4SLinus Torvalds	depends on ARCH_SUPPORTS_BIG_ENDIAN
4411da177e4SLinus Torvalds	help
4421da177e4SLinus Torvalds	  Say Y if you plan on running a kernel in big-endian mode.
4431da177e4SLinus Torvalds	  Note that your board must be properly built and your board
4441da177e4SLinus Torvalds	  port must properly enable any big-endian related features
4451da177e4SLinus Torvalds	  of your chipset/board/processor.
4461da177e4SLinus Torvalds
4471da177e4SLinus Torvaldsconfig CPU_ICACHE_DISABLE
4481da177e4SLinus Torvalds	bool "Disable I-Cache"
449e03eb527SCatalin Marinas	depends on CPU_ARM920T || CPU_ARM922T || CPU_ARM925T || CPU_ARM926T || CPU_ARM1020 || CPU_V6
4501da177e4SLinus Torvalds	help
4511da177e4SLinus Torvalds	  Say Y here to disable the processor instruction cache. Unless
4521da177e4SLinus Torvalds	  you have a reason not to or are unsure, say N.
4531da177e4SLinus Torvalds
4541da177e4SLinus Torvaldsconfig CPU_DCACHE_DISABLE
4551da177e4SLinus Torvalds	bool "Disable D-Cache"
456e03eb527SCatalin Marinas	depends on CPU_ARM920T || CPU_ARM922T || CPU_ARM925T || CPU_ARM926T || CPU_ARM1020 || CPU_V6
4571da177e4SLinus Torvalds	help
4581da177e4SLinus Torvalds	  Say Y here to disable the processor data cache. Unless
4591da177e4SLinus Torvalds	  you have a reason not to or are unsure, say N.
4601da177e4SLinus Torvalds
4611da177e4SLinus Torvaldsconfig CPU_DCACHE_WRITETHROUGH
4621da177e4SLinus Torvalds	bool "Force write through D-cache"
463e03eb527SCatalin Marinas	depends on (CPU_ARM920T || CPU_ARM922T || CPU_ARM925T || CPU_ARM926T || CPU_ARM1020 || CPU_V6) && !CPU_DCACHE_DISABLE
4641da177e4SLinus Torvalds	default y if CPU_ARM925T
4651da177e4SLinus Torvalds	help
4661da177e4SLinus Torvalds	  Say Y here to use the data cache in writethrough mode. Unless you
4671da177e4SLinus Torvalds	  specifically require this or are unsure, say N.
4681da177e4SLinus Torvalds
4691da177e4SLinus Torvaldsconfig CPU_CACHE_ROUND_ROBIN
4701da177e4SLinus Torvalds	bool "Round robin I and D cache replacement algorithm"
4711da177e4SLinus Torvalds	depends on (CPU_ARM926T || CPU_ARM1020) && (!CPU_ICACHE_DISABLE || !CPU_DCACHE_DISABLE)
4721da177e4SLinus Torvalds	help
4731da177e4SLinus Torvalds	  Say Y here to use the predictable round-robin cache replacement
4741da177e4SLinus Torvalds	  policy.  Unless you specifically require this or are unsure, say N.
4751da177e4SLinus Torvalds
4761da177e4SLinus Torvaldsconfig CPU_BPREDICT_DISABLE
4771da177e4SLinus Torvalds	bool "Disable branch prediction"
478e03eb527SCatalin Marinas	depends on CPU_ARM1020 || CPU_V6
4791da177e4SLinus Torvalds	help
4801da177e4SLinus Torvalds	  Say Y here to disable branch prediction.  If unsure, say N.
4812d2669b6SNicolas Pitre
4824b0e07a5SNicolas Pitreconfig TLS_REG_EMUL
4834b0e07a5SNicolas Pitre	bool
4844b0e07a5SNicolas Pitre	help
48570489c88SNicolas Pitre	  An SMP system using a pre-ARMv6 processor (there are apparently
48670489c88SNicolas Pitre	  a few prototypes like that in existence) and therefore access to
48770489c88SNicolas Pitre	  that required register must be emulated.
4884b0e07a5SNicolas Pitre
4892d2669b6SNicolas Pitreconfig HAS_TLS_REG
4902d2669b6SNicolas Pitre	bool
49170489c88SNicolas Pitre	depends on !TLS_REG_EMUL
49270489c88SNicolas Pitre	default y if SMP || CPU_32v7
4932d2669b6SNicolas Pitre	help
4942d2669b6SNicolas Pitre	  This selects support for the CP15 thread register.
49570489c88SNicolas Pitre	  It is defined to be available on some ARMv6 processors (including
49670489c88SNicolas Pitre	  all SMP capable ARMv6's) or later processors.  User space may
49770489c88SNicolas Pitre	  assume directly accessing that register and always obtain the
49870489c88SNicolas Pitre	  expected value only on ARMv7 and above.
4992d2669b6SNicolas Pitre
500dcef1f63SNicolas Pitreconfig NEEDS_SYSCALL_FOR_CMPXCHG
501dcef1f63SNicolas Pitre	bool
502dcef1f63SNicolas Pitre	help
503dcef1f63SNicolas Pitre	  SMP on a pre-ARMv6 processor?  Well OK then.
504dcef1f63SNicolas Pitre	  Forget about fast user space cmpxchg support.
505dcef1f63SNicolas Pitre	  It is just not possible.
506dcef1f63SNicolas Pitre
507