Michael Ellerman <michael@ellerman.id.au> wrote on 02.11.2007 07:30:08:We think we have a way to workaround this, but let me first try to explain the base problem. DD allocates HEA resources and gets firmware_handles for these resources. To free the resources DD needs to use exactly these handles. There's no generic firmware call "clean out all resources". Allocating the same resources twice does not work. So a new kernel can't free the resources allocated by an old kernel, because the numeric values of the handles aren't known anymore. Potential Solution: Hea driver cleanup function hooks into ppc_md.machine_crash_shutdown and frees all firmware resources at shutdown time of the crashed kernel. crash_kexec continues and loads new kernel. The new kernel restarts the HEA driver within kdump kernel, which will work because resources have been freed before. Michael, would this work? Gruss / Regards Christoph R. -
| Davide Libenzi | Re: [patch 7/8] fdmap v2 - implement sys_socket2 |
| Bart Van Assche | Integration of SCST in the mainstream Linux kernel |
| Greg Kroah-Hartman | [PATCH 005/196] Chinese: add translation of SubmittingDrivers |
| Mariusz Kozlowski | [KJ PATCHES] mostly kmalloc + memset conversion to k[cz]alloc |
git: | |
| KOSAKI Motohiro | [bug?] tg3: Failed to load firmware "tigon/tg3_tso.bin" |
| Stefan Richter | Re: [GIT]: Networking |
| David Miller | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Gerrit Renker | [PATCH 0/37] dccp: Feature negotiation - last call for comments |
