Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754752AbXKZPlb (ORCPT ); Mon, 26 Nov 2007 10:41:31 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752085AbXKZPlV (ORCPT ); Mon, 26 Nov 2007 10:41:21 -0500 Received: from igw3.br.ibm.com ([32.104.18.26]:55291 "EHLO igw3.br.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751495AbXKZPlU (ORCPT ); Mon, 26 Nov 2007 10:41:20 -0500 Subject: Re: [PATCH] ehea: Add kdump support From: Luke Browning To: michael@ellerman.id.au Cc: Thomas Klein , Michael Neuling , Jeff Garzik , Jan-Bernd Themann , netdev , linux-kernel , linux-ppc , Christoph Raisch , Paul Mackerras , Marcus Eder , Stefan Roscher In-Reply-To: <1196064988.19855.15.camel@concordia> References: <200711091433.51259.osstklei@de.ibm.com> <1196064988.19855.15.camel@concordia> Content-Type: text/plain Date: Mon, 26 Nov 2007 13:41:37 -0200 Message-Id: <1196091697.7513.30.camel@luke-laptop.br.ibm.com> Mime-Version: 1.0 X-Mailer: Evolution 2.10.1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1393 Lines: 42 On Mon, 2007-11-26 at 19:16 +1100, Michael Ellerman wrote: > > Hi Thomas, > > I'm sorry, but this patch is all wrong IMHO. > > For kdump we have to assume that the kernel is fundamentally broken, > we've panicked, so something bad has happened - every line of kernel > code that is run decreases the chance that we'll successfully make it > into the kdump kernel. I agree with Michael. > Solutions that might be better: > > a) if there are a finite number of handles and we can predict their > values, just delete them all in the kdump kernel before the driver > loads. This is a good solution if handles are predefined. > b) if there are a small & finite number of handles, save their values > in a device tree property and have the kdump kernel read them and > delete them before the driver loads. Also good but is more complicated. > c) if neither of those work, provide a minimal routine that _only_ > deletes the handles in the crashed kernel. > d) Can the driver or configuration method for the driver query PHYP to determine if there are any pre-existing mappings... Regards, Luke - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/