On Tue, Oct 13, 2015 at 02:51:21PM +0200, Thomas Renninger wrote:
> Hi,
>
> while double checking whether this on is needed for 3.12 (which it is not),
> I realized that this easy patch, fixing a potential divide by zero bug,
> patches nicely with only line offset into 4.1 and 3.18 latest stable kernel
> branches.
>
> So you might want to consider taking this one.
>
With some context adjustment, I am also picking it for the 3.16 kernel.
(I'm actually also picking fa30dff9a81e ("cpufreq: intel_pstate: Remove
unnecessary type casting in div_s64() call").)
Cheers,
--
Luís
> commit 7180dddf7c32c49975c7e7babf2b60ed450cb760
> Author: Prarit Bhargava <[email protected]>
> Date: Mon Jun 15 13:43:29 2015 -0400
>
> intel_pstate: Fix overflow in busy_scaled due to long delay
>
> The kernel may delay interrupts for a long time which can result in timers
> being delayed. If this occurs the intel_pstate driver will crash with a
> divide by zero error:
>
> divide error: 0000 [#1] SMP
> ...
> --
> To unsubscribe from this list: send the line "unsubscribe stable" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html