Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030783AbXAZGSh (ORCPT ); Fri, 26 Jan 2007 01:18:37 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1030784AbXAZGSh (ORCPT ); Fri, 26 Jan 2007 01:18:37 -0500 Received: from smtp.osdl.org ([65.172.181.24]:47763 "EHLO smtp.osdl.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1030783AbXAZGSg (ORCPT ); Fri, 26 Jan 2007 01:18:36 -0500 Date: Thu, 25 Jan 2007 22:18:21 -0800 (PST) From: Linus Torvalds To: David Woodhouse cc: Alan , Jeff Garzik , Linux Kernel Mailing List , "David S. Miller" Subject: Re: [PATCH] libata-sff: Don't call bmdma_stop on non DMA capable controllers In-Reply-To: Message-ID: References: <20070125150905.652f9ce2@localhost.localdomain> <1169741658.3593.98.camel@shinybook.infradead.org> <20070125172739.0c990a9a@localhost.localdomain> <1169770985.3593.146.camel@shinybook.infradead.org> <1169778239.3593.195.camel@shinybook.infradead.org> <1169782107.3593.219.camel@shinybook.infradead.org> <1169785150.3593.231.camel@shinybook.infradead.org> <1169788181.3593.250.camel@shinybook.infradead.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1258 Lines: 32 On Thu, 25 Jan 2007, Linus Torvalds wrote: > > Have you noticed that the resource-allocation code _already_ never returns > zero on sparc64? Btw, that was a rhetorical question, and I'm not actually sure what the heck sparc64 will _really_ do ;) I picked sparc64 as an example, because I _think_ that sparc64 actually is an example of an architecture that sets up a separate root resource for each PCI domain, and they are actually set up so that the ioport regions are literally offset to match the hardware bases (and there are several different kinds of PCI domain controllers that sparc supports, so those bases will depend on that too). So on sparc64, "ioport_resource" really is just a container for the actual per-domain resource buckets that the hardware (within that domain) will then do the resource allocation from. Afaik. But you should actaully verify that with somebody like Davem if you _really_ care. I cc'd him in case he wants to pipe up and perhaps prove me wrong. Linus - 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/