|
7 | 7 | * Stack switching code can no longer reliably rely on the fact that |
8 | 8 | * if we are NOT in user mode, stack is switched to kernel mode. |
9 | 9 | * e.g. L2 IRQ interrupted a L1 ISR which had not yet completed |
10 | | - * it's prologue including stack switching from user mode |
| 10 | + * its prologue including stack switching from user mode |
11 | 11 | * |
12 | 12 | * Vineetg: Aug 28th 2008: Bug #94984 |
13 | 13 | * -Zero Overhead Loop Context shd be cleared when entering IRQ/EXcp/Trap |
|
143 | 143 | * 2. L1 IRQ taken, ISR starts (CPU auto-switched to KERNEL mode) |
144 | 144 | * 3. But before it could switch SP from USER to KERNEL stack |
145 | 145 | * a L2 IRQ "Interrupts" L1 |
146 | | - * Thay way although L2 IRQ happened in Kernel mode, stack is still |
| 146 | + * That way although L2 IRQ happened in Kernel mode, stack is still |
147 | 147 | * not switched. |
148 | 148 | * To handle this, we may need to switch stack even if in kernel mode |
149 | 149 | * provided SP has values in range of USER mode stack ( < 0x7000_0000 ) |
|
173 | 173 |
|
174 | 174 | GET_CURR_TASK_ON_CPU r9 |
175 | 175 |
|
176 | | - /* With current tsk in r9, get it's kernel mode stack base */ |
| 176 | + /* With current tsk in r9, get its kernel mode stack base */ |
177 | 177 | GET_TSK_STACK_BASE r9, r9 |
178 | 178 |
|
179 | 179 | /* save U mode SP @ pt_regs->sp */ |
|
282 | 282 | * NOTE: |
283 | 283 | * |
284 | 284 | * It is recommended that lp_count/ilink1/ilink2 not be used as a dest reg |
285 | | - * for memory load operations. If used in that way interrupts are deffered |
| 285 | + * for memory load operations. If used in that way interrupts are deferred |
286 | 286 | * by hardware and that is not good. |
287 | 287 | *-------------------------------------------------------------*/ |
288 | 288 | .macro EXCEPTION_EPILOGUE |
|
350 | 350 | * NOTE: |
351 | 351 | * |
352 | 352 | * It is recommended that lp_count/ilink1/ilink2 not be used as a dest reg |
353 | | - * for memory load operations. If used in that way interrupts are deffered |
| 353 | + * for memory load operations. If used in that way interrupts are deferred |
354 | 354 | * by hardware and that is not good. |
355 | 355 | *-------------------------------------------------------------*/ |
356 | 356 | .macro INTERRUPT_EPILOGUE LVL |
|
0 commit comments