5 call0 cache_unlock_invalidate
10 #if XCHAL_HAVE_PTP_MMU
19 movi a2, 0xd0000000 /* cacheable */
20 movi a3, 0xd8000000 /* non-cacheable */
21 movi a4, 0x00001235 /* unmapped */
29 #ifdef XCHAL_ICACHE_SIZE
32 #if XCHAL_HAVE_PTP_MMU && !XCHAL_HAVE_SPANNING_WAY
33 #if XCHAL_DCACHE_LINE_LOCKABLE
36 #if XCHAL_ICACHE_LINE_LOCKABLE
42 .macro cache_fault op, addr, exc_code
60 #if XCHAL_HAVE_PTP_MMU && !XCHAL_HAVE_SPANNING_WAY
62 #if XCHAL_DCACHE_LINE_LOCKABLE
64 cache_fault dpfl, 0x00002345, 24
69 #if XCHAL_DCACHE_IS_WRITEBACK
71 cache_fault dhwb, 0x00002345, 24
75 cache_fault dhwbi, 0x00002345, 24
80 cache_fault dhi, 0x00002345, 24
83 #if XCHAL_DCACHE_LINE_LOCKABLE
85 cache_fault dhu, 0x00002345, 24
91 #if XCHAL_ICACHE_LINE_LOCKABLE
93 cache_fault ipfl, 0x00002345, 16
97 cache_fault ihu, 0x00002345, 16
102 cache_fault ihi, 0x00002345, 16
112 cache_unlock_invalidate:
113 #if XCHAL_DCACHE_SIZE
115 movi a3, XCHAL_DCACHE_SIZE
117 #if XCHAL_DCACHE_LINE_LOCKABLE
121 addi a2, a2, XCHAL_DCACHE_LINESIZE
124 #if XCHAL_ICACHE_SIZE
126 movi a3, XCHAL_ICACHE_SIZE
128 #if XCHAL_ICACHE_LINE_LOCKABLE
132 addi a2, a2, XCHAL_ICACHE_LINESIZE