[RFC][PATCH 0/8] kexec/kdump support for ppc32

Anton Vorontsov avorontsov at ru.mvista.com
Sat Aug 2 00:46:20 EST 2008


On Fri, Aug 01, 2008 at 09:21:02AM -0500, Kumar Gala wrote:
>
> On Aug 1, 2008, at 9:13 AM, Anton Vorontsov wrote:
>
>> Hi all,
>>
>> I refreshed some Dale Farnsworth's kexec/kdump patches[1] against
>> the latest kernel, and here they are.
>>
>> There is a difference though. Dale's patches were using
>> kmap_atomic_pfn() to map oldmem memory, while for this patches
>> I took PPC64 approach to use ioremap(). This is done to be able
>> to support kdump on !HIGHMEM kernels.
>>
>> Also, please take a special look into 8/8 patch, there is a hunk
>> marked with "XXX:", which I don't quite understand for PPC64 case
>> (this hunk also persist in the original Dale's patch, and w/o it
>> the capturing kernel doesn't boot on ppc32).
>>
>> I'll try to refresh BookE support as soon as I'll find some BookE
>> board.
>>
>> The patchset includes:
>>
>> - Kexec support
>>
>>  [PATCH 1/8] powerpc: set up OF properties for ppc32 kexec
>>  [PATCH 2/8] powerpc: make default kexec/crash_kernel ops implicit
>>  [PATCH 3/8] powerpc: remove default kexec/crash_kernel ops  
>> assignments
>>
>>  2/8 and 3/8 patches are used to avoid adding lots of default ops
>>  to the board files.
>>
>> - Kdump support
>>
>>  [PATCH 4/8] powerpc: add the ability for a classic ppc kernel to be  
>> loaded at 32M
>>  [PATCH 5/8] powerpc: allow to ioremap RAM addresses for kdump kernel 
>> on ppc32
>>  [PATCH 6/8] powerpc: set up OF properties for ppc32 kdump
>>  [PATCH 7/8] powerpc: implement crash_setup_regs for ppc32
>>  [PATCH 8/8] powerpc: last bits to support kdump on ppc32
>>
>> [1] http://ozlabs.org/pipermail/linuxppc-dev/2007-November/046739.html
>
> What's the state of the kexec tools for ppc32?

Current kexec-tools has split arch support, and ppc32 is officially
broken.

I use some old (20070330), patched kexec-tools with ppc32/ and ppc64/
merged into powerpc (alike to Linux).

I hope one day I (or somebody else) will find time to cleanup or
re-do the patches for the recent kexec-tools, and merge them after
all.

Though, I didn't look into the patches themselves yet, so I can't
tell how much work is pending.

-- 
Anton Vorontsov
email: cbouatmailru at gmail.com
irc://irc.freenode.net/bd2



More information about the Linuxppc-dev mailing list