Re: [ 40/46] KVM: PIC: call ack notifiers for irqs that are droppedform irr

From: Ben Hutchings
Date: Wed Aug 22 2012 - 20:03:01 EST


On Sun, 2012-08-19 at 20:59 -0700, Greg Kroah-Hartman wrote:
> From: Greg KH <gregkh@xxxxxxxxxxxxxxxxxxx>
>
> 3.5-stable review patch. If anyone has any objections, please let me know.
>
> ------------------
>
> From: Gleb Natapov <gleb@xxxxxxxxxx>
>
> (cherry picked from commit aea218f3cbbcaac249b6b2c98930a00d6d931f1e)
>
> After commit 242ec97c358256 PIT interrupts are no longer delivered after
> PIC reset. It happens because PIT injects interrupt only if previous one
> was acked, but since on PIC reset it is dropped from irr it will never
> be delivered and hence acknowledged. Fix that by calling ack notifier on
> PIC reset.
[...]

Based on the commit blamed for the regression, I think this is needed
for 3.4 as well.

Ben.

--
Ben Hutchings
Experience is what causes a person to make new mistakes instead of old ones.

Attachment: signature.asc
Description: This is a digitally signed message part