Cc: Benjamin Herrenschmidt <benh@...>, Ivan Kokshaysky <ink@...>, Gary Hade <garyhade@...>, Ingo Molnar <mingo@...>, Thomas Meyer <thomas@...>, Stefan Richter <stefanr@...>, Thomas Gleixner <tglx@...>, Rafael J. Wysocki <rjw@...>, LKML <linux-kernel@...>, Adrian Bunk <bunk@...>, Andrew Morton <akpm@...>, Natalie Protasevich <protasnb@...>, <pm@...>
> I dunno. I'm not going to do anything in this area before 2.6.25 is out
One way to kill off some of the assumptions and gunge would be to add
pci_resource_assigned(resource) [or indeed just resource_assigned()].
Iomap has similar problems - we have no portable defined "not mapped" at
the moment, although we use NULL technically mmio maps of 0 end up at 0
in the implementation today.
Alan
--