[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v4 5/5] i8259: fix dynamically masking slave IRQ
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [PATCH v4 5/5] i8259: fix dynamically masking slave IRQs with IMR register |
Date: |
Mon, 03 Sep 2012 09:08:58 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120717 Thunderbird/14.0 |
Il 03/09/2012 04:56, Matthew Ogilvie ha scritto:
> Although I haven't found any specs that say so, on real hardware
> I have a test program that shows if you mask off the slave
> interrupt (say IRQ14) in the IMR after it has already been raised,
> the master (IRQ2) gets canceled (that is, IRQ2 acts like it is level
> triggered). Without this patch, qemu delivers a
> spurious interrupt (IRQ15) instead when running the test program.
>
> Signed-off-by: Matthew Ogilvie <address@hidden>
Nice testing, thanks!
KVM's i8259 emulation can be patched at arch/x86/kvm/i8259.c in the
Linux tree.
You can write a test for kvm-unit-tests. These tests can be written in
C, including interrupt handlers (see lib/x86/isr.h). The git tree is at
git://git.kernel.org/pub/scm/virt/kvm/kvm-unit-tests.git.
Paolo
- [Qemu-devel] [PATCH v4 0/5] Running Microport UNIX (ca 1987), Matthew Ogilvie, 2012/09/02
- [Qemu-devel] [PATCH v4 1/5] fix some debug printf format strings, Matthew Ogilvie, 2012/09/02
- [Qemu-devel] [PATCH v4 2/5] vl: fix -hdachs/-hda argument order parsing issues, Matthew Ogilvie, 2012/09/02
- [Qemu-devel] [PATCH v4 3/5] qemu-options.hx: mention retrace= VGA option, Matthew Ogilvie, 2012/09/02
- [Qemu-devel] [PATCH v4 4/5] vga: add some optional CGA compatibility hacks, Matthew Ogilvie, 2012/09/02
- [Qemu-devel] [PATCH v4 5/5] i8259: fix dynamically masking slave IRQs with IMR register, Matthew Ogilvie, 2012/09/02
- Re: [Qemu-devel] [PATCH v4 5/5] i8259: fix dynamically masking slave IRQs with IMR register,
Paolo Bonzini <=
- Re: [Qemu-devel] [PATCH v4 5/5] i8259: fix dynamically masking slave IRQs with IMR register, Andreas Färber, 2012/09/03
- Re: [Qemu-devel] [PATCH v4 5/5] i8259: fix dynamically masking slave IRQs with IMR register, Avi Kivity, 2012/09/03
- Re: [Qemu-devel] [PATCH v4 5/5] i8259: fix dynamically masking slave IRQs with IMR register, Juan Quintela, 2012/09/03
- Re: [Qemu-devel] [PATCH v4 5/5] i8259: fix dynamically masking slave IRQs with IMR register, Jan Kiszka, 2012/09/03
- Re: [Qemu-devel] [PATCH v4 5/5] i8259: fix dynamically masking slave IRQs with IMR register, Avi Kivity, 2012/09/03
- Re: [Qemu-devel] [PATCH v4 5/5] i8259: fix dynamically masking slave IRQs with IMR register, Jan Kiszka, 2012/09/03
- Re: [Qemu-devel] [PATCH v4 5/5] i8259: fix dynamically masking slave IRQs with IMR register, Avi Kivity, 2012/09/03
- Re: [Qemu-devel] [PATCH v4 5/5] i8259: fix dynamically masking slave IRQs with IMR register, Jan Kiszka, 2012/09/03
- Re: [Qemu-devel] [PATCH v4 5/5] i8259: fix dynamically masking slave IRQs with IMR register, Avi Kivity, 2012/09/03
- Re: [Qemu-devel] [PATCH v4 5/5] i8259: fix dynamically masking slave IRQs with IMR register, Paolo Bonzini, 2012/09/03