Re: [PATCH] x86/PCI: never allocate PCI MMIO resources below BIOS_END

From: Linus Torvalds
Date: Mon Apr 26 2010 - 21:29:16 EST




On Mon, 26 Apr 2010, Jesse Barnes wrote:
>
> Glad we agree. As I said (and echoing Bjorn), I think it would be best
> to reserve this space in a way that doesn't just use IORESOURCE_BUSY.
> We want and need to do allocations from the special region, so we
> should mark it as such.

I think Bjorn's patch to pcibios_align_resource() is really good and
clever, and I think it should take care of the need for IORESOURCE_BUSY,
no? We do want to let devices that are _already_ allocated there insert
their resources, it's just that we never want to allocate new ones in the
low 1M region.

Do we actually have a regression left with Bjorn's patch?

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/