Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758802AbYLLQMe (ORCPT ); Fri, 12 Dec 2008 11:12:34 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757520AbYLLQMZ (ORCPT ); Fri, 12 Dec 2008 11:12:25 -0500 Received: from smtp1.linux-foundation.org ([140.211.169.13]:40052 "EHLO smtp1.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757133AbYLLQMZ (ORCPT ); Fri, 12 Dec 2008 11:12:25 -0500 Date: Fri, 12 Dec 2008 08:11:35 -0800 (PST) From: Linus Torvalds X-X-Sender: torvalds@localhost.localdomain To: Arjan van de Ven cc: Ingo Molnar , Pekka Enberg , Frans Pop , Eric Anholt , nix.or.die@googlemail.com, linux-kernel@vger.kernel.org, rjw@sisk.pl, Yinghai Lu Subject: Re: Linux 2.6.28-rc8 In-Reply-To: <20081212075746.4ddc9349@infradead.org> Message-ID: References: <49407CE1.9090600@googlemail.com> <1228979963.3254.8.camel@gaiman.anholt.net> <200812111707.20857.elendil@planet.nl> <20081211163548.GA11859@elte.hu> <20081211203604.GA14817@elte.hu> <84144f020812111246m7f6470f2n8b09283f54ead81@mail.gmail.com> <20081212082456.GA25106@elte.hu> <20081212075746.4ddc9349@infradead.org> User-Agent: Alpine 2.00 (LFD 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 875 Lines: 23 On Fri, 12 Dec 2008, Arjan van de Ven wrote: > > another thing we could do is try to only warn if you cross bar > boundaries but not if you cross other user-of-the-resource boundaries. Hmm. We could use the res->flags for this. But I'm not sure non-PCI resources fill those in correctly. A pure "busy" allocation (ie a driver marker) would generally have just the IORESOURCE_BUSY bit set, while a real PCI hardware resource will have other bits set (ie the IORESOURCE_IO/MEM bits) and not be marked BUSY. Maybe just ignoring resources with BUSY set, as they are driver markers rather than actual HW resources. 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/