From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:45231) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RC4j6-0007pi-0f for qemu-devel@nongnu.org; Fri, 07 Oct 2011 03:20:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RC4j4-0004Gp-Ux for qemu-devel@nongnu.org; Fri, 07 Oct 2011 03:20:11 -0400 Received: from goliath.siemens.de ([192.35.17.28]:29184) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RC4j4-0004GW-Jm for qemu-devel@nongnu.org; Fri, 07 Oct 2011 03:20:10 -0400 From: Jan Kiszka Date: Fri, 7 Oct 2011 09:19:33 +0200 Message-Id: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [PATCH v2 00/23] Rework i8259 and PC interrupt models List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori , qemu-devel Cc: Blue Swirl , =?UTF-8?q?Andreas=20F=C3=A4rber?= Highlights of this series: - generic i8259, now part of hwlib - qdev conversion of i8259 - fix for i8259 poll mode (and removal of PREP hack) The refactoring will also be important to instantiate i8259-kvm devices for in-kernel irqchip acceleration one day. Changes in v2: - kept PIC irq state update after reset but clarified why this=20 required and only valid here - additional fix: Clear ELCR on reset - included already posted updates of patch 22 and 23 CC: Andreas F=C3=A4rber Jan Kiszka (23): pc: Drop useless test from isa_irq_handler pc: Generalize ISA IRQs to GSIs pc: Convert GSIState::i8259_irq into array pc: Fix and clean up PIC-to-APIC IRQ path i8259: Remove premature inline function attributes i8259: Drop obsolete prototypes i8259: Move pic_set_irq1 after pic_update_irq i8239: Introduce per-PIC output interrupt i8259: Do not update IRQ output after spurious pic_poll_read i8259: Reorder intack in pic_read_irq i8259: Update IRQ state after reset i8259: Clear ELCR on reset i8259: Switch to per-PIC IRQ update i8259: Fix poll command i8259: Clean up pic_ioport_read i8259: PREP: Replace pic_intack_read with pic_read_irq i8259: Replace PicState::pics_state with master flag i8259: Eliminate PicState2 qdev: Add HEX8 property i8259: Convert to qdev i8259: Fix coding style monitor: Restrict pic/irq_info to supporting targets i8259: Move to hw library Makefile.objs | 1 + Makefile.target | 8 +- default-configs/alpha-softmmu.mak | 1 + default-configs/i386-softmmu.mak | 1 + default-configs/mips-softmmu.mak | 1 + default-configs/mips64-softmmu.mak | 1 + default-configs/mips64el-softmmu.mak | 1 + default-configs/mipsel-softmmu.mak | 1 + default-configs/ppc-softmmu.mak | 1 + default-configs/ppc64-softmmu.mak | 1 + default-configs/ppcemb-softmmu.mak | 1 + default-configs/x86_64-softmmu.mak | 1 + hw/an5206.c | 10 - hw/apic.c | 4 + hw/arm_pic.c | 11 - hw/cris_pic_cpu.c | 6 - hw/etraxfs.h | 1 + hw/i8259.c | 397 ++++++++++++++++++----------= ------ hw/ioapic.h | 7 + hw/isa.h | 2 + hw/lm32_pic.c | 4 +- hw/lm32_pic.h | 3 + hw/microblaze_pic_cpu.c | 6 - hw/pc.c | 24 +-- hw/pc.h | 29 ++-- hw/pc_piix.c | 30 ++-- hw/ppc_prep.c | 2 +- hw/qdev-properties.c | 29 +++ hw/qdev.h | 3 + hw/s390-virtio.c | 11 - hw/shix.c | 11 - hw/sun4m.c | 4 +- hw/sun4m.h | 4 + hw/sun4u.c | 8 - hw/xtensa_pic.c | 10 - monitor.c | 21 ++ 36 files changed, 339 insertions(+), 317 deletions(-) --=20 1.7.3.4