lkml.org 
[lkml]   [2008]   [Dec]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: Regression from 2.6.26: Hibernation (possibly suspend) broken on Toshiba R500 (bisected)
    Date
    On Friday, 5 of December 2008, Linus Torvalds wrote:
    >
    > On Thu, 4 Dec 2008, Linus Torvalds wrote:
    > >
    > > On Fri, 5 Dec 2008, Rafael J. Wysocki wrote:
    > > >
    > > > There's a difference, though. It doesn't cause the resources flags to be
    > > > cleared for the cardbus bridge and the cardbus bridge gets the correct sizes
    > > > of both prefetchable and non-prefetchable windows (64 MB).
    > >
    > > Yes, true. In that sense, it minimizes the differences between the
    > > "working" and "nonworking" case.
    >
    > Hmm.
    >
    > One other issue: we've been looking mostly at MMIO, but another thing that
    > differs here is the PIO part.
    >
    > Your patch only changes pbus_size_mem(), so what happens is that it avoids
    > allocating the prefetch window. But it still allocates the PIO window,
    > because pbus_size_io() is still run.
    >
    > Maybe the PIO window matters? Any magic suspend registers are usually in
    > PIO space, not in MMIO space. Did /proc/ioports change, and if so, how?

    |18,20c18,19
    |< 1000-1fff : PCI Bus 0000:03
    |< 1000-10ff : PCI CardBus 0000:04
    |< 1400-14ff : PCI CardBus 0000:04
    |---
    |> 1000-10ff : PCI CardBus 0000:04
    |> 1400-14ff : PCI CardBus 0000:04

    where the first one is with my patch and the second one is with the "no sizing
    for transparent bridges" patch. No difference to my eyes, if the "transparent"
    bridge is really transparent. :-)

    Thanks,
    Rafael


    \
     
     \ /
      Last update: 2008-12-05 02:11    [W:4.217 / U:0.092 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site