Commit Graph
6 Commits
Author SHA1 Message Date
Yang Wei 91ffaa2783 MIPS: kdump: Set correct value to kexec_indirection_page variable
Since there is not indirection page in crash type, so the vaule of the head
field of kimage structure is not equal to the address of indirection page but
IND_DONE. so we have to set kexec_indirection_page variable to the address of
the head field of image structure.

[[email protected]: Don't add pointless empty line, fix trailing
whitespace damage.]

Signed-off-by: Yang Wei <[email protected]>
Cc: [email protected]
Cc: [email protected]
Patchwork: https://patchwork.linux-mips.org/patch/7499/
Signed-off-by: Ralf Baechle <[email protected]>
2014-08-25 16:33:44 +02:00
Ralf Baechle 7aa1c8f47e MIPS: kdump: Add support
[[email protected]: Original patch by Maxim Uvarov <[email protected]>
with plenty of further shining, polishing, debugging and testing by me.]

Signed-off-by: Maxim Uvarov <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Patchwork: https://patchwork.linux-mips.org/patch/1025/
Signed-off-by: Ralf Baechle <[email protected]>
2012-12-13 16:46:47 +01:00
Nicolas Schichan 97ce9a8d6c [MIPS] Unconditionally writeback and invalidate caches on kexec.
Signed-off-by: Nicolas Schichan <[email protected]>
Signed-off-by: Ralf Baechle <[email protected]>
2007-08-27 02:16:59 +01:00
Ralf Baechle 1065932fcb [MIPS] Kexec: Fix several warnings.
arch/mips/kernel/machine_kexec.c: In function 'machine_kexec':
arch/mips/kernel/machine_kexec.c:54: warning: assignment makes integer from pointer without a cast
arch/mips/kernel/machine_kexec.c:70: warning: assignment makes integer from pointer without a cast
arch/mips/kernel/machine_kexec.c:81: warning: format '%08x' expects type 'unsigned int', but argument 2 has type 'long unsigned int'

Signed-off-by: Ralf Baechle <[email protected]>
2007-07-31 21:35:35 +01:00
Tobias Klauser c5a69d57eb Storage class should be before const qualifier
The C99 specification states in section 6.11.5:

The placement of a storage-class specifier other than at the
beginning of the declaration specifiers in a declaration is an
obsolescent feature.

Signed-off-by: Tobias Klauser <[email protected]>
Signed-off-by: Adrian Bunk <[email protected]>
2007-02-17 20:11:19 +01:00
Nicolas Schichan 583bb86fbb [MIPS] Add support for kexec
A tiny userland application loading the kernel and invoking kexec_load for 
mips is available here:

http://chac.le-poulpe.net/~nico/kexec/kexec-2006-10-18.tar.gz

Signed-off-by: Ralf Baechle <[email protected]>
2006-11-30 01:14:44 +00:00