This is a note to let you know that I've just added the patch titled
KVM: i8259: initialize isr_ack
to the 2.6.36-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
0001-KVM-i8259-initialize-isr_ack.patch
and it can be found in the queue-2.6.36 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree,
please let <[email protected]> know about it.
>From [email protected] Tue Feb 15 10:53:38 2011
From: Avi Kivity <[email protected]>
Date: Fri, 14 Jan 2011 10:10:17 -0200
Subject: KVM: i8259: initialize isr_ack
To: [email protected], [email protected], [email protected], [email protected]
Message-ID: <[email protected]>
Content-Disposition: inline; filename=0001-KVM-i8259-initialize-isr_ack.patch
From: Avi Kivity <[email protected]>
commit a0272630bb594b4eac03a79e77957df7dad8eade upstream.
isr_ack is never initialized. So, until the first PIC reset, interrupts
may fail to be injected. This can cause Windows XP to fail to boot, as
reported in the fallout from the fix to
https://bugzilla.kernel.org/show_bug.cgi?id=21962.
Reported-and-tested-by: Nicolas Prochazka <[email protected]>
Signed-off-by: Avi Kivity <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
---
arch/x86/kvm/i8259.c | 2 ++
1 file changed, 2 insertions(+)
--- a/arch/x86/kvm/i8259.c
+++ b/arch/x86/kvm/i8259.c
@@ -570,6 +570,8 @@ struct kvm_pic *kvm_create_pic(struct kv
s->pics[1].elcr_mask = 0xde;
s->pics[0].pics_state = s;
s->pics[1].pics_state = s;
+ s->pics[0].isr_ack = 0xff;
+ s->pics[1].isr_ack = 0xff;
/*
* Initialize PIO device
Patches currently in stable-queue which might be from [email protected] are
queue-2.6.36/0001-KVM-i8259-initialize-isr_ack.patch
queue-2.6.36/kvm-mmu-fix-32-bit-legacy-paging-with-npt.patch
queue-2.6.36/kvm-mmu-fix-incorrect-direct-gfn-for-unpaged-mode-shadow.patch
_______________________________________________
stable mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/stable