Skip to content
Commit 5d1d9a29 authored by Mark Rutland's avatar Mark Rutland Committed by Thomas Gleixner
Browse files

clockevents: Fix generic broadcast for FEAT_C3STOP



Commit 12ad1000: "clockevents: Add generic timer broadcast function"
made tick_device_uses_broadcast set up the generic broadcast function
for dummy devices (where !tick_device_is_functional(dev)), but neglected
to set up the broadcast function for devices that stop in low power
states (with the CLOCK_EVT_FEAT_C3STOP flag).

When these devices enter low power states they will not have the generic
broadcast function assigned, and will bring down the system when an
attempt is made to broadcast to them.

This patch ensures that the broadcast function is also assigned for
devices which require broadcast in low power states.

Reported-by: default avatarStephen Warren <swarren@nvidia.com>
Signed-off-by: default avatarMark Rutland <mark.rutland@arm.com>
Tested-by: default avatarStephen Warren <swarren@nvidia.com>
Cc: linux-arm-kernel@lists.infradead.org
Cc: nico@linaro.org
Cc: Marc.Zyngier@arm.com
Cc: Will.Deacon@arm.com
Cc: santosh.shilimkar@ti.com
Cc: john.stultz@linaro.org
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent 12ad1000
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment