Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
David S. Miller | 2a7e299 | 2005-09-21 18:50:51 -0700 | [diff] [blame] | 2 | /* arch/sparc64/kernel/ktlb.S: Kernel mapping TLB miss handling. |
| 3 | * |
David S. Miller | bf4a797 | 2008-01-10 21:10:54 -0800 | [diff] [blame] | 4 | * Copyright (C) 1995, 1997, 2005, 2008 David S. Miller <davem@davemloft.net> |
David S. Miller | 2a7e299 | 2005-09-21 18:50:51 -0700 | [diff] [blame] | 5 | * Copyright (C) 1996 Eddie C. Dost (ecd@brainaid.de) |
| 6 | * Copyright (C) 1996 Miguel de Icaza (miguel@nuclecu.unam.mx) |
| 7 | * Copyright (C) 1996,98,99 Jakub Jelinek (jj@sunsite.mff.cuni.cz) |
David S. Miller | 74bf431 | 2006-01-31 18:29:18 -0800 | [diff] [blame] | 8 | */ |
David S. Miller | 2a7e299 | 2005-09-21 18:50:51 -0700 | [diff] [blame] | 9 | |
Mike Rapoport | 65fddcf | 2020-06-08 21:32:42 -0700 | [diff] [blame] | 10 | #include <linux/pgtable.h> |
David S. Miller | 2a7e299 | 2005-09-21 18:50:51 -0700 | [diff] [blame] | 11 | #include <asm/head.h> |
| 12 | #include <asm/asi.h> |
| 13 | #include <asm/page.h> |
David S. Miller | 74bf431 | 2006-01-31 18:29:18 -0800 | [diff] [blame] | 14 | #include <asm/tsb.h> |
David S. Miller | 2a7e299 | 2005-09-21 18:50:51 -0700 | [diff] [blame] | 15 | |
| 16 | .text |
| 17 | .align 32 |
| 18 | |
David S. Miller | 74bf431 | 2006-01-31 18:29:18 -0800 | [diff] [blame] | 19 | kvmap_itlb: |
| 20 | /* g6: TAG TARGET */ |
| 21 | mov TLB_TAG_ACCESS, %g4 |
| 22 | ldxa [%g4] ASI_IMMU, %g4 |
| 23 | |
David S. Miller | 4f6deb8 | 2016-07-27 17:50:26 -0700 | [diff] [blame] | 24 | /* The kernel executes in context zero, therefore we do not |
| 25 | * need to clear the context ID bits out of %g4 here. |
| 26 | */ |
| 27 | |
David S. Miller | d257d5d | 2006-02-06 23:44:37 -0800 | [diff] [blame] | 28 | /* sun4v_itlb_miss branches here with the missing virtual |
| 29 | * address already loaded into %g4 |
| 30 | */ |
| 31 | kvmap_itlb_4v: |
| 32 | |
David S. Miller | 74bf431 | 2006-01-31 18:29:18 -0800 | [diff] [blame] | 33 | /* Catch kernel NULL pointer calls. */ |
| 34 | sethi %hi(PAGE_SIZE), %g5 |
| 35 | cmp %g4, %g5 |
Kirill Tkhai | 1c2696c | 2013-08-02 19:23:18 +0400 | [diff] [blame] | 36 | blu,pn %xcc, kvmap_itlb_longpath |
David S. Miller | 74bf431 | 2006-01-31 18:29:18 -0800 | [diff] [blame] | 37 | nop |
| 38 | |
| 39 | KERN_TSB_LOOKUP_TL1(%g4, %g6, %g5, %g1, %g2, %g3, kvmap_itlb_load) |
| 40 | |
| 41 | kvmap_itlb_tsb_miss: |
David S. Miller | 2a7e299 | 2005-09-21 18:50:51 -0700 | [diff] [blame] | 42 | sethi %hi(LOW_OBP_ADDRESS), %g5 |
| 43 | cmp %g4, %g5 |
David S. Miller | 74bf431 | 2006-01-31 18:29:18 -0800 | [diff] [blame] | 44 | blu,pn %xcc, kvmap_itlb_vmalloc_addr |
David S. Miller | 2a7e299 | 2005-09-21 18:50:51 -0700 | [diff] [blame] | 45 | mov 0x1, %g5 |
| 46 | sllx %g5, 32, %g5 |
| 47 | cmp %g4, %g5 |
David S. Miller | 74bf431 | 2006-01-31 18:29:18 -0800 | [diff] [blame] | 48 | blu,pn %xcc, kvmap_itlb_obp |
David S. Miller | 2a7e299 | 2005-09-21 18:50:51 -0700 | [diff] [blame] | 49 | nop |
| 50 | |
David S. Miller | 74bf431 | 2006-01-31 18:29:18 -0800 | [diff] [blame] | 51 | kvmap_itlb_vmalloc_addr: |
| 52 | KERN_PGTABLE_WALK(%g4, %g5, %g2, kvmap_itlb_longpath) |
David S. Miller | 2a7e299 | 2005-09-21 18:50:51 -0700 | [diff] [blame] | 53 | |
David S. Miller | 9076d0e | 2011-08-05 00:53:57 -0700 | [diff] [blame] | 54 | TSB_LOCK_TAG(%g1, %g2, %g7) |
David S. Miller | 9076d0e | 2011-08-05 00:53:57 -0700 | [diff] [blame] | 55 | TSB_WRITE(%g1, %g5, %g6) |
David S. Miller | 2a7e299 | 2005-09-21 18:50:51 -0700 | [diff] [blame] | 56 | |
David S. Miller | 74bf431 | 2006-01-31 18:29:18 -0800 | [diff] [blame] | 57 | /* fallthrough to TLB load */ |
David S. Miller | 2a7e299 | 2005-09-21 18:50:51 -0700 | [diff] [blame] | 58 | |
David S. Miller | 74bf431 | 2006-01-31 18:29:18 -0800 | [diff] [blame] | 59 | kvmap_itlb_load: |
David S. Miller | 459b6e6 | 2006-02-11 12:21:20 -0800 | [diff] [blame] | 60 | |
| 61 | 661: stxa %g5, [%g0] ASI_ITLB_DATA_IN |
David S. Miller | 2a7e299 | 2005-09-21 18:50:51 -0700 | [diff] [blame] | 62 | retry |
David S. Miller | 459b6e6 | 2006-02-11 12:21:20 -0800 | [diff] [blame] | 63 | .section .sun4v_2insn_patch, "ax" |
| 64 | .word 661b |
| 65 | nop |
| 66 | nop |
| 67 | .previous |
| 68 | |
| 69 | /* For sun4v the ASI_ITLB_DATA_IN store and the retry |
| 70 | * instruction get nop'd out and we get here to branch |
| 71 | * to the sun4v tlb load code. The registers are setup |
| 72 | * as follows: |
| 73 | * |
| 74 | * %g4: vaddr |
| 75 | * %g5: PTE |
| 76 | * %g6: TAG |
| 77 | * |
| 78 | * The sun4v TLB load wants the PTE in %g3 so we fix that |
| 79 | * up here. |
| 80 | */ |
| 81 | ba,pt %xcc, sun4v_itlb_load |
| 82 | mov %g5, %g3 |
David S. Miller | 2a7e299 | 2005-09-21 18:50:51 -0700 | [diff] [blame] | 83 | |
David S. Miller | 74bf431 | 2006-01-31 18:29:18 -0800 | [diff] [blame] | 84 | kvmap_itlb_longpath: |
David S. Miller | 45fec05 | 2006-02-05 22:27:28 -0800 | [diff] [blame] | 85 | |
| 86 | 661: rdpr %pstate, %g5 |
David S. Miller | 74bf431 | 2006-01-31 18:29:18 -0800 | [diff] [blame] | 87 | wrpr %g5, PSTATE_AG | PSTATE_MG, %pstate |
David S. Miller | df7d6ae | 2006-02-07 00:00:16 -0800 | [diff] [blame] | 88 | .section .sun4v_2insn_patch, "ax" |
David S. Miller | 45fec05 | 2006-02-05 22:27:28 -0800 | [diff] [blame] | 89 | .word 661b |
David S. Miller | 6cc200d | 2006-02-18 16:36:39 -0800 | [diff] [blame] | 90 | SET_GL(1) |
David S. Miller | 45fec05 | 2006-02-05 22:27:28 -0800 | [diff] [blame] | 91 | nop |
| 92 | .previous |
| 93 | |
David S. Miller | 74bf431 | 2006-01-31 18:29:18 -0800 | [diff] [blame] | 94 | rdpr %tpc, %g5 |
| 95 | ba,pt %xcc, sparc64_realfault_common |
| 96 | mov FAULT_CODE_ITLB, %g4 |
David S. Miller | c9c1083 | 2005-10-12 12:22:46 -0700 | [diff] [blame] | 97 | |
David S. Miller | 74bf431 | 2006-01-31 18:29:18 -0800 | [diff] [blame] | 98 | kvmap_itlb_obp: |
| 99 | OBP_TRANS_LOOKUP(%g4, %g5, %g2, %g3, kvmap_itlb_longpath) |
David S. Miller | 2a7e299 | 2005-09-21 18:50:51 -0700 | [diff] [blame] | 100 | |
David S. Miller | 9076d0e | 2011-08-05 00:53:57 -0700 | [diff] [blame] | 101 | TSB_LOCK_TAG(%g1, %g2, %g7) |
David S. Miller | 2a7e299 | 2005-09-21 18:50:51 -0700 | [diff] [blame] | 102 | |
David S. Miller | 9076d0e | 2011-08-05 00:53:57 -0700 | [diff] [blame] | 103 | TSB_WRITE(%g1, %g5, %g6) |
David S. Miller | 2a7e299 | 2005-09-21 18:50:51 -0700 | [diff] [blame] | 104 | |
David S. Miller | 74bf431 | 2006-01-31 18:29:18 -0800 | [diff] [blame] | 105 | ba,pt %xcc, kvmap_itlb_load |
| 106 | nop |
David S. Miller | c9c1083 | 2005-10-12 12:22:46 -0700 | [diff] [blame] | 107 | |
David S. Miller | 74bf431 | 2006-01-31 18:29:18 -0800 | [diff] [blame] | 108 | kvmap_dtlb_obp: |
| 109 | OBP_TRANS_LOOKUP(%g4, %g5, %g2, %g3, kvmap_dtlb_longpath) |
| 110 | |
David S. Miller | 9076d0e | 2011-08-05 00:53:57 -0700 | [diff] [blame] | 111 | TSB_LOCK_TAG(%g1, %g2, %g7) |
David S. Miller | 74bf431 | 2006-01-31 18:29:18 -0800 | [diff] [blame] | 112 | |
David S. Miller | 9076d0e | 2011-08-05 00:53:57 -0700 | [diff] [blame] | 113 | TSB_WRITE(%g1, %g5, %g6) |
David S. Miller | 74bf431 | 2006-01-31 18:29:18 -0800 | [diff] [blame] | 114 | |
| 115 | ba,pt %xcc, kvmap_dtlb_load |
| 116 | nop |
| 117 | |
David S. Miller | 0dd5b7b | 2014-09-24 20:56:11 -0700 | [diff] [blame] | 118 | kvmap_linear_early: |
| 119 | sethi %hi(kern_linear_pte_xor), %g7 |
| 120 | ldx [%g7 + %lo(kern_linear_pte_xor)], %g2 |
| 121 | ba,pt %xcc, kvmap_dtlb_tsb4m_load |
| 122 | xor %g2, %g4, %g5 |
| 123 | |
David S. Miller | 2a7e299 | 2005-09-21 18:50:51 -0700 | [diff] [blame] | 124 | .align 32 |
David S. Miller | d7744a0 | 2006-02-21 22:31:11 -0800 | [diff] [blame] | 125 | kvmap_dtlb_tsb4m_load: |
David S. Miller | 9076d0e | 2011-08-05 00:53:57 -0700 | [diff] [blame] | 126 | TSB_LOCK_TAG(%g1, %g2, %g7) |
| 127 | TSB_WRITE(%g1, %g5, %g6) |
David S. Miller | d7744a0 | 2006-02-21 22:31:11 -0800 | [diff] [blame] | 128 | ba,pt %xcc, kvmap_dtlb_load |
| 129 | nop |
| 130 | |
David S. Miller | 74bf431 | 2006-01-31 18:29:18 -0800 | [diff] [blame] | 131 | kvmap_dtlb: |
| 132 | /* %g6: TAG TARGET */ |
| 133 | mov TLB_TAG_ACCESS, %g4 |
| 134 | ldxa [%g4] ASI_DMMU, %g4 |
David S. Miller | d257d5d | 2006-02-06 23:44:37 -0800 | [diff] [blame] | 135 | |
David S. Miller | 4f6deb8 | 2016-07-27 17:50:26 -0700 | [diff] [blame] | 136 | /* The kernel executes in context zero, therefore we do not |
| 137 | * need to clear the context ID bits out of %g4 here. |
| 138 | */ |
| 139 | |
David S. Miller | d257d5d | 2006-02-06 23:44:37 -0800 | [diff] [blame] | 140 | /* sun4v_dtlb_miss branches here with the missing virtual |
| 141 | * address already loaded into %g4 |
| 142 | */ |
| 143 | kvmap_dtlb_4v: |
David S. Miller | 74bf431 | 2006-01-31 18:29:18 -0800 | [diff] [blame] | 144 | brgez,pn %g4, kvmap_dtlb_nonlinear |
David S. Miller | 5642530 | 2005-09-25 16:46:57 -0700 | [diff] [blame] | 145 | nop |
| 146 | |
David S. Miller | d1acb42 | 2007-03-16 17:20:28 -0700 | [diff] [blame] | 147 | #ifdef CONFIG_DEBUG_PAGEALLOC |
| 148 | /* Index through the base page size TSB even for linear |
| 149 | * mappings when using page allocation debugging. |
| 150 | */ |
| 151 | KERN_TSB_LOOKUP_TL1(%g4, %g6, %g5, %g1, %g2, %g3, kvmap_dtlb_load) |
| 152 | #else |
David S. Miller | d7744a0 | 2006-02-21 22:31:11 -0800 | [diff] [blame] | 153 | /* Correct TAG_TARGET is already in %g6, check 4mb TSB. */ |
| 154 | KERN_TSB4M_LOOKUP_TL1(%g6, %g5, %g1, %g2, %g3, kvmap_dtlb_load) |
David S. Miller | d1acb42 | 2007-03-16 17:20:28 -0700 | [diff] [blame] | 155 | #endif |
David S. Miller | 0dd5b7b | 2014-09-24 20:56:11 -0700 | [diff] [blame] | 156 | /* Linear mapping TSB lookup failed. Fallthrough to kernel |
| 157 | * page table based lookup. |
David S. Miller | d7744a0 | 2006-02-21 22:31:11 -0800 | [diff] [blame] | 158 | */ |
David S. Miller | 5642530 | 2005-09-25 16:46:57 -0700 | [diff] [blame] | 159 | .globl kvmap_linear_patch |
| 160 | kvmap_linear_patch: |
David S. Miller | 0dd5b7b | 2014-09-24 20:56:11 -0700 | [diff] [blame] | 161 | ba,a,pt %xcc, kvmap_linear_early |
David S. Miller | 2a7e299 | 2005-09-21 18:50:51 -0700 | [diff] [blame] | 162 | |
David S. Miller | 74bf431 | 2006-01-31 18:29:18 -0800 | [diff] [blame] | 163 | kvmap_dtlb_vmalloc_addr: |
| 164 | KERN_PGTABLE_WALK(%g4, %g5, %g2, kvmap_dtlb_longpath) |
David S. Miller | 5642530 | 2005-09-25 16:46:57 -0700 | [diff] [blame] | 165 | |
David S. Miller | 9076d0e | 2011-08-05 00:53:57 -0700 | [diff] [blame] | 166 | TSB_LOCK_TAG(%g1, %g2, %g7) |
David S. Miller | 9076d0e | 2011-08-05 00:53:57 -0700 | [diff] [blame] | 167 | TSB_WRITE(%g1, %g5, %g6) |
David S. Miller | 74bf431 | 2006-01-31 18:29:18 -0800 | [diff] [blame] | 168 | |
| 169 | /* fallthrough to TLB load */ |
| 170 | |
| 171 | kvmap_dtlb_load: |
David S. Miller | 459b6e6 | 2006-02-11 12:21:20 -0800 | [diff] [blame] | 172 | |
| 173 | 661: stxa %g5, [%g0] ASI_DTLB_DATA_IN ! Reload TLB |
David S. Miller | 74bf431 | 2006-01-31 18:29:18 -0800 | [diff] [blame] | 174 | retry |
David S. Miller | 459b6e6 | 2006-02-11 12:21:20 -0800 | [diff] [blame] | 175 | .section .sun4v_2insn_patch, "ax" |
| 176 | .word 661b |
| 177 | nop |
| 178 | nop |
| 179 | .previous |
| 180 | |
| 181 | /* For sun4v the ASI_DTLB_DATA_IN store and the retry |
| 182 | * instruction get nop'd out and we get here to branch |
| 183 | * to the sun4v tlb load code. The registers are setup |
| 184 | * as follows: |
| 185 | * |
| 186 | * %g4: vaddr |
| 187 | * %g5: PTE |
| 188 | * %g6: TAG |
| 189 | * |
| 190 | * The sun4v TLB load wants the PTE in %g3 so we fix that |
| 191 | * up here. |
| 192 | */ |
| 193 | ba,pt %xcc, sun4v_dtlb_load |
| 194 | mov %g5, %g3 |
David S. Miller | 74bf431 | 2006-01-31 18:29:18 -0800 | [diff] [blame] | 195 | |
David S. Miller | bf4a797 | 2008-01-10 21:10:54 -0800 | [diff] [blame] | 196 | #ifdef CONFIG_SPARSEMEM_VMEMMAP |
David Miller | 46644c2 | 2007-10-16 01:24:16 -0700 | [diff] [blame] | 197 | kvmap_vmemmap: |
David S. Miller | c06240c | 2014-09-24 21:20:14 -0700 | [diff] [blame] | 198 | KERN_PGTABLE_WALK(%g4, %g5, %g2, kvmap_dtlb_longpath) |
| 199 | ba,a,pt %xcc, kvmap_dtlb_load |
David S. Miller | bf4a797 | 2008-01-10 21:10:54 -0800 | [diff] [blame] | 200 | #endif |
David Miller | 46644c2 | 2007-10-16 01:24:16 -0700 | [diff] [blame] | 201 | |
David S. Miller | 74bf431 | 2006-01-31 18:29:18 -0800 | [diff] [blame] | 202 | kvmap_dtlb_nonlinear: |
| 203 | /* Catch kernel NULL pointer derefs. */ |
| 204 | sethi %hi(PAGE_SIZE), %g5 |
| 205 | cmp %g4, %g5 |
| 206 | bleu,pn %xcc, kvmap_dtlb_longpath |
| 207 | nop |
| 208 | |
David S. Miller | bf4a797 | 2008-01-10 21:10:54 -0800 | [diff] [blame] | 209 | #ifdef CONFIG_SPARSEMEM_VMEMMAP |
David Miller | 46644c2 | 2007-10-16 01:24:16 -0700 | [diff] [blame] | 210 | /* Do not use the TSB for vmemmap. */ |
David S. Miller | bb4e6e8 | 2014-09-27 11:05:21 -0700 | [diff] [blame] | 211 | sethi %hi(VMEMMAP_BASE), %g5 |
| 212 | ldx [%g5 + %lo(VMEMMAP_BASE)], %g5 |
David Miller | 46644c2 | 2007-10-16 01:24:16 -0700 | [diff] [blame] | 213 | cmp %g4,%g5 |
| 214 | bgeu,pn %xcc, kvmap_vmemmap |
| 215 | nop |
David S. Miller | bf4a797 | 2008-01-10 21:10:54 -0800 | [diff] [blame] | 216 | #endif |
David Miller | 46644c2 | 2007-10-16 01:24:16 -0700 | [diff] [blame] | 217 | |
David S. Miller | 74bf431 | 2006-01-31 18:29:18 -0800 | [diff] [blame] | 218 | KERN_TSB_LOOKUP_TL1(%g4, %g6, %g5, %g1, %g2, %g3, kvmap_dtlb_load) |
| 219 | |
| 220 | kvmap_dtlb_tsbmiss: |
David S. Miller | 2a7e299 | 2005-09-21 18:50:51 -0700 | [diff] [blame] | 221 | sethi %hi(MODULES_VADDR), %g5 |
| 222 | cmp %g4, %g5 |
David S. Miller | 74bf431 | 2006-01-31 18:29:18 -0800 | [diff] [blame] | 223 | blu,pn %xcc, kvmap_dtlb_longpath |
David S. Miller | bb4e6e8 | 2014-09-27 11:05:21 -0700 | [diff] [blame] | 224 | sethi %hi(VMALLOC_END), %g5 |
| 225 | ldx [%g5 + %lo(VMALLOC_END)], %g5 |
David S. Miller | 2a7e299 | 2005-09-21 18:50:51 -0700 | [diff] [blame] | 226 | cmp %g4, %g5 |
David S. Miller | 74bf431 | 2006-01-31 18:29:18 -0800 | [diff] [blame] | 227 | bgeu,pn %xcc, kvmap_dtlb_longpath |
David S. Miller | 2a7e299 | 2005-09-21 18:50:51 -0700 | [diff] [blame] | 228 | nop |
| 229 | |
| 230 | kvmap_check_obp: |
| 231 | sethi %hi(LOW_OBP_ADDRESS), %g5 |
| 232 | cmp %g4, %g5 |
David S. Miller | 74bf431 | 2006-01-31 18:29:18 -0800 | [diff] [blame] | 233 | blu,pn %xcc, kvmap_dtlb_vmalloc_addr |
David S. Miller | 2a7e299 | 2005-09-21 18:50:51 -0700 | [diff] [blame] | 234 | mov 0x1, %g5 |
| 235 | sllx %g5, 32, %g5 |
| 236 | cmp %g4, %g5 |
David S. Miller | 74bf431 | 2006-01-31 18:29:18 -0800 | [diff] [blame] | 237 | blu,pn %xcc, kvmap_dtlb_obp |
| 238 | nop |
| 239 | ba,pt %xcc, kvmap_dtlb_vmalloc_addr |
David S. Miller | 2a7e299 | 2005-09-21 18:50:51 -0700 | [diff] [blame] | 240 | nop |
| 241 | |
David S. Miller | 74bf431 | 2006-01-31 18:29:18 -0800 | [diff] [blame] | 242 | kvmap_dtlb_longpath: |
David S. Miller | 45fec05 | 2006-02-05 22:27:28 -0800 | [diff] [blame] | 243 | |
| 244 | 661: rdpr %pstate, %g5 |
David S. Miller | 74bf431 | 2006-01-31 18:29:18 -0800 | [diff] [blame] | 245 | wrpr %g5, PSTATE_AG | PSTATE_MG, %pstate |
David S. Miller | df7d6ae | 2006-02-07 00:00:16 -0800 | [diff] [blame] | 246 | .section .sun4v_2insn_patch, "ax" |
David S. Miller | 45fec05 | 2006-02-05 22:27:28 -0800 | [diff] [blame] | 247 | .word 661b |
David S. Miller | 8b23427 | 2006-02-17 18:01:02 -0800 | [diff] [blame] | 248 | SET_GL(1) |
| 249 | ldxa [%g0] ASI_SCRATCHPAD, %g5 |
David S. Miller | 45fec05 | 2006-02-05 22:27:28 -0800 | [diff] [blame] | 250 | .previous |
| 251 | |
David S. Miller | 459b6e6 | 2006-02-11 12:21:20 -0800 | [diff] [blame] | 252 | rdpr %tl, %g3 |
| 253 | cmp %g3, 1 |
| 254 | |
| 255 | 661: mov TLB_TAG_ACCESS, %g4 |
David S. Miller | 74bf431 | 2006-01-31 18:29:18 -0800 | [diff] [blame] | 256 | ldxa [%g4] ASI_DMMU, %g5 |
David S. Miller | 459b6e6 | 2006-02-11 12:21:20 -0800 | [diff] [blame] | 257 | .section .sun4v_2insn_patch, "ax" |
| 258 | .word 661b |
David S. Miller | 8b23427 | 2006-02-17 18:01:02 -0800 | [diff] [blame] | 259 | ldx [%g5 + HV_FAULT_D_ADDR_OFFSET], %g5 |
David S. Miller | 459b6e6 | 2006-02-11 12:21:20 -0800 | [diff] [blame] | 260 | nop |
| 261 | .previous |
| 262 | |
David S. Miller | 4f6deb8 | 2016-07-27 17:50:26 -0700 | [diff] [blame] | 263 | /* The kernel executes in context zero, therefore we do not |
| 264 | * need to clear the context ID bits out of %g5 here. |
| 265 | */ |
| 266 | |
David S. Miller | 74bf431 | 2006-01-31 18:29:18 -0800 | [diff] [blame] | 267 | be,pt %xcc, sparc64_realfault_common |
| 268 | mov FAULT_CODE_DTLB, %g4 |
| 269 | ba,pt %xcc, winfix_trampoline |
David S. Miller | 2a7e299 | 2005-09-21 18:50:51 -0700 | [diff] [blame] | 270 | nop |