swsusp_32.S (03ab8e6297acd1bc0eedaa050e2a1635c576fd11) swsusp_32.S (2da37761671b5bdedbe04e6469cfa57cd6b6ae45)
1/* SPDX-License-Identifier: GPL-2.0 */
2#include <linux/threads.h>
1/* SPDX-License-Identifier: GPL-2.0 */
2#include <linux/threads.h>
3#include <linux/linkage.h>
4
3#include <asm/processor.h>
4#include <asm/page.h>
5#include <asm/cputable.h>
6#include <asm/thread_info.h>
7#include <asm/ppc_asm.h>
8#include <asm/asm-offsets.h>
9#include <asm/mmu.h>
10#include <asm/feature-fixups.h>

--- 384 unchanged lines hidden (view full) ---

395
396 li r3,0
397 blr
398_ASM_NOKPROBE_SYMBOL(swsusp_arch_resume)
399
400/* FIXME:This construct is actually not useful since we don't shut
401 * down the instruction MMU, we could just flip back MSR-DR on.
402 */
5#include <asm/processor.h>
6#include <asm/page.h>
7#include <asm/cputable.h>
8#include <asm/thread_info.h>
9#include <asm/ppc_asm.h>
10#include <asm/asm-offsets.h>
11#include <asm/mmu.h>
12#include <asm/feature-fixups.h>

--- 384 unchanged lines hidden (view full) ---

397
398 li r3,0
399 blr
400_ASM_NOKPROBE_SYMBOL(swsusp_arch_resume)
401
402/* FIXME:This construct is actually not useful since we don't shut
403 * down the instruction MMU, we could just flip back MSR-DR on.
404 */
403turn_on_mmu:
405SYM_FUNC_START_LOCAL(turn_on_mmu)
404 mflr r4
405 mtsrr0 r4
406 mtsrr1 r3
407 sync
408 isync
409 rfi
410_ASM_NOKPROBE_SYMBOL(turn_on_mmu)
406 mflr r4
407 mtsrr0 r4
408 mtsrr1 r3
409 sync
410 isync
411 rfi
412_ASM_NOKPROBE_SYMBOL(turn_on_mmu)
413SYM_FUNC_END(turn_on_mmu)
411
414