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 18fefdaa06SHyok 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 2807e0da78SHyok S. Choi# ARM7TDMI 2907e0da78SHyok S. Choiconfig CPU_ARM7TDMI 3007e0da78SHyok S. Choi bool "Support ARM7TDMI processor" 3107e0da78SHyok S. Choi select CPU_32v4T 3207e0da78SHyok S. Choi select CPU_ABRT_LV4T 3307e0da78SHyok S. Choi select CPU_CACHE_V4 3407e0da78SHyok S. Choi help 3507e0da78SHyok S. Choi A 32-bit RISC microprocessor based on the ARM7 processor core 3607e0da78SHyok S. Choi which has no memory control unit and cache. 3707e0da78SHyok S. Choi 3807e0da78SHyok S. Choi Say Y if you want support for the ARM7TDMI processor. 3907e0da78SHyok S. Choi Otherwise, say N. 4007e0da78SHyok S. Choi 411da177e4SLinus Torvalds# ARM710 421da177e4SLinus Torvaldsconfig CPU_ARM710 431da177e4SLinus Torvalds bool "Support ARM710 processor" if !ARCH_CLPS7500 && ARCH_RPC 441da177e4SLinus Torvalds default y if ARCH_CLPS7500 451da177e4SLinus Torvalds select CPU_32v3 461da177e4SLinus Torvalds select CPU_CACHE_V3 471da177e4SLinus Torvalds select CPU_CACHE_VIVT 48fefdaa06SHyok S. Choi select CPU_CP15_MMU 49f9c21a6eSHyok S. Choi select CPU_COPY_V3 if MMU 50f9c21a6eSHyok S. Choi select CPU_TLB_V3 if MMU 511da177e4SLinus Torvalds help 521da177e4SLinus Torvalds A 32-bit RISC microprocessor based on the ARM7 processor core 531da177e4SLinus Torvalds designed by Advanced RISC Machines Ltd. The ARM710 is the 541da177e4SLinus Torvalds successor to the ARM610 processor. It was released in 551da177e4SLinus Torvalds July 1994 by VLSI Technology Inc. 561da177e4SLinus Torvalds 571da177e4SLinus Torvalds Say Y if you want support for the ARM710 processor. 581da177e4SLinus Torvalds Otherwise, say N. 591da177e4SLinus Torvalds 601da177e4SLinus Torvalds# ARM720T 611da177e4SLinus Torvaldsconfig CPU_ARM720T 621da177e4SLinus Torvalds bool "Support ARM720T processor" if !ARCH_CLPS711X && !ARCH_L7200 && !ARCH_CDB89712 && ARCH_INTEGRATOR 631da177e4SLinus Torvalds default y if ARCH_CLPS711X || ARCH_L7200 || ARCH_CDB89712 || ARCH_H720X 64260e98edSLennert Buytenhek select CPU_32v4T 651da177e4SLinus Torvalds select CPU_ABRT_LV4T 661da177e4SLinus Torvalds select CPU_CACHE_V4 671da177e4SLinus Torvalds select CPU_CACHE_VIVT 68fefdaa06SHyok S. Choi select CPU_CP15_MMU 69f9c21a6eSHyok S. Choi select CPU_COPY_V4WT if MMU 70f9c21a6eSHyok S. Choi select CPU_TLB_V4WT if MMU 711da177e4SLinus Torvalds help 721da177e4SLinus Torvalds A 32-bit RISC processor with 8kByte Cache, Write Buffer and 731da177e4SLinus Torvalds MMU built around an ARM7TDMI core. 741da177e4SLinus Torvalds 751da177e4SLinus Torvalds Say Y if you want support for the ARM720T processor. 761da177e4SLinus Torvalds Otherwise, say N. 771da177e4SLinus Torvalds 78b731c311SHyok S. Choi# ARM740T 79b731c311SHyok S. Choiconfig CPU_ARM740T 80b731c311SHyok S. Choi bool "Support ARM740T processor" if ARCH_INTEGRATOR 81b731c311SHyok S. Choi select CPU_32v4T 82b731c311SHyok S. Choi select CPU_ABRT_LV4T 83b731c311SHyok S. Choi select CPU_CACHE_V3 # although the core is v4t 84b731c311SHyok S. Choi select CPU_CP15_MPU 85b731c311SHyok S. Choi help 86b731c311SHyok S. Choi A 32-bit RISC processor with 8KB cache or 4KB variants, 87b731c311SHyok S. Choi write buffer and MPU(Protection Unit) built around 88b731c311SHyok S. Choi an ARM7TDMI core. 89b731c311SHyok S. Choi 90b731c311SHyok S. Choi Say Y if you want support for the ARM740T processor. 91b731c311SHyok S. Choi Otherwise, say N. 92b731c311SHyok S. Choi 93*43f5f014SHyok S. Choi# ARM9TDMI 94*43f5f014SHyok S. Choiconfig CPU_ARM9TDMI 95*43f5f014SHyok S. Choi bool "Support ARM9TDMI processor" 96*43f5f014SHyok S. Choi select CPU_32v4T 97*43f5f014SHyok S. Choi select CPU_ABRT_EV4T 98*43f5f014SHyok S. Choi select CPU_CACHE_V4 99*43f5f014SHyok S. Choi help 100*43f5f014SHyok S. Choi A 32-bit RISC microprocessor based on the ARM9 processor core 101*43f5f014SHyok S. Choi which has no memory control unit and cache. 102*43f5f014SHyok S. Choi 103*43f5f014SHyok S. Choi Say Y if you want support for the ARM9TDMI processor. 104*43f5f014SHyok S. Choi Otherwise, say N. 105*43f5f014SHyok S. Choi 1061da177e4SLinus Torvalds# ARM920T 1071da177e4SLinus Torvaldsconfig CPU_ARM920T 1083434d9d9SBen Dooks bool "Support ARM920T processor" 1093434d9d9SBen Dooks depends on ARCH_EP93XX || ARCH_INTEGRATOR || CPU_S3C2410 || CPU_S3C2440 || CPU_S3C2442 || ARCH_IMX || ARCH_AAEC2000 || ARCH_AT91RM9200 1103434d9d9SBen Dooks default y if CPU_S3C2410 || CPU_S3C2440 || CPU_S3C2442 || ARCH_AT91RM9200 111260e98edSLennert Buytenhek select CPU_32v4T 1121da177e4SLinus Torvalds select CPU_ABRT_EV4T 1131da177e4SLinus Torvalds select CPU_CACHE_V4WT 1141da177e4SLinus Torvalds select CPU_CACHE_VIVT 115fefdaa06SHyok S. Choi select CPU_CP15_MMU 116f9c21a6eSHyok S. Choi select CPU_COPY_V4WB if MMU 117f9c21a6eSHyok S. Choi select CPU_TLB_V4WBI if MMU 1181da177e4SLinus Torvalds help 1191da177e4SLinus Torvalds The ARM920T is licensed to be produced by numerous vendors, 1201da177e4SLinus Torvalds and is used in the Maverick EP9312 and the Samsung S3C2410. 1211da177e4SLinus Torvalds 1221da177e4SLinus Torvalds More information on the Maverick EP9312 at 1231da177e4SLinus Torvalds <http://linuxdevices.com/products/PD2382866068.html>. 1241da177e4SLinus Torvalds 1251da177e4SLinus Torvalds Say Y if you want support for the ARM920T processor. 1261da177e4SLinus Torvalds Otherwise, say N. 1271da177e4SLinus Torvalds 1281da177e4SLinus Torvalds# ARM922T 1291da177e4SLinus Torvaldsconfig CPU_ARM922T 1301da177e4SLinus Torvalds bool "Support ARM922T processor" if ARCH_INTEGRATOR 1310fec53a2SRussell King depends on ARCH_LH7A40X || ARCH_INTEGRATOR 1320fec53a2SRussell King default y if ARCH_LH7A40X 133260e98edSLennert Buytenhek select CPU_32v4T 1341da177e4SLinus Torvalds select CPU_ABRT_EV4T 1351da177e4SLinus Torvalds select CPU_CACHE_V4WT 1361da177e4SLinus Torvalds select CPU_CACHE_VIVT 137fefdaa06SHyok S. Choi select CPU_CP15_MMU 138f9c21a6eSHyok S. Choi select CPU_COPY_V4WB if MMU 139f9c21a6eSHyok S. Choi select CPU_TLB_V4WBI if MMU 1401da177e4SLinus Torvalds help 1411da177e4SLinus Torvalds The ARM922T is a version of the ARM920T, but with smaller 1421da177e4SLinus Torvalds instruction and data caches. It is used in Altera's 1431da177e4SLinus Torvalds Excalibur XA device family. 1441da177e4SLinus Torvalds 1451da177e4SLinus Torvalds Say Y if you want support for the ARM922T processor. 1461da177e4SLinus Torvalds Otherwise, say N. 1471da177e4SLinus Torvalds 1481da177e4SLinus Torvalds# ARM925T 1491da177e4SLinus Torvaldsconfig CPU_ARM925T 150b288f75fSTony Lindgren bool "Support ARM925T processor" if ARCH_OMAP1 1513179a019STony Lindgren depends on ARCH_OMAP15XX 1523179a019STony Lindgren default y if ARCH_OMAP15XX 153260e98edSLennert Buytenhek select CPU_32v4T 1541da177e4SLinus Torvalds select CPU_ABRT_EV4T 1551da177e4SLinus Torvalds select CPU_CACHE_V4WT 1561da177e4SLinus Torvalds select CPU_CACHE_VIVT 157fefdaa06SHyok S. Choi select CPU_CP15_MMU 158f9c21a6eSHyok S. Choi select CPU_COPY_V4WB if MMU 159f9c21a6eSHyok S. Choi select CPU_TLB_V4WBI if MMU 1601da177e4SLinus Torvalds help 1611da177e4SLinus Torvalds The ARM925T is a mix between the ARM920T and ARM926T, but with 1621da177e4SLinus Torvalds different instruction and data caches. It is used in TI's OMAP 1631da177e4SLinus Torvalds device family. 1641da177e4SLinus Torvalds 1651da177e4SLinus Torvalds Say Y if you want support for the ARM925T processor. 1661da177e4SLinus Torvalds Otherwise, say N. 1671da177e4SLinus Torvalds 1681da177e4SLinus Torvalds# ARM926T 1691da177e4SLinus Torvaldsconfig CPU_ARM926T 1708ad68bbfSCatalin Marinas bool "Support ARM926T processor" 1718fc5ffa0SAndrew 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 1728fc5ffa0SAndrew Victor default y if ARCH_VERSATILE_PB || MACH_VERSATILE_AB || ARCH_OMAP730 || ARCH_OMAP16XX || ARCH_PNX4008 || ARCH_NETX || CPU_S3C2412 || ARCH_AT91SAM9260 || ARCH_AT91SAM9261 1731da177e4SLinus Torvalds select CPU_32v5 1741da177e4SLinus Torvalds select CPU_ABRT_EV5TJ 1751da177e4SLinus Torvalds select CPU_CACHE_VIVT 176fefdaa06SHyok S. Choi select CPU_CP15_MMU 177f9c21a6eSHyok S. Choi select CPU_COPY_V4WB if MMU 178f9c21a6eSHyok S. Choi select CPU_TLB_V4WBI if MMU 1791da177e4SLinus Torvalds help 1801da177e4SLinus Torvalds This is a variant of the ARM920. It has slightly different 1811da177e4SLinus Torvalds instruction sequences for cache and TLB operations. Curiously, 1821da177e4SLinus Torvalds there is no documentation on it at the ARM corporate website. 1831da177e4SLinus Torvalds 1841da177e4SLinus Torvalds Say Y if you want support for the ARM926T processor. 1851da177e4SLinus Torvalds Otherwise, say N. 1861da177e4SLinus Torvalds 1871da177e4SLinus Torvalds# ARM1020 - needs validating 1881da177e4SLinus Torvaldsconfig CPU_ARM1020 1891da177e4SLinus Torvalds bool "Support ARM1020T (rev 0) processor" 1901da177e4SLinus Torvalds depends on ARCH_INTEGRATOR 1911da177e4SLinus Torvalds select CPU_32v5 1921da177e4SLinus Torvalds select CPU_ABRT_EV4T 1931da177e4SLinus Torvalds select CPU_CACHE_V4WT 1941da177e4SLinus Torvalds select CPU_CACHE_VIVT 195fefdaa06SHyok S. Choi select CPU_CP15_MMU 196f9c21a6eSHyok S. Choi select CPU_COPY_V4WB if MMU 197f9c21a6eSHyok S. Choi select CPU_TLB_V4WBI if MMU 1981da177e4SLinus Torvalds help 1991da177e4SLinus Torvalds The ARM1020 is the 32K cached version of the ARM10 processor, 2001da177e4SLinus Torvalds with an addition of a floating-point unit. 2011da177e4SLinus Torvalds 2021da177e4SLinus Torvalds Say Y if you want support for the ARM1020 processor. 2031da177e4SLinus Torvalds Otherwise, say N. 2041da177e4SLinus Torvalds 2051da177e4SLinus Torvalds# ARM1020E - needs validating 2061da177e4SLinus Torvaldsconfig CPU_ARM1020E 2071da177e4SLinus Torvalds bool "Support ARM1020E processor" 2081da177e4SLinus Torvalds depends on ARCH_INTEGRATOR 2091da177e4SLinus Torvalds select CPU_32v5 2101da177e4SLinus Torvalds select CPU_ABRT_EV4T 2111da177e4SLinus Torvalds select CPU_CACHE_V4WT 2121da177e4SLinus Torvalds select CPU_CACHE_VIVT 213fefdaa06SHyok S. Choi select CPU_CP15_MMU 214f9c21a6eSHyok S. Choi select CPU_COPY_V4WB if MMU 215f9c21a6eSHyok S. Choi select CPU_TLB_V4WBI if MMU 2161da177e4SLinus Torvalds depends on n 2171da177e4SLinus Torvalds 2181da177e4SLinus Torvalds# ARM1022E 2191da177e4SLinus Torvaldsconfig CPU_ARM1022 2201da177e4SLinus Torvalds bool "Support ARM1022E processor" 2211da177e4SLinus Torvalds depends on ARCH_INTEGRATOR 2221da177e4SLinus Torvalds select CPU_32v5 2231da177e4SLinus Torvalds select CPU_ABRT_EV4T 2241da177e4SLinus Torvalds select CPU_CACHE_VIVT 225fefdaa06SHyok S. Choi select CPU_CP15_MMU 226f9c21a6eSHyok S. Choi select CPU_COPY_V4WB if MMU # can probably do better 227f9c21a6eSHyok S. Choi select CPU_TLB_V4WBI if MMU 2281da177e4SLinus Torvalds help 2291da177e4SLinus Torvalds The ARM1022E is an implementation of the ARMv5TE architecture 2301da177e4SLinus Torvalds based upon the ARM10 integer core with a 16KiB L1 Harvard cache, 2311da177e4SLinus Torvalds embedded trace macrocell, and a floating-point unit. 2321da177e4SLinus Torvalds 2331da177e4SLinus Torvalds Say Y if you want support for the ARM1022E processor. 2341da177e4SLinus Torvalds Otherwise, say N. 2351da177e4SLinus Torvalds 2361da177e4SLinus Torvalds# ARM1026EJ-S 2371da177e4SLinus Torvaldsconfig CPU_ARM1026 2381da177e4SLinus Torvalds bool "Support ARM1026EJ-S processor" 2391da177e4SLinus Torvalds depends on ARCH_INTEGRATOR 2401da177e4SLinus Torvalds select CPU_32v5 2411da177e4SLinus Torvalds select CPU_ABRT_EV5T # But need Jazelle, but EV5TJ ignores bit 10 2421da177e4SLinus Torvalds select CPU_CACHE_VIVT 243fefdaa06SHyok S. Choi select CPU_CP15_MMU 244f9c21a6eSHyok S. Choi select CPU_COPY_V4WB if MMU # can probably do better 245f9c21a6eSHyok S. Choi select CPU_TLB_V4WBI if MMU 2461da177e4SLinus Torvalds help 2471da177e4SLinus Torvalds The ARM1026EJ-S is an implementation of the ARMv5TEJ architecture 2481da177e4SLinus Torvalds based upon the ARM10 integer core. 2491da177e4SLinus Torvalds 2501da177e4SLinus Torvalds Say Y if you want support for the ARM1026EJ-S processor. 2511da177e4SLinus Torvalds Otherwise, say N. 2521da177e4SLinus Torvalds 2531da177e4SLinus Torvalds# SA110 2541da177e4SLinus Torvaldsconfig CPU_SA110 2551da177e4SLinus Torvalds bool "Support StrongARM(R) SA-110 processor" if !ARCH_EBSA110 && !FOOTBRIDGE && !ARCH_TBOX && !ARCH_SHARK && !ARCH_NEXUSPCI && ARCH_RPC 2561da177e4SLinus Torvalds default y if ARCH_EBSA110 || FOOTBRIDGE || ARCH_TBOX || ARCH_SHARK || ARCH_NEXUSPCI 2571da177e4SLinus Torvalds select CPU_32v3 if ARCH_RPC 2581da177e4SLinus Torvalds select CPU_32v4 if !ARCH_RPC 2591da177e4SLinus Torvalds select CPU_ABRT_EV4 2601da177e4SLinus Torvalds select CPU_CACHE_V4WB 2611da177e4SLinus Torvalds select CPU_CACHE_VIVT 262fefdaa06SHyok S. Choi select CPU_CP15_MMU 263f9c21a6eSHyok S. Choi select CPU_COPY_V4WB if MMU 264f9c21a6eSHyok S. Choi select CPU_TLB_V4WB if MMU 2651da177e4SLinus Torvalds help 2661da177e4SLinus Torvalds The Intel StrongARM(R) SA-110 is a 32-bit microprocessor and 2671da177e4SLinus Torvalds is available at five speeds ranging from 100 MHz to 233 MHz. 2681da177e4SLinus Torvalds More information is available at 2691da177e4SLinus Torvalds <http://developer.intel.com/design/strong/sa110.htm>. 2701da177e4SLinus Torvalds 2711da177e4SLinus Torvalds Say Y if you want support for the SA-110 processor. 2721da177e4SLinus Torvalds Otherwise, say N. 2731da177e4SLinus Torvalds 2741da177e4SLinus Torvalds# SA1100 2751da177e4SLinus Torvaldsconfig CPU_SA1100 2761da177e4SLinus Torvalds bool 2771da177e4SLinus Torvalds depends on ARCH_SA1100 2781da177e4SLinus Torvalds default y 2791da177e4SLinus Torvalds select CPU_32v4 2801da177e4SLinus Torvalds select CPU_ABRT_EV4 2811da177e4SLinus Torvalds select CPU_CACHE_V4WB 2821da177e4SLinus Torvalds select CPU_CACHE_VIVT 283fefdaa06SHyok S. Choi select CPU_CP15_MMU 284f9c21a6eSHyok S. Choi select CPU_TLB_V4WB if MMU 2851da177e4SLinus Torvalds 2861da177e4SLinus Torvalds# XScale 2871da177e4SLinus Torvaldsconfig CPU_XSCALE 2881da177e4SLinus Torvalds bool 2893f7e5815SLennert Buytenhek depends on ARCH_IOP32X || ARCH_IOP33X || ARCH_PXA || ARCH_IXP4XX || ARCH_IXP2000 2901da177e4SLinus Torvalds default y 2911da177e4SLinus Torvalds select CPU_32v5 2921da177e4SLinus Torvalds select CPU_ABRT_EV5T 2931da177e4SLinus Torvalds select CPU_CACHE_VIVT 294fefdaa06SHyok S. Choi select CPU_CP15_MMU 295f9c21a6eSHyok S. Choi select CPU_TLB_V4WBI if MMU 2961da177e4SLinus Torvalds 29723bdf86aSLennert Buytenhek# XScale Core Version 3 29823bdf86aSLennert Buytenhekconfig CPU_XSC3 29923bdf86aSLennert Buytenhek bool 30023bdf86aSLennert Buytenhek depends on ARCH_IXP23XX 30123bdf86aSLennert Buytenhek default y 30223bdf86aSLennert Buytenhek select CPU_32v5 30323bdf86aSLennert Buytenhek select CPU_ABRT_EV5T 30423bdf86aSLennert Buytenhek select CPU_CACHE_VIVT 305fefdaa06SHyok S. Choi select CPU_CP15_MMU 306f9c21a6eSHyok S. Choi select CPU_TLB_V4WBI if MMU 30723bdf86aSLennert Buytenhek select IO_36 30823bdf86aSLennert Buytenhek 3091da177e4SLinus Torvalds# ARMv6 3101da177e4SLinus Torvaldsconfig CPU_V6 3111da177e4SLinus Torvalds bool "Support ARM V6 processor" 3121dbae815STony Lindgren depends on ARCH_INTEGRATOR || MACH_REALVIEW_EB || ARCH_OMAP2 3131da177e4SLinus Torvalds select CPU_32v6 3141da177e4SLinus Torvalds select CPU_ABRT_EV6 3151da177e4SLinus Torvalds select CPU_CACHE_V6 3161da177e4SLinus Torvalds select CPU_CACHE_VIPT 317fefdaa06SHyok S. Choi select CPU_CP15_MMU 318f9c21a6eSHyok S. Choi select CPU_COPY_V6 if MMU 319f9c21a6eSHyok S. Choi select CPU_TLB_V6 if MMU 3201da177e4SLinus Torvalds 3214a5f79e7SRussell King# ARMv6k 3224a5f79e7SRussell Kingconfig CPU_32v6K 3234a5f79e7SRussell King bool "Support ARM V6K processor extensions" if !SMP 3244a5f79e7SRussell King depends on CPU_V6 3254a5f79e7SRussell King default y if SMP 3264a5f79e7SRussell King help 3274a5f79e7SRussell King Say Y here if your ARMv6 processor supports the 'K' extension. 3284a5f79e7SRussell King This enables the kernel to use some instructions not present 3294a5f79e7SRussell King on previous processors, and as such a kernel build with this 3304a5f79e7SRussell King enabled will not boot on processors with do not support these 3314a5f79e7SRussell King instructions. 3324a5f79e7SRussell King 3331da177e4SLinus Torvalds# Figure out what processor architecture version we should be using. 3341da177e4SLinus Torvalds# This defines the compiler instruction set which depends on the machine type. 3351da177e4SLinus Torvaldsconfig CPU_32v3 3361da177e4SLinus Torvalds bool 33760b6cf68SRussell King select TLS_REG_EMUL if SMP || !MMU 33848fa14f7SRussell King select NEEDS_SYSCALL_FOR_CMPXCHG if SMP 3391da177e4SLinus Torvalds 3401da177e4SLinus Torvaldsconfig CPU_32v4 3411da177e4SLinus Torvalds bool 34260b6cf68SRussell King select TLS_REG_EMUL if SMP || !MMU 34348fa14f7SRussell King select NEEDS_SYSCALL_FOR_CMPXCHG if SMP 3441da177e4SLinus Torvalds 345260e98edSLennert Buytenhekconfig CPU_32v4T 346260e98edSLennert Buytenhek bool 347260e98edSLennert Buytenhek select TLS_REG_EMUL if SMP || !MMU 348260e98edSLennert Buytenhek select NEEDS_SYSCALL_FOR_CMPXCHG if SMP 349260e98edSLennert Buytenhek 3501da177e4SLinus Torvaldsconfig CPU_32v5 3511da177e4SLinus Torvalds bool 35260b6cf68SRussell King select TLS_REG_EMUL if SMP || !MMU 35348fa14f7SRussell King select NEEDS_SYSCALL_FOR_CMPXCHG if SMP 3541da177e4SLinus Torvalds 3551da177e4SLinus Torvaldsconfig CPU_32v6 3561da177e4SLinus Torvalds bool 3571da177e4SLinus Torvalds 3581da177e4SLinus Torvalds# The abort model 3591da177e4SLinus Torvaldsconfig CPU_ABRT_EV4 3601da177e4SLinus Torvalds bool 3611da177e4SLinus Torvalds 3621da177e4SLinus Torvaldsconfig CPU_ABRT_EV4T 3631da177e4SLinus Torvalds bool 3641da177e4SLinus Torvalds 3651da177e4SLinus Torvaldsconfig CPU_ABRT_LV4T 3661da177e4SLinus Torvalds bool 3671da177e4SLinus Torvalds 3681da177e4SLinus Torvaldsconfig CPU_ABRT_EV5T 3691da177e4SLinus Torvalds bool 3701da177e4SLinus Torvalds 3711da177e4SLinus Torvaldsconfig CPU_ABRT_EV5TJ 3721da177e4SLinus Torvalds bool 3731da177e4SLinus Torvalds 3741da177e4SLinus Torvaldsconfig CPU_ABRT_EV6 3751da177e4SLinus Torvalds bool 3761da177e4SLinus Torvalds 3771da177e4SLinus Torvalds# The cache model 3781da177e4SLinus Torvaldsconfig CPU_CACHE_V3 3791da177e4SLinus Torvalds bool 3801da177e4SLinus Torvalds 3811da177e4SLinus Torvaldsconfig CPU_CACHE_V4 3821da177e4SLinus Torvalds bool 3831da177e4SLinus Torvalds 3841da177e4SLinus Torvaldsconfig CPU_CACHE_V4WT 3851da177e4SLinus Torvalds bool 3861da177e4SLinus Torvalds 3871da177e4SLinus Torvaldsconfig CPU_CACHE_V4WB 3881da177e4SLinus Torvalds bool 3891da177e4SLinus Torvalds 3901da177e4SLinus Torvaldsconfig CPU_CACHE_V6 3911da177e4SLinus Torvalds bool 3921da177e4SLinus Torvalds 3931da177e4SLinus Torvaldsconfig CPU_CACHE_VIVT 3941da177e4SLinus Torvalds bool 3951da177e4SLinus Torvalds 3961da177e4SLinus Torvaldsconfig CPU_CACHE_VIPT 3971da177e4SLinus Torvalds bool 3981da177e4SLinus Torvalds 399f9c21a6eSHyok S. Choiif MMU 4001da177e4SLinus Torvalds# The copy-page model 4011da177e4SLinus Torvaldsconfig CPU_COPY_V3 4021da177e4SLinus Torvalds bool 4031da177e4SLinus Torvalds 4041da177e4SLinus Torvaldsconfig CPU_COPY_V4WT 4051da177e4SLinus Torvalds bool 4061da177e4SLinus Torvalds 4071da177e4SLinus Torvaldsconfig CPU_COPY_V4WB 4081da177e4SLinus Torvalds bool 4091da177e4SLinus Torvalds 4101da177e4SLinus Torvaldsconfig CPU_COPY_V6 4111da177e4SLinus Torvalds bool 4121da177e4SLinus Torvalds 4131da177e4SLinus Torvalds# This selects the TLB model 4141da177e4SLinus Torvaldsconfig CPU_TLB_V3 4151da177e4SLinus Torvalds bool 4161da177e4SLinus Torvalds help 4171da177e4SLinus Torvalds ARM Architecture Version 3 TLB. 4181da177e4SLinus Torvalds 4191da177e4SLinus Torvaldsconfig CPU_TLB_V4WT 4201da177e4SLinus Torvalds bool 4211da177e4SLinus Torvalds help 4221da177e4SLinus Torvalds ARM Architecture Version 4 TLB with writethrough cache. 4231da177e4SLinus Torvalds 4241da177e4SLinus Torvaldsconfig CPU_TLB_V4WB 4251da177e4SLinus Torvalds bool 4261da177e4SLinus Torvalds help 4271da177e4SLinus Torvalds ARM Architecture Version 4 TLB with writeback cache. 4281da177e4SLinus Torvalds 4291da177e4SLinus Torvaldsconfig CPU_TLB_V4WBI 4301da177e4SLinus Torvalds bool 4311da177e4SLinus Torvalds help 4321da177e4SLinus Torvalds ARM Architecture Version 4 TLB with writeback cache and invalidate 4331da177e4SLinus Torvalds instruction cache entry. 4341da177e4SLinus Torvalds 4351da177e4SLinus Torvaldsconfig CPU_TLB_V6 4361da177e4SLinus Torvalds bool 4371da177e4SLinus Torvalds 438f9c21a6eSHyok S. Choiendif 439f9c21a6eSHyok S. Choi 440fefdaa06SHyok S. Choiconfig CPU_CP15 441fefdaa06SHyok S. Choi bool 442fefdaa06SHyok S. Choi help 443fefdaa06SHyok S. Choi Processor has the CP15 register. 444fefdaa06SHyok S. Choi 445fefdaa06SHyok S. Choiconfig CPU_CP15_MMU 446fefdaa06SHyok S. Choi bool 447fefdaa06SHyok S. Choi select CPU_CP15 448fefdaa06SHyok S. Choi help 449fefdaa06SHyok S. Choi Processor has the CP15 register, which has MMU related registers. 450fefdaa06SHyok S. Choi 451fefdaa06SHyok S. Choiconfig CPU_CP15_MPU 452fefdaa06SHyok S. Choi bool 453fefdaa06SHyok S. Choi select CPU_CP15 454fefdaa06SHyok S. Choi help 455fefdaa06SHyok S. Choi Processor has the CP15 register, which has MPU related registers. 456fefdaa06SHyok S. Choi 45723bdf86aSLennert Buytenhek# 45823bdf86aSLennert Buytenhek# CPU supports 36-bit I/O 45923bdf86aSLennert Buytenhek# 46023bdf86aSLennert Buytenhekconfig IO_36 46123bdf86aSLennert Buytenhek bool 46223bdf86aSLennert Buytenhek 4631da177e4SLinus Torvaldscomment "Processor Features" 4641da177e4SLinus Torvalds 4651da177e4SLinus Torvaldsconfig ARM_THUMB 4661da177e4SLinus Torvalds bool "Support Thumb user binaries" 467b731c311SHyok S. Choi depends on CPU_ARM720T || CPU_ARM740T || CPU_ARM920T || CPU_ARM922T || CPU_ARM925T || CPU_ARM926T || CPU_ARM1020 || CPU_ARM1020E || CPU_ARM1022 || CPU_ARM1026 || CPU_XSCALE || CPU_XSC3 || CPU_V6 4681da177e4SLinus Torvalds default y 4691da177e4SLinus Torvalds help 4701da177e4SLinus Torvalds Say Y if you want to include kernel support for running user space 4711da177e4SLinus Torvalds Thumb binaries. 4721da177e4SLinus Torvalds 4731da177e4SLinus Torvalds The Thumb instruction set is a compressed form of the standard ARM 4741da177e4SLinus Torvalds instruction set resulting in smaller binaries at the expense of 4751da177e4SLinus Torvalds slightly less efficient code. 4761da177e4SLinus Torvalds 4771da177e4SLinus Torvalds If you don't know what this all is, saying Y is a safe choice. 4781da177e4SLinus Torvalds 4791da177e4SLinus Torvaldsconfig CPU_BIG_ENDIAN 4801da177e4SLinus Torvalds bool "Build big-endian kernel" 4811da177e4SLinus Torvalds depends on ARCH_SUPPORTS_BIG_ENDIAN 4821da177e4SLinus Torvalds help 4831da177e4SLinus Torvalds Say Y if you plan on running a kernel in big-endian mode. 4841da177e4SLinus Torvalds Note that your board must be properly built and your board 4851da177e4SLinus Torvalds port must properly enable any big-endian related features 4861da177e4SLinus Torvalds of your chipset/board/processor. 4871da177e4SLinus Torvalds 4881da177e4SLinus Torvaldsconfig CPU_ICACHE_DISABLE 489f12d0d7cSHyok S. Choi bool "Disable I-Cache (I-bit)" 490f12d0d7cSHyok S. Choi depends on CPU_CP15 && !(CPU_ARM610 || CPU_ARM710 || CPU_ARM720T || CPU_ARM740T || CPU_XSCALE || CPU_XSC3) 4911da177e4SLinus Torvalds help 4921da177e4SLinus Torvalds Say Y here to disable the processor instruction cache. Unless 4931da177e4SLinus Torvalds you have a reason not to or are unsure, say N. 4941da177e4SLinus Torvalds 4951da177e4SLinus Torvaldsconfig CPU_DCACHE_DISABLE 496f12d0d7cSHyok S. Choi bool "Disable D-Cache (C-bit)" 497f12d0d7cSHyok S. Choi depends on CPU_CP15 4981da177e4SLinus Torvalds help 4991da177e4SLinus Torvalds Say Y here to disable the processor data cache. Unless 5001da177e4SLinus Torvalds you have a reason not to or are unsure, say N. 5011da177e4SLinus Torvalds 5021da177e4SLinus Torvaldsconfig CPU_DCACHE_WRITETHROUGH 5031da177e4SLinus Torvalds bool "Force write through D-cache" 504b731c311SHyok S. Choi depends on (CPU_ARM740T || CPU_ARM920T || CPU_ARM922T || CPU_ARM925T || CPU_ARM926T || CPU_ARM1020 || CPU_V6) && !CPU_DCACHE_DISABLE 5051da177e4SLinus Torvalds default y if CPU_ARM925T 5061da177e4SLinus Torvalds help 5071da177e4SLinus Torvalds Say Y here to use the data cache in writethrough mode. Unless you 5081da177e4SLinus Torvalds specifically require this or are unsure, say N. 5091da177e4SLinus Torvalds 5101da177e4SLinus Torvaldsconfig CPU_CACHE_ROUND_ROBIN 5111da177e4SLinus Torvalds bool "Round robin I and D cache replacement algorithm" 5121da177e4SLinus Torvalds depends on (CPU_ARM926T || CPU_ARM1020) && (!CPU_ICACHE_DISABLE || !CPU_DCACHE_DISABLE) 5131da177e4SLinus Torvalds help 5141da177e4SLinus Torvalds Say Y here to use the predictable round-robin cache replacement 5151da177e4SLinus Torvalds policy. Unless you specifically require this or are unsure, say N. 5161da177e4SLinus Torvalds 5171da177e4SLinus Torvaldsconfig CPU_BPREDICT_DISABLE 5181da177e4SLinus Torvalds bool "Disable branch prediction" 519e03eb527SCatalin Marinas depends on CPU_ARM1020 || CPU_V6 5201da177e4SLinus Torvalds help 5211da177e4SLinus Torvalds Say Y here to disable branch prediction. If unsure, say N. 5222d2669b6SNicolas Pitre 5234b0e07a5SNicolas Pitreconfig TLS_REG_EMUL 5244b0e07a5SNicolas Pitre bool 5254b0e07a5SNicolas Pitre help 52670489c88SNicolas Pitre An SMP system using a pre-ARMv6 processor (there are apparently 52770489c88SNicolas Pitre a few prototypes like that in existence) and therefore access to 52870489c88SNicolas Pitre that required register must be emulated. 5294b0e07a5SNicolas Pitre 5302d2669b6SNicolas Pitreconfig HAS_TLS_REG 5312d2669b6SNicolas Pitre bool 53270489c88SNicolas Pitre depends on !TLS_REG_EMUL 53370489c88SNicolas Pitre default y if SMP || CPU_32v7 5342d2669b6SNicolas Pitre help 5352d2669b6SNicolas Pitre This selects support for the CP15 thread register. 53670489c88SNicolas Pitre It is defined to be available on some ARMv6 processors (including 53770489c88SNicolas Pitre all SMP capable ARMv6's) or later processors. User space may 53870489c88SNicolas Pitre assume directly accessing that register and always obtain the 53970489c88SNicolas Pitre expected value only on ARMv7 and above. 5402d2669b6SNicolas Pitre 541dcef1f63SNicolas Pitreconfig NEEDS_SYSCALL_FOR_CMPXCHG 542dcef1f63SNicolas Pitre bool 543dcef1f63SNicolas Pitre help 544dcef1f63SNicolas Pitre SMP on a pre-ARMv6 processor? Well OK then. 545dcef1f63SNicolas Pitre Forget about fast user space cmpxchg support. 546dcef1f63SNicolas Pitre It is just not possible. 547dcef1f63SNicolas Pitre 548