Messages in this thread |  | | From | Benjamin Herrenschmidt <> | Subject | Re: [patch 2.5.31] transparent PCI-to-PCI bridges | Date | Sat, 31 Aug 2002 10:09:42 +0200 |
| |
>> Your logic is so flawed that it's scary. > >Maybe. > >> Your logic is "I _can_ do it this way, thus everybody else must do it this >> way". Where the _hell_ is the logic there? > >Well, I'm just too lazy and don't want to rewrite that setup-bus stuff >once again. :-) >Seriously, I see some implementation issues with "arbitrary number of >resources" approach. By now I don't know how to deal with them.
Ok, well, you should have said that first ;)
Because what I'm asking (the change to pci_read_bridge_bases()) for copying all transparent bridge resources will just not affect setup-bus, so you shouldn't have a problem with it. Currently, setup-bus cannot deal with my hosts already, copying all 4 resources won't make this worse ;) If your arch can use setup-bus today, it won't be harmed as it won't have anything in that 4th resource anyway.
Now, regarding improving setup-bus to deal with such weird cases and stop relying on fixed resource layout, well... that will be my job or the job for whoever wants to make it work on PPC (or other arch with similar need). It's something I have on my long-term todolist, but no time to dedicate to yet right now.
Ben.
- 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/
|  |