linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
  • [parent not found: <fa.AlLzUeumrcT2SswgOn6MxKfDE0U@ifi.uio.no>]
  • * [Fwd: Re: [PATCH 0/5]PCI: x86 MMCONFIG]
    @ 2007-12-20 12:28 Tony Camuso
      0 siblings, 0 replies; 47+ 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:44:13 -0500
    From: Tony Camuso <tcamuso@redhat.com>
    Reply-To: tcamuso@redhat.com
    To: Robert Hancock <hancockr@shaw.ca>
    References: <fa.zIbPFbLub6ANMT5vMxS6hx+dfv0@ifi.uio.no> 
    <fa.3T2SqNjavN55hanLOjr3RO+WalE@ifi.uio.no> <4769B368.1030402@shaw.ca>
    
    Robert Hancock wrote:
    > Greg KH wrote:
    > 
    > I think we need more details on why this patch is needed. Also, we 
    > already have something like this in arch/x86/pci/mmconfig-shared.c, in 
    > the unreachable_devices function. This attempts to detect devices where 
    > MMCONFIG cannot access the configuration space (one of these would be at 
    > least one device in the AMD K8 built-in northbridge). If this is not 
    > sufficient, I would suggest expanding that mechanism instead of adding 
    > all this new code.
    > 
    
    We thought of doing that. But IIRC, unreachable_devices() only covers
    the first 16 buses on segment 0. What happens to the bitmap when you
    want to cover all possible buses on all possible segments?
    
    We felt that we had to come up with a more in-line way of doing this.
    
    
    
    ^ permalink raw reply	[flat|nested] 47+ messages in thread
    * [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; 47+ 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] 47+ messages in thread

    end of thread, other threads:[~2008-01-08  3:41 UTC | newest]
    
    Thread overview: 47+ messages (download: mbox.gz follow: Atom feed
    -- links below jump to the message on this page --
         [not found] <fa.HvUNJ45qy60H427u0v9fNt3Gc7E@ifi.uio.no>
         [not found] ` <fa.uuzqvr64HFsgxfiWwhEmE16Di6c@ifi.uio.no>
         [not found]   ` <fa.zhxdNN/1rfQhfJLVmdGBjvKYrCM@ifi.uio.no>
         [not found]     ` <fa.z1qlON6DA9ubBPFdrEcaFTMgYOY@ifi.uio.no>
         [not found]       ` <fa.U/SCC1Gvd3nSOpkMu5vcsSPYyPE@ifi.uio.no>
         [not found]         ` <fa.d8kGTkzOZH22bXRIRiakqgOPBM4@ifi.uio.no>
    2007-12-21  0:44           ` [Fwd: Re: [PATCH 0/5]PCI: x86 MMCONFIG] Robert Hancock
    2007-12-21  1:35             ` Tony Camuso
    2007-12-21  1:42               ` Tony Camuso
    2007-12-21 14:59                 ` Bhavana Nagendra
    2007-12-21  2:15               ` Robert Hancock
    2007-12-21  2:44                 ` Tony Camuso
    2007-12-21  3:40                 ` Loic Prylli
    2007-12-21  4:07                   ` Tony Camuso
    2007-12-21  2:09             ` Tony Camuso
    2007-12-21 14:11             ` Andi Kleen
         [not found]           ` <fa.pdOcVPk2gFn5iK76ExRH6Ow+NPw@ifi.uio.no>
    2007-12-22 16:41             ` Robert Hancock
    2007-12-22 16:59               ` [Fwd: Re: [PATCH 4/5]PCI: x86 MMCONFIG] introduce pcibios_fix_bus_scan_quirk() Tony Camuso
         [not found] ` <fa.AlLzUeumrcT2SswgOn6MxKfDE0U@ifi.uio.no>
         [not found]   ` <fa.wIE0QfzMAxr82X049FecszlEnQY@ifi.uio.no>
         [not found]     ` <fa.2jJbe4cdXLfOVhNWVxdIjsW8GQc@ifi.uio.no>
         [not found]       ` <fa.JiW7yU0G/EdLOCYcPOacl/XVocc@ifi.uio.no>
         [not found]         ` <fa.PI93hBriZRT9ggytQ5eY/446Tno@ifi.uio.no>
    2007-12-24 17:13           ` [Fwd: Re: [PATCH 0/5]PCI: x86 MMCONFIG] Robert Hancock
    2007-12-20 12:28 Tony Camuso
      -- strict thread matches above, loose matches on Subject: below --
    2007-12-20 12:28 Tony Camuso
    2007-12-20 17:22 ` Greg KH
    2007-12-20 17:35   ` Matthew Wilcox
    2007-12-20 18:04     ` Tony Camuso
    2007-12-20 18:16       ` Matthew Wilcox
    2007-12-20 18:30         ` Tony Camuso
    2007-12-20 18:36           ` Matthew Wilcox
    2007-12-20 18:49         ` Loic Prylli
    2007-12-20 19:04           ` Tony Camuso
    2007-12-20 19:08             ` Matthew Wilcox
    2007-12-20 19:50               ` Ivan Kokshaysky
    2007-12-20 20:17                 ` Tony Camuso
    2007-12-20 20:27                 ` Tony Camuso
    2008-01-08  3:41                 ` Tony Camuso
    2007-12-20 20:05               ` Loic Prylli
    2007-12-20 20:15                 ` Matthew Wilcox
    2007-12-20 20:56                   ` Loic Prylli
    2007-12-20 21:00                     ` Matthew Wilcox
    2007-12-20 21:55                       ` Loic Prylli
    2007-12-20 19:37         ` Tony Camuso
    2007-12-20 20:04           ` Matthew Wilcox
    2007-12-20 20:15             ` Tony Camuso
    2007-12-23 20:16         ` Loic Prylli
    2007-12-23 20:55           ` Matthew Wilcox
    2007-12-23 22:40             ` Loic Prylli
    2007-12-24  8:09           ` Grant Grundler
    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
    2007-12-20 23:21           ` Tony Camuso
    2007-12-21  2:07             ` Loic Prylli
    2007-12-24  8:28           ` Grant Grundler
    

    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).