proc-feroceon.S 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648
  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_page(void *page)
  211. *
  212. * Ensure no D cache aliasing occurs, either with itself or
  213. * the I cache
  214. *
  215. * - addr - page aligned address
  216. */
  217. .align 5
  218. ENTRY(feroceon_flush_kern_dcache_page)
  219. add r1, r0, #PAGE_SZ
  220. 1: mcr p15, 0, r0, c7, c14, 1 @ clean+invalidate D entry
  221. add r0, r0, #CACHE_DLINESIZE
  222. cmp r0, r1
  223. blo 1b
  224. mov r0, #0
  225. mcr p15, 0, r0, c7, c5, 0 @ invalidate I cache
  226. mcr p15, 0, r0, c7, c10, 4 @ drain WB
  227. mov pc, lr
  228. .align 5
  229. ENTRY(feroceon_range_flush_kern_dcache_page)
  230. mrs r2, cpsr
  231. add r1, r0, #PAGE_SZ - CACHE_DLINESIZE @ top addr is inclusive
  232. orr r3, r2, #PSR_I_BIT
  233. msr cpsr_c, r3 @ disable interrupts
  234. mcr p15, 5, r0, c15, c15, 0 @ D clean/inv range start
  235. mcr p15, 5, r1, c15, c15, 1 @ D clean/inv range top
  236. msr cpsr_c, r2 @ restore interrupts
  237. mov r0, #0
  238. mcr p15, 0, r0, c7, c5, 0 @ invalidate I cache
  239. mcr p15, 0, r0, c7, c10, 4 @ drain WB
  240. mov pc, lr
  241. /*
  242. * dma_inv_range(start, end)
  243. *
  244. * Invalidate (discard) the specified virtual address range.
  245. * May not write back any entries. If 'start' or 'end'
  246. * are not cache line aligned, those lines must be written
  247. * back.
  248. *
  249. * - start - virtual start address
  250. * - end - virtual end address
  251. *
  252. * (same as v4wb)
  253. */
  254. .align 5
  255. ENTRY(feroceon_dma_inv_range)
  256. tst r0, #CACHE_DLINESIZE - 1
  257. bic r0, r0, #CACHE_DLINESIZE - 1
  258. mcrne p15, 0, r0, c7, c10, 1 @ clean D entry
  259. tst r1, #CACHE_DLINESIZE - 1
  260. mcrne p15, 0, r1, c7, c10, 1 @ clean D entry
  261. 1: mcr p15, 0, r0, c7, c6, 1 @ invalidate D entry
  262. add r0, r0, #CACHE_DLINESIZE
  263. cmp r0, r1
  264. blo 1b
  265. mcr p15, 0, r0, c7, c10, 4 @ drain WB
  266. mov pc, lr
  267. .align 5
  268. ENTRY(feroceon_range_dma_inv_range)
  269. mrs r2, cpsr
  270. tst r0, #CACHE_DLINESIZE - 1
  271. mcrne p15, 0, r0, c7, c10, 1 @ clean D entry
  272. tst r1, #CACHE_DLINESIZE - 1
  273. mcrne p15, 0, r1, c7, c10, 1 @ clean D entry
  274. cmp r1, r0
  275. subne r1, r1, #1 @ top address is inclusive
  276. orr r3, r2, #PSR_I_BIT
  277. msr cpsr_c, r3 @ disable interrupts
  278. mcr p15, 5, r0, c15, c14, 0 @ D inv range start
  279. mcr p15, 5, r1, c15, c14, 1 @ D inv range top
  280. msr cpsr_c, r2 @ restore interrupts
  281. mov pc, lr
  282. /*
  283. * dma_clean_range(start, end)
  284. *
  285. * Clean the specified virtual address range.
  286. *
  287. * - start - virtual start address
  288. * - end - virtual end address
  289. *
  290. * (same as v4wb)
  291. */
  292. .align 5
  293. ENTRY(feroceon_dma_clean_range)
  294. bic r0, r0, #CACHE_DLINESIZE - 1
  295. 1: mcr p15, 0, r0, c7, c10, 1 @ clean D entry
  296. add r0, r0, #CACHE_DLINESIZE
  297. cmp r0, r1
  298. blo 1b
  299. mcr p15, 0, r0, c7, c10, 4 @ drain WB
  300. mov pc, lr
  301. .align 5
  302. ENTRY(feroceon_range_dma_clean_range)
  303. mrs r2, cpsr
  304. cmp r1, r0
  305. subne r1, r1, #1 @ top address is inclusive
  306. orr r3, r2, #PSR_I_BIT
  307. msr cpsr_c, r3 @ disable interrupts
  308. mcr p15, 5, r0, c15, c13, 0 @ D clean range start
  309. mcr p15, 5, r1, c15, c13, 1 @ D clean range top
  310. msr cpsr_c, r2 @ restore interrupts
  311. mcr p15, 0, r0, c7, c10, 4 @ drain WB
  312. mov pc, lr
  313. /*
  314. * dma_flush_range(start, end)
  315. *
  316. * Clean and invalidate the specified virtual address range.
  317. *
  318. * - start - virtual start address
  319. * - end - virtual end address
  320. */
  321. .align 5
  322. ENTRY(feroceon_dma_flush_range)
  323. bic r0, r0, #CACHE_DLINESIZE - 1
  324. 1: mcr p15, 0, r0, c7, c14, 1 @ clean+invalidate D entry
  325. add r0, r0, #CACHE_DLINESIZE
  326. cmp r0, r1
  327. blo 1b
  328. mcr p15, 0, r0, c7, c10, 4 @ drain WB
  329. mov pc, lr
  330. .align 5
  331. ENTRY(feroceon_range_dma_flush_range)
  332. mrs r2, cpsr
  333. cmp r1, r0
  334. subne r1, r1, #1 @ top address is inclusive
  335. orr r3, r2, #PSR_I_BIT
  336. msr cpsr_c, r3 @ disable interrupts
  337. mcr p15, 5, r0, c15, c15, 0 @ D clean/inv range start
  338. mcr p15, 5, r1, c15, c15, 1 @ D clean/inv range top
  339. msr cpsr_c, r2 @ restore interrupts
  340. mcr p15, 0, r0, c7, c10, 4 @ drain WB
  341. mov pc, lr
  342. ENTRY(feroceon_cache_fns)
  343. .long feroceon_flush_kern_cache_all
  344. .long feroceon_flush_user_cache_all
  345. .long feroceon_flush_user_cache_range
  346. .long feroceon_coherent_kern_range
  347. .long feroceon_coherent_user_range
  348. .long feroceon_flush_kern_dcache_page
  349. .long feroceon_dma_inv_range
  350. .long feroceon_dma_clean_range
  351. .long feroceon_dma_flush_range
  352. ENTRY(feroceon_range_cache_fns)
  353. .long feroceon_flush_kern_cache_all
  354. .long feroceon_flush_user_cache_all
  355. .long feroceon_flush_user_cache_range
  356. .long feroceon_coherent_kern_range
  357. .long feroceon_coherent_user_range
  358. .long feroceon_range_flush_kern_dcache_page
  359. .long feroceon_range_dma_inv_range
  360. .long feroceon_range_dma_clean_range
  361. .long feroceon_range_dma_flush_range
  362. .align 5
  363. ENTRY(cpu_feroceon_dcache_clean_area)
  364. #if defined(CONFIG_CACHE_FEROCEON_L2) && \
  365. !defined(CONFIG_CACHE_FEROCEON_L2_WRITETHROUGH)
  366. mov r2, r0
  367. mov r3, r1
  368. #endif
  369. 1: mcr p15, 0, r0, c7, c10, 1 @ clean D entry
  370. add r0, r0, #CACHE_DLINESIZE
  371. subs r1, r1, #CACHE_DLINESIZE
  372. bhi 1b
  373. #if defined(CONFIG_CACHE_FEROCEON_L2) && \
  374. !defined(CONFIG_CACHE_FEROCEON_L2_WRITETHROUGH)
  375. 1: mcr p15, 1, r2, c15, c9, 1 @ clean L2 entry
  376. add r2, r2, #CACHE_DLINESIZE
  377. subs r3, r3, #CACHE_DLINESIZE
  378. bhi 1b
  379. #endif
  380. mcr p15, 0, r0, c7, c10, 4 @ drain WB
  381. mov pc, lr
  382. /* =============================== PageTable ============================== */
  383. /*
  384. * cpu_feroceon_switch_mm(pgd)
  385. *
  386. * Set the translation base pointer to be as described by pgd.
  387. *
  388. * pgd: new page tables
  389. */
  390. .align 5
  391. ENTRY(cpu_feroceon_switch_mm)
  392. #ifdef CONFIG_MMU
  393. /*
  394. * Note: we wish to call __flush_whole_cache but we need to preserve
  395. * lr to do so. The only way without touching main memory is to
  396. * use r2 which is normally used to test the VM_EXEC flag, and
  397. * compensate locally for the skipped ops if it is not set.
  398. */
  399. mov r2, lr @ abuse r2 to preserve lr
  400. bl __flush_whole_cache
  401. @ if r2 contains the VM_EXEC bit then the next 2 ops are done already
  402. tst r2, #VM_EXEC
  403. mcreq p15, 0, ip, c7, c5, 0 @ invalidate I cache
  404. mcreq p15, 0, ip, c7, c10, 4 @ drain WB
  405. mcr p15, 0, r0, c2, c0, 0 @ load page table pointer
  406. mcr p15, 0, ip, c8, c7, 0 @ invalidate I & D TLBs
  407. mov pc, r2
  408. #else
  409. mov pc, lr
  410. #endif
  411. /*
  412. * cpu_feroceon_set_pte_ext(ptep, pte, ext)
  413. *
  414. * Set a PTE and flush it out
  415. */
  416. .align 5
  417. ENTRY(cpu_feroceon_set_pte_ext)
  418. #ifdef CONFIG_MMU
  419. armv3_set_pte_ext wc_disable=0
  420. mov r0, r0
  421. mcr p15, 0, r0, c7, c10, 1 @ clean D entry
  422. #if defined(CONFIG_CACHE_FEROCEON_L2) && \
  423. !defined(CONFIG_CACHE_FEROCEON_L2_WRITETHROUGH)
  424. mcr p15, 1, r0, c15, c9, 1 @ clean L2 entry
  425. #endif
  426. mcr p15, 0, r0, c7, c10, 4 @ drain WB
  427. #endif
  428. mov pc, lr
  429. __INIT
  430. .type __feroceon_setup, #function
  431. __feroceon_setup:
  432. mov r0, #0
  433. mcr p15, 0, r0, c7, c7 @ invalidate I,D caches on v4
  434. mcr p15, 0, r0, c7, c10, 4 @ drain write buffer on v4
  435. #ifdef CONFIG_MMU
  436. mcr p15, 0, r0, c8, c7 @ invalidate I,D TLBs on v4
  437. #endif
  438. adr r5, feroceon_crval
  439. ldmia r5, {r5, r6}
  440. mrc p15, 0, r0, c1, c0 @ get control register v4
  441. bic r0, r0, r5
  442. orr r0, r0, r6
  443. mov pc, lr
  444. .size __feroceon_setup, . - __feroceon_setup
  445. /*
  446. * B
  447. * R P
  448. * .RVI UFRS BLDP WCAM
  449. * .011 .001 ..11 0101
  450. *
  451. */
  452. .type feroceon_crval, #object
  453. feroceon_crval:
  454. crval clear=0x0000773f, mmuset=0x00003135, ucset=0x00001134
  455. __INITDATA
  456. /*
  457. * Purpose : Function pointers used to access above functions - all calls
  458. * come through these
  459. */
  460. .type feroceon_processor_functions, #object
  461. feroceon_processor_functions:
  462. .word v5t_early_abort
  463. .word pabort_noifar
  464. .word cpu_feroceon_proc_init
  465. .word cpu_feroceon_proc_fin
  466. .word cpu_feroceon_reset
  467. .word cpu_feroceon_do_idle
  468. .word cpu_feroceon_dcache_clean_area
  469. .word cpu_feroceon_switch_mm
  470. .word cpu_feroceon_set_pte_ext
  471. .size feroceon_processor_functions, . - feroceon_processor_functions
  472. .section ".rodata"
  473. .type cpu_arch_name, #object
  474. cpu_arch_name:
  475. .asciz "armv5te"
  476. .size cpu_arch_name, . - cpu_arch_name
  477. .type cpu_elf_name, #object
  478. cpu_elf_name:
  479. .asciz "v5"
  480. .size cpu_elf_name, . - cpu_elf_name
  481. .type cpu_feroceon_name, #object
  482. cpu_feroceon_name:
  483. .asciz "Feroceon"
  484. .size cpu_feroceon_name, . - cpu_feroceon_name
  485. .type cpu_88fr531_name, #object
  486. cpu_88fr531_name:
  487. .asciz "Feroceon 88FR531-vd"
  488. .size cpu_88fr531_name, . - cpu_88fr531_name
  489. .type cpu_88fr571_name, #object
  490. cpu_88fr571_name:
  491. .asciz "Feroceon 88FR571-vd"
  492. .size cpu_88fr571_name, . - cpu_88fr571_name
  493. .type cpu_88fr131_name, #object
  494. cpu_88fr131_name:
  495. .asciz "Feroceon 88FR131"
  496. .size cpu_88fr131_name, . - cpu_88fr131_name
  497. .align
  498. .section ".proc.info.init", #alloc, #execinstr
  499. #ifdef CONFIG_CPU_FEROCEON_OLD_ID
  500. .type __feroceon_old_id_proc_info,#object
  501. __feroceon_old_id_proc_info:
  502. .long 0x41009260
  503. .long 0xff00fff0
  504. .long PMD_TYPE_SECT | \
  505. PMD_SECT_BUFFERABLE | \
  506. PMD_SECT_CACHEABLE | \
  507. PMD_BIT4 | \
  508. PMD_SECT_AP_WRITE | \
  509. PMD_SECT_AP_READ
  510. .long PMD_TYPE_SECT | \
  511. PMD_BIT4 | \
  512. PMD_SECT_AP_WRITE | \
  513. PMD_SECT_AP_READ
  514. b __feroceon_setup
  515. .long cpu_arch_name
  516. .long cpu_elf_name
  517. .long HWCAP_SWP|HWCAP_HALF|HWCAP_THUMB|HWCAP_FAST_MULT|HWCAP_EDSP
  518. .long cpu_feroceon_name
  519. .long feroceon_processor_functions
  520. .long v4wbi_tlb_fns
  521. .long feroceon_user_fns
  522. .long feroceon_cache_fns
  523. .size __feroceon_old_id_proc_info, . - __feroceon_old_id_proc_info
  524. #endif
  525. .type __88fr531_proc_info,#object
  526. __88fr531_proc_info:
  527. .long 0x56055310
  528. .long 0xfffffff0
  529. .long PMD_TYPE_SECT | \
  530. PMD_SECT_BUFFERABLE | \
  531. PMD_SECT_CACHEABLE | \
  532. PMD_BIT4 | \
  533. PMD_SECT_AP_WRITE | \
  534. PMD_SECT_AP_READ
  535. .long PMD_TYPE_SECT | \
  536. PMD_BIT4 | \
  537. PMD_SECT_AP_WRITE | \
  538. PMD_SECT_AP_READ
  539. b __feroceon_setup
  540. .long cpu_arch_name
  541. .long cpu_elf_name
  542. .long HWCAP_SWP|HWCAP_HALF|HWCAP_THUMB|HWCAP_FAST_MULT|HWCAP_EDSP
  543. .long cpu_88fr531_name
  544. .long feroceon_processor_functions
  545. .long v4wbi_tlb_fns
  546. .long feroceon_user_fns
  547. .long feroceon_cache_fns
  548. .size __88fr531_proc_info, . - __88fr531_proc_info
  549. .type __88fr571_proc_info,#object
  550. __88fr571_proc_info:
  551. .long 0x56155710
  552. .long 0xfffffff0
  553. .long PMD_TYPE_SECT | \
  554. PMD_SECT_BUFFERABLE | \
  555. PMD_SECT_CACHEABLE | \
  556. PMD_BIT4 | \
  557. PMD_SECT_AP_WRITE | \
  558. PMD_SECT_AP_READ
  559. .long PMD_TYPE_SECT | \
  560. PMD_BIT4 | \
  561. PMD_SECT_AP_WRITE | \
  562. PMD_SECT_AP_READ
  563. b __feroceon_setup
  564. .long cpu_arch_name
  565. .long cpu_elf_name
  566. .long HWCAP_SWP|HWCAP_HALF|HWCAP_THUMB|HWCAP_FAST_MULT|HWCAP_EDSP
  567. .long cpu_88fr571_name
  568. .long feroceon_processor_functions
  569. .long v4wbi_tlb_fns
  570. .long feroceon_user_fns
  571. .long feroceon_range_cache_fns
  572. .size __88fr571_proc_info, . - __88fr571_proc_info
  573. .type __88fr131_proc_info,#object
  574. __88fr131_proc_info:
  575. .long 0x56251310
  576. .long 0xfffffff0
  577. .long PMD_TYPE_SECT | \
  578. PMD_SECT_BUFFERABLE | \
  579. PMD_SECT_CACHEABLE | \
  580. PMD_BIT4 | \
  581. PMD_SECT_AP_WRITE | \
  582. PMD_SECT_AP_READ
  583. .long PMD_TYPE_SECT | \
  584. PMD_BIT4 | \
  585. PMD_SECT_AP_WRITE | \
  586. PMD_SECT_AP_READ
  587. b __feroceon_setup
  588. .long cpu_arch_name
  589. .long cpu_elf_name
  590. .long HWCAP_SWP|HWCAP_HALF|HWCAP_THUMB|HWCAP_FAST_MULT|HWCAP_EDSP
  591. .long cpu_88fr131_name
  592. .long feroceon_processor_functions
  593. .long v4wbi_tlb_fns
  594. .long feroceon_user_fns
  595. .long feroceon_range_cache_fns
  596. .size __88fr131_proc_info, . - __88fr131_proc_info