[PATCH] ehea: add kexec support
RAISCH at de.ibm.com
Thu Nov 1 06:48:28 EST 2007
Michael Ellerman <michael at ellerman.id.au> wrote on 30.10.2007 23:50:36:
> On Tue, 2007-10-30 at 09:39 +0100, Christoph Raisch wrote:
> > Michael Ellerman <michael at ellerman.id.au> wrote on 28.10.2007 23:32:17:
> > Hope I didn't miss anything here...
> Perhaps. When we kdump the kernel does not call the reboot notifiers, so
> the code Jan-Bernd just added won't get called. So the eHEA resources
> won't be freed. When the kdump kernel tries to load the eHEA driver what
> will happen?
If the device driver tries to allocate resources again (in the kdump
which have been allocated before (in the crashed kernel) the hcalls will
fail because from the hypervisor view the resources are still in use.
Currently there's no method to find out the resource handles for these
HEA resources allocated by the crashed kernel within the hypervisor...
So we have to trigger a explicit deregister in the hypervisor before the
is started again.
How do you recommend we should trigger this in the kdump process?
Is placing a hook into a ppc_md.machine_kexec be an option?
Gruss / Regards
More information about the Linuxppc-dev