proc-feroceon.S 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601
  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. #if defined(CONFIG_CACHE_FEROCEON_L2) && \
  72. !defined(CONFIG_CACHE_FEROCEON_L2_WRITETHROUGH)
  73. mov r0, #0
  74. mcr p15, 1, r0, c15, c9, 0 @ clean L2
  75. mcr p15, 0, r0, c7, c10, 4 @ drain WB
  76. #endif
  77. mrc p15, 0, r0, c1, c0, 0 @ ctrl register
  78. bic r0, r0, #0x1000 @ ...i............
  79. bic r0, r0, #0x000e @ ............wca.
  80. mcr p15, 0, r0, c1, c0, 0 @ disable caches
  81. mov pc, lr
  82. /*
  83. * cpu_feroceon_reset(loc)
  84. *
  85. * Perform a soft reset of the system. Put the CPU into the
  86. * same state as it would be if it had been reset, and branch
  87. * to what would be the reset vector.
  88. *
  89. * loc: location to jump to for soft reset
  90. */
  91. .align 5
  92. .pushsection .idmap.text, "ax"
  93. ENTRY(cpu_feroceon_reset)
  94. mov ip, #0
  95. mcr p15, 0, ip, c7, c7, 0 @ invalidate I,D caches
  96. mcr p15, 0, ip, c7, c10, 4 @ drain WB
  97. #ifdef CONFIG_MMU
  98. mcr p15, 0, ip, c8, c7, 0 @ invalidate I & D TLBs
  99. #endif
  100. mrc p15, 0, ip, c1, c0, 0 @ ctrl register
  101. bic ip, ip, #0x000f @ ............wcam
  102. bic ip, ip, #0x1100 @ ...i...s........
  103. mcr p15, 0, ip, c1, c0, 0 @ ctrl register
  104. mov pc, r0
  105. ENDPROC(cpu_feroceon_reset)
  106. .popsection
  107. /*
  108. * cpu_feroceon_do_idle()
  109. *
  110. * Called with IRQs disabled
  111. */
  112. .align 5
  113. ENTRY(cpu_feroceon_do_idle)
  114. mov r0, #0
  115. mcr p15, 0, r0, c7, c10, 4 @ Drain write buffer
  116. mcr p15, 0, r0, c7, c0, 4 @ Wait for interrupt
  117. mov pc, lr
  118. /*
  119. * flush_icache_all()
  120. *
  121. * Unconditionally clean and invalidate the entire icache.
  122. */
  123. ENTRY(feroceon_flush_icache_all)
  124. mov r0, #0
  125. mcr p15, 0, r0, c7, c5, 0 @ invalidate I cache
  126. mov pc, lr
  127. ENDPROC(feroceon_flush_icache_all)
  128. /*
  129. * flush_user_cache_all()
  130. *
  131. * Clean and invalidate all cache entries in a particular
  132. * address space.
  133. */
  134. .align 5
  135. ENTRY(feroceon_flush_user_cache_all)
  136. /* FALLTHROUGH */
  137. /*
  138. * flush_kern_cache_all()
  139. *
  140. * Clean and invalidate the entire cache.
  141. */
  142. ENTRY(feroceon_flush_kern_cache_all)
  143. mov r2, #VM_EXEC
  144. __flush_whole_cache:
  145. ldr r1, __cache_params
  146. ldmia r1, {r1, r3}
  147. 1: orr ip, r1, r3
  148. 2: mcr p15, 0, ip, c7, c14, 2 @ clean + invalidate D set/way
  149. subs ip, ip, #(1 << 30) @ next way
  150. bcs 2b
  151. subs r1, r1, #(1 << 5) @ next set
  152. bcs 1b
  153. tst r2, #VM_EXEC
  154. mov ip, #0
  155. mcrne p15, 0, ip, c7, c5, 0 @ invalidate I cache
  156. mcrne p15, 0, ip, c7, c10, 4 @ drain WB
  157. mov pc, lr
  158. /*
  159. * flush_user_cache_range(start, end, flags)
  160. *
  161. * Clean and invalidate a range of cache entries in the
  162. * specified address range.
  163. *
  164. * - start - start address (inclusive)
  165. * - end - end address (exclusive)
  166. * - flags - vm_flags describing address space
  167. */
  168. .align 5
  169. ENTRY(feroceon_flush_user_cache_range)
  170. sub r3, r1, r0 @ calculate total size
  171. cmp r3, #CACHE_DLIMIT
  172. bgt __flush_whole_cache
  173. 1: tst r2, #VM_EXEC
  174. mcr p15, 0, r0, c7, c14, 1 @ clean and invalidate D entry
  175. mcrne p15, 0, r0, c7, c5, 1 @ invalidate I entry
  176. add r0, r0, #CACHE_DLINESIZE
  177. mcr p15, 0, r0, c7, c14, 1 @ clean and invalidate D entry
  178. mcrne p15, 0, r0, c7, c5, 1 @ invalidate I entry
  179. add r0, r0, #CACHE_DLINESIZE
  180. cmp r0, r1
  181. blo 1b
  182. tst r2, #VM_EXEC
  183. mov ip, #0
  184. mcrne p15, 0, ip, c7, c10, 4 @ drain WB
  185. mov pc, lr
  186. /*
  187. * coherent_kern_range(start, end)
  188. *
  189. * Ensure coherency between the Icache and the Dcache in the
  190. * region described by start, end. If you have non-snooping
  191. * Harvard caches, you need to implement this function.
  192. *
  193. * - start - virtual start address
  194. * - end - virtual end address
  195. */
  196. .align 5
  197. ENTRY(feroceon_coherent_kern_range)
  198. /* FALLTHROUGH */
  199. /*
  200. * coherent_user_range(start, end)
  201. *
  202. * Ensure coherency between the Icache and the Dcache in the
  203. * region described by start, end. If you have non-snooping
  204. * Harvard caches, you need to implement this function.
  205. *
  206. * - start - virtual start address
  207. * - end - virtual end address
  208. */
  209. ENTRY(feroceon_coherent_user_range)
  210. bic r0, r0, #CACHE_DLINESIZE - 1
  211. 1: mcr p15, 0, r0, c7, c10, 1 @ clean D entry
  212. mcr p15, 0, r0, c7, c5, 1 @ invalidate I entry
  213. add r0, r0, #CACHE_DLINESIZE
  214. cmp r0, r1
  215. blo 1b
  216. mcr p15, 0, r0, c7, c10, 4 @ drain WB
  217. mov pc, lr
  218. /*
  219. * flush_kern_dcache_area(void *addr, size_t size)
  220. *
  221. * Ensure no D cache aliasing occurs, either with itself or
  222. * the I cache
  223. *
  224. * - addr - kernel address
  225. * - size - region size
  226. */
  227. .align 5
  228. ENTRY(feroceon_flush_kern_dcache_area)
  229. add r1, r0, r1
  230. 1: mcr p15, 0, r0, c7, c14, 1 @ clean+invalidate D entry
  231. add r0, r0, #CACHE_DLINESIZE
  232. cmp r0, r1
  233. blo 1b
  234. mov r0, #0
  235. mcr p15, 0, r0, c7, c5, 0 @ invalidate I cache
  236. mcr p15, 0, r0, c7, c10, 4 @ drain WB
  237. mov pc, lr
  238. .align 5
  239. ENTRY(feroceon_range_flush_kern_dcache_area)
  240. mrs r2, cpsr
  241. add r1, r0, #PAGE_SZ - CACHE_DLINESIZE @ top addr is inclusive
  242. orr r3, r2, #PSR_I_BIT
  243. msr cpsr_c, r3 @ disable interrupts
  244. mcr p15, 5, r0, c15, c15, 0 @ D clean/inv range start
  245. mcr p15, 5, r1, c15, c15, 1 @ D clean/inv range top
  246. msr cpsr_c, r2 @ restore interrupts
  247. mov r0, #0
  248. mcr p15, 0, r0, c7, c5, 0 @ invalidate I cache
  249. mcr p15, 0, r0, c7, c10, 4 @ drain WB
  250. mov pc, lr
  251. /*
  252. * dma_inv_range(start, end)
  253. *
  254. * Invalidate (discard) the specified virtual address range.
  255. * May not write back any entries. If 'start' or 'end'
  256. * are not cache line aligned, those lines must be written
  257. * back.
  258. *
  259. * - start - virtual start address
  260. * - end - virtual end address
  261. *
  262. * (same as v4wb)
  263. */
  264. .align 5
  265. feroceon_dma_inv_range:
  266. tst r0, #CACHE_DLINESIZE - 1
  267. bic r0, r0, #CACHE_DLINESIZE - 1
  268. mcrne p15, 0, r0, c7, c10, 1 @ clean D entry
  269. tst r1, #CACHE_DLINESIZE - 1
  270. mcrne p15, 0, r1, c7, c10, 1 @ clean D entry
  271. 1: mcr p15, 0, r0, c7, c6, 1 @ invalidate D entry
  272. add r0, r0, #CACHE_DLINESIZE
  273. cmp r0, r1
  274. blo 1b
  275. mcr p15, 0, r0, c7, c10, 4 @ drain WB
  276. mov pc, lr
  277. .align 5
  278. feroceon_range_dma_inv_range:
  279. mrs r2, cpsr
  280. tst r0, #CACHE_DLINESIZE - 1
  281. mcrne p15, 0, r0, c7, c10, 1 @ clean D entry
  282. tst r1, #CACHE_DLINESIZE - 1
  283. mcrne p15, 0, r1, c7, c10, 1 @ clean D entry
  284. cmp r1, r0
  285. subne r1, r1, #1 @ top address is inclusive
  286. orr r3, r2, #PSR_I_BIT
  287. msr cpsr_c, r3 @ disable interrupts
  288. mcr p15, 5, r0, c15, c14, 0 @ D inv range start
  289. mcr p15, 5, r1, c15, c14, 1 @ D inv range top
  290. msr cpsr_c, r2 @ restore interrupts
  291. mov pc, lr
  292. /*
  293. * dma_clean_range(start, end)
  294. *
  295. * Clean the specified virtual address range.
  296. *
  297. * - start - virtual start address
  298. * - end - virtual end address
  299. *
  300. * (same as v4wb)
  301. */
  302. .align 5
  303. feroceon_dma_clean_range:
  304. bic r0, r0, #CACHE_DLINESIZE - 1
  305. 1: mcr p15, 0, r0, c7, c10, 1 @ clean D entry
  306. add r0, r0, #CACHE_DLINESIZE
  307. cmp r0, r1
  308. blo 1b
  309. mcr p15, 0, r0, c7, c10, 4 @ drain WB
  310. mov pc, lr
  311. .align 5
  312. feroceon_range_dma_clean_range:
  313. mrs r2, cpsr
  314. cmp r1, r0
  315. subne r1, r1, #1 @ top address is inclusive
  316. orr r3, r2, #PSR_I_BIT
  317. msr cpsr_c, r3 @ disable interrupts
  318. mcr p15, 5, r0, c15, c13, 0 @ D clean range start
  319. mcr p15, 5, r1, c15, c13, 1 @ D clean range top
  320. msr cpsr_c, r2 @ restore interrupts
  321. mcr p15, 0, r0, c7, c10, 4 @ drain WB
  322. mov pc, lr
  323. /*
  324. * dma_flush_range(start, end)
  325. *
  326. * Clean and invalidate the specified virtual address range.
  327. *
  328. * - start - virtual start address
  329. * - end - virtual end address
  330. */
  331. .align 5
  332. ENTRY(feroceon_dma_flush_range)
  333. bic r0, r0, #CACHE_DLINESIZE - 1
  334. 1: mcr p15, 0, r0, c7, c14, 1 @ clean+invalidate D entry
  335. add r0, r0, #CACHE_DLINESIZE
  336. cmp r0, r1
  337. blo 1b
  338. mcr p15, 0, r0, c7, c10, 4 @ drain WB
  339. mov pc, lr
  340. .align 5
  341. ENTRY(feroceon_range_dma_flush_range)
  342. mrs r2, cpsr
  343. cmp r1, r0
  344. subne r1, r1, #1 @ top address is inclusive
  345. orr r3, r2, #PSR_I_BIT
  346. msr cpsr_c, r3 @ disable interrupts
  347. mcr p15, 5, r0, c15, c15, 0 @ D clean/inv range start
  348. mcr p15, 5, r1, c15, c15, 1 @ D clean/inv range top
  349. msr cpsr_c, r2 @ restore interrupts
  350. mcr p15, 0, r0, c7, c10, 4 @ drain WB
  351. mov pc, lr
  352. /*
  353. * dma_map_area(start, size, dir)
  354. * - start - kernel virtual start address
  355. * - size - size of region
  356. * - dir - DMA direction
  357. */
  358. ENTRY(feroceon_dma_map_area)
  359. add r1, r1, r0
  360. cmp r2, #DMA_TO_DEVICE
  361. beq feroceon_dma_clean_range
  362. bcs feroceon_dma_inv_range
  363. b feroceon_dma_flush_range
  364. ENDPROC(feroceon_dma_map_area)
  365. /*
  366. * dma_map_area(start, size, dir)
  367. * - start - kernel virtual start address
  368. * - size - size of region
  369. * - dir - DMA direction
  370. */
  371. ENTRY(feroceon_range_dma_map_area)
  372. add r1, r1, r0
  373. cmp r2, #DMA_TO_DEVICE
  374. beq feroceon_range_dma_clean_range
  375. bcs feroceon_range_dma_inv_range
  376. b feroceon_range_dma_flush_range
  377. ENDPROC(feroceon_range_dma_map_area)
  378. /*
  379. * dma_unmap_area(start, size, dir)
  380. * - start - kernel virtual start address
  381. * - size - size of region
  382. * - dir - DMA direction
  383. */
  384. ENTRY(feroceon_dma_unmap_area)
  385. mov pc, lr
  386. ENDPROC(feroceon_dma_unmap_area)
  387. .globl feroceon_flush_kern_cache_louis
  388. .equ feroceon_flush_kern_cache_louis, feroceon_flush_kern_cache_all
  389. @ define struct cpu_cache_fns (see <asm/cacheflush.h> and proc-macros.S)
  390. define_cache_functions feroceon
  391. .macro range_alias basename
  392. .globl feroceon_range_\basename
  393. .type feroceon_range_\basename , %function
  394. .equ feroceon_range_\basename , feroceon_\basename
  395. .endm
  396. /*
  397. * Most of the cache functions are unchanged for this case.
  398. * Export suitable alias symbols for the unchanged functions:
  399. */
  400. range_alias flush_icache_all
  401. range_alias flush_user_cache_all
  402. range_alias flush_kern_cache_all
  403. range_alias flush_user_cache_range
  404. range_alias coherent_kern_range
  405. range_alias coherent_user_range
  406. range_alias dma_unmap_area
  407. define_cache_functions feroceon_range
  408. .align 5
  409. ENTRY(cpu_feroceon_dcache_clean_area)
  410. #if defined(CONFIG_CACHE_FEROCEON_L2) && \
  411. !defined(CONFIG_CACHE_FEROCEON_L2_WRITETHROUGH)
  412. mov r2, r0
  413. mov r3, r1
  414. #endif
  415. 1: mcr p15, 0, r0, c7, c10, 1 @ clean D entry
  416. add r0, r0, #CACHE_DLINESIZE
  417. subs r1, r1, #CACHE_DLINESIZE
  418. bhi 1b
  419. #if defined(CONFIG_CACHE_FEROCEON_L2) && \
  420. !defined(CONFIG_CACHE_FEROCEON_L2_WRITETHROUGH)
  421. 1: mcr p15, 1, r2, c15, c9, 1 @ clean L2 entry
  422. add r2, r2, #CACHE_DLINESIZE
  423. subs r3, r3, #CACHE_DLINESIZE
  424. bhi 1b
  425. #endif
  426. mcr p15, 0, r0, c7, c10, 4 @ drain WB
  427. mov pc, lr
  428. /* =============================== PageTable ============================== */
  429. /*
  430. * cpu_feroceon_switch_mm(pgd)
  431. *
  432. * Set the translation base pointer to be as described by pgd.
  433. *
  434. * pgd: new page tables
  435. */
  436. .align 5
  437. ENTRY(cpu_feroceon_switch_mm)
  438. #ifdef CONFIG_MMU
  439. /*
  440. * Note: we wish to call __flush_whole_cache but we need to preserve
  441. * lr to do so. The only way without touching main memory is to
  442. * use r2 which is normally used to test the VM_EXEC flag, and
  443. * compensate locally for the skipped ops if it is not set.
  444. */
  445. mov r2, lr @ abuse r2 to preserve lr
  446. bl __flush_whole_cache
  447. @ if r2 contains the VM_EXEC bit then the next 2 ops are done already
  448. tst r2, #VM_EXEC
  449. mcreq p15, 0, ip, c7, c5, 0 @ invalidate I cache
  450. mcreq p15, 0, ip, c7, c10, 4 @ drain WB
  451. mcr p15, 0, r0, c2, c0, 0 @ load page table pointer
  452. mcr p15, 0, ip, c8, c7, 0 @ invalidate I & D TLBs
  453. mov pc, r2
  454. #else
  455. mov pc, lr
  456. #endif
  457. /*
  458. * cpu_feroceon_set_pte_ext(ptep, pte, ext)
  459. *
  460. * Set a PTE and flush it out
  461. */
  462. .align 5
  463. ENTRY(cpu_feroceon_set_pte_ext)
  464. #ifdef CONFIG_MMU
  465. armv3_set_pte_ext wc_disable=0
  466. mov r0, r0
  467. mcr p15, 0, r0, c7, c10, 1 @ clean D entry
  468. #if defined(CONFIG_CACHE_FEROCEON_L2) && \
  469. !defined(CONFIG_CACHE_FEROCEON_L2_WRITETHROUGH)
  470. mcr p15, 1, r0, c15, c9, 1 @ clean L2 entry
  471. #endif
  472. mcr p15, 0, r0, c7, c10, 4 @ drain WB
  473. #endif
  474. mov pc, lr
  475. __CPUINIT
  476. .type __feroceon_setup, #function
  477. __feroceon_setup:
  478. mov r0, #0
  479. mcr p15, 0, r0, c7, c7 @ invalidate I,D caches on v4
  480. mcr p15, 0, r0, c7, c10, 4 @ drain write buffer on v4
  481. #ifdef CONFIG_MMU
  482. mcr p15, 0, r0, c8, c7 @ invalidate I,D TLBs on v4
  483. #endif
  484. adr r5, feroceon_crval
  485. ldmia r5, {r5, r6}
  486. mrc p15, 0, r0, c1, c0 @ get control register v4
  487. bic r0, r0, r5
  488. orr r0, r0, r6
  489. mov pc, lr
  490. .size __feroceon_setup, . - __feroceon_setup
  491. /*
  492. * B
  493. * R P
  494. * .RVI UFRS BLDP WCAM
  495. * .011 .001 ..11 0101
  496. *
  497. */
  498. .type feroceon_crval, #object
  499. feroceon_crval:
  500. crval clear=0x0000773f, mmuset=0x00003135, ucset=0x00001134
  501. __INITDATA
  502. @ define struct processor (see <asm/proc-fns.h> and proc-macros.S)
  503. define_processor_functions feroceon, dabort=v5t_early_abort, pabort=legacy_pabort
  504. .section ".rodata"
  505. string cpu_arch_name, "armv5te"
  506. string cpu_elf_name, "v5"
  507. string cpu_feroceon_name, "Feroceon"
  508. string cpu_88fr531_name, "Feroceon 88FR531-vd"
  509. string cpu_88fr571_name, "Feroceon 88FR571-vd"
  510. string cpu_88fr131_name, "Feroceon 88FR131"
  511. .align
  512. .section ".proc.info.init", #alloc, #execinstr
  513. .macro feroceon_proc_info name:req, cpu_val:req, cpu_mask:req, cpu_name:req, cache:req
  514. .type __\name\()_proc_info,#object
  515. __\name\()_proc_info:
  516. .long \cpu_val
  517. .long \cpu_mask
  518. .long PMD_TYPE_SECT | \
  519. PMD_SECT_BUFFERABLE | \
  520. PMD_SECT_CACHEABLE | \
  521. PMD_BIT4 | \
  522. PMD_SECT_AP_WRITE | \
  523. PMD_SECT_AP_READ
  524. .long PMD_TYPE_SECT | \
  525. PMD_BIT4 | \
  526. PMD_SECT_AP_WRITE | \
  527. PMD_SECT_AP_READ
  528. b __feroceon_setup
  529. .long cpu_arch_name
  530. .long cpu_elf_name
  531. .long HWCAP_SWP|HWCAP_HALF|HWCAP_THUMB|HWCAP_FAST_MULT|HWCAP_EDSP
  532. .long \cpu_name
  533. .long feroceon_processor_functions
  534. .long v4wbi_tlb_fns
  535. .long feroceon_user_fns
  536. .long \cache
  537. .size __\name\()_proc_info, . - __\name\()_proc_info
  538. .endm
  539. #ifdef CONFIG_CPU_FEROCEON_OLD_ID
  540. feroceon_proc_info feroceon_old_id, 0x41009260, 0xff00fff0, \
  541. cpu_name=cpu_feroceon_name, cache=feroceon_cache_fns
  542. #endif
  543. feroceon_proc_info 88fr531, 0x56055310, 0xfffffff0, cpu_88fr531_name, \
  544. cache=feroceon_cache_fns
  545. feroceon_proc_info 88fr571, 0x56155710, 0xfffffff0, cpu_88fr571_name, \
  546. cache=feroceon_range_cache_fns
  547. feroceon_proc_info 88fr131, 0x56251310, 0xfffffff0, cpu_88fr131_name, \
  548. cache=feroceon_range_cache_fns