• Andrew Morton's avatar
    [PATCH] cyclone: PIT sanity checking · 98218e92
    Andrew Morton authored
    From: john stultz <johnstul@us.ibm.com>
    
    In testing for SLES9, we ran across a bug caused by userspace apps poking
    the PIT which caused bad values to be read by the kernel.  This would then
    trigger the lost tick detection code with insane values and would then
    break the SCSI subsystem.
    
    This patch includes the PIT sanity check from the TSC timesource into the
    cyclone timesource code, which catches the bad case described above and
    resolves the issue.
    Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
    98218e92
timer_cyclone.c 6.86 KB