From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jan Kiszka Subject: [PATCH V2 0/7] pit, hpet, pcspk: fixes & preparation for KVM Date: Thu, 19 Jan 2012 00:08:55 +0100 Message-ID: Cc: Blue Swirl , Avi Kivity , Marcelo Tosatti , kvm To: Anthony Liguori , qemu-devel Return-path: Received: from fmmailgate02.web.de ([217.72.192.227]:58275 "EHLO fmmailgate02.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752902Ab2ARXJQ (ORCPT ); Wed, 18 Jan 2012 18:09:16 -0500 Received: from moweb001.kundenserver.de (moweb001.kundenserver.de [172.19.20.114]) by fmmailgate02.web.de (Postfix) with ESMTP id 74BBD1BFE5B01 for ; Thu, 19 Jan 2012 00:09:15 +0100 (CET) Sender: kvm-owner@vger.kernel.org List-ID: This is a preparatory series to allow the introduction of the KVM in-kernel PIT. A working and fairly clean version for that is ready. It is just waiting for the irqchip baseline and this series to be merged. This series also fixes various bugs in the PIT and HPET code, see patches for details. Changes in V2: - do not raise i8254 IRQ on reset - introduce i8254.h - pass irq output object on i8254 initialization - convert PC speaker to qdev - factor out pit_get_channel_info Jan Kiszka (7): i8254: Do not raise IRQ level on reset hpet: Save/restore cached RTC IRQ level i8254: Factor out interface header i8254: Pass irq output object on initialization i8254: Rework & fix interaction with HPET in legacy mode pcspk: Convert to qdev i8254: Factor out pit_get_channel_info arch_init.c | 1 + hw/alpha_dp264.c | 3 +- hw/hpet.c | 65 ++++++++++++++++++++++++++---------- hw/hpet_emul.h | 3 ++ hw/i8254.c | 92 ++++++++++++++++++++++----------------------------- hw/i8254.h | 55 +++++++++++++++++++++++++++++++ hw/mips_fulong2e.c | 3 +- hw/mips_jazz.c | 6 ++- hw/mips_malta.c | 3 +- hw/mips_r4k.c | 3 +- hw/pc.c | 17 +++++++-- hw/pc.h | 29 ---------------- hw/pcspk.c | 73 ++++++++++++++++++++++++++++++++-------- hw/pcspk.h | 45 +++++++++++++++++++++++++ hw/ppc_prep.c | 2 +- 15 files changed, 275 insertions(+), 125 deletions(-) create mode 100644 hw/i8254.h create mode 100644 hw/pcspk.h -- 1.7.3.4 From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:50530) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RnedE-0002w0-KQ for qemu-devel@nongnu.org; Wed, 18 Jan 2012 18:09:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RnedD-0006Ob-7q for qemu-devel@nongnu.org; Wed, 18 Jan 2012 18:09:28 -0500 Received: from fmmailgate02.web.de ([217.72.192.227]:58352) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RnedC-0006NP-Um for qemu-devel@nongnu.org; Wed, 18 Jan 2012 18:09:27 -0500 Received: from moweb001.kundenserver.de (moweb001.kundenserver.de [172.19.20.114]) by fmmailgate02.web.de (Postfix) with ESMTP id 7B6731BFE5BF3 for ; Thu, 19 Jan 2012 00:09:15 +0100 (CET) From: Jan Kiszka Date: Thu, 19 Jan 2012 00:08:55 +0100 Message-Id: Subject: [Qemu-devel] [PATCH V2 0/7] pit, hpet, pcspk: fixes & preparation for KVM List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori , qemu-devel Cc: Blue Swirl , Marcelo Tosatti , Avi Kivity , kvm This is a preparatory series to allow the introduction of the KVM in-kernel PIT. A working and fairly clean version for that is ready. It is just waiting for the irqchip baseline and this series to be merged. This series also fixes various bugs in the PIT and HPET code, see patches for details. Changes in V2: - do not raise i8254 IRQ on reset - introduce i8254.h - pass irq output object on i8254 initialization - convert PC speaker to qdev - factor out pit_get_channel_info Jan Kiszka (7): i8254: Do not raise IRQ level on reset hpet: Save/restore cached RTC IRQ level i8254: Factor out interface header i8254: Pass irq output object on initialization i8254: Rework & fix interaction with HPET in legacy mode pcspk: Convert to qdev i8254: Factor out pit_get_channel_info arch_init.c | 1 + hw/alpha_dp264.c | 3 +- hw/hpet.c | 65 ++++++++++++++++++++++++++---------- hw/hpet_emul.h | 3 ++ hw/i8254.c | 92 ++++++++++++++++++++++----------------------------- hw/i8254.h | 55 +++++++++++++++++++++++++++++++ hw/mips_fulong2e.c | 3 +- hw/mips_jazz.c | 6 ++- hw/mips_malta.c | 3 +- hw/mips_r4k.c | 3 +- hw/pc.c | 17 +++++++-- hw/pc.h | 29 ---------------- hw/pcspk.c | 73 ++++++++++++++++++++++++++++++++-------- hw/pcspk.h | 45 +++++++++++++++++++++++++ hw/ppc_prep.c | 2 +- 15 files changed, 275 insertions(+), 125 deletions(-) create mode 100644 hw/i8254.h create mode 100644 hw/pcspk.h -- 1.7.3.4