2 * linux/arch/arm/mm/proc-v7.S
4 * Copyright (C) 2001 Deep Blue Solutions Ltd.
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
10 * This is the "shell" of the ARMv7 processor support.
12 #include <linux/init.h>
13 #include <linux/linkage.h>
14 #include <asm/assembler.h>
15 #include <asm/asm-offsets.h>
16 #include <asm/hwcap.h>
17 #include <asm/pgtable-hwdef.h>
18 #include <asm/pgtable.h>
19 #include <asm/memory.h>
21 #include "proc-macros.S"
23 #ifdef CONFIG_ARM_LPAE
24 #include "proc-v7-3level.S"
26 #include "proc-v7-2level.S"
29 ENTRY(cpu_v7_proc_init)
31 ENDPROC(cpu_v7_proc_init)
33 ENTRY(cpu_v7_proc_fin)
34 mrc p15, 0, r0, c1, c0, 0 @ ctrl register
35 bic r0, r0, #0x1000 @ ...i............
36 bic r0, r0, #0x0006 @ .............ca.
37 mcr p15, 0, r0, c1, c0, 0 @ disable caches
39 ENDPROC(cpu_v7_proc_fin)
44 * Perform a soft reset of the system. Put the CPU into the
45 * same state as it would be if it had been reset, and branch
46 * to what would be the reset vector.
48 * - loc - location to jump to for soft reset
50 * This code must be executed using a flat identity mapping with
54 .pushsection .idmap.text, "ax"
56 mrc p15, 0, r2, c1, c0, 0 @ ctrl register
57 bic r2, r2, #0x1 @ ...............m
58 THUMB( bic r2, r2, #1 << 30 ) @ SCTLR.TE (Thumb exceptions)
59 mcr p15, 0, r2, c1, c0, 0 @ disable MMU
61 #ifdef CONFIG_ARM_VIRT_EXT
63 bne __hyp_soft_restart
72 * Idle the processor (eg, wait for interrupt).
74 * IRQs are already disabled.
77 dsb @ WFI may enter a low-power mode
80 ENDPROC(cpu_v7_do_idle)
82 ENTRY(cpu_v7_dcache_clean_area)
83 ALT_SMP(W(nop)) @ MP extensions imply L1 PTW
86 1: dcache_line_size r2, r3
87 2: mcr p15, 0, r0, c7, c10, 1 @ clean D entry
93 ENDPROC(cpu_v7_dcache_clean_area)
95 string cpu_v7_name, "ARMv7 Processor"
98 /* Suspend/resume support: derived from arch/arm/mach-s5pv210/sleep.S */
99 .globl cpu_v7_suspend_size
100 .equ cpu_v7_suspend_size, 4 * 9
101 #ifdef CONFIG_ARM_CPU_SUSPEND
102 ENTRY(cpu_v7_do_suspend)
103 stmfd sp!, {r4 - r11, lr}
104 mrc p15, 0, r4, c13, c0, 0 @ FCSE/PID
105 mrc p15, 0, r5, c13, c0, 3 @ User r/o thread ID
108 mrc p15, 0, r6, c3, c0, 0 @ Domain ID
109 #ifdef CONFIG_ARM_LPAE
110 mrrc p15, 1, r5, r7, c2 @ TTB 1
112 mrc p15, 0, r7, c2, c0, 1 @ TTB 1
114 mrc p15, 0, r11, c2, c0, 2 @ TTB control register
116 mrc p15, 0, r8, c1, c0, 0 @ Control register
117 mrc p15, 0, r9, c1, c0, 1 @ Auxiliary control register
118 mrc p15, 0, r10, c1, c0, 2 @ Co-processor access control
120 ldmfd sp!, {r4 - r11, pc}
121 ENDPROC(cpu_v7_do_suspend)
123 ENTRY(cpu_v7_do_resume)
125 mcr p15, 0, ip, c7, c5, 0 @ invalidate I cache
126 mcr p15, 0, ip, c13, c0, 1 @ set reserved context ID
128 mcr p15, 0, r4, c13, c0, 0 @ FCSE/PID
129 mcr p15, 0, r5, c13, c0, 3 @ User r/o thread ID
132 mcr p15, 0, ip, c8, c7, 0 @ invalidate TLBs
133 mcr p15, 0, r6, c3, c0, 0 @ Domain ID
134 #ifdef CONFIG_ARM_LPAE
135 mcrr p15, 0, r1, ip, c2 @ TTB 0
136 mcrr p15, 1, r5, r7, c2 @ TTB 1
138 ALT_SMP(orr r1, r1, #TTB_FLAGS_SMP)
139 ALT_UP(orr r1, r1, #TTB_FLAGS_UP)
140 mcr p15, 0, r1, c2, c0, 0 @ TTB 0
141 mcr p15, 0, r7, c2, c0, 1 @ TTB 1
143 mcr p15, 0, r11, c2, c0, 2 @ TTB control register
146 mcr p15, 0, r4, c10, c2, 0 @ write PRRR
147 mcr p15, 0, r5, c10, c2, 1 @ write NMRR
148 #endif /* CONFIG_MMU */
149 mrc p15, 0, r4, c1, c0, 1 @ Read Auxiliary control register
150 teq r4, r9 @ Is it already set?
151 mcrne p15, 0, r9, c1, c0, 1 @ No, so write it
152 mcr p15, 0, r10, c1, c0, 2 @ Co-processor access control
155 mov r0, r8 @ control register
157 ENDPROC(cpu_v7_do_resume)
163 globl_equ cpu_ca8_proc_init, cpu_v7_proc_init
164 globl_equ cpu_ca8_proc_fin, cpu_v7_proc_fin
165 globl_equ cpu_ca8_reset, cpu_v7_reset
166 globl_equ cpu_ca8_do_idle, cpu_v7_do_idle
167 globl_equ cpu_ca8_dcache_clean_area, cpu_v7_dcache_clean_area
168 globl_equ cpu_ca8_set_pte_ext, cpu_v7_set_pte_ext
169 globl_equ cpu_ca8_suspend_size, cpu_v7_suspend_size
170 #ifdef CONFIG_ARM_CPU_SUSPEND
171 globl_equ cpu_ca8_do_suspend, cpu_v7_do_suspend
172 globl_equ cpu_ca8_do_resume, cpu_v7_do_resume
176 * Cortex-A9 processor functions
178 globl_equ cpu_ca9mp_proc_init, cpu_v7_proc_init
179 globl_equ cpu_ca9mp_proc_fin, cpu_v7_proc_fin
180 globl_equ cpu_ca9mp_reset, cpu_v7_reset
181 globl_equ cpu_ca9mp_do_idle, cpu_v7_do_idle
182 globl_equ cpu_ca9mp_dcache_clean_area, cpu_v7_dcache_clean_area
183 globl_equ cpu_ca9mp_switch_mm, cpu_v7_switch_mm
184 globl_equ cpu_ca9mp_set_pte_ext, cpu_v7_set_pte_ext
185 .globl cpu_ca9mp_suspend_size
186 .equ cpu_ca9mp_suspend_size, cpu_v7_suspend_size + 4 * 2
187 #ifdef CONFIG_ARM_CPU_SUSPEND
188 ENTRY(cpu_ca9mp_do_suspend)
190 mrc p15, 0, r4, c15, c0, 1 @ Diagnostic register
191 mrc p15, 0, r5, c15, c0, 0 @ Power register
195 ENDPROC(cpu_ca9mp_do_suspend)
197 ENTRY(cpu_ca9mp_do_resume)
199 mrc p15, 0, r10, c15, c0, 1 @ Read Diagnostic register
200 teq r4, r10 @ Already restored?
201 mcrne p15, 0, r4, c15, c0, 1 @ No, so restore it
202 mrc p15, 0, r10, c15, c0, 0 @ Read Power register
203 teq r5, r10 @ Already restored?
204 mcrne p15, 0, r5, c15, c0, 0 @ No, so restore it
206 ENDPROC(cpu_ca9mp_do_resume)
209 #ifdef CONFIG_CPU_PJ4B
210 globl_equ cpu_pj4b_switch_mm, cpu_v7_switch_mm
211 globl_equ cpu_pj4b_set_pte_ext, cpu_v7_set_pte_ext
212 globl_equ cpu_pj4b_proc_init, cpu_v7_proc_init
213 globl_equ cpu_pj4b_proc_fin, cpu_v7_proc_fin
214 globl_equ cpu_pj4b_reset, cpu_v7_reset
215 #ifdef CONFIG_PJ4B_ERRATA_4742
216 ENTRY(cpu_pj4b_do_idle)
217 dsb @ WFI may enter a low-power mode
221 ENDPROC(cpu_pj4b_do_idle)
223 globl_equ cpu_pj4b_do_idle, cpu_v7_do_idle
225 globl_equ cpu_pj4b_dcache_clean_area, cpu_v7_dcache_clean_area
226 #ifdef CONFIG_ARM_CPU_SUSPEND
227 ENTRY(cpu_pj4b_do_suspend)
228 stmfd sp!, {r6 - r10}
229 mrc p15, 1, r6, c15, c1, 0 @ save CP15 - extra features
230 mrc p15, 1, r7, c15, c2, 0 @ save CP15 - Aux Func Modes Ctrl 0
231 mrc p15, 1, r8, c15, c1, 2 @ save CP15 - Aux Debug Modes Ctrl 2
232 mrc p15, 1, r9, c15, c1, 1 @ save CP15 - Aux Debug Modes Ctrl 1
233 mrc p15, 0, r10, c9, c14, 0 @ save CP15 - PMC
234 stmia r0!, {r6 - r10}
235 ldmfd sp!, {r6 - r10}
237 ENDPROC(cpu_pj4b_do_suspend)
239 ENTRY(cpu_pj4b_do_resume)
240 ldmia r0!, {r6 - r10}
241 mcr p15, 1, r6, c15, c1, 0 @ restore CP15 - extra features
242 mcr p15, 1, r7, c15, c2, 0 @ restore CP15 - Aux Func Modes Ctrl 0
243 mcr p15, 1, r8, c15, c1, 2 @ restore CP15 - Aux Debug Modes Ctrl 2
244 mcr p15, 1, r9, c15, c1, 1 @ restore CP15 - Aux Debug Modes Ctrl 1
245 mcr p15, 0, r10, c9, c14, 0 @ restore CP15 - PMC
247 ENDPROC(cpu_pj4b_do_resume)
249 .globl cpu_pj4b_suspend_size
250 .equ cpu_pj4b_suspend_size, cpu_v7_suspend_size + 4 * 5
257 * Initialise TLB, Caches, and MMU state ready to switch the MMU
258 * on. Return in r0 the new CP15 C1 control register setting.
260 * r1, r2, r4, r5, r9, r13 must be preserved - r13 is not a stack
261 * r4: TTBR0 (low word)
262 * r5: TTBR0 (high word if LPAE)
264 * r9: Main ID register
266 * This should be able to cover all ARMv7 cores.
268 * It is assumed that:
269 * - cache type register is implemented
274 mov r10, #(1 << 0) @ Cache/TLB ops broadcasting
282 1: adr r0, __v7_setup_stack_ptr
284 add r12, r12, r0 @ the local stack
285 stmia r12, {r1-r6, lr} @ v7_invalidate_l1 touches r0-r6
287 ldmia r12, {r1-r6, lr}
289 orr r10, r10, #(1 << 6) @ Enable SMP/nAMP mode
290 ALT_SMP(mrc p15, 0, r0, c1, c0, 1)
291 ALT_UP(mov r0, r10) @ fake it for UP
292 orr r10, r10, r0 @ Set required bits
293 teq r10, r0 @ Were they already set?
294 mcrne p15, 0, r10, c1, c0, 1 @ No, update register
300 * r0, r10 available for use
301 * r1, r2, r4, r5, r9, r13: must be preserved
302 * r3: contains MIDR rX number in bits 23-20
303 * r6: contains MIDR rXpY as 8-bit XY number
307 #if defined(CONFIG_ARM_ERRATA_430973) && !defined(CONFIG_ARCH_MULTIPLATFORM)
308 teq r3, #0x00100000 @ only present in r1p*
309 mrceq p15, 0, r0, c1, c0, 1 @ read aux control register
310 orreq r0, r0, #(1 << 6) @ set IBE to 1
311 mcreq p15, 0, r0, c1, c0, 1 @ write aux control register
313 #ifdef CONFIG_ARM_ERRATA_458693
314 teq r6, #0x20 @ only present in r2p0
315 mrceq p15, 0, r0, c1, c0, 1 @ read aux control register
316 orreq r0, r0, #(1 << 5) @ set L1NEON to 1
317 orreq r0, r0, #(1 << 9) @ set PLDNOP to 1
318 mcreq p15, 0, r0, c1, c0, 1 @ write aux control register
320 #ifdef CONFIG_ARM_ERRATA_460075
321 teq r6, #0x20 @ only present in r2p0
322 mrceq p15, 1, r0, c9, c0, 2 @ read L2 cache aux ctrl register
324 orreq r0, r0, #(1 << 22) @ set the Write Allocate disable bit
325 mcreq p15, 1, r0, c9, c0, 2 @ write the L2 cache aux ctrl register
330 #ifdef CONFIG_ARM_ERRATA_742230
331 cmp r6, #0x22 @ only present up to r2p2
332 mrcle p15, 0, r0, c15, c0, 1 @ read diagnostic register
333 orrle r0, r0, #1 << 4 @ set bit #4
334 mcrle p15, 0, r0, c15, c0, 1 @ write diagnostic register
336 #ifdef CONFIG_ARM_ERRATA_742231
337 teq r6, #0x20 @ present in r2p0
338 teqne r6, #0x21 @ present in r2p1
339 teqne r6, #0x22 @ present in r2p2
340 mrceq p15, 0, r0, c15, c0, 1 @ read diagnostic register
341 orreq r0, r0, #1 << 12 @ set bit #12
342 orreq r0, r0, #1 << 22 @ set bit #22
343 mcreq p15, 0, r0, c15, c0, 1 @ write diagnostic register
345 #ifdef CONFIG_ARM_ERRATA_743622
346 teq r3, #0x00200000 @ only present in r2p*
347 mrceq p15, 0, r0, c15, c0, 1 @ read diagnostic register
348 orreq r0, r0, #1 << 6 @ set bit #6
349 mcreq p15, 0, r0, c15, c0, 1 @ write diagnostic register
351 #if defined(CONFIG_ARM_ERRATA_751472) && defined(CONFIG_SMP)
352 ALT_SMP(cmp r6, #0x30) @ present prior to r3p0
354 mrclt p15, 0, r0, c15, c0, 1 @ read diagnostic register
355 orrlt r0, r0, #1 << 11 @ set bit #11
356 mcrlt p15, 0, r0, c15, c0, 1 @ write diagnostic register
362 #ifdef CONFIG_ARM_ERRATA_773022
363 cmp r6, #0x4 @ only present up to r0p4
364 mrcle p15, 0, r0, c1, c0, 1 @ read aux control register
365 orrle r0, r0, #1 << 1 @ disable loop buffer
366 mcrle p15, 0, r0, c1, c0, 1 @ write aux control register
371 #ifdef CONFIG_ARM_ERRATA_818325_852422
372 mrc p15, 0, r10, c15, c0, 1 @ read diagnostic register
373 orr r10, r10, #1 << 12 @ set bit #12
374 mcr p15, 0, r10, c15, c0, 1 @ write diagnostic register
376 #ifdef CONFIG_ARM_ERRATA_821420
377 mrc p15, 0, r10, c15, c0, 2 @ read internal feature reg
378 orr r10, r10, #1 << 1 @ set bit #1
379 mcr p15, 0, r10, c15, c0, 2 @ write internal feature reg
381 #ifdef CONFIG_ARM_ERRATA_825619
382 mrc p15, 0, r10, c15, c0, 1 @ read diagnostic register
383 orr r10, r10, #1 << 24 @ set bit #24
384 mcr p15, 0, r10, c15, c0, 1 @ write diagnostic register
389 #ifdef CONFIG_ARM_ERRATA_852421
390 cmp r6, #0x12 @ only present up to r1p2
391 mrcle p15, 0, r10, c15, c0, 1 @ read diagnostic register
392 orrle r10, r10, #1 << 24 @ set bit #24
393 mcrle p15, 0, r10, c15, c0, 1 @ write diagnostic register
395 #ifdef CONFIG_ARM_ERRATA_852423
396 cmp r6, #0x12 @ only present up to r1p2
397 mrcle p15, 0, r10, c15, c0, 1 @ read diagnostic register
398 orrle r10, r10, #1 << 12 @ set bit #12
399 mcrle p15, 0, r10, c15, c0, 1 @ write diagnostic register
404 #ifdef CONFIG_CPU_PJ4B
406 /* Auxiliary Debug Modes Control 1 Register */
407 #define PJ4B_STATIC_BP (1 << 2) /* Enable Static BP */
408 #define PJ4B_INTER_PARITY (1 << 8) /* Disable Internal Parity Handling */
409 #define PJ4B_CLEAN_LINE (1 << 16) /* Disable data transfer for clean line */
411 /* Auxiliary Debug Modes Control 2 Register */
412 #define PJ4B_FAST_LDR (1 << 23) /* Disable fast LDR */
413 #define PJ4B_SNOOP_DATA (1 << 25) /* Do not interleave write and snoop data */
414 #define PJ4B_CWF (1 << 27) /* Disable Critical Word First feature */
415 #define PJ4B_OUTSDNG_NC (1 << 29) /* Disable outstanding non cacheable rqst */
416 #define PJ4B_L1_REP_RR (1 << 30) /* L1 replacement - Strict round robin */
417 #define PJ4B_AUX_DBG_CTRL2 (PJ4B_SNOOP_DATA | PJ4B_CWF |\
418 PJ4B_OUTSDNG_NC | PJ4B_L1_REP_RR)
420 /* Auxiliary Functional Modes Control Register 0 */
421 #define PJ4B_SMP_CFB (1 << 1) /* Set SMP mode. Join the coherency fabric */
422 #define PJ4B_L1_PAR_CHK (1 << 2) /* Support L1 parity checking */
423 #define PJ4B_BROADCAST_CACHE (1 << 8) /* Broadcast Cache and TLB maintenance */
425 /* Auxiliary Debug Modes Control 0 Register */
426 #define PJ4B_WFI_WFE (1 << 22) /* WFI/WFE - serve the DVM and back to idle */
428 /* Auxiliary Debug Modes Control 1 Register */
429 mrc p15, 1, r0, c15, c1, 1
430 orr r0, r0, #PJ4B_CLEAN_LINE
431 orr r0, r0, #PJ4B_INTER_PARITY
432 bic r0, r0, #PJ4B_STATIC_BP
433 mcr p15, 1, r0, c15, c1, 1
435 /* Auxiliary Debug Modes Control 2 Register */
436 mrc p15, 1, r0, c15, c1, 2
437 bic r0, r0, #PJ4B_FAST_LDR
438 orr r0, r0, #PJ4B_AUX_DBG_CTRL2
439 mcr p15, 1, r0, c15, c1, 2
441 /* Auxiliary Functional Modes Control Register 0 */
442 mrc p15, 1, r0, c15, c2, 0
444 orr r0, r0, #PJ4B_SMP_CFB
446 orr r0, r0, #PJ4B_L1_PAR_CHK
447 orr r0, r0, #PJ4B_BROADCAST_CACHE
448 mcr p15, 1, r0, c15, c2, 0
450 /* Auxiliary Debug Modes Control 0 Register */
451 mrc p15, 1, r0, c15, c1, 0
452 orr r0, r0, #PJ4B_WFI_WFE
453 mcr p15, 1, r0, c15, c1, 0
455 #endif /* CONFIG_CPU_PJ4B */
458 adr r0, __v7_setup_stack_ptr
460 add r12, r12, r0 @ the local stack
461 stmia r12, {r1-r6, lr} @ v7_invalidate_l1 touches r0-r6
463 ldmia r12, {r1-r6, lr}
466 and r0, r9, #0xff000000 @ ARM?
469 and r3, r9, #0x00f00000 @ variant
470 and r6, r9, #0x0000000f @ revision
471 orr r6, r6, r3, lsr #20-4 @ combine variant and revision
472 ubfx r0, r9, #4, #12 @ primary part number
474 /* Cortex-A8 Errata */
475 ldr r10, =0x00000c08 @ Cortex-A8 primary part number
479 /* Cortex-A9 Errata */
480 ldr r10, =0x00000c09 @ Cortex-A9 primary part number
484 /* Cortex-A12 Errata */
485 ldr r10, =0x00000c0d @ Cortex-A12 primary part number
489 /* Cortex-A17 Errata */
490 ldr r10, =0x00000c0e @ Cortex-A17 primary part number
494 /* Cortex-A15 Errata */
495 ldr r10, =0x00000c0f @ Cortex-A15 primary part number
501 mcr p15, 0, r10, c7, c5, 0 @ I+BTB cache invalidate
503 mcr p15, 0, r10, c8, c7, 0 @ invalidate I + D TLBs
504 v7_ttb_setup r10, r4, r5, r8, r3 @ TTBCR, TTBRx setup
507 mcr p15, 0, r3, c10, c2, 0 @ write PRRR
508 mcr p15, 0, r6, c10, c2, 1 @ write NMRR
510 dsb @ Complete invalidations
511 #ifndef CONFIG_ARM_THUMBEE
512 mrc p15, 0, r0, c0, c1, 0 @ read ID_PFR0 for ThumbEE
513 and r0, r0, #(0xf << 12) @ ThumbEE enabled field
514 teq r0, #(1 << 12) @ check if ThumbEE is present
517 mcr p14, 6, r3, c1, c0, 0 @ Initialize TEEHBR to 0
518 mrc p14, 6, r0, c0, c0, 0 @ load TEECR
519 orr r0, r0, #1 @ set the 1st bit in order to
520 mcr p14, 6, r0, c0, c0, 0 @ stop userspace TEEHBR access
525 ARM_BE8(orr r6, r6, #1 << 25) @ big-endian page tables
526 #ifdef CONFIG_SWP_EMULATE
527 orr r3, r3, #(1 << 10) @ set SW bit in "clear"
528 bic r6, r6, #(1 << 10) @ clear it in "mmuset"
530 mrc p15, 0, r0, c1, c0, 0 @ read control register
531 bic r0, r0, r3 @ clear bits them
532 orr r0, r0, r6 @ set them
533 THUMB( orr r0, r0, #1 << 30 ) @ Thumb exceptions
534 ret lr @ return to head.S:__ret
537 __v7_setup_stack_ptr:
538 .word PHYS_RELATIVE(__v7_setup_stack, .)
544 .space 4 * 7 @ 7 registers
548 @ define struct processor (see <asm/proc-fns.h> and proc-macros.S)
549 define_processor_functions v7, dabort=v7_early_abort, pabort=v7_pabort, suspend=1
550 #ifndef CONFIG_ARM_LPAE
551 define_processor_functions ca8, dabort=v7_early_abort, pabort=v7_pabort, suspend=1
552 define_processor_functions ca9mp, dabort=v7_early_abort, pabort=v7_pabort, suspend=1
554 #ifdef CONFIG_CPU_PJ4B
555 define_processor_functions pj4b, dabort=v7_early_abort, pabort=v7_pabort, suspend=1
560 string cpu_arch_name, "armv7"
561 string cpu_elf_name, "v7"
564 .section ".proc.info.init", #alloc
567 * Standard v7 proc info content
569 .macro __v7_proc name, initfunc, mm_mmuflags = 0, io_mmuflags = 0, hwcaps = 0, proc_fns = v7_processor_functions
570 ALT_SMP(.long PMD_TYPE_SECT | PMD_SECT_AP_WRITE | PMD_SECT_AP_READ | \
571 PMD_SECT_AF | PMD_FLAGS_SMP | \mm_mmuflags)
572 ALT_UP(.long PMD_TYPE_SECT | PMD_SECT_AP_WRITE | PMD_SECT_AP_READ | \
573 PMD_SECT_AF | PMD_FLAGS_UP | \mm_mmuflags)
574 .long PMD_TYPE_SECT | PMD_SECT_AP_WRITE | \
575 PMD_SECT_AP_READ | PMD_SECT_AF | \io_mmuflags
576 initfn \initfunc, \name
579 .long HWCAP_SWP | HWCAP_HALF | HWCAP_THUMB | HWCAP_FAST_MULT | \
580 HWCAP_EDSP | HWCAP_TLS | \hwcaps
588 #ifndef CONFIG_ARM_LPAE
590 * ARM Ltd. Cortex A5 processor.
592 .type __v7_ca5mp_proc_info, #object
593 __v7_ca5mp_proc_info:
596 __v7_proc __v7_ca5mp_proc_info, __v7_ca5mp_setup
597 .size __v7_ca5mp_proc_info, . - __v7_ca5mp_proc_info
600 * ARM Ltd. Cortex A9 processor.
602 .type __v7_ca9mp_proc_info, #object
603 __v7_ca9mp_proc_info:
606 __v7_proc __v7_ca9mp_proc_info, __v7_ca9mp_setup, proc_fns = ca9mp_processor_functions
607 .size __v7_ca9mp_proc_info, . - __v7_ca9mp_proc_info
610 * ARM Ltd. Cortex A8 processor.
612 .type __v7_ca8_proc_info, #object
616 __v7_proc __v7_ca8_proc_info, __v7_setup, proc_fns = ca8_processor_functions
617 .size __v7_ca8_proc_info, . - __v7_ca8_proc_info
619 #endif /* CONFIG_ARM_LPAE */
622 * Marvell PJ4B processor.
624 #ifdef CONFIG_CPU_PJ4B
625 .type __v7_pj4b_proc_info, #object
629 __v7_proc __v7_pj4b_proc_info, __v7_pj4b_setup, proc_fns = pj4b_processor_functions
630 .size __v7_pj4b_proc_info, . - __v7_pj4b_proc_info
634 * ARM Ltd. Cortex R7 processor.
636 .type __v7_cr7mp_proc_info, #object
637 __v7_cr7mp_proc_info:
640 __v7_proc __v7_cr7mp_proc_info, __v7_cr7mp_setup
641 .size __v7_cr7mp_proc_info, . - __v7_cr7mp_proc_info
644 * ARM Ltd. Cortex A7 processor.
646 .type __v7_ca7mp_proc_info, #object
647 __v7_ca7mp_proc_info:
650 __v7_proc __v7_ca7mp_proc_info, __v7_ca7mp_setup
651 .size __v7_ca7mp_proc_info, . - __v7_ca7mp_proc_info
654 * ARM Ltd. Cortex A12 processor.
656 .type __v7_ca12mp_proc_info, #object
657 __v7_ca12mp_proc_info:
660 __v7_proc __v7_ca12mp_proc_info, __v7_ca12mp_setup
661 .size __v7_ca12mp_proc_info, . - __v7_ca12mp_proc_info
664 * ARM Ltd. Cortex A15 processor.
666 .type __v7_ca15mp_proc_info, #object
667 __v7_ca15mp_proc_info:
670 __v7_proc __v7_ca15mp_proc_info, __v7_ca15mp_setup
671 .size __v7_ca15mp_proc_info, . - __v7_ca15mp_proc_info
674 * Broadcom Corporation Brahma-B15 processor.
676 .type __v7_b15mp_proc_info, #object
677 __v7_b15mp_proc_info:
680 __v7_proc __v7_b15mp_proc_info, __v7_b15mp_setup
681 .size __v7_b15mp_proc_info, . - __v7_b15mp_proc_info
684 * ARM Ltd. Cortex A17 processor.
686 .type __v7_ca17mp_proc_info, #object
687 __v7_ca17mp_proc_info:
690 __v7_proc __v7_ca17mp_proc_info, __v7_ca17mp_setup
691 .size __v7_ca17mp_proc_info, . - __v7_ca17mp_proc_info
694 * Qualcomm Inc. Krait processors.
696 .type __krait_proc_info, #object
698 .long 0x510f0400 @ Required ID value
699 .long 0xff0ffc00 @ Mask for ID
701 * Some Krait processors don't indicate support for SDIV and UDIV
702 * instructions in the ARM instruction set, even though they actually
703 * do support them. They also don't indicate support for fused multiply
704 * instructions even though they actually do support them.
706 __v7_proc __krait_proc_info, __v7_setup, hwcaps = HWCAP_IDIV | HWCAP_VFPv4
707 .size __krait_proc_info, . - __krait_proc_info
710 * Match any ARMv7 processor core.
712 .type __v7_proc_info, #object
714 .long 0x000f0000 @ Required ID value
715 .long 0x000f0000 @ Mask for ID
716 __v7_proc __v7_proc_info, __v7_setup
717 .size __v7_proc_info, . - __v7_proc_info