[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 09/22] i8259: Do not update IRQ output after spuriou
From: |
Jan Kiszka |
Subject: |
[Qemu-devel] [PATCH 09/22] i8259: Do not update IRQ output after spurious pic_poll_read |
Date: |
Wed, 28 Sep 2011 13:00:55 +0200 |
If pic_poll_read finds no pending IRQ and return a spurious one instead,
no PIC state is changed, thus we do not need to call pic_update_irq.
Signed-off-by: Jan Kiszka <address@hidden>
---
hw/i8259.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/hw/i8259.c b/hw/i8259.c
index 65123bd..cddd3c7 100644
--- a/hw/i8259.c
+++ b/hw/i8259.c
@@ -393,7 +393,6 @@ static uint32_t pic_poll_read(PicState *s)
pic_update_irq(s->pics_state);
} else {
ret = 0x07;
- pic_update_irq(s->pics_state);
}
return ret;
--
1.7.3.4
- Re: [Qemu-devel] [PATCH 11/22] i8259: Update IRQ state after reset, (continued)
- Re: [Qemu-devel] [PATCH 11/22] i8259: Update IRQ state after reset, Jan Kiszka, 2011/09/28
- Re: [Qemu-devel] [PATCH 11/22] i8259: Update IRQ state after reset, Blue Swirl, 2011/09/29
- Re: [Qemu-devel] [PATCH 11/22] i8259: Update IRQ state after reset, Jan Kiszka, 2011/09/30
- Re: [Qemu-devel] [PATCH 11/22] i8259: Update IRQ state after reset, Peter Maydell, 2011/09/30
- Re: [Qemu-devel] [PATCH 11/22] i8259: Update IRQ state after reset, Blue Swirl, 2011/09/30
- Re: [Qemu-devel] [PATCH 11/22] i8259: Update IRQ state after reset, Blue Swirl, 2011/09/30
[Qemu-devel] [PATCH 15/22] i8259: PREP: Replace pic_intack_read with pic_read_irq, Jan Kiszka, 2011/09/28
[Qemu-devel] [PATCH 09/22] i8259: Do not update IRQ output after spurious pic_poll_read,
Jan Kiszka <=
[Qemu-devel] [PATCH 02/22] pc: Generalize ISA IRQs to GSIs, Jan Kiszka, 2011/09/28
[Qemu-devel] [PATCH 13/22] i8259: Fix poll command, Jan Kiszka, 2011/09/28
[Qemu-devel] [PATCH 12/22] i8259: Switch to per-PIC IRQ update, Jan Kiszka, 2011/09/28
Re: [Qemu-devel] [PATCH 00/22] Rework i8259 and PC interrupt models, Richard Henderson, 2011/09/28