proc-feroceon.S 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649
  1. /*
  2. * linux/arch/arm/mm/proc-feroceon.S: MMU functions for Feroceon
  3. *
  4. * Heavily based on proc-arm926.S
  5. * Maintainer: Assaf Hoffman <hoffman@marvell.com>
  6. *
  7. * This program is free software; you can redistribute it and/or modify
  8. * it under the terms of the GNU General Public License as published by
  9. * the Free Software Foundation; either version 2 of the License, or
  10. * (at your option) any later version.
  11. *
  12. * This program is distributed in the hope that it will be useful,
  13. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  15. * GNU General Public License for more details.
  16. *
  17. * You should have received a copy of the GNU General Public License
  18. * along with this program; if not, write to the Free Software
  19. * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  20. */
  21. #include <linux/linkage.h>
  22. #include <linux/init.h>
  23. #include <asm/assembler.h>
  24. #include <asm/hwcap.h>
  25. #include <asm/pgtable-hwdef.h>
  26. #include <asm/pgtable.h>
  27. #include <asm/page.h>
  28. #include <asm/ptrace.h>
  29. #include "proc-macros.S"
  30. /*
  31. * This is the maximum size of an area which will be invalidated
  32. * using the single invalidate entry instructions. Anything larger
  33. * than this, and we go for the whole cache.
  34. *
  35. * This value should be chosen such that we choose the cheapest
  36. * alternative.
  37. */
  38. #define CACHE_DLIMIT 16384
  39. /*
  40. * the cache line size of the I and D cache
  41. */
  42. #define CACHE_DLINESIZE 32
  43. .bss
  44. .align 3
  45. __cache_params_loc:
  46. .space 8
  47. .text
  48. __cache_params:
  49. .word __cache_params_loc
  50. /*
  51. * cpu_feroceon_proc_init()
  52. */
  53. ENTRY(cpu_feroceon_proc_init)
  54. mrc p15, 0, r0, c0, c0, 1 @ read cache type register
  55. ldr r1, __cache_params
  56. mov r2, #(16 << 5)
  57. tst r0, #(1 << 16) @ get way
  58. mov r0, r0, lsr #18 @ get cache size order
  59. movne r3, #((4 - 1) << 30) @ 4-way
  60. and r0, r0, #0xf
  61. moveq r3, #0 @ 1-way
  62. mov r2, r2, lsl r0 @ actual cache size
  63. movne r2, r2, lsr #2 @ turned into # of sets
  64. sub r2, r2, #(1 << 5)
  65. stmia r1, {r2, r3}
  66. mov pc, lr
  67. /*
  68. * cpu_feroceon_proc_fin()
  69. */
  70. ENTRY(cpu_feroceon_proc_fin)
  71. stmfd sp!, {lr}
  72. mov ip, #PSR_F_BIT | PSR_I_BIT | SVC_MODE
  73. msr cpsr_c, ip
  74. bl feroceon_flush_kern_cache_all
  75. #if defined(CONFIG_CACHE_FEROCEON_L2) && \
  76. !defined(CONFIG_CACHE_FEROCEON_L2_WRITETHROUGH)
  77. mov r0, #0
  78. mcr p15, 1, r0, c15, c9, 0 @ clean L2
  79. mcr p15, 0, r0, c7, c10, 4 @ drain WB
  80. #endif
  81. mrc p15, 0, r0, c1, c0, 0 @ ctrl register
  82. bic r0, r0, #0x1000 @ ...i............
  83. bic r0, r0, #0x000e @ ............wca.
  84. mcr p15, 0, r0, c1, c0, 0 @ disable caches
  85. ldmfd sp!, {pc}
  86. /*
  87. * cpu_feroceon_reset(loc)
  88. *
  89. * Perform a soft reset of the system. Put the CPU into the
  90. * same state as it would be if it had been reset, and branch
  91. * to what would be the reset vector.
  92. *
  93. * loc: location to jump to for soft reset
  94. */
  95. .align 5
  96. ENTRY(cpu_feroceon_reset)
  97. mov ip, #0
  98. mcr p15, 0, ip, c7, c7, 0 @ invalidate I,D caches
  99. mcr p15, 0, ip, c7, c10, 4 @ drain WB
  100. #ifdef CONFIG_MMU
  101. mcr p15, 0, ip, c8, c7, 0 @ invalidate I & D TLBs
  102. #endif
  103. mrc p15, 0, ip, c1, c0, 0 @ ctrl register
  104. bic ip, ip, #0x000f @ ............wcam
  105. bic ip, ip, #0x1100 @ ...i...s........
  106. mcr p15, 0, ip, c1, c0, 0 @ ctrl register
  107. mov pc, r0
  108. /*
  109. * cpu_feroceon_do_idle()
  110. *
  111. * Called with IRQs disabled
  112. */
  113. .align 5
  114. ENTRY(cpu_feroceon_do_idle)
  115. mov r0, #0
  116. mcr p15, 0, r0, c7, c10, 4 @ Drain write buffer
  117. mcr p15, 0, r0, c7, c0, 4 @ Wait for interrupt
  118. mov pc, lr
  119. /*
  120. * flush_user_cache_all()
  121. *
  122. * Clean and invalidate all cache entries in a particular
  123. * address space.
  124. */
  125. .align 5
  126. ENTRY(feroceon_flush_user_cache_all)
  127. /* FALLTHROUGH */
  128. /*
  129. * flush_kern_cache_all()
  130. *
  131. * Clean and invalidate the entire cache.
  132. */
  133. ENTRY(feroceon_flush_kern_cache_all)
  134. mov r2, #VM_EXEC
  135. __flush_whole_cache:
  136. ldr r1, __cache_params
  137. ldmia r1, {r1, r3}
  138. 1: orr ip, r1, r3
  139. 2: mcr p15, 0, ip, c7, c14, 2 @ clean + invalidate D set/way
  140. subs ip, ip, #(1 << 30) @ next way
  141. bcs 2b
  142. subs r1, r1, #(1 << 5) @ next set
  143. bcs 1b
  144. tst r2, #VM_EXEC
  145. mov ip, #0
  146. mcrne p15, 0, ip, c7, c5, 0 @ invalidate I cache
  147. mcrne p15, 0, ip, c7, c10, 4 @ drain WB
  148. mov pc, lr
  149. /*
  150. * flush_user_cache_range(start, end, flags)
  151. *
  152. * Clean and invalidate a range of cache entries in the
  153. * specified address range.
  154. *
  155. * - start - start address (inclusive)
  156. * - end - end address (exclusive)
  157. * - flags - vm_flags describing address space
  158. */
  159. .align 5
  160. ENTRY(feroceon_flush_user_cache_range)
  161. sub r3, r1, r0 @ calculate total size
  162. cmp r3, #CACHE_DLIMIT
  163. bgt __flush_whole_cache
  164. 1: tst r2, #VM_EXEC
  165. mcr p15, 0, r0, c7, c14, 1 @ clean and invalidate D entry
  166. mcrne p15, 0, r0, c7, c5, 1 @ invalidate I entry
  167. add r0, r0, #CACHE_DLINESIZE
  168. mcr p15, 0, r0, c7, c14, 1 @ clean and invalidate D entry
  169. mcrne p15, 0, r0, c7, c5, 1 @ invalidate I entry
  170. add r0, r0, #CACHE_DLINESIZE
  171. cmp r0, r1
  172. blo 1b
  173. tst r2, #VM_EXEC
  174. mov ip, #0
  175. mcrne p15, 0, ip, c7, c10, 4 @ drain WB
  176. mov pc, lr
  177. /*
  178. * coherent_kern_range(start, end)
  179. *
  180. * Ensure coherency between the Icache and the Dcache in the
  181. * region described by start, end. If you have non-snooping
  182. * Harvard caches, you need to implement this function.
  183. *
  184. * - start - virtual start address
  185. * - end - virtual end address
  186. */
  187. .align 5
  188. ENTRY(feroceon_coherent_kern_range)
  189. /* FALLTHROUGH */
  190. /*
  191. * coherent_user_range(start, end)
  192. *
  193. * Ensure coherency between the Icache and the Dcache in the
  194. * region described by start, end. If you have non-snooping
  195. * Harvard caches, you need to implement this function.
  196. *
  197. * - start - virtual start address
  198. * - end - virtual end address
  199. */
  200. ENTRY(feroceon_coherent_user_range)
  201. bic r0, r0, #CACHE_DLINESIZE - 1
  202. 1: mcr p15, 0, r0, c7, c10, 1 @ clean D entry
  203. mcr p15, 0, r0, c7, c5, 1 @ invalidate I entry
  204. add r0, r0, #CACHE_DLINESIZE
  205. cmp r0, r1
  206. blo 1b
  207. mcr p15, 0, r0, c7, c10, 4 @ drain WB
  208. mov pc, lr
  209. /*
  210. * flush_kern_dcache_area(void *addr, size_t size)
  211. *
  212. * Ensure no D cache aliasing occurs, either with itself or
  213. * the I cache
  214. *
  215. * - addr - kernel address
  216. * - size - region size
  217. */
  218. .align 5
  219. ENTRY(feroceon_flush_kern_dcache_area)
  220. add r1, r0, r1
  221. 1: mcr p15, 0, r0, c7, c14, 1 @ clean+invalidate D entry
  222. add r0, r0, #CACHE_DLINESIZE
  223. cmp r0, r1
  224. blo 1b
  225. mov r0, #0
  226. mcr p15, 0, r0, c7, c5, 0 @ invalidate I cache
  227. mcr p15, 0, r0, c7, c10, 4 @ drain WB
  228. mov pc, lr
  229. .align 5
  230. ENTRY(feroceon_range_flush_kern_dcache_area)
  231. mrs r2, cpsr
  232. add r1, r0, #PAGE_SZ - CACHE_DLINESIZE @ top addr is inclusive
  233. orr r3, r2, #PSR_I_BIT
  234. msr cpsr_c, r3 @ disable interrupts
  235. mcr p15, 5, r0, c15, c15, 0 @ D clean/inv range start
  236. mcr p15, 5, r1, c15, c15, 1 @ D clean/inv range top
  237. msr cpsr_c, r2 @ restore interrupts
  238. mov r0, #0
  239. mcr p15, 0, r0, c7, c5, 0 @ invalidate I cache
  240. mcr p15, 0, r0, c7, c10, 4 @ drain WB
  241. mov pc, lr
  242. /*
  243. * dma_inv_range(start, end)
  244. *
  245. * Invalidate (discard) the specified virtual address range.
  246. * May not write back any entries. If 'start' or 'end'
  247. * are not cache line aligned, those lines must be written
  248. * back.
  249. *
  250. * - start - virtual start address
  251. * - end - virtual end address
  252. *
  253. * (same as v4wb)
  254. */
  255. .align 5
  256. ENTRY(feroceon_dma_inv_range)
  257. tst r0, #CACHE_DLINESIZE - 1
  258. bic r0, r0, #CACHE_DLINESIZE - 1
  259. mcrne p15, 0, r0, c7, c10, 1 @ clean D entry
  260. tst r1, #CACHE_DLINESIZE - 1
  261. mcrne p15, 0, r1, c7, c10, 1 @ clean D entry
  262. 1: mcr p15, 0, r0, c7, c6, 1 @ invalidate D entry
  263. add r0, r0, #CACHE_DLINESIZE
  264. cmp r0, r1
  265. blo 1b
  266. mcr p15, 0, r0, c7, c10, 4 @ drain WB
  267. mov pc, lr
  268. .align 5
  269. ENTRY(feroceon_range_dma_inv_range)
  270. mrs r2, cpsr
  271. tst r0, #CACHE_DLINESIZE - 1
  272. mcrne p15, 0, r0, c7, c10, 1 @ clean D entry
  273. tst r1, #CACHE_DLINESIZE - 1
  274. mcrne p15, 0, r1, c7, c10, 1 @ clean D entry
  275. cmp r1, r0
  276. subne r1, r1, #1 @ top address is inclusive
  277. orr r3, r2, #PSR_I_BIT
  278. msr cpsr_c, r3 @ disable interrupts
  279. mcr p15, 5, r0, c15, c14, 0 @ D inv range start
  280. mcr p15, 5, r1, c15, c14, 1 @ D inv range top
  281. msr cpsr_c, r2 @ restore interrupts
  282. mov pc, lr
  283. /*
  284. * dma_clean_range(start, end)
  285. *
  286. * Clean the specified virtual address range.
  287. *
  288. * - start - virtual start address
  289. * - end - virtual end address
  290. *
  291. * (same as v4wb)
  292. */
  293. .align 5
  294. ENTRY(feroceon_dma_clean_range)
  295. bic r0, r0, #CACHE_DLINESIZE - 1
  296. 1: mcr p15, 0, r0, c7, c10, 1 @ clean D entry
  297. add r0, r0, #CACHE_DLINESIZE
  298. cmp r0, r1
  299. blo 1b
  300. mcr p15, 0, r0, c7, c10, 4 @ drain WB
  301. mov pc, lr
  302. .align 5
  303. ENTRY(feroceon_range_dma_clean_range)
  304. mrs r2, cpsr
  305. cmp r1, r0
  306. subne r1, r1, #1 @ top address is inclusive
  307. orr r3, r2, #PSR_I_BIT
  308. msr cpsr_c, r3 @ disable interrupts
  309. mcr p15, 5, r0, c15, c13, 0 @ D clean range start
  310. mcr p15, 5, r1, c15, c13, 1 @ D clean range top
  311. msr cpsr_c, r2 @ restore interrupts
  312. mcr p15, 0, r0, c7, c10, 4 @ drain WB
  313. mov pc, lr
  314. /*
  315. * dma_flush_range(start, end)
  316. *
  317. * Clean and invalidate the specified virtual address range.
  318. *
  319. * - start - virtual start address
  320. * - end - virtual end address
  321. */
  322. .align 5
  323. ENTRY(feroceon_dma_flush_range)
  324. bic r0, r0, #CACHE_DLINESIZE - 1
  325. 1: mcr p15, 0, r0, c7, c14, 1 @ clean+invalidate D entry
  326. add r0, r0, #CACHE_DLINESIZE
  327. cmp r0, r1
  328. blo 1b
  329. mcr p15, 0, r0, c7, c10, 4 @ drain WB
  330. mov pc, lr
  331. .align 5
  332. ENTRY(feroceon_range_dma_flush_range)
  333. mrs r2, cpsr
  334. cmp r1, r0
  335. subne r1, r1, #1 @ top address is inclusive
  336. orr r3, r2, #PSR_I_BIT
  337. msr cpsr_c, r3 @ disable interrupts
  338. mcr p15, 5, r0, c15, c15, 0 @ D clean/inv range start
  339. mcr p15, 5, r1, c15, c15, 1 @ D clean/inv range top
  340. msr cpsr_c, r2 @ restore interrupts
  341. mcr p15, 0, r0, c7, c10, 4 @ drain WB
  342. mov pc, lr
  343. ENTRY(feroceon_cache_fns)
  344. .long feroceon_flush_kern_cache_all
  345. .long feroceon_flush_user_cache_all
  346. .long feroceon_flush_user_cache_range
  347. .long feroceon_coherent_kern_range
  348. .long feroceon_coherent_user_range
  349. .long feroceon_flush_kern_dcache_area
  350. .long feroceon_dma_inv_range
  351. .long feroceon_dma_clean_range
  352. .long feroceon_dma_flush_range
  353. ENTRY(feroceon_range_cache_fns)
  354. .long feroceon_flush_kern_cache_all
  355. .long feroceon_flush_user_cache_all
  356. .long feroceon_flush_user_cache_range
  357. .long feroceon_coherent_kern_range
  358. .long feroceon_coherent_user_range
  359. .long feroceon_range_flush_kern_dcache_area
  360. .long feroceon_range_dma_inv_range
  361. .long feroceon_range_dma_clean_range
  362. .long feroceon_range_dma_flush_range
  363. .align 5
  364. ENTRY(cpu_feroceon_dcache_clean_area)
  365. #if defined(CONFIG_CACHE_FEROCEON_L2) && \
  366. !defined(CONFIG_CACHE_FEROCEON_L2_WRITETHROUGH)
  367. mov r2, r0
  368. mov r3, r1
  369. #endif
  370. 1: mcr p15, 0, r0, c7, c10, 1 @ clean D entry
  371. add r0, r0, #CACHE_DLINESIZE
  372. subs r1, r1, #CACHE_DLINESIZE
  373. bhi 1b
  374. #if defined(CONFIG_CACHE_FEROCEON_L2) && \
  375. !defined(CONFIG_CACHE_FEROCEON_L2_WRITETHROUGH)
  376. 1: mcr p15, 1, r2, c15, c9, 1 @ clean L2 entry
  377. add r2, r2, #CACHE_DLINESIZE
  378. subs r3, r3, #CACHE_DLINESIZE
  379. bhi 1b
  380. #endif
  381. mcr p15, 0, r0, c7, c10, 4 @ drain WB
  382. mov pc, lr
  383. /* =============================== PageTable ============================== */
  384. /*
  385. * cpu_feroceon_switch_mm(pgd)
  386. *
  387. * Set the translation base pointer to be as described by pgd.
  388. *
  389. * pgd: new page tables
  390. */
  391. .align 5
  392. ENTRY(cpu_feroceon_switch_mm)
  393. #ifdef CONFIG_MMU
  394. /*
  395. * Note: we wish to call __flush_whole_cache but we need to preserve
  396. * lr to do so. The only way without touching main memory is to
  397. * use r2 which is normally used to test the VM_EXEC flag, and
  398. * compensate locally for the skipped ops if it is not set.
  399. */
  400. mov r2, lr @ abuse r2 to preserve lr
  401. bl __flush_whole_cache
  402. @ if r2 contains the VM_EXEC bit then the next 2 ops are done already
  403. tst r2, #VM_EXEC
  404. mcreq p15, 0, ip, c7, c5, 0 @ invalidate I cache
  405. mcreq p15, 0, ip, c7, c10, 4 @ drain WB
  406. mcr p15, 0, r0, c2, c0, 0 @ load page table pointer
  407. mcr p15, 0, ip, c8, c7, 0 @ invalidate I & D TLBs
  408. mov pc, r2
  409. #else
  410. mov pc, lr
  411. #endif
  412. /*
  413. * cpu_feroceon_set_pte_ext(ptep, pte, ext)
  414. *
  415. * Set a PTE and flush it out
  416. */
  417. .align 5
  418. ENTRY(cpu_feroceon_set_pte_ext)
  419. #ifdef CONFIG_MMU
  420. armv3_set_pte_ext wc_disable=0
  421. mov r0, r0
  422. mcr p15, 0, r0, c7, c10, 1 @ clean D entry
  423. #if defined(CONFIG_CACHE_FEROCEON_L2) && \
  424. !defined(CONFIG_CACHE_FEROCEON_L2_WRITETHROUGH)
  425. mcr p15, 1, r0, c15, c9, 1 @ clean L2 entry
  426. #endif
  427. mcr p15, 0, r0, c7, c10, 4 @ drain WB
  428. #endif
  429. mov pc, lr
  430. __INIT
  431. .type __feroceon_setup, #function
  432. __feroceon_setup:
  433. mov r0, #0
  434. mcr p15, 0, r0, c7, c7 @ invalidate I,D caches on v4
  435. mcr p15, 0, r0, c7, c10, 4 @ drain write buffer on v4
  436. #ifdef CONFIG_MMU
  437. mcr p15, 0, r0, c8, c7 @ invalidate I,D TLBs on v4
  438. #endif
  439. adr r5, feroceon_crval
  440. ldmia r5, {r5, r6}
  441. mrc p15, 0, r0, c1, c0 @ get control register v4
  442. bic r0, r0, r5
  443. orr r0, r0, r6
  444. mov pc, lr
  445. .size __feroceon_setup, . - __feroceon_setup
  446. /*
  447. * B
  448. * R P
  449. * .RVI UFRS BLDP WCAM
  450. * .011 .001 ..11 0101
  451. *
  452. */
  453. .type feroceon_crval, #object
  454. feroceon_crval:
  455. crval clear=0x0000773f, mmuset=0x00003135, ucset=0x00001134
  456. __INITDATA
  457. /*
  458. * Purpose : Function pointers used to access above functions - all calls
  459. * come through these
  460. */
  461. .type feroceon_processor_functions, #object
  462. feroceon_processor_functions:
  463. .word v5t_early_abort
  464. .word legacy_pabort
  465. .word cpu_feroceon_proc_init
  466. .word cpu_feroceon_proc_fin
  467. .word cpu_feroceon_reset
  468. .word cpu_feroceon_do_idle
  469. .word cpu_feroceon_dcache_clean_area
  470. .word cpu_feroceon_switch_mm
  471. .word cpu_feroceon_set_pte_ext
  472. .size feroceon_processor_functions, . - feroceon_processor_functions
  473. .section ".rodata"
  474. .type cpu_arch_name, #object
  475. cpu_arch_name:
  476. .asciz "armv5te"
  477. .size cpu_arch_name, . - cpu_arch_name
  478. .type cpu_elf_name, #object
  479. cpu_elf_name:
  480. .asciz "v5"
  481. .size cpu_elf_name, . - cpu_elf_name
  482. .type cpu_feroceon_name, #object
  483. cpu_feroceon_name:
  484. .asciz "Feroceon"
  485. .size cpu_feroceon_name, . - cpu_feroceon_name
  486. .type cpu_88fr531_name, #object
  487. cpu_88fr531_name:
  488. .asciz "Feroceon 88FR531-vd"
  489. .size cpu_88fr531_name, . - cpu_88fr531_name
  490. .type cpu_88fr571_name, #object
  491. cpu_88fr571_name:
  492. .asciz "Feroceon 88FR571-vd"
  493. .size cpu_88fr571_name, . - cpu_88fr571_name
  494. .type cpu_88fr131_name, #object
  495. cpu_88fr131_name:
  496. .asciz "Feroceon 88FR131"
  497. .size cpu_88fr131_name, . - cpu_88fr131_name
  498. .align
  499. .section ".proc.info.init", #alloc, #execinstr
  500. #ifdef CONFIG_CPU_FEROCEON_OLD_ID
  501. .type __feroceon_old_id_proc_info,#object
  502. __feroceon_old_id_proc_info:
  503. .long 0x41009260
  504. .long 0xff00fff0
  505. .long PMD_TYPE_SECT | \
  506. PMD_SECT_BUFFERABLE | \
  507. PMD_SECT_CACHEABLE | \
  508. PMD_BIT4 | \
  509. PMD_SECT_AP_WRITE | \
  510. PMD_SECT_AP_READ
  511. .long PMD_TYPE_SECT | \
  512. PMD_BIT4 | \
  513. PMD_SECT_AP_WRITE | \
  514. PMD_SECT_AP_READ
  515. b __feroceon_setup
  516. .long cpu_arch_name
  517. .long cpu_elf_name
  518. .long HWCAP_SWP|HWCAP_HALF|HWCAP_THUMB|HWCAP_FAST_MULT|HWCAP_EDSP
  519. .long cpu_feroceon_name
  520. .long feroceon_processor_functions
  521. .long v4wbi_tlb_fns
  522. .long feroceon_user_fns
  523. .long feroceon_cache_fns
  524. .size __feroceon_old_id_proc_info, . - __feroceon_old_id_proc_info
  525. #endif
  526. .type __88fr531_proc_info,#object
  527. __88fr531_proc_info:
  528. .long 0x56055310
  529. .long 0xfffffff0
  530. .long PMD_TYPE_SECT | \
  531. PMD_SECT_BUFFERABLE | \
  532. PMD_SECT_CACHEABLE | \
  533. PMD_BIT4 | \
  534. PMD_SECT_AP_WRITE | \
  535. PMD_SECT_AP_READ
  536. .long PMD_TYPE_SECT | \
  537. PMD_BIT4 | \
  538. PMD_SECT_AP_WRITE | \
  539. PMD_SECT_AP_READ
  540. b __feroceon_setup
  541. .long cpu_arch_name
  542. .long cpu_elf_name
  543. .long HWCAP_SWP|HWCAP_HALF|HWCAP_THUMB|HWCAP_FAST_MULT|HWCAP_EDSP
  544. .long cpu_88fr531_name
  545. .long feroceon_processor_functions
  546. .long v4wbi_tlb_fns
  547. .long feroceon_user_fns
  548. .long feroceon_cache_fns
  549. .size __88fr531_proc_info, . - __88fr531_proc_info
  550. .type __88fr571_proc_info,#object
  551. __88fr571_proc_info:
  552. .long 0x56155710
  553. .long 0xfffffff0
  554. .long PMD_TYPE_SECT | \
  555. PMD_SECT_BUFFERABLE | \
  556. PMD_SECT_CACHEABLE | \
  557. PMD_BIT4 | \
  558. PMD_SECT_AP_WRITE | \
  559. PMD_SECT_AP_READ
  560. .long PMD_TYPE_SECT | \
  561. PMD_BIT4 | \
  562. PMD_SECT_AP_WRITE | \
  563. PMD_SECT_AP_READ
  564. b __feroceon_setup
  565. .long cpu_arch_name
  566. .long cpu_elf_name
  567. .long HWCAP_SWP|HWCAP_HALF|HWCAP_THUMB|HWCAP_FAST_MULT|HWCAP_EDSP
  568. .long cpu_88fr571_name
  569. .long feroceon_processor_functions
  570. .long v4wbi_tlb_fns
  571. .long feroceon_user_fns
  572. .long feroceon_range_cache_fns
  573. .size __88fr571_proc_info, . - __88fr571_proc_info
  574. .type __88fr131_proc_info,#object
  575. __88fr131_proc_info:
  576. .long 0x56251310
  577. .long 0xfffffff0
  578. .long PMD_TYPE_SECT | \
  579. PMD_SECT_BUFFERABLE | \
  580. PMD_SECT_CACHEABLE | \
  581. PMD_BIT4 | \
  582. PMD_SECT_AP_WRITE | \
  583. PMD_SECT_AP_READ
  584. .long PMD_TYPE_SECT | \
  585. PMD_BIT4 | \
  586. PMD_SECT_AP_WRITE | \
  587. PMD_SECT_AP_READ
  588. b __feroceon_setup
  589. .long cpu_arch_name
  590. .long cpu_elf_name
  591. .long HWCAP_SWP|HWCAP_HALF|HWCAP_THUMB|HWCAP_FAST_MULT|HWCAP_EDSP
  592. .long cpu_88fr131_name
  593. .long feroceon_processor_functions
  594. .long v4wbi_tlb_fns
  595. .long feroceon_user_fns
  596. .long feroceon_range_cache_fns
  597. .size __88fr131_proc_info, . - __88fr131_proc_info