[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 1/2] KVM: fix i8259 interrupt high to low transi
From: |
Jan Kiszka |
Subject: |
Re: [Qemu-devel] [PATCH 1/2] KVM: fix i8259 interrupt high to low transition logic |
Date: |
Tue, 11 Sep 2012 11:04:30 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686 (x86_64); de; rv:1.8.1.12) Gecko/20080226 SUSE/2.0.0.12-1.1 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666 |
On 2012-09-11 02:49, Maciej W. Rozycki wrote:
> On Sun, 9 Sep 2012, Matthew Ogilvie wrote:
>
>> This bug manifested itself when the guest was Microport UNIX
>> System V/386 v2.1 (ca. 1987), because it would sometimes mask
>> off IRQ14 in the slave IMR after it had already been asserted.
>> The master would still try to deliver an interrupt even though
>> IRQ2 had dropped again, resulting in a spurious interupt
>> (IRQ15) and a panicked UNIX kernel.
>
> That is quite weird actually -- from my experience the spurious vector is
> never sent from a slave (quite understandably -- since the interrupt is
> gone and no other is pending, the master has no reason to select a slave
> to supply a vector and therefore supplies the spurious vector itself) and
> therefore a spurious IRQ7 is always issued regardless of whether the
> discarded request came from a slave or from the master.
As we do not clear IRQ14 in IRR of the slave nor do we clear IRQ2 of the
master, the master has a good reason to ask the slave for the vector.
Jan
signature.asc
Description: OpenPGP digital signature
- [Qemu-devel] [PATCH 1/2] KVM: fix i8259 interrupt high to low transition logic, Matthew Ogilvie, 2012/09/09
- [Qemu-devel] [PATCH 2/2] KVM: i8259: refactor pic_set_irq level logic, Matthew Ogilvie, 2012/09/09
- Re: [Qemu-devel] [PATCH 1/2] KVM: fix i8259 interrupt high to low transition logic, Maciej W. Rozycki, 2012/09/10
- Re: [Qemu-devel] [PATCH 1/2] KVM: fix i8259 interrupt high to low transition logic, Avi Kivity, 2012/09/12
- Re: [Qemu-devel] [PATCH 1/2] KVM: fix i8259 interrupt high to low transition logic, Jan Kiszka, 2012/09/12
- Re: [Qemu-devel] [PATCH 1/2] KVM: fix i8259 interrupt high to low transition logic, Avi Kivity, 2012/09/12
- Re: [Qemu-devel] [PATCH 1/2] KVM: fix i8259 interrupt high to low transition logic, Jan Kiszka, 2012/09/12
- Re: [Qemu-devel] [PATCH 1/2] KVM: fix i8259 interrupt high to low transition logic, Avi Kivity, 2012/09/12
- Re: [Qemu-devel] [PATCH 1/2] KVM: fix i8259 interrupt high to low transition logic, Matthew Ogilvie, 2012/09/13
- Re: [Qemu-devel] [PATCH 1/2] KVM: fix i8259 interrupt high to low transition logic, Maciej W. Rozycki, 2012/09/13
- Re: [Qemu-devel] [PATCH 1/2] KVM: fix i8259 interrupt high to low transition logic, Jan Kiszka, 2012/09/13
- Re: [Qemu-devel] [PATCH 1/2] KVM: fix i8259 interrupt high to low transition logic, Jan Kiszka, 2012/09/13
- Re: [Qemu-devel] [PATCH 1/2] KVM: fix i8259 interrupt high to low transition logic, Maciej W. Rozycki, 2012/09/13