Re: [PATCH] clocksource: em_sti: Set cpu_possible_mask to fix SMPbroadcast

From: Simon Horman
Date: Wed Sep 04 2013 - 04:31:51 EST


On Wed, Sep 04, 2013 at 05:01:51PM +0900, Magnus Damm wrote:
> From: Magnus Damm <damm@xxxxxxxxxxxxx>
>
> Update the STI driver by setting cpu_possible_mask to make EMEV2
> SMP work as expected together with the ARM broadcast timer.
>
> This breakage was introduced by:
>
> f7db706 ARM: 7674/1: smp: Avoid dummy clockevent being preferred over real hardware clock-event
>
> Without this fix SMP operation is broken on EMEV2 since no
> broadcast timer interrupts trigger on the secondary CPU cores.
>
> Signed-off-by: Magnus Damm <damm@xxxxxxxxxxxxx>
> ---
>
> Thanks to feedback from Stephen Boyd this is is a reworked version of:
> [PATCH] clocksource: em_sti: Adjust clock event rating to fix SMP broadcast
>
> drivers/clocksource/em_sti.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)

Tested-by: Simon Horman <horms+renesas@xxxxxxxxxxxx>

I will let this sit for a few days to see if there is any further feedback.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/