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@fluxnic.net>
23 #include <linux/linkage.h>
24 #include <linux/init.h>
25 #include <asm/assembler.h>
26 #include <asm/hwcap.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)
117 @ enable write buffer coalescing. Some bootloader disable it
118 mrc p15, 0, r1, c1, c0, 1
120 mcr p15, 0, r1, c1, c0, 1
124 * cpu_xscale_proc_fin()
126 ENTRY(cpu_xscale_proc_fin)
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 ================================ */
186 * Unconditionally clean and invalidate the entire icache.
188 ENTRY(xscale_flush_icache_all)
190 mcr p15, 0, r0, c7, c5, 0 @ invalidate I cache
192 ENDPROC(xscale_flush_icache_all)
195 * flush_user_cache_all()
197 * Invalidate all cache entries in a particular address
200 ENTRY(xscale_flush_user_cache_all)
204 * flush_kern_cache_all()
206 * Clean and invalidate the entire cache.
208 ENTRY(xscale_flush_kern_cache_all)
214 mcrne p15, 0, ip, c7, c5, 0 @ Invalidate I cache & BTB
215 mcrne p15, 0, ip, c7, c10, 4 @ Drain Write (& Fill) Buffer
219 * flush_user_cache_range(start, end, vm_flags)
221 * Invalidate a range of cache entries in the specified
224 * - start - start address (may not be aligned)
225 * - end - end address (exclusive, may not be aligned)
226 * - vma - vma_area_struct describing address space
229 ENTRY(xscale_flush_user_cache_range)
231 sub r3, r1, r0 @ calculate total size
232 cmp r3, #MAX_AREA_SIZE
233 bhs __flush_whole_cache
236 mcrne p15, 0, r0, c7, c5, 1 @ Invalidate I cache line
237 mcr p15, 0, r0, c7, c10, 1 @ Clean D cache line
238 mcr p15, 0, r0, c7, c6, 1 @ Invalidate D cache line
239 add r0, r0, #CACHELINESIZE
243 mcrne p15, 0, ip, c7, c5, 6 @ Invalidate BTB
244 mcrne p15, 0, ip, c7, c10, 4 @ Drain Write (& Fill) Buffer
248 * coherent_kern_range(start, end)
250 * Ensure coherency between the Icache and the Dcache in the
251 * region described by start. If you have non-snooping
252 * Harvard caches, you need to implement this function.
254 * - start - virtual start address
255 * - end - virtual end address
257 * Note: single I-cache line invalidation isn't used here since
258 * it also trashes the mini I-cache used by JTAG debuggers.
260 ENTRY(xscale_coherent_kern_range)
261 bic r0, r0, #CACHELINESIZE - 1
262 1: mcr p15, 0, r0, c7, c10, 1 @ clean D entry
263 add r0, r0, #CACHELINESIZE
267 mcr p15, 0, r0, c7, c5, 0 @ Invalidate I cache & BTB
268 mcr p15, 0, r0, c7, c10, 4 @ Drain Write (& Fill) Buffer
272 * coherent_user_range(start, end)
274 * Ensure coherency between the Icache and the Dcache in the
275 * region described by start. If you have non-snooping
276 * Harvard caches, you need to implement this function.
278 * - start - virtual start address
279 * - end - virtual end address
281 ENTRY(xscale_coherent_user_range)
282 bic r0, r0, #CACHELINESIZE - 1
283 1: mcr p15, 0, r0, c7, c10, 1 @ clean D entry
284 mcr p15, 0, r0, c7, c5, 1 @ Invalidate I cache entry
285 add r0, r0, #CACHELINESIZE
289 mcr p15, 0, r0, c7, c5, 6 @ Invalidate BTB
290 mcr p15, 0, r0, c7, c10, 4 @ Drain Write (& Fill) Buffer
294 * flush_kern_dcache_area(void *addr, size_t size)
296 * Ensure no D cache aliasing occurs, either with itself or
299 * - addr - kernel address
300 * - size - region size
302 ENTRY(xscale_flush_kern_dcache_area)
304 1: mcr p15, 0, r0, c7, c10, 1 @ clean D entry
305 mcr p15, 0, r0, c7, c6, 1 @ invalidate D entry
306 add r0, r0, #CACHELINESIZE
310 mcr p15, 0, r0, c7, c5, 0 @ Invalidate I cache & BTB
311 mcr p15, 0, r0, c7, c10, 4 @ Drain Write (& Fill) Buffer
315 * dma_inv_range(start, end)
317 * Invalidate (discard) the specified virtual address range.
318 * May not write back any entries. If 'start' or 'end'
319 * are not cache line aligned, those lines must be written
322 * - start - virtual start address
323 * - end - virtual end address
325 xscale_dma_inv_range:
326 tst r0, #CACHELINESIZE - 1
327 bic r0, r0, #CACHELINESIZE - 1
328 mcrne p15, 0, r0, c7, c10, 1 @ clean D entry
329 tst r1, #CACHELINESIZE - 1
330 mcrne p15, 0, r1, c7, c10, 1 @ clean D entry
331 1: mcr p15, 0, r0, c7, c6, 1 @ invalidate D entry
332 add r0, r0, #CACHELINESIZE
335 mcr p15, 0, r0, c7, c10, 4 @ Drain Write (& Fill) Buffer
339 * dma_clean_range(start, end)
341 * Clean the specified virtual address range.
343 * - start - virtual start address
344 * - end - virtual end address
346 xscale_dma_clean_range:
347 bic r0, r0, #CACHELINESIZE - 1
348 1: mcr p15, 0, r0, c7, c10, 1 @ clean D entry
349 add r0, r0, #CACHELINESIZE
352 mcr p15, 0, r0, c7, c10, 4 @ Drain Write (& Fill) Buffer
356 * dma_flush_range(start, end)
358 * Clean and invalidate the specified virtual address range.
360 * - start - virtual start address
361 * - end - virtual end address
363 ENTRY(xscale_dma_flush_range)
364 bic r0, r0, #CACHELINESIZE - 1
365 1: mcr p15, 0, r0, c7, c10, 1 @ clean D entry
366 mcr p15, 0, r0, c7, c6, 1 @ invalidate D entry
367 add r0, r0, #CACHELINESIZE
370 mcr p15, 0, r0, c7, c10, 4 @ Drain Write (& Fill) Buffer
374 * dma_map_area(start, size, dir)
375 * - start - kernel virtual start address
376 * - size - size of region
377 * - dir - DMA direction
379 ENTRY(xscale_dma_map_area)
381 cmp r2, #DMA_TO_DEVICE
382 beq xscale_dma_clean_range
383 bcs xscale_dma_inv_range
384 b xscale_dma_flush_range
385 ENDPROC(xscale_dma_map_area)
388 * dma_map_area(start, size, dir)
389 * - start - kernel virtual start address
390 * - size - size of region
391 * - dir - DMA direction
393 ENTRY(xscale_dma_a0_map_area)
395 teq r2, #DMA_TO_DEVICE
396 beq xscale_dma_clean_range
397 b xscale_dma_flush_range
398 ENDPROC(xscsale_dma_a0_map_area)
401 * dma_unmap_area(start, size, dir)
402 * - start - kernel virtual start address
403 * - size - size of region
404 * - dir - DMA direction
406 ENTRY(xscale_dma_unmap_area)
408 ENDPROC(xscale_dma_unmap_area)
410 ENTRY(xscale_cache_fns)
411 .long xscale_flush_icache_all
412 .long xscale_flush_kern_cache_all
413 .long xscale_flush_user_cache_all
414 .long xscale_flush_user_cache_range
415 .long xscale_coherent_kern_range
416 .long xscale_coherent_user_range
417 .long xscale_flush_kern_dcache_area
418 .long xscale_dma_map_area
419 .long xscale_dma_unmap_area
420 .long xscale_dma_flush_range
423 * On stepping A0/A1 of the 80200, invalidating D-cache by line doesn't
424 * clear the dirty bits, which means that if we invalidate a dirty line,
425 * the dirty data can still be written back to external memory later on.
427 * The recommended workaround is to always do a clean D-cache line before
428 * doing an invalidate D-cache line, so on the affected processors,
429 * dma_inv_range() is implemented as dma_flush_range().
431 * See erratum #25 of "Intel 80200 Processor Specification Update",
432 * revision January 22, 2003, available at:
433 * http://www.intel.com/design/iio/specupdt/273415.htm
435 ENTRY(xscale_80200_A0_A1_cache_fns)
436 .long xscale_flush_kern_cache_all
437 .long xscale_flush_user_cache_all
438 .long xscale_flush_user_cache_range
439 .long xscale_coherent_kern_range
440 .long xscale_coherent_user_range
441 .long xscale_flush_kern_dcache_area
442 .long xscale_dma_a0_map_area
443 .long xscale_dma_unmap_area
444 .long xscale_dma_flush_range
446 ENTRY(cpu_xscale_dcache_clean_area)
447 1: mcr p15, 0, r0, c7, c10, 1 @ clean D entry
448 add r0, r0, #CACHELINESIZE
449 subs r1, r1, #CACHELINESIZE
453 /* =============================== PageTable ============================== */
456 * cpu_xscale_switch_mm(pgd)
458 * Set the translation base pointer to be as described by pgd.
460 * pgd: new page tables
463 ENTRY(cpu_xscale_switch_mm)
465 mcr p15, 0, ip, c7, c5, 0 @ Invalidate I cache & BTB
466 mcr p15, 0, ip, c7, c10, 4 @ Drain Write (& Fill) Buffer
467 mcr p15, 0, r0, c2, c0, 0 @ load page table pointer
468 mcr p15, 0, ip, c8, c7, 0 @ invalidate I & D TLBs
472 * cpu_xscale_set_pte_ext(ptep, pte, ext)
474 * Set a PTE and flush it out
476 * Errata 40: must set memory to write-through for user read-only pages.
479 .long 0x00 @ L_PTE_MT_UNCACHED
480 .long PTE_BUFFERABLE @ L_PTE_MT_BUFFERABLE
481 .long PTE_CACHEABLE @ L_PTE_MT_WRITETHROUGH
482 .long PTE_CACHEABLE | PTE_BUFFERABLE @ L_PTE_MT_WRITEBACK
483 .long PTE_EXT_TEX(1) | PTE_BUFFERABLE @ L_PTE_MT_DEV_SHARED
485 .long PTE_EXT_TEX(1) | PTE_CACHEABLE @ L_PTE_MT_MINICACHE
486 .long PTE_EXT_TEX(1) | PTE_CACHEABLE | PTE_BUFFERABLE @ L_PTE_MT_WRITEALLOC
488 .long PTE_BUFFERABLE @ L_PTE_MT_DEV_WC
490 .long PTE_CACHEABLE | PTE_BUFFERABLE @ L_PTE_MT_DEV_CACHED
491 .long 0x00 @ L_PTE_MT_DEV_NONSHARED
497 ENTRY(cpu_xscale_set_pte_ext)
498 xscale_set_pte_ext_prologue
501 @ Erratum 40: must set memory to write-through for user read-only pages
503 and ip, r1, #(L_PTE_MT_MASK | L_PTE_USER | L_PTE_RDONLY) & ~(4 << 2)
504 teq ip, #L_PTE_MT_WRITEBACK | L_PTE_USER | L_PTE_RDONLY
506 moveq r1, #L_PTE_MT_WRITETHROUGH
507 and r1, r1, #L_PTE_MT_MASK
508 adr ip, cpu_xscale_mt_table
513 xscale_set_pte_ext_epilogue
523 .type __xscale_setup, #function
525 mcr p15, 0, ip, c7, c7, 0 @ invalidate I, D caches & BTB
526 mcr p15, 0, ip, c7, c10, 4 @ Drain Write (& Fill) Buffer
527 mcr p15, 0, ip, c8, c7, 0 @ invalidate I, D TLBs
528 mov r0, #1 << 6 @ cp6 for IOP3xx and Bulverde
529 orr r0, r0, #1 << 13 @ Its undefined whether this
530 mcr p15, 0, r0, c15, c1, 0 @ affects USR or SVC modes
534 mrc p15, 0, r0, c1, c0, 0 @ get control register
538 .size __xscale_setup, . - __xscale_setup
542 * .RVI ZFRS BLDP WCAM
543 * ..11 1.01 .... .101
546 .type xscale_crval, #object
548 crval clear=0x00003b07, mmuset=0x00003905, ucset=0x00001900
553 * Purpose : Function pointers used to access above functions - all calls
557 .type xscale_processor_functions, #object
558 ENTRY(xscale_processor_functions)
559 .word v5t_early_abort
561 .word cpu_xscale_proc_init
562 .word cpu_xscale_proc_fin
563 .word cpu_xscale_reset
564 .word cpu_xscale_do_idle
565 .word cpu_xscale_dcache_clean_area
566 .word cpu_xscale_switch_mm
567 .word cpu_xscale_set_pte_ext
568 .size xscale_processor_functions, . - xscale_processor_functions
572 .type cpu_arch_name, #object
575 .size cpu_arch_name, . - cpu_arch_name
577 .type cpu_elf_name, #object
580 .size cpu_elf_name, . - cpu_elf_name
582 .type cpu_80200_A0_A1_name, #object
583 cpu_80200_A0_A1_name:
584 .asciz "XScale-80200 A0/A1"
585 .size cpu_80200_A0_A1_name, . - cpu_80200_A0_A1_name
587 .type cpu_80200_name, #object
589 .asciz "XScale-80200"
590 .size cpu_80200_name, . - cpu_80200_name
592 .type cpu_80219_name, #object
594 .asciz "XScale-80219"
595 .size cpu_80219_name, . - cpu_80219_name
597 .type cpu_8032x_name, #object
599 .asciz "XScale-IOP8032x Family"
600 .size cpu_8032x_name, . - cpu_8032x_name
602 .type cpu_8033x_name, #object
604 .asciz "XScale-IOP8033x Family"
605 .size cpu_8033x_name, . - cpu_8033x_name
607 .type cpu_pxa250_name, #object
609 .asciz "XScale-PXA250"
610 .size cpu_pxa250_name, . - cpu_pxa250_name
612 .type cpu_pxa210_name, #object
614 .asciz "XScale-PXA210"
615 .size cpu_pxa210_name, . - cpu_pxa210_name
617 .type cpu_ixp42x_name, #object
619 .asciz "XScale-IXP42x Family"
620 .size cpu_ixp42x_name, . - cpu_ixp42x_name
622 .type cpu_ixp43x_name, #object
624 .asciz "XScale-IXP43x Family"
625 .size cpu_ixp43x_name, . - cpu_ixp43x_name
627 .type cpu_ixp46x_name, #object
629 .asciz "XScale-IXP46x Family"
630 .size cpu_ixp46x_name, . - cpu_ixp46x_name
632 .type cpu_ixp2400_name, #object
634 .asciz "XScale-IXP2400"
635 .size cpu_ixp2400_name, . - cpu_ixp2400_name
637 .type cpu_ixp2800_name, #object
639 .asciz "XScale-IXP2800"
640 .size cpu_ixp2800_name, . - cpu_ixp2800_name
642 .type cpu_pxa255_name, #object
644 .asciz "XScale-PXA255"
645 .size cpu_pxa255_name, . - cpu_pxa255_name
647 .type cpu_pxa270_name, #object
649 .asciz "XScale-PXA270"
650 .size cpu_pxa270_name, . - cpu_pxa270_name
654 .section ".proc.info.init", #alloc, #execinstr
656 .type __80200_A0_A1_proc_info,#object
657 __80200_A0_A1_proc_info:
660 .long PMD_TYPE_SECT | \
661 PMD_SECT_BUFFERABLE | \
662 PMD_SECT_CACHEABLE | \
663 PMD_SECT_AP_WRITE | \
665 .long PMD_TYPE_SECT | \
666 PMD_SECT_AP_WRITE | \
671 .long HWCAP_SWP|HWCAP_HALF|HWCAP_THUMB|HWCAP_FAST_MULT|HWCAP_EDSP
673 .long xscale_processor_functions
675 .long xscale_mc_user_fns
676 .long xscale_80200_A0_A1_cache_fns
677 .size __80200_A0_A1_proc_info, . - __80200_A0_A1_proc_info
679 .type __80200_proc_info,#object
683 .long PMD_TYPE_SECT | \
684 PMD_SECT_BUFFERABLE | \
685 PMD_SECT_CACHEABLE | \
686 PMD_SECT_AP_WRITE | \
688 .long PMD_TYPE_SECT | \
689 PMD_SECT_AP_WRITE | \
694 .long HWCAP_SWP|HWCAP_HALF|HWCAP_THUMB|HWCAP_FAST_MULT|HWCAP_EDSP
696 .long xscale_processor_functions
698 .long xscale_mc_user_fns
699 .long xscale_cache_fns
700 .size __80200_proc_info, . - __80200_proc_info
702 .type __80219_proc_info,#object
706 .long PMD_TYPE_SECT | \
707 PMD_SECT_BUFFERABLE | \
708 PMD_SECT_CACHEABLE | \
709 PMD_SECT_AP_WRITE | \
711 .long PMD_TYPE_SECT | \
712 PMD_SECT_AP_WRITE | \
717 .long HWCAP_SWP|HWCAP_HALF|HWCAP_THUMB|HWCAP_FAST_MULT|HWCAP_EDSP
719 .long xscale_processor_functions
721 .long xscale_mc_user_fns
722 .long xscale_cache_fns
723 .size __80219_proc_info, . - __80219_proc_info
725 .type __8032x_proc_info,#object
729 .long PMD_TYPE_SECT | \
730 PMD_SECT_BUFFERABLE | \
731 PMD_SECT_CACHEABLE | \
732 PMD_SECT_AP_WRITE | \
734 .long PMD_TYPE_SECT | \
735 PMD_SECT_AP_WRITE | \
740 .long HWCAP_SWP|HWCAP_HALF|HWCAP_THUMB|HWCAP_FAST_MULT|HWCAP_EDSP
742 .long xscale_processor_functions
744 .long xscale_mc_user_fns
745 .long xscale_cache_fns
746 .size __8032x_proc_info, . - __8032x_proc_info
748 .type __8033x_proc_info,#object
752 .long PMD_TYPE_SECT | \
753 PMD_SECT_BUFFERABLE | \
754 PMD_SECT_CACHEABLE | \
755 PMD_SECT_AP_WRITE | \
757 .long PMD_TYPE_SECT | \
758 PMD_SECT_AP_WRITE | \
763 .long HWCAP_SWP|HWCAP_HALF|HWCAP_THUMB|HWCAP_FAST_MULT|HWCAP_EDSP
765 .long xscale_processor_functions
767 .long xscale_mc_user_fns
768 .long xscale_cache_fns
769 .size __8033x_proc_info, . - __8033x_proc_info
771 .type __pxa250_proc_info,#object
775 .long PMD_TYPE_SECT | \
776 PMD_SECT_BUFFERABLE | \
777 PMD_SECT_CACHEABLE | \
778 PMD_SECT_AP_WRITE | \
780 .long PMD_TYPE_SECT | \
781 PMD_SECT_AP_WRITE | \
786 .long HWCAP_SWP|HWCAP_HALF|HWCAP_THUMB|HWCAP_FAST_MULT|HWCAP_EDSP
787 .long cpu_pxa250_name
788 .long xscale_processor_functions
790 .long xscale_mc_user_fns
791 .long xscale_cache_fns
792 .size __pxa250_proc_info, . - __pxa250_proc_info
794 .type __pxa210_proc_info,#object
798 .long PMD_TYPE_SECT | \
799 PMD_SECT_BUFFERABLE | \
800 PMD_SECT_CACHEABLE | \
801 PMD_SECT_AP_WRITE | \
803 .long PMD_TYPE_SECT | \
804 PMD_SECT_AP_WRITE | \
809 .long HWCAP_SWP|HWCAP_HALF|HWCAP_THUMB|HWCAP_FAST_MULT|HWCAP_EDSP
810 .long cpu_pxa210_name
811 .long xscale_processor_functions
813 .long xscale_mc_user_fns
814 .long xscale_cache_fns
815 .size __pxa210_proc_info, . - __pxa210_proc_info
817 .type __ixp2400_proc_info, #object
821 .long PMD_TYPE_SECT | \
822 PMD_SECT_BUFFERABLE | \
823 PMD_SECT_CACHEABLE | \
824 PMD_SECT_AP_WRITE | \
826 .long PMD_TYPE_SECT | \
827 PMD_SECT_AP_WRITE | \
832 .long HWCAP_SWP|HWCAP_HALF|HWCAP_THUMB|HWCAP_FAST_MULT|HWCAP_EDSP
833 .long cpu_ixp2400_name
834 .long xscale_processor_functions
836 .long xscale_mc_user_fns
837 .long xscale_cache_fns
838 .size __ixp2400_proc_info, . - __ixp2400_proc_info
840 .type __ixp2800_proc_info, #object
844 .long PMD_TYPE_SECT | \
845 PMD_SECT_BUFFERABLE | \
846 PMD_SECT_CACHEABLE | \
847 PMD_SECT_AP_WRITE | \
849 .long PMD_TYPE_SECT | \
850 PMD_SECT_AP_WRITE | \
855 .long HWCAP_SWP|HWCAP_HALF|HWCAP_THUMB|HWCAP_FAST_MULT|HWCAP_EDSP
856 .long cpu_ixp2800_name
857 .long xscale_processor_functions
859 .long xscale_mc_user_fns
860 .long xscale_cache_fns
861 .size __ixp2800_proc_info, . - __ixp2800_proc_info
863 .type __ixp42x_proc_info, #object
867 .long PMD_TYPE_SECT | \
868 PMD_SECT_BUFFERABLE | \
869 PMD_SECT_CACHEABLE | \
870 PMD_SECT_AP_WRITE | \
872 .long PMD_TYPE_SECT | \
873 PMD_SECT_AP_WRITE | \
878 .long HWCAP_SWP|HWCAP_HALF|HWCAP_THUMB|HWCAP_FAST_MULT|HWCAP_EDSP
879 .long cpu_ixp42x_name
880 .long xscale_processor_functions
882 .long xscale_mc_user_fns
883 .long xscale_cache_fns
884 .size __ixp42x_proc_info, . - __ixp42x_proc_info
886 .type __ixp43x_proc_info, #object
890 .long PMD_TYPE_SECT | \
891 PMD_SECT_BUFFERABLE | \
892 PMD_SECT_CACHEABLE | \
893 PMD_SECT_AP_WRITE | \
895 .long PMD_TYPE_SECT | \
896 PMD_SECT_AP_WRITE | \
901 .long HWCAP_SWP|HWCAP_HALF|HWCAP_THUMB|HWCAP_FAST_MULT|HWCAP_EDSP
902 .long cpu_ixp43x_name
903 .long xscale_processor_functions
905 .long xscale_mc_user_fns
906 .long xscale_cache_fns
907 .size __ixp43x_proc_info, . - __ixp43x_proc_info
909 .type __ixp46x_proc_info, #object
913 .long PMD_TYPE_SECT | \
914 PMD_SECT_BUFFERABLE | \
915 PMD_SECT_CACHEABLE | \
916 PMD_SECT_AP_WRITE | \
918 .long PMD_TYPE_SECT | \
919 PMD_SECT_AP_WRITE | \
924 .long HWCAP_SWP|HWCAP_HALF|HWCAP_THUMB|HWCAP_FAST_MULT|HWCAP_EDSP
925 .long cpu_ixp46x_name
926 .long xscale_processor_functions
928 .long xscale_mc_user_fns
929 .long xscale_cache_fns
930 .size __ixp46x_proc_info, . - __ixp46x_proc_info
932 .type __pxa255_proc_info,#object
936 .long PMD_TYPE_SECT | \
937 PMD_SECT_BUFFERABLE | \
938 PMD_SECT_CACHEABLE | \
939 PMD_SECT_AP_WRITE | \
941 .long PMD_TYPE_SECT | \
942 PMD_SECT_AP_WRITE | \
947 .long HWCAP_SWP|HWCAP_HALF|HWCAP_THUMB|HWCAP_FAST_MULT|HWCAP_EDSP
948 .long cpu_pxa255_name
949 .long xscale_processor_functions
951 .long xscale_mc_user_fns
952 .long xscale_cache_fns
953 .size __pxa255_proc_info, . - __pxa255_proc_info
955 .type __pxa270_proc_info,#object
959 .long PMD_TYPE_SECT | \
960 PMD_SECT_BUFFERABLE | \
961 PMD_SECT_CACHEABLE | \
962 PMD_SECT_AP_WRITE | \
964 .long PMD_TYPE_SECT | \
965 PMD_SECT_AP_WRITE | \
970 .long HWCAP_SWP|HWCAP_HALF|HWCAP_THUMB|HWCAP_FAST_MULT|HWCAP_EDSP
971 .long cpu_pxa270_name
972 .long xscale_processor_functions
974 .long xscale_mc_user_fns
975 .long xscale_cache_fns
976 .size __pxa270_proc_info, . - __pxa270_proc_info