linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
  • [parent not found: <20071219221756.20362.84805.sendpatchset@dhcp83-188.boston.redhat.com>]
  • [parent not found: <20071219221806.20362.25964.sendpatchset@dhcp83-188.boston.redhat.com>]
  • * Re: [PATCH 0/5]PCI: x86 MMCONFIG
           [not found] <20071219221746.20362.39243.sendpatchset@dhcp83-188.boston.redhat.com>
                       ` (2 preceding siblings ...)
           [not found] ` <20071219221806.20362.25964.sendpatchset@dhcp83-188.boston.redhat.com>
    @ 2007-12-19 23:16 ` Greg KH
      3 siblings, 0 replies; 12+ messages in thread
    From: Greg KH @ 2007-12-19 23:16 UTC (permalink / raw)
      To: tcamuso; +Cc: linux-kernel, linux-pci, prarit
    
    On Wed, Dec 19, 2007 at 05:17:46PM -0500, tcamuso@redhat.com wrote:
    > OVERVIEW
    > =======
    > 
    > The patches should be applied in sequence to obviate any
    > possible build problems.
    > 
    > The patch-set was built against 2.6.24-rc5
    > 
    > Description
    > ===========
    > 
    > There exist devices that do not respond correctly to PCI
    > MMCONFIG accesses in x86 platforms.
    
    What devices are these?  Do you have reports of them somewhere?
    
    > This patch-set detects the problem by comparing an MMCONFIG
    > read to a Legacy PCI config read of the vendor/device dword
    > of every device discovered during the PCI probing sequence.
    > 
    > A miscompare means that a device does not correctly respond
    > to MMCONFIG accesses. When the patch code detects this condition,
    > the bus that serves this device, and all subordinate buses, will
    > be programmed to use Legacy PCI Config accesses.
    > 
    > This patch-set DOES NOT detect devices that generate machine
    > checks against MMCONFIG accesses. For such systems,
    > "pci=nommconf" is required in the boot command.
    
    That sounds like this patchset can cause bad side affects on hardware
    that currently works just fine.  That is not a good thing to be adding
    to the kernel, right?
    
    thanks,
    
    greg k-h
    
    ^ permalink raw reply	[flat|nested] 12+ messages in thread
  • [parent not found: <fa.zIbPFbLub6ANMT5vMxS6hx+dfv0@ifi.uio.no>]
    * [Fwd: Re: [PATCH 0/5]PCI: x86 MMCONFIG]
    @ 2007-12-20 12:28 Tony Camuso
      2007-12-20 17:22 ` Greg KH
      0 siblings, 1 reply; 12+ messages in thread
    From: Tony Camuso @ 2007-12-20 12:28 UTC (permalink / raw)
      To: gregkh, linux-kernel, linux-pci
    
    
    
    -------- Original Message --------
    Subject: Re: [PATCH 0/5]PCI: x86 MMCONFIG
    Date: Wed, 19 Dec 2007 19:33:45 -0500
    From: Tony Camuso <tcamuso@redhat.com>
    Reply-To: tcamuso@redhat.com
    To: Greg KH <gregkh@suse.de>
    References: 
    <20071219221746.20362.39243.sendpatchset@dhcp83-188.boston.redhat.com> 
    <20071219231609.GE24219@suse.de>
    
    Greg KH wrote:
    > On Wed, Dec 19, 2007 at 05:17:46PM -0500, tcamuso@redhat.com wrote:
    >> There exist devices that do not respond correctly to PCI
    >> MMCONFIG accesses in x86 platforms.
    > 
    > What devices are these?  Do you have reports of them somewhere?
    > 
    There are the AMD 8131 and 8132, the Serverworks HT1000 bridge chips
    and the 830M/MG graphics. Not all versions of these chips present
    this pathology, but there are perhaps tens of thousands of systems
    out there that have the broken versions of these chipsets.
    
    RedHat have been maintaining a blacklist of systems having these
    devices. Systems in the blacklist are confined to legacy PCI
    access.
    
    However, some of these systems, high volume ones at that, also have
    PCI express buses in them. By limiting the whole platform to legacy
    PCI access, we put PCI express extended config capabilities out of
    reach. IIRC, the PCIe spec requires platforms to access extended
    PCI config space.
    
    > That sounds like this patchset can cause bad side affects on hardware
    > that currently works just fine.  That is not a good thing to be adding
    > to the kernel, right?
    > 
    No, the patch set tries to obviate this without requiring endusers to
    write customized scripts with "pci=nommconf" and without requiring the
    RH folks to add another platform (usually belatedly) to the blacklist.
    
    If a device is going to machine check when you touch it with an mmconfig
    access, it will happen with or without this patch-set.
    
    However, the patch-set does cover most of the devices that don't respond
    well to mmconfig access. Such devices almost alway7s return garbage when
    you read from them.
    
    The one device we know about that throws exceptions is the 830M/MG
    graphics chip. This chip passes the read-compare test, so the code
    merrily advances to bus sizing. When the bus sizing code writes the
    BAR at offset 0x18 in this device, the system hangs.
    
    I am thinking about a machine check handler that can catch these things,
    or at least the exceptions. Aborts are not recoverable, according to
    intel lore. However, the one device that we know croaks HARD seems to
    throw an exception, since it happens in the same exact place every
    time. I think we might be able to recover from that.
    
    But that's in the future.
    
    
    
    ^ permalink raw reply	[flat|nested] 12+ messages in thread

    end of thread, other threads:[~2008-01-08 13:44 UTC | newest]
    
    Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
    -- links below jump to the message on this page --
         [not found] <20071219221746.20362.39243.sendpatchset@dhcp83-188.boston.redhat.com>
         [not found] ` <20071219221751.20362.23451.sendpatchset@dhcp83-188.boston.redhat.com>
    2007-12-19 23:04   ` [PATCH 1/5]PCI: x86 MMCONFIG: introduce PCI_USING_MMCONF Greg KH
         [not found]     ` <4769B035.9020005@redhat.com>
         [not found]       ` <20071220001936.GA23791@suse.de>
    2007-12-20  0:49         ` Tony Camuso
         [not found] ` <20071219221756.20362.84805.sendpatchset@dhcp83-188.boston.redhat.com>
    2007-12-19 23:06   ` [PATCH 2/5]PCI: x86 MMCONFIG: add legacy pci conf functions Greg KH
         [not found] ` <20071219221806.20362.25964.sendpatchset@dhcp83-188.boston.redhat.com>
    2007-12-19 23:10   ` [PATCH 4/5]PCI: x86 MMCONFIG: introduce pcibios_fix_bus_scan() Greg KH
    2007-12-19 23:14   ` Greg KH
    2007-12-19 23:16 ` [PATCH 0/5]PCI: x86 MMCONFIG Greg KH
         [not found] <fa.zIbPFbLub6ANMT5vMxS6hx+dfv0@ifi.uio.no>
         [not found] ` <fa.3T2SqNjavN55hanLOjr3RO+WalE@ifi.uio.no>
    2007-12-20  0:12   ` Robert Hancock
    2007-12-20 12:28 [Fwd: Re: [PATCH 0/5]PCI: x86 MMCONFIG] Tony Camuso
    2007-12-20 17:22 ` Greg KH
    2007-12-20 18:25   ` Tony Camuso
    2007-12-20 21:57     ` Greg KH
    2007-12-20 22:36       ` Tony Camuso
    2007-12-20 22:40         ` Greg KH
    2008-01-08  3:20           ` [PATCH 0/5]PCI: x86 MMCONFIG Tony Camuso
    2008-01-08  4:56             ` Greg KH
    2008-01-08 13:14               ` Tony Camuso
    2008-01-08 13:36                 ` Greg KH
    2008-01-08 13:44                   ` Tony Camuso
    

    This is a public inbox, see mirroring instructions
    for how to clone and mirror all data and code used for this inbox;
    as well as URLs for NNTP newsgroup(s).