[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <200708061011.42363.jbarnes@virtuousgeek.org>
Date: Mon, 6 Aug 2007 10:11:41 -0700
From: Jesse Barnes <jbarnes@...tuousgeek.org>
To: Robert Hancock <hancockr@...w.ca>
Cc: linux-kernel <linux-kernel@...r.kernel.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Linus Torvalds <torvalds@...ux-foundation.org>
Subject: Re: [PATCH -mm] 2/2: PCI: disable decode of IO/memory during BAR sizing
On Tuesday, May 29, 2007 9:05 pm Robert Hancock wrote:
> Change PCI BAR sizing to disable the decode of memory or IO, as
> appropriate, while we are writing the all-ones value to the BAR to
> determine the size. If this is not done, the device may spuriously
> decode accesses to memory areas it should not. On some Intel PCI
> Express chipsets, this breaks MMCONFIG configuration space access,
> since the memory the graphics card ends up decoding during this
> period overlaps the MMCONFIG area, and thus it steals the accesses to
> the area to do any other configuration space access, including
> changing the BAR back to its previous value.
>
> However, don't do this disabling on host bridge devices, as it is
> reported that some of them do silly things like disable CPU to RAM
> access if this is done.
>
> Based on an original patch by Jesse Barnes.
>
> Signed-off-by: Robert Hancock <hancockr@...w.ca>
Robert, the PCI patches for fixing up MCFG detection/usage and probing
should go through Greg. Can you resend so we don't miss 2.6.24 this
time? (I was really hoping this stuff would get into 2.6.23, but
apparently none of the right people were Cc'd at the right time...
damn.)
You can add my sign-off to this one too.
Thanks,
Jesse
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists