LoongArch: Add suspend (ACPI S3) support
authorHuacai Chen <chenhuacai@loongson.cn>
Sat, 10 Dec 2022 14:40:15 +0000 (22:40 +0800)
committerHuacai Chen <chenhuacai@loongson.cn>
Wed, 14 Dec 2022 00:41:53 +0000 (08:41 +0800)
commit366bb35a8e48198cefcd3484ac6b2374d1347873
treec2997ee229513d6efcafed6c2968e285a93dd539
parent27cab431564edba9919d1a82c2d9636d622a2493
LoongArch: Add suspend (ACPI S3) support

Add suspend (Suspend To RAM, aka ACPI S3) support for LoongArch.

Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
13 files changed:
arch/loongarch/Kconfig
arch/loongarch/Makefile
arch/loongarch/include/asm/acpi.h
arch/loongarch/include/asm/bootinfo.h
arch/loongarch/include/asm/loongson.h
arch/loongarch/include/asm/time.h
arch/loongarch/kernel/acpi.c
arch/loongarch/kernel/smp.c
arch/loongarch/kernel/time.c
arch/loongarch/power/Makefile [new file with mode: 0644]
arch/loongarch/power/platform.c [new file with mode: 0644]
arch/loongarch/power/suspend.c [new file with mode: 0644]
arch/loongarch/power/suspend_asm.S [new file with mode: 0644]