From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.dvmed.net (srv5.dvmed.net [207.36.208.214]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTP id 8412FDE0E5 for ; Thu, 21 Feb 2008 03:50:59 +1100 (EST) Message-ID: <47BC5A62.2030701@garzik.org> Date: Wed, 20 Feb 2008 11:50:42 -0500 From: Jeff Garzik MIME-Version: 1.0 To: Thomas Klein Subject: Re: [PATCH] ehea: add kdump support References: <47B30A49.8080404@de.ibm.com> In-Reply-To: <47B30A49.8080404@de.ibm.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Cc: Thomas Klein , Jan-Bernd Themann , netdev , linux-kernel , linux-ppc , Christoph Raisch , Marcus Eder List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Thomas Klein wrote: > This patch adds kdump support to the ehea driver. As the firmware doesn't free > resource handles automatically, the driver has to run an as simple as possible > free resource function in case of a crash shutdown. The function iterates over > two arrays freeing all resource handles which are stored there. The arrays are > kept up-to-date during normal runtime. The crash handler fn is triggered by the > recently introduced PPC crash shutdown reg/unreg functions. > > > Signed-off-by: Thomas Klein > > --- > drivers/net/ehea/ehea.h | 34 +++++- > drivers/net/ehea/ehea_main.c | 281 ++++++++++++++++++++++++++++++++++++++---- > 2 files changed, 290 insertions(+), 25 deletions(-) applied