From: linas@austin.ibm.com Date: Thu, 15 Jan 2004 01:57:31 +0000 Subject: Re: unclean yanking out of device? Message-Id: <20040114195731.F40506@forte.austin.ibm.com> List-Id: References: <20040114160002.G57254@forte.austin.ibm.com> In-Reply-To: <20040114160002.G57254@forte.austin.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Wed, Jan 14, 2004 at 05:33:39PM -0800, Greg KH wrote: > > The ppc64 pci hotplug driver that is currently in the ppc64 cvs tree > should already work for your hardware, right? Will look into it. > Which ppc64 mainframes exactly? I think the phb is in just about everything with a power4 processor in it. > Ah, ok, I've talked to Paul M. and others at IBM you are probably Yeah, Paul just said "keep me informed about what you do" and that's it. > working with a lot about this. They have tried to come up with a way > for a write or read to be notified that an error just occurred, right? Depends on what you mean by 'notify'. It is known, synchronously, when error occured during PIO read, and so that case can be handled immediately. DMA... not sure. > Again, it should not do that. We need to have a way to notify that the > write or read failed. Well, notify who of what? > Work on fixing that, and then modify the driver > to gracefully recover is the proper sequence. If you really want to, > tell the pci slot controller that it now needs to disable that slot, > which will cause the driver to shut down the device. Well, the actual sequence is the inverse: the pci slot controller has already disabled the slot. Its already gone. Which is why I was pursuing the "unclean remove" idea. > I seem to remember the proposal was quite complex last time I saw it, > has it been cleaned up any since? !! I have seen no proposal at all, you're the first to claim more. :( Any names? > If you don't know of any such proposal, I suggest you look into it, as > you don't want to duplicate the work others are already doing. I thought I was handed everything by the last guy who worked on it, who had no proposal at all. Other than a three-sentance description, and we've sort-of moved beyond that already ... I'm also a little confused by your reply, since you start by saying that the ethernet/scsi device drivers don't need to be modified, and then say that they do need to be modified to recover gracefully ... so which is it? --linas ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel