Re: [Regression] PCI resources allocation problem on HP nx6325

From: Linus Torvalds
Date: Sun Aug 02 2009 - 13:19:56 EST




On Sun, 2 Aug 2009, Matthew Wilcox wrote:
>
> It *might* break HP's ia64 machines. I have this feeling that the serial
> ports may be claimed in the resource tree before the PCI resources are
> claimed (and then they need to nest under a PCI bus).
>
> How about this variant which will insert_resource for _bus_ resources,
> but request_resource for _device_ resources?

Ugh. Please no. Hackery like this will just lead to unmaintainable crud in
the long run. Can you just fix ia64 instead? The firmware resources should
be added _after_ the PCI resource tree has been walked, not before.

Linus
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/