lkml.org 
[lkml]   [2008]   [Jan]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: sata_nv + ADMA + Samsung disk problem
    Robert Hancock wrote:
    >
    > What we're doing to enter legacy mode is essentially:
    >
    > -wait until ADMA status indicates IDLE bit set (max wait of 1 microsecond)
    > -clear GO bit in control register
    > -wait until status indicates LEGACY bit set (max wait of 1 microsecond)
    >
    > and to enter ADMA mode:
    >
    > -set GO bit in control register
    > -wait until status indicates LEGACY bit cleared and IDLE bit set (max
    > wait of 1 microsecond)
    ..

    If there are outstanding TCQ/NCQ commands (any drive),
    then this could take (much) longer to enter legacy mode,
    as the ADMA engine will wait for them all to finish.

    But for normal, "nothing outstanding" mode, it should be very quick.

    Cheers


    \
     
     \ /
      Last update: 2008-01-03 05:17    [W:3.011 / U:0.744 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site