Skip to contentSkip to conversation

Request for inclusion of 7180dddf7c32c49975c7e7babf2b60ed450cb760 into 4.1 and 3.18

DISCUSSION Applied Thomas Renninger 3 participants 3 messages Oct 13, 2015 – Oct 19, 2015 Stable branch

lore
Share & tools
lore
#0 lore raw

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.

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

Applied
#1 lore raw
Quoted 13 lines · Thomas Renninger

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.

commit 7180dddf7c32c49975c7e7babf2b60ed450cb760

Author: Prarit Bhargava <[email protected]>
Date:   Mon Jun 15 13:43:29 2015 -0400
Quoted 8 lines

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

Queued up for 4.1-stable, thanks.

greg k-h

#2 lore raw
In reply to Thomas Renninger
Quoted 9 lines · Thomas Renninger

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

Quoted 16 lines

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