projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
74e9133
)
MIPS: mark GIC clockevent device with CLOCK_EVT_FEAT_C3STOP
author
Paul Burton
<paul.burton@imgtec.com>
Fri, 14 Feb 2014 09:21:30 +0000
(09:21 +0000)
committer
Paul Burton
<paul.burton@imgtec.com>
Fri, 2 May 2014 15:39:10 +0000
(16:39 +0100)
Although the GIC counter will continue when a core is in a low power
state and it will still trigger interrupts, the core will be incapable
of servicing those interrupts rendering them useless.
Signed-off-by: Paul Burton <paul.burton@imgtec.com>
arch/mips/kernel/cevt-gic.c
patch
|
blob
|
history
diff --git
a/arch/mips/kernel/cevt-gic.c
b/arch/mips/kernel/cevt-gic.c
index
594cbbf
..
925bae5
100644
(file)
--- a/
arch/mips/kernel/cevt-gic.c
+++ b/
arch/mips/kernel/cevt-gic.c
@@
-73,7
+73,8
@@
int gic_clockevent_init(void)
cd = &per_cpu(gic_clockevent_device, cpu);
cd->name = "MIPS GIC";
- cd->features = CLOCK_EVT_FEAT_ONESHOT;
+ cd->features = CLOCK_EVT_FEAT_ONESHOT |
+ CLOCK_EVT_FEAT_C3STOP;
clockevent_set_clock(cd, gic_frequency);