Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

KVM: i8259: initialize isr_ack

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 <prochazka.nicolas@gmail.com>
Signed-off-by: Avi Kivity <avi@redhat.com>

+2
+2
arch/x86/kvm/i8259.c
··· 575 575 s->pics[1].elcr_mask = 0xde; 576 576 s->pics[0].pics_state = s; 577 577 s->pics[1].pics_state = s; 578 + s->pics[0].isr_ack = 0xff; 579 + s->pics[1].isr_ack = 0xff; 578 580 579 581 /* 580 582 * Initialize PIO device