Re: Linux 2.6.28-rc8

Linus Torvalds
2008-12-12T16:12:34Z

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