lkml.org 
[lkml]   [2007]   [Aug]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH -mm] 2/2: PCI: disable decode of IO/memory during BAR sizing
Date
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@shaw.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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-08-06 20:15    [W:0.043 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site