Skip to content
  • Nils Carlson's avatar
    edac: i5100 add scrubbing · 295439f2
    Nils Carlson authored
    
    
    Addscrubbing to the i5100 chipset.  The i5100 chipset only supports one
    scrubbing rate, which is not constant but dependent on memory load.  The
    rate returned by this driver is an estimate based on some experimentation,
    but is substantially closer to the truth than the speed supplied in the
    documentation.
    
    Also, scrubbing is done once, and then a done-bit is set.  This means that
    to accomplish continuous scrubbing a re-enabling mechanism must be used.
    I have created the simplest possible such mechanism in the form of a
    work-queue which will check every five minutes.  This interval is quite
    arbitrary but should be sufficient for all sizes of system memory.
    
    Signed-off-by: default avatarNils Carlson <nils.carlson@ludd.ltu.se>
    Signed-off-by: default avatarDoug Thompson <dougthompson@xmission.com>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    295439f2