Commit 0467811e authored by Paul Burton's avatar Paul Burton

MIPS: mark GIC clockevent device with CLOCK_EVT_FEAT_C3STOP

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: default avatarPaul Burton <paul.burton@imgtec.com>
parent 74e91335
...@@ -73,7 +73,8 @@ int gic_clockevent_init(void) ...@@ -73,7 +73,8 @@ int gic_clockevent_init(void)
cd = &per_cpu(gic_clockevent_device, cpu); cd = &per_cpu(gic_clockevent_device, cpu);
cd->name = "MIPS GIC"; 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); clockevent_set_clock(cd, gic_frequency);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment