kexec powerpc booke

Sebastian Andrzej Siewior bigeasy at
Fri May 14 04:14:55 EDT 2010

Maxim Uvarov wrote:
> Sebastian,

> I saw you did a lot of work for powerpc booke boards. What is the 
> current status of your patches?
They worked the last time I checked on v31. Userland is useable however
you have to tweak the dtb file. Recently I hacked kexec-tools so they can
suck the dtb from /proc/device-tree while I've been traveling but I had no
time to test it. Ah and initrd support as well.

> Will they be included to main line?
I hope so. I fixed what Kumar did not like in the last version. As far as
I know, he had no time review it.

> As I understand 8572 board has to work with  your kernel:

Not really. 8572 is SMP and SMP is not supported at the moment. The plan 
for SMP was
- pin userland to the boot cpu
- halt the other cpu in kernel during kexec
- the what we do right now
- use the ipic to reset the cpu and bring it back to virgin state.

That was only the plan I made. Halt the CPU means spin I think so you
should respect the "reserved region" in dtb.

> I tried this kernel and result is hang after "Bye!".  Which kexec-tools 
> is suitable for your kernel? Can you please throw them to me?

[0] is what I used last time I checked and Simon merged it. So it should
work. I try to rebase the kernel to v33 and see if it got broken somehow.
Maybe I should merge console support so it is easier to debug. The plan
here was to set the uart type & address into the purgatory code from what
we know from the dtb. However I have no idea how to set the MMU mapping
for it.

> I posted the patch, which make 83xx classic powerpc work (not booke). 
> Both kexec and kdump. Now I want to do booke boards workable.
> That's why I need to know how things are now.  What is already done and 
> what is needed.

I'm supprised that the UP part is not working. I look at it. I post the 
proc/dtb-suck-in patches once they are tested. I could push it to my pubic 
git tree if you want to look at them. SMP support is missing and I haven't
looked at kdump at all.



More information about the kexec mailing list