Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S266102AbUA1TTu (ORCPT ); Wed, 28 Jan 2004 14:19:50 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S266123AbUA1TTt (ORCPT ); Wed, 28 Jan 2004 14:19:49 -0500 Received: from ns.suse.de ([195.135.220.2]:18902 "EHLO Cantor.suse.de") by vger.kernel.org with ESMTP id S266102AbUA1TTp (ORCPT ); Wed, 28 Jan 2004 14:19:45 -0500 Date: Wed, 28 Jan 2004 20:19:22 +0100 From: Andi Kleen To: Matthew Wilcox Cc: torvalds@osdl.org, ishii.hironobu@jp.fujitsu.com, linux-kernel@vger.kernel.org, linux-ia64@vger.kernel.org Subject: Re: [RFC/PATCH, 2/4] readX_check() performance evaluation Message-Id: <20040128201922.2dc7bec7.ak@suse.de> In-Reply-To: <20040128182003.GL11844@parcelfarce.linux.theplanet.co.uk> References: <00a301c3e541$c13a6350$2987110a@lsd.css.fujitsu.com> <20040128182003.GL11844@parcelfarce.linux.theplanet.co.uk> X-Mailer: Sylpheed version 0.9.7 (GTK+ 1.2.10; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 935 Lines: 22 On Wed, 28 Jan 2004 18:20:03 +0000 Matthew Wilcox wrote: > If there are, Linus' interface is probably the best one. If not, we could > simply have readX_check() / writeX_check() call dev->driver->unregister() > if they notice an error has occurred and then the driver doesn't even > need to call read_pcix_errors(). It just won't really work for platforms with inexact MCEs for IO errors. And even for those with exact MCEs it would probably be a nightmare to implement (writing MCE handlers is extremly hard because you cannot rely on any locking guarantees - even a printk can randomly deadlock) For those the per pci_dev callback is the only realistic way. -Andi - 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/