From patchwork Sat Dec 16 09:02:13 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Herv=C3=A9_Poussineau?= X-Patchwork-Id: 849476 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=nongnu.org (client-ip=2001:4830:134:3::11; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=reactos.org header.i=@reactos.org header.b="LsoucKaD"; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3yzLvC3Zn6z9s71 for ; Sat, 16 Dec 2017 20:03:51 +1100 (AEDT) Received: from localhost ([::1]:49852 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eQ8Np-0004hw-HK for incoming@patchwork.ozlabs.org; Sat, 16 Dec 2017 04:03:49 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53064) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eQ8Mx-0004hM-M0 for qemu-devel@nongnu.org; Sat, 16 Dec 2017 04:02:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eQ8Mw-00020t-Nt for qemu-devel@nongnu.org; Sat, 16 Dec 2017 04:02:55 -0500 Received: from iserv.reactos.org ([2a01:4f8:221:4c5::3]:58762) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eQ8Mw-0001t4-8p for qemu-devel@nongnu.org; Sat, 16 Dec 2017 04:02:54 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=reactos.org; s=25047; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-Id:Date:Subject:Cc:To:From; bh=6B6xu/go4e+OTEFQWuSdW0ucfrpLyx8Ss5z2hg9UQeY=; b=LsoucKaDvivysxXiBYYapEF8ek22a253XZ80uZUUN/3G6ldWUzPB+8M42EV3aXdhN+cs/YO5XQ37HuRq+cfkHggk3iy92DbXuwUf2TWHHBc825M07g+4aD/J4+WZxxVibtvA2YapUOsKSYOnnNbdsfYr8sr+uNRqb+3iuAUFS58=; Received: from [2a01:e34:ee6b:9c80:6267:20ff:fe65:a488] (helo=localhost.localdomain) by iserv.reactos.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1eQ8Mc-0001v2-FI; Sat, 16 Dec 2017 09:02:34 +0000 From: =?utf-8?q?Herv=C3=A9_Poussineau?= To: Aurelien Jarno , Yongbok Kim , "Michael S . Tsirkin" , Paolo Bonzini , qemu-devel@nongnu.org Date: Sat, 16 Dec 2017 10:02:13 +0100 Message-Id: <20171216090228.28505-1-hpoussin@reactos.org> X-Mailer: git-send-email 2.11.0 MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a01:4f8:221:4c5::3 Subject: [Qemu-devel] [PATCH 00/15] piix4: cleanup and improvements X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?utf-8?q?Herv=C3=A9_Poussineau?= Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" Hi, This patchset is a cleanup of the PIIX4 PCI-ISA bridge. Lots of devices are moved from MIPS Malta board (which has a PIIX4) to PIIX4, where devices belong. This lets us reuse PIIX4 in other machines, while not loosing any functionality. Last patch allows adding a new PIIX4 device directly from command line. Note that this will work only as long no other ISA bus already exist on the machine. Hervé Hervé Poussineau (15): fdc: move object structures to header file serial/parallel: move object structures to header file mc146818rtc: move structure to header file mc146818rtc: always register rtc to rtc list piix4: rename some variables in realize function piix4: add Reset Control Register piix4: add a i8259 interrupt controller as specified in datasheet piix4: add a i8257 dma controller as specified in datasheet piix4: add a i8254 pit controller as specified in datasheet piix4: add a i8042 keyboard/mouse controller as specified in datasheet piix4: add a floppy controller, 1 parallel port and 2 serial ports piix4: add a mc146818rtc controller as specified in datasheet piix4: add a speaker as specified in datasheet piix4: rename PIIX4 object to piix4-isa piix4: we can now instanciate a PIIX4 with -device hw/block/fdc.c | 101 ------------------------- hw/char/parallel.c | 31 +------- hw/char/serial-isa.c | 13 +--- hw/isa/piix4.c | 167 ++++++++++++++++++++++++++++++++++++----- hw/mips/mips_malta.c | 65 ++++++++-------- hw/ppc/pnv.c | 2 +- hw/timer/mc146818rtc.c | 43 ++--------- include/hw/block/fdc.h | 103 +++++++++++++++++++++++++ include/hw/char/isa.h | 50 ++++++++++++ include/hw/char/serial.h | 1 - include/hw/i386/pc.h | 1 - include/hw/timer/mc146818rtc.h | 29 +++++++ 12 files changed, 373 insertions(+), 233 deletions(-) create mode 100644 include/hw/char/isa.h