android_kernel_xiaomi_sm8350/arch/powerpc
Manish Ahuja d5a29c7a36 [POWERPC] pseries: phyp dump: Use sysfs to release reserved mem
Check to see if there actually is data from a previously
crashed kernel waiting.  If so, allow user-space tools to
grab the data (by reading /proc/kcore).  When user-space
finishes dumping a section, it must release that memory
by writing to sysfs. For example,

  echo "0x40000000 0x10000000" > /sys/kernel/release_region

will release 256MB starting at the 1GB.  The released memory
becomes free for general use.

Signed-off-by: Linas Vepstas <linasvepstas@gmail.com>
Signed-off-by: Manish Ahuja <mahuja@us.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2008-03-26 08:44:06 +11:00
..
boot [POWERPC] Fix zImage-dtb.initrd build error 2008-03-13 10:09:26 +11:00
configs [POWERPC] maple: Enable ipr driver in defconfig 2008-03-26 08:44:04 +11:00
kernel [POWERPC] pseries: phyp dump: Reserve and release memory 2008-03-26 08:44:06 +11:00
lib [POWERPC] rheap: Changes config mechanism 2007-10-16 17:09:21 -06:00
math-emu [POWERPC] Fix carry bug in 128-bit unsigned integer adding 2008-01-23 19:34:21 -06:00
mm Merge branch 'linux-2.6' 2008-03-13 15:26:33 +11:00
oprofile [POWERPC] OProfile: enable callgraph support for Cell 2008-03-03 08:03:14 +01:00
platforms [POWERPC] pseries: phyp dump: Use sysfs to release reserved mem 2008-03-26 08:44:06 +11:00
sysdev Merge branch 'linux-2.6' 2008-03-13 15:26:33 +11:00
xmon [POWERPC] Make setjmp/longjmp code usable outside of xmon 2008-01-25 22:52:50 +11:00
.gitignore
Kconfig Merge branch 'linux-2.6' 2008-03-13 15:26:33 +11:00
Kconfig.debug [POWERPC] 4xx: Base support for 440GX Taishan eval board 2007-12-23 13:13:33 -06:00
Makefile [POWERPC] Fix zImage-dtb.initrd build error 2008-03-13 10:09:26 +11:00