linux/arch
Huacai Chen 1dd0964204 MIPS: Reserve nosave data for hibernation
[ Upstream commit a95d069204 ]

After commit 92923ca3aa ("mm: meminit: only set page reserved
in the memblock region"), the MIPS hibernation is broken. Because pages
in nosave data section should be "reserved", but currently they aren't
set to "reserved" at initialization. This patch makes hibernation work
again.

Signed-off-by: Huacai Chen <chenhc@lemote.com>
Cc: Aurelien Jarno <aurelien@aurel32.net>
Cc: Steven J . Hill <sjhill@realitydiluted.com>
Cc: Fuxin Zhang <zhangfx@lemote.com>
Cc: Zhangjin Wu <wuzhangjin@gmail.com>
Cc: linux-mips@linux-mips.org
Cc: stable@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/12888/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
History 2016-07-12 08:48:19 -04:00
..
alpha vm: add VM_FAULT_SIGSEGV handling support 2015-02-05 22:36:01 -08:00
arc arc: unwind: warn only once if DW2_UNWIND is disabled 2016-07-12 08:47:16 -04:00
arm ARM: OMAP3: Add cpuidle parameters table for omap3430 2016-07-12 08:47:57 -04:00
arm64 PCI: Move domain assignment from arm64 to generic code 2016-07-12 08:47:19 -04:00
avr32 avr32: handle NULL as a valid clock object 2015-08-27 13:25:51 -04:00
blackfin Merge branch 'for-3.18-consistent-ops' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/percpu 2014-10-15 07:48:18 +02:00
c6x C6x: time: Ensure consistency in __init 2015-05-17 19:12:28 -04:00
cris vm: add VM_FAULT_SIGSEGV handling support 2015-02-05 22:36:01 -08:00
frv vm: add VM_FAULT_SIGSEGV handling support 2015-02-05 22:36:01 -08:00
hexagon Merge branch 'locking-arch-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2014-10-13 15:48:00 +02:00
ia64 mm/hugetlb: use pmd_page() in follow_huge_pmd() 2015-05-17 19:12:31 -04:00
m32r m32r: fix m32104ut_defconfig build fail 2016-02-09 22:57:07 -05:00
m68k m68k: Define asmlinkage_protect 2015-10-27 22:14:19 -04:00
metag mm/hugetlb: use pmd_page() in follow_huge_pmd() 2015-05-17 19:12:31 -04:00
microblaze mmu_gather: move minimal range calculations into generic code 2015-03-28 09:22:01 -04:00
mips MIPS: Reserve nosave data for hibernation 2016-07-12 08:48:19 -04:00
mn10300 vm: add VM_FAULT_SIGSEGV handling support 2015-02-05 22:36:01 -08:00
openrisc vm: add VM_FAULT_SIGSEGV handling support 2015-02-05 22:36:01 -08:00
parisc parisc: Fix pagefault crash in unaligned __get_user() call 2016-06-19 23:47:44 -04:00
powerpc powerpc: Update TM user feature bits in scan_features() 2016-07-12 08:47:46 -04:00
s390 Revert "s390/kdump: Clear subchannel ID to signal non-CCW/SCSI IPL" 2016-07-12 08:47:16 -04:00
score vm: add VM_FAULT_SIGSEGV handling support 2015-02-05 22:36:01 -08:00
sh mm/hugetlb: use pmd_page() in follow_huge_pmd() 2015-05-17 19:12:31 -04:00
sparc mm: fix huge zero page accounting in smaps report 2016-06-03 11:30:36 -04:00
tile tile: use free_bootmem_late() for initrd 2015-08-27 13:25:45 -04:00
um fs/coredump: prevent fsuid=0 dumps into user-controlled directories 2016-04-18 08:49:38 -04:00
unicore32 nosave: consolidate __nosave_{begin,end} in <asm/sections.h> 2014-10-09 22:26:04 -04:00
x86 x86/mm/kmmio: Fix mmiotrace for hugepages 2016-07-12 08:47:55 -04:00
xtensa xtensa: clear all DBREAKC registers on start 2016-04-18 08:49:28 -04:00
.gitignore arch: Ignore arch/i386 and arch/x86_64 2008-01-19 21:29:39 -08:00
Kconfig seccomp: Document two-phase seccomp and arch-provided seccomp_data 2014-09-03 14:58:17 -07:00