exceptions-64s.S (1bdd3e05a0a3b4a97ea88bc46fef8fb265c8b94c) | exceptions-64s.S (ed0bc98f8cbe4f8254759d333a47aedc816ff8c5) |
---|---|
1/* SPDX-License-Identifier: GPL-2.0 */ 2/* 3 * This file contains the 64-bit "server" PowerPC variant 4 * of the low level exception handling including exception 5 * vectors, exception return, part of the slb and stab 6 * handling and other fixed offset specific things. 7 * 8 * This file is meant to be #included from head_64.S due to --- 2194 unchanged lines hidden (view full) --- 2203 * directly, without using LOAD_HANDLER(). 2204 */ 2205 .align 7 2206 .globl __end_interrupts 2207__end_interrupts: 2208DEFINE_FIXED_SYMBOL(__end_interrupts) 2209 2210#ifdef CONFIG_PPC_970_NAP | 1/* SPDX-License-Identifier: GPL-2.0 */ 2/* 3 * This file contains the 64-bit "server" PowerPC variant 4 * of the low level exception handling including exception 5 * vectors, exception return, part of the slb and stab 6 * handling and other fixed offset specific things. 7 * 8 * This file is meant to be #included from head_64.S due to --- 2194 unchanged lines hidden (view full) --- 2203 * directly, without using LOAD_HANDLER(). 2204 */ 2205 .align 7 2206 .globl __end_interrupts 2207__end_interrupts: 2208DEFINE_FIXED_SYMBOL(__end_interrupts) 2209 2210#ifdef CONFIG_PPC_970_NAP |
2211 /* 2212 * Called by exception entry code if _TLF_NAPPING was set, this clears 2213 * the NAPPING flag, and redirects the exception exit to 2214 * power4_fixup_nap_return. 2215 */ 2216 .globl power4_fixup_nap |
|
2211EXC_COMMON_BEGIN(power4_fixup_nap) 2212 andc r9,r9,r10 2213 std r9,TI_LOCAL_FLAGS(r11) | 2217EXC_COMMON_BEGIN(power4_fixup_nap) 2218 andc r9,r9,r10 2219 std r9,TI_LOCAL_FLAGS(r11) |
2214 ld r10,_LINK(r1) /* make idle task do the */ 2215 std r10,_NIP(r1) /* equivalent of a blr */ | 2220 LOAD_REG_ADDR(r10, power4_idle_nap_return) 2221 std r10,_NIP(r1) |
2216 blr | 2222 blr |
2223 2224power4_idle_nap_return: 2225 blr |
|
2217#endif 2218 2219CLOSE_FIXED_SECTION(real_vectors); 2220CLOSE_FIXED_SECTION(real_trampolines); 2221CLOSE_FIXED_SECTION(virt_vectors); 2222CLOSE_FIXED_SECTION(virt_trampolines); 2223 2224USE_TEXT_SECTION() --- 187 unchanged lines hidden --- | 2226#endif 2227 2228CLOSE_FIXED_SECTION(real_vectors); 2229CLOSE_FIXED_SECTION(real_trampolines); 2230CLOSE_FIXED_SECTION(virt_vectors); 2231CLOSE_FIXED_SECTION(virt_trampolines); 2232 2233USE_TEXT_SECTION() --- 187 unchanged lines hidden --- |