Re: [RESEND PATCH v3] clocksource: exynos_mct: fix for sleeping in atomic ctx handling cpu hotplug notif.

From: Daniel Lezcano
Date: Mon Jun 29 2015 - 06:14:39 EST


On 06/29/2015 11:24 AM, Thomas Gleixner wrote:
On Mon, 29 Jun 2015, Daniel Lezcano wrote:

On 06/26/2015 03:23 PM, Damian Eppel wrote:
This is to fix an issue of sleeping in atomic context when processing
hotplug notifications in Exynos MCT(Multi-Core Timer).
The issue was reproducible on Exynos 3250 (Rinato board) and Exynos 5420
(Arndale Octa board).

Whilst testing cpu hotplug events on kernel configured with DEBUG_PREEMPT
and DEBUG_ATOMIC_SLEEP we get following BUG message, caused by calling
request_irq() and free_irq() in the context of hotplug notification
(which is in this case atomic context).

Applied as a 4.2 fix.

Should it be tagged stable@ ?

I have that one queued in tip/timers/urgent already. Please check my
branches before picking up stuff.

Mmmh, yep. I thought I refreshed my branch. Now I see it.

Thanks for the heads up.

-- Daniel

--
<http://www.linaro.org/> Linaro.org â Open source software for ARM SoCs

Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog

--
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/