Re: [PATCH 1/2] PCI: leave MEM and IO decoding disabled during64-bit BAR sizing, too

From: Jacob Pan
Date: Mon Jul 09 2012 - 16:18:21 EST


On Mon, 09 Jul 2012 12:20:18 -0600
Bjorn Helgaas <bhelgaas@xxxxxxxxxx> wrote:

> After 253d2e5498, we disable MEM and IO decoding for most devices
> while we size 32-bit BARs. However, we restore the original COMMAND
> register before we size the upper 32 bits of 64-bit BARs, so we can
> still cause a conflict.
>
> This patch waits to restore the original COMMAND register until we're
> completely finished sizing the BAR.
agreed.

Thanks,

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