Age | Commit message (Collapse) | Author | Files | Lines |
|
We must add notrace on sched_clock_read, because it's called
by ftrace_graph_caller.
Signed-off-by: Guo Ren <[email protected]>
|
|
Timer startup must after timer_irq_enable. For qemu, timer tick
irq hanppens but irq not enable, so it will cause qemu boot failed.
Signed-off-by: Guo Ren <[email protected]>
Tested-by: Liu Zhiwei <[email protected]>
|
|
The driver is for C-SKY SMP timer. It only supports oneshot event
and 32bit overflow for clocksource. Per cpu core has one timer and
all timers share one clock-counter-input from the same clocksource.
This use mfcr&mtcr instructions to access the regs.
Signed-off-by: Guo Ren <[email protected]>
Cc: Daniel Lezcano <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Signed-off-by: Daniel Lezcano <[email protected]>
|