Re: Probing unconfigured PCI bridge resouces

From: Benjamin Herrenschmidt
Date: Mon Jan 23 2012 - 23:50:35 EST


On Tue, 2012-01-24 at 15:25 +1100, Benjamin Herrenschmidt wrote:
.../...

> Or am I missing some important fact here ?

Ok, I think I was missing pci_bridge_check_ranges(), gotta figure now
why this didn't kick in properly for me, probably some arch code
crackpot.

One thing I noticed is that we do clear IORESOURCE_UNSET in setup-res.c
when setting up a device resource but we don't clear it for bridges in
generic code ever, so it leaks all the way through from my early arch
code. Not a big deal but annoying.

Cheers,
Ben.


--
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/