2 * linux/arch/arm/mm/proc-xscale.S
4 * Author: Nicolas Pitre
5 * Created: November 2000
6 * Copyright: (C) 2000, 2001 MontaVista Software Inc.
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License version 2 as
10 * published by the Free Software Foundation.
12 * MMU functions for the Intel XScale CPUs
15 * some contributions by Brett Gaines <brett.w.gaines@intel.com>
16 * Copyright 2001 by Intel Corp.
19 * Completely revisited, many important fixes
20 * Nicolas Pitre <nico@cam.org>
23 #include <linux/linkage.h>
24 #include <linux/init.h>
25 #include <asm/assembler.h>
26 #include <asm/procinfo.h>
27 #include <asm/pgtable.h>
28 #include <asm/pgtable-hwdef.h>
30 #include <asm/ptrace.h>
31 #include "proc-macros.S"
34 * This is the maximum size of an area which will be flushed. If the area
35 * is larger than this, then we flush the whole cache
37 #define MAX_AREA_SIZE 32768
40 * the cache line size of the I and D cache
42 #define CACHELINESIZE 32
45 * the size of the data cache
47 #define CACHESIZE 32768
50 * Virtual address used to allocate the cache when flushed
52 * This must be an address range which is _never_ used. It should
53 * apparently have a mapping in the corresponding page table for
54 * compatibility with future CPUs that _could_ require it. For instance we
57 * This must be aligned on a 2*CACHESIZE boundary. The code selects one of
58 * the 2 areas in alternance each time the clean_d_cache macro is used.
59 * Without this the XScale core exhibits cache eviction problems and no one
62 * Reminder: the vector table is located at 0xffff0000-0xffff0fff.
64 #define CLEAN_ADDR 0xfffe0000
67 * This macro is used to wait for a CP15 write and is needed
68 * when we have to ensure that the last operation to the co-pro
69 * was completed before continuing with operation.
72 mrc p15, 0, \rd, c2, c0, 0 @ arbitrary read of cp15
73 mov \rd, \rd @ wait for completion
74 sub pc, pc, #4 @ flush instruction pipeline
77 .macro cpwait_ret, lr, rd
78 mrc p15, 0, \rd, c2, c0, 0 @ arbitrary read of cp15
79 sub pc, \lr, \rd, LSR #32 @ wait for completion and
80 @ flush instruction pipeline
84 * This macro cleans the entire dcache using line allocate.
85 * The main loop has been unrolled to reduce loop overhead.
86 * rd and rs are two scratch registers.
88 .macro clean_d_cache, rd, rs
91 eor \rd, \rd, #CACHESIZE
93 add \rs, \rd, #CACHESIZE
94 1: mcr p15, 0, \rd, c7, c2, 5 @ allocate D cache line
95 add \rd, \rd, #CACHELINESIZE
96 mcr p15, 0, \rd, c7, c2, 5 @ allocate D cache line
97 add \rd, \rd, #CACHELINESIZE
98 mcr p15, 0, \rd, c7, c2, 5 @ allocate D cache line
99 add \rd, \rd, #CACHELINESIZE
100 mcr p15, 0, \rd, c7, c2, 5 @ allocate D cache line
101 add \rd, \rd, #CACHELINESIZE
107 clean_addr: .word CLEAN_ADDR
112 * cpu_xscale_proc_init()
114 * Nothing too exciting at the moment
116 ENTRY(cpu_xscale_proc_init)
120 * cpu_xscale_proc_fin()
122 ENTRY(cpu_xscale_proc_fin)
124 mov r0, #PSR_F_BIT|PSR_I_BIT|SVC_MODE
126 bl xscale_flush_kern_cache_all @ clean caches
127 mrc p15, 0, r0, c1, c0, 0 @ ctrl register
128 bic r0, r0, #0x1800 @ ...IZ...........
129 bic r0, r0, #0x0006 @ .............CA.
130 mcr p15, 0, r0, c1, c0, 0 @ disable caches
134 * cpu_xscale_reset(loc)
136 * Perform a soft reset of the system. Put the CPU into the
137 * same state as it would be if it had been reset, and branch
138 * to what would be the reset vector.
140 * loc: location to jump to for soft reset
142 * Beware PXA270 erratum E7.
145 ENTRY(cpu_xscale_reset)
146 mov r1, #PSR_F_BIT|PSR_I_BIT|SVC_MODE
147 msr cpsr_c, r1 @ reset CPSR
148 mcr p15, 0, r1, c10, c4, 1 @ unlock I-TLB
149 mcr p15, 0, r1, c8, c5, 0 @ invalidate I-TLB
150 mrc p15, 0, r1, c1, c0, 0 @ ctrl register
151 bic r1, r1, #0x0086 @ ........B....CA.
152 bic r1, r1, #0x3900 @ ..VIZ..S........
153 sub pc, pc, #4 @ flush pipeline
154 @ *** cache line aligned ***
155 mcr p15, 0, r1, c1, c0, 0 @ ctrl register
156 bic r1, r1, #0x0001 @ ...............M
157 mcr p15, 0, ip, c7, c7, 0 @ invalidate I,D caches & BTB
158 mcr p15, 0, r1, c1, c0, 0 @ ctrl register
159 @ CAUTION: MMU turned off from this point. We count on the pipeline
160 @ already containing those two last instructions to survive.
161 mcr p15, 0, ip, c8, c7, 0 @ invalidate I & D TLBs
165 * cpu_xscale_do_idle()
167 * Cause the processor to idle
169 * For now we do nothing but go to idle mode for every case
171 * XScale supports clock switching, but using idle mode support
172 * allows external hardware to react to system state changes.
176 ENTRY(cpu_xscale_do_idle)
178 mcr p14, 0, r0, c7, c0, 0 @ Go to IDLE
181 /* ================================= CACHE ================================ */
184 * flush_user_cache_all()
186 * Invalidate all cache entries in a particular address
189 ENTRY(xscale_flush_user_cache_all)
193 * flush_kern_cache_all()
195 * Clean and invalidate the entire cache.
197 ENTRY(xscale_flush_kern_cache_all)
203 mcrne p15, 0, ip, c7, c5, 0 @ Invalidate I cache & BTB
204 mcrne p15, 0, ip, c7, c10, 4 @ Drain Write (& Fill) Buffer
208 * flush_user_cache_range(start, end, vm_flags)
210 * Invalidate a range of cache entries in the specified
213 * - start - start address (may not be aligned)
214 * - end - end address (exclusive, may not be aligned)
215 * - vma - vma_area_struct describing address space
218 ENTRY(xscale_flush_user_cache_range)
220 sub r3, r1, r0 @ calculate total size
221 cmp r3, #MAX_AREA_SIZE
222 bhs __flush_whole_cache
225 mcrne p15, 0, r0, c7, c5, 1 @ Invalidate I cache line
226 mcr p15, 0, r0, c7, c10, 1 @ Clean D cache line
227 mcr p15, 0, r0, c7, c6, 1 @ Invalidate D cache line
228 add r0, r0, #CACHELINESIZE
232 mcrne p15, 0, ip, c7, c5, 6 @ Invalidate BTB
233 mcrne p15, 0, ip, c7, c10, 4 @ Drain Write (& Fill) Buffer
237 * coherent_kern_range(start, end)
239 * Ensure coherency between the Icache and the Dcache in the
240 * region described by start. If you have non-snooping
241 * Harvard caches, you need to implement this function.
243 * - start - virtual start address
244 * - end - virtual end address
246 * Note: single I-cache line invalidation isn't used here since
247 * it also trashes the mini I-cache used by JTAG debuggers.
249 ENTRY(xscale_coherent_kern_range)
250 bic r0, r0, #CACHELINESIZE - 1
251 1: mcr p15, 0, r0, c7, c10, 1 @ clean D entry
252 add r0, r0, #CACHELINESIZE
256 mcr p15, 0, r0, c7, c5, 0 @ Invalidate I cache & BTB
257 mcr p15, 0, r0, c7, c10, 4 @ Drain Write (& Fill) Buffer
261 * coherent_user_range(start, end)
263 * Ensure coherency between the Icache and the Dcache in the
264 * region described by start. If you have non-snooping
265 * Harvard caches, you need to implement this function.
267 * - start - virtual start address
268 * - end - virtual end address
270 ENTRY(xscale_coherent_user_range)
271 bic r0, r0, #CACHELINESIZE - 1
272 1: mcr p15, 0, r0, c7, c10, 1 @ clean D entry
273 mcr p15, 0, r0, c7, c5, 1 @ Invalidate I cache entry
274 add r0, r0, #CACHELINESIZE
278 mcr p15, 0, r0, c7, c5, 6 @ Invalidate BTB
279 mcr p15, 0, r0, c7, c10, 4 @ Drain Write (& Fill) Buffer
283 * flush_kern_dcache_page(void *page)
285 * Ensure no D cache aliasing occurs, either with itself or
288 * - addr - page aligned address
290 ENTRY(xscale_flush_kern_dcache_page)
292 1: mcr p15, 0, r0, c7, c10, 1 @ clean D entry
293 mcr p15, 0, r0, c7, c6, 1 @ invalidate D entry
294 add r0, r0, #CACHELINESIZE
298 mcr p15, 0, r0, c7, c5, 0 @ Invalidate I cache & BTB
299 mcr p15, 0, r0, c7, c10, 4 @ Drain Write (& Fill) Buffer
303 * dma_inv_range(start, end)
305 * Invalidate (discard) the specified virtual address range.
306 * May not write back any entries. If 'start' or 'end'
307 * are not cache line aligned, those lines must be written
310 * - start - virtual start address
311 * - end - virtual end address
313 ENTRY(xscale_dma_inv_range)
314 tst r0, #CACHELINESIZE - 1
315 bic r0, r0, #CACHELINESIZE - 1
316 mcrne p15, 0, r0, c7, c10, 1 @ clean D entry
317 tst r1, #CACHELINESIZE - 1
318 mcrne p15, 0, r1, c7, c10, 1 @ clean D entry
319 1: mcr p15, 0, r0, c7, c6, 1 @ invalidate D entry
320 add r0, r0, #CACHELINESIZE
323 mcr p15, 0, r0, c7, c10, 4 @ Drain Write (& Fill) Buffer
327 * dma_clean_range(start, end)
329 * Clean the specified virtual address range.
331 * - start - virtual start address
332 * - end - virtual end address
334 ENTRY(xscale_dma_clean_range)
335 bic r0, r0, #CACHELINESIZE - 1
336 1: mcr p15, 0, r0, c7, c10, 1 @ clean D entry
337 add r0, r0, #CACHELINESIZE
340 mcr p15, 0, r0, c7, c10, 4 @ Drain Write (& Fill) Buffer
344 * dma_flush_range(start, end)
346 * Clean and invalidate the specified virtual address range.
348 * - start - virtual start address
349 * - end - virtual end address
351 ENTRY(xscale_dma_flush_range)
352 bic r0, r0, #CACHELINESIZE - 1
353 1: mcr p15, 0, r0, c7, c10, 1 @ clean D entry
354 mcr p15, 0, r0, c7, c6, 1 @ invalidate D entry
355 add r0, r0, #CACHELINESIZE
358 mcr p15, 0, r0, c7, c10, 4 @ Drain Write (& Fill) Buffer
361 ENTRY(xscale_cache_fns)
362 .long xscale_flush_kern_cache_all
363 .long xscale_flush_user_cache_all
364 .long xscale_flush_user_cache_range
365 .long xscale_coherent_kern_range
366 .long xscale_coherent_user_range
367 .long xscale_flush_kern_dcache_page
368 .long xscale_dma_inv_range
369 .long xscale_dma_clean_range
370 .long xscale_dma_flush_range
373 * On stepping A0/A1 of the 80200, invalidating D-cache by line doesn't
374 * clear the dirty bits, which means that if we invalidate a dirty line,
375 * the dirty data can still be written back to external memory later on.
377 * The recommended workaround is to always do a clean D-cache line before
378 * doing an invalidate D-cache line, so on the affected processors,
379 * dma_inv_range() is implemented as dma_flush_range().
381 * See erratum #25 of "Intel 80200 Processor Specification Update",
382 * revision January 22, 2003, available at:
383 * http://www.intel.com/design/iio/specupdt/273415.htm
385 ENTRY(xscale_80200_A0_A1_cache_fns)
386 .long xscale_flush_kern_cache_all
387 .long xscale_flush_user_cache_all
388 .long xscale_flush_user_cache_range
389 .long xscale_coherent_kern_range
390 .long xscale_coherent_user_range
391 .long xscale_flush_kern_dcache_page
392 .long xscale_dma_flush_range
393 .long xscale_dma_clean_range
394 .long xscale_dma_flush_range
396 ENTRY(cpu_xscale_dcache_clean_area)
397 1: mcr p15, 0, r0, c7, c10, 1 @ clean D entry
398 add r0, r0, #CACHELINESIZE
399 subs r1, r1, #CACHELINESIZE
403 /* =============================== PageTable ============================== */
405 #define PTE_CACHE_WRITE_ALLOCATE 0
408 * cpu_xscale_switch_mm(pgd)
410 * Set the translation base pointer to be as described by pgd.
412 * pgd: new page tables
415 ENTRY(cpu_xscale_switch_mm)
417 mcr p15, 0, ip, c7, c5, 0 @ Invalidate I cache & BTB
418 mcr p15, 0, ip, c7, c10, 4 @ Drain Write (& Fill) Buffer
419 mcr p15, 0, r0, c2, c0, 0 @ load page table pointer
420 mcr p15, 0, ip, c8, c7, 0 @ invalidate I & D TLBs
424 * cpu_xscale_set_pte(ptep, pte)
426 * Set a PTE and flush it out
428 * Errata 40: must set memory to write-through for user read-only pages.
431 ENTRY(cpu_xscale_set_pte)
432 str r1, [r0], #-2048 @ linux version
435 orr r2, r2, #PTE_TYPE_EXT @ extended page
437 eor r3, r1, #L_PTE_PRESENT | L_PTE_YOUNG | L_PTE_WRITE | L_PTE_DIRTY
439 tst r3, #L_PTE_USER @ User?
440 orrne r2, r2, #PTE_EXT_AP_URO_SRW @ yes -> user r/o, system r/w
442 tst r3, #L_PTE_WRITE | L_PTE_DIRTY @ Write and Dirty?
443 orreq r2, r2, #PTE_EXT_AP_UNO_SRW @ yes -> user n/a, system r/w
444 @ combined with user -> user r/w
447 @ Handle the X bit. We want to set this bit for the minicache
448 @ (U = E = B = W = 0, C = 1) or when write allocate is enabled,
449 @ and we have a writeable, cacheable region. If we ignore the
450 @ U and E bits, we can allow user space to use the minicache as
453 @ X = (C & ~W & ~B) | (C & W & B & write_allocate)
455 eor ip, r1, #L_PTE_CACHEABLE
456 tst ip, #L_PTE_CACHEABLE | L_PTE_WRITE | L_PTE_BUFFERABLE
457 #if PTE_CACHE_WRITE_ALLOCATE
458 eorne ip, r1, #L_PTE_CACHEABLE | L_PTE_WRITE | L_PTE_BUFFERABLE
459 tstne ip, #L_PTE_CACHEABLE | L_PTE_WRITE | L_PTE_BUFFERABLE
461 orreq r2, r2, #PTE_EXT_TEX(1)
464 @ Erratum 40: The B bit must be cleared for a user read-only
467 @ B = B & ~(U & C & ~W)
469 and ip, r1, #L_PTE_USER | L_PTE_WRITE | L_PTE_CACHEABLE
470 teq ip, #L_PTE_USER | L_PTE_CACHEABLE
471 biceq r2, r2, #PTE_BUFFERABLE
473 tst r3, #L_PTE_PRESENT | L_PTE_YOUNG @ Present and Young?
474 movne r2, #0 @ no -> fault
476 str r2, [r0] @ hardware version
478 mcr p15, 0, r0, c7, c10, 1 @ Clean D cache line
479 mcr p15, 0, ip, c7, c10, 4 @ Drain Write (& Fill) Buffer
489 .type __xscale_setup, #function
491 mcr p15, 0, ip, c7, c7, 0 @ invalidate I, D caches & BTB
492 mcr p15, 0, ip, c7, c10, 4 @ Drain Write (& Fill) Buffer
493 mcr p15, 0, ip, c8, c7, 0 @ invalidate I, D TLBs
495 mov r0, #0 @ initially disallow access to CP0/CP1
497 mov r0, #1 @ Allow access to CP0
499 orr r0, r0, #1 << 6 @ cp6 for IOP3xx and Bulverde
500 orr r0, r0, #1 << 13 @ Its undefined whether this
501 mcr p15, 0, r0, c15, c1, 0 @ affects USR or SVC modes
505 mrc p15, 0, r0, c1, c0, 0 @ get control register
509 .size __xscale_setup, . - __xscale_setup
513 * .RVI ZFRS BLDP WCAM
514 * ..11 1.01 .... .101
517 .type xscale_crval, #object
519 crval clear=0x00003b07, mmuset=0x00003905, ucset=0x00001900
524 * Purpose : Function pointers used to access above functions - all calls
528 .type xscale_processor_functions, #object
529 ENTRY(xscale_processor_functions)
530 .word v5t_early_abort
531 .word cpu_xscale_proc_init
532 .word cpu_xscale_proc_fin
533 .word cpu_xscale_reset
534 .word cpu_xscale_do_idle
535 .word cpu_xscale_dcache_clean_area
536 .word cpu_xscale_switch_mm
537 .word cpu_xscale_set_pte
538 .size xscale_processor_functions, . - xscale_processor_functions
542 .type cpu_arch_name, #object
545 .size cpu_arch_name, . - cpu_arch_name
547 .type cpu_elf_name, #object
550 .size cpu_elf_name, . - cpu_elf_name
552 .type cpu_80200_A0_A1_name, #object
553 cpu_80200_A0_A1_name:
554 .asciz "XScale-80200 A0/A1"
555 .size cpu_80200_A0_A1_name, . - cpu_80200_A0_A1_name
557 .type cpu_80200_name, #object
559 .asciz "XScale-80200"
560 .size cpu_80200_name, . - cpu_80200_name
562 .type cpu_80219_name, #object
564 .asciz "XScale-80219"
565 .size cpu_80219_name, . - cpu_80219_name
567 .type cpu_8032x_name, #object
569 .asciz "XScale-IOP8032x Family"
570 .size cpu_8032x_name, . - cpu_8032x_name
572 .type cpu_8033x_name, #object
574 .asciz "XScale-IOP8033x Family"
575 .size cpu_8033x_name, . - cpu_8033x_name
577 .type cpu_pxa250_name, #object
579 .asciz "XScale-PXA250"
580 .size cpu_pxa250_name, . - cpu_pxa250_name
582 .type cpu_pxa210_name, #object
584 .asciz "XScale-PXA210"
585 .size cpu_pxa210_name, . - cpu_pxa210_name
587 .type cpu_ixp42x_name, #object
589 .asciz "XScale-IXP42x Family"
590 .size cpu_ixp42x_name, . - cpu_ixp42x_name
592 .type cpu_ixp46x_name, #object
594 .asciz "XScale-IXP46x Family"
595 .size cpu_ixp46x_name, . - cpu_ixp46x_name
597 .type cpu_ixp2400_name, #object
599 .asciz "XScale-IXP2400"
600 .size cpu_ixp2400_name, . - cpu_ixp2400_name
602 .type cpu_ixp2800_name, #object
604 .asciz "XScale-IXP2800"
605 .size cpu_ixp2800_name, . - cpu_ixp2800_name
607 .type cpu_pxa255_name, #object
609 .asciz "XScale-PXA255"
610 .size cpu_pxa255_name, . - cpu_pxa255_name
612 .type cpu_pxa270_name, #object
614 .asciz "XScale-PXA270"
615 .size cpu_pxa270_name, . - cpu_pxa270_name
619 .section ".proc.info.init", #alloc, #execinstr
621 .type __80200_A0_A1_proc_info,#object
622 __80200_A0_A1_proc_info:
625 .long PMD_TYPE_SECT | \
626 PMD_SECT_BUFFERABLE | \
627 PMD_SECT_CACHEABLE | \
628 PMD_SECT_AP_WRITE | \
630 .long PMD_TYPE_SECT | \
631 PMD_SECT_AP_WRITE | \
636 .long HWCAP_SWP|HWCAP_HALF|HWCAP_THUMB|HWCAP_FAST_MULT|HWCAP_EDSP
638 .long xscale_processor_functions
640 .long xscale_mc_user_fns
641 .long xscale_80200_A0_A1_cache_fns
642 .size __80200_A0_A1_proc_info, . - __80200_A0_A1_proc_info
644 .type __80200_proc_info,#object
648 .long PMD_TYPE_SECT | \
649 PMD_SECT_BUFFERABLE | \
650 PMD_SECT_CACHEABLE | \
651 PMD_SECT_AP_WRITE | \
653 .long PMD_TYPE_SECT | \
654 PMD_SECT_AP_WRITE | \
659 .long HWCAP_SWP|HWCAP_HALF|HWCAP_THUMB|HWCAP_FAST_MULT|HWCAP_EDSP
661 .long xscale_processor_functions
663 .long xscale_mc_user_fns
664 .long xscale_cache_fns
665 .size __80200_proc_info, . - __80200_proc_info
667 .type __80219_proc_info,#object
671 .long PMD_TYPE_SECT | \
672 PMD_SECT_BUFFERABLE | \
673 PMD_SECT_CACHEABLE | \
674 PMD_SECT_AP_WRITE | \
676 .long PMD_TYPE_SECT | \
677 PMD_SECT_AP_WRITE | \
682 .long HWCAP_SWP|HWCAP_HALF|HWCAP_THUMB|HWCAP_FAST_MULT|HWCAP_EDSP
684 .long xscale_processor_functions
686 .long xscale_mc_user_fns
687 .long xscale_cache_fns
688 .size __80219_proc_info, . - __80219_proc_info
690 .type __8032x_proc_info,#object
694 .long PMD_TYPE_SECT | \
695 PMD_SECT_BUFFERABLE | \
696 PMD_SECT_CACHEABLE | \
697 PMD_SECT_AP_WRITE | \
699 .long PMD_TYPE_SECT | \
700 PMD_SECT_AP_WRITE | \
705 .long HWCAP_SWP|HWCAP_HALF|HWCAP_THUMB|HWCAP_FAST_MULT|HWCAP_EDSP
707 .long xscale_processor_functions
709 .long xscale_mc_user_fns
710 .long xscale_cache_fns
711 .size __8032x_proc_info, . - __8032x_proc_info
713 .type __8033x_proc_info,#object
717 .long PMD_TYPE_SECT | \
718 PMD_SECT_BUFFERABLE | \
719 PMD_SECT_CACHEABLE | \
720 PMD_SECT_AP_WRITE | \
722 .long PMD_TYPE_SECT | \
723 PMD_SECT_AP_WRITE | \
728 .long HWCAP_SWP|HWCAP_HALF|HWCAP_THUMB|HWCAP_FAST_MULT|HWCAP_EDSP
730 .long xscale_processor_functions
732 .long xscale_mc_user_fns
733 .long xscale_cache_fns
734 .size __8033x_proc_info, . - __8033x_proc_info
736 .type __pxa250_proc_info,#object
740 .long PMD_TYPE_SECT | \
741 PMD_SECT_BUFFERABLE | \
742 PMD_SECT_CACHEABLE | \
743 PMD_SECT_AP_WRITE | \
745 .long PMD_TYPE_SECT | \
746 PMD_SECT_AP_WRITE | \
751 .long HWCAP_SWP|HWCAP_HALF|HWCAP_THUMB|HWCAP_FAST_MULT|HWCAP_EDSP
752 .long cpu_pxa250_name
753 .long xscale_processor_functions
755 .long xscale_mc_user_fns
756 .long xscale_cache_fns
757 .size __pxa250_proc_info, . - __pxa250_proc_info
759 .type __pxa210_proc_info,#object
763 .long PMD_TYPE_SECT | \
764 PMD_SECT_BUFFERABLE | \
765 PMD_SECT_CACHEABLE | \
766 PMD_SECT_AP_WRITE | \
768 .long PMD_TYPE_SECT | \
769 PMD_SECT_AP_WRITE | \
774 .long HWCAP_SWP|HWCAP_HALF|HWCAP_THUMB|HWCAP_FAST_MULT|HWCAP_EDSP
775 .long cpu_pxa210_name
776 .long xscale_processor_functions
778 .long xscale_mc_user_fns
779 .long xscale_cache_fns
780 .size __pxa210_proc_info, . - __pxa210_proc_info
782 .type __ixp2400_proc_info, #object
786 .long PMD_TYPE_SECT | \
787 PMD_SECT_BUFFERABLE | \
788 PMD_SECT_CACHEABLE | \
789 PMD_SECT_AP_WRITE | \
791 .long PMD_TYPE_SECT | \
792 PMD_SECT_AP_WRITE | \
797 .long HWCAP_SWP|HWCAP_HALF|HWCAP_THUMB|HWCAP_FAST_MULT|HWCAP_EDSP
798 .long cpu_ixp2400_name
799 .long xscale_processor_functions
801 .long xscale_mc_user_fns
802 .long xscale_cache_fns
803 .size __ixp2400_proc_info, . - __ixp2400_proc_info
805 .type __ixp2800_proc_info, #object
809 .long PMD_TYPE_SECT | \
810 PMD_SECT_BUFFERABLE | \
811 PMD_SECT_CACHEABLE | \
812 PMD_SECT_AP_WRITE | \
814 .long PMD_TYPE_SECT | \
815 PMD_SECT_AP_WRITE | \
820 .long HWCAP_SWP|HWCAP_HALF|HWCAP_THUMB|HWCAP_FAST_MULT|HWCAP_EDSP
821 .long cpu_ixp2800_name
822 .long xscale_processor_functions
824 .long xscale_mc_user_fns
825 .long xscale_cache_fns
826 .size __ixp2800_proc_info, . - __ixp2800_proc_info
828 .type __ixp42x_proc_info, #object
832 .long PMD_TYPE_SECT | \
833 PMD_SECT_BUFFERABLE | \
834 PMD_SECT_CACHEABLE | \
835 PMD_SECT_AP_WRITE | \
837 .long PMD_TYPE_SECT | \
838 PMD_SECT_AP_WRITE | \
843 .long HWCAP_SWP|HWCAP_HALF|HWCAP_THUMB|HWCAP_FAST_MULT|HWCAP_EDSP
844 .long cpu_ixp42x_name
845 .long xscale_processor_functions
847 .long xscale_mc_user_fns
848 .long xscale_cache_fns
849 .size __ixp42x_proc_info, . - __ixp42x_proc_info
851 .type __ixp46x_proc_info, #object
855 .long PMD_TYPE_SECT | \
856 PMD_SECT_BUFFERABLE | \
857 PMD_SECT_CACHEABLE | \
858 PMD_SECT_AP_WRITE | \
860 .long PMD_TYPE_SECT | \
861 PMD_SECT_AP_WRITE | \
866 .long HWCAP_SWP|HWCAP_HALF|HWCAP_THUMB|HWCAP_FAST_MULT|HWCAP_EDSP
867 .long cpu_ixp46x_name
868 .long xscale_processor_functions
870 .long xscale_mc_user_fns
871 .long xscale_cache_fns
872 .size __ixp46x_proc_info, . - __ixp46x_proc_info
874 .type __pxa255_proc_info,#object
878 .long PMD_TYPE_SECT | \
879 PMD_SECT_BUFFERABLE | \
880 PMD_SECT_CACHEABLE | \
881 PMD_SECT_AP_WRITE | \
883 .long PMD_TYPE_SECT | \
884 PMD_SECT_AP_WRITE | \
889 .long HWCAP_SWP|HWCAP_HALF|HWCAP_THUMB|HWCAP_FAST_MULT|HWCAP_EDSP
890 .long cpu_pxa255_name
891 .long xscale_processor_functions
893 .long xscale_mc_user_fns
894 .long xscale_cache_fns
895 .size __pxa255_proc_info, . - __pxa255_proc_info
897 .type __pxa270_proc_info,#object
901 .long PMD_TYPE_SECT | \
902 PMD_SECT_BUFFERABLE | \
903 PMD_SECT_CACHEABLE | \
904 PMD_SECT_AP_WRITE | \
906 .long PMD_TYPE_SECT | \
907 PMD_SECT_AP_WRITE | \
912 .long HWCAP_SWP|HWCAP_HALF|HWCAP_THUMB|HWCAP_FAST_MULT|HWCAP_EDSP|HWCAP_IWMMXT
913 .long cpu_pxa270_name
914 .long xscale_processor_functions
916 .long xscale_mc_user_fns
917 .long xscale_cache_fns
918 .size __pxa270_proc_info, . - __pxa270_proc_info