Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=622477533d3dc24845c847f386533f3c0e6a1be6
Commit:     622477533d3dc24845c847f386533f3c0e6a1be6
Parent:     89becf5c0d9019f4f9300840f08a98ee33d57d37
Author:     Ralf Baechle <[EMAIL PROTECTED]>
AuthorDate: Sun Nov 11 17:24:46 2007 +0000
Committer:  Ralf Baechle <[EMAIL PROTECTED]>
CommitDate: Thu Nov 15 23:21:50 2007 +0000

    [MIPS] Sibyte: Increase minimum oneshot timer interval to two ticks.
    
    For the old minimum of a single tick a value of zero would be programmed
    into the init value register which in the BCM1250/BCM1125/BCM1125H User
    Manual in the Timer Special Cases section is documented to have
    UNPREDICTABLE effect.
    
    Observable sympthoms of this bug were hangs of several seconds on the
    console during bootup and later if both dyntick and highres timer options
    were activated.
    
    In theory contiguous mode of the timers is also affected but in an act of
    hopeless lack of realism I'll assume nobody will ever configure a KERNEL
    for HZ > 500kHz but if so I leave that to evolution to sort out.
    
    Signed-off-by: Ralf Baechle <[EMAIL PROTECTED]>
---
 arch/mips/kernel/cevt-bcm1480.c |    2 +-
 arch/mips/kernel/cevt-sb1250.c  |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/mips/kernel/cevt-bcm1480.c b/arch/mips/kernel/cevt-bcm1480.c
index f6fcc62..e54410e 100644
--- a/arch/mips/kernel/cevt-bcm1480.c
+++ b/arch/mips/kernel/cevt-bcm1480.c
@@ -122,7 +122,7 @@ void __cpuinit sb1480_clockevent_init(void)
                                  CLOCK_EVT_FEAT_ONESHOT;
        clockevent_set_clock(cd, V_SCD_TIMER_FREQ);
        cd->max_delta_ns        = clockevent_delta2ns(0x7fffff, cd);
-       cd->min_delta_ns        = clockevent_delta2ns(1, cd);
+       cd->min_delta_ns        = clockevent_delta2ns(2, cd);
        cd->rating              = 200;
        cd->irq                 = irq;
        cd->cpumask             = cpumask_of_cpu(cpu);
diff --git a/arch/mips/kernel/cevt-sb1250.c b/arch/mips/kernel/cevt-sb1250.c
index 194e0f7..8fbb055 100644
--- a/arch/mips/kernel/cevt-sb1250.c
+++ b/arch/mips/kernel/cevt-sb1250.c
@@ -121,7 +121,7 @@ void __cpuinit sb1250_clockevent_init(void)
                                  CLOCK_EVT_FEAT_ONESHOT;
        clockevent_set_clock(cd, V_SCD_TIMER_FREQ);
        cd->max_delta_ns        = clockevent_delta2ns(0x7fffff, cd);
-       cd->min_delta_ns        = clockevent_delta2ns(1, cd);
+       cd->min_delta_ns        = clockevent_delta2ns(2, cd);
        cd->rating              = 200;
        cd->irq                 = irq;
        cd->cpumask             = cpumask_of_cpu(cpu);
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to