{"id":856662,"url":"http://patchwork.ozlabs.org/api/covers/856662/?format=json","web_url":"http://patchwork.ozlabs.org/project/qemu-devel/cover/20180108024558.17983-1-f4bug@amsat.org/","project":{"id":14,"url":"http://patchwork.ozlabs.org/api/projects/14/?format=json","name":"QEMU Development","link_name":"qemu-devel","list_id":"qemu-devel.nongnu.org","list_email":"qemu-devel@nongnu.org","web_url":"","scm_url":"","webscm_url":"","list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<20180108024558.17983-1-f4bug@amsat.org>","list_archive_url":null,"date":"2018-01-08T02:45:29","name":"[RFC,00/29] remove i386/pc dependency: generic SuperIO, PIIX cleanup","submitter":{"id":70924,"url":"http://patchwork.ozlabs.org/api/people/70924/?format=json","name":"Philippe Mathieu-Daudé","email":"f4bug@amsat.org"},"mbox":"http://patchwork.ozlabs.org/project/qemu-devel/cover/20180108024558.17983-1-f4bug@amsat.org/mbox/","series":[{"id":21847,"url":"http://patchwork.ozlabs.org/api/series/21847/?format=json","web_url":"http://patchwork.ozlabs.org/project/qemu-devel/list/?series=21847","date":"2018-01-08T02:45:30","name":"remove i386/pc dependency: generic SuperIO, PIIX cleanup","version":1,"mbox":"http://patchwork.ozlabs.org/series/21847/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/covers/856662/comments/","headers":{"Return-Path":"<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":["ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=nongnu.org\n\t(client-ip=2001:4830:134:3::11; helo=lists.gnu.org;\n\tenvelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org;\n\treceiver=<UNKNOWN>)","ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"TOynbKOQ\"; dkim-atps=neutral"],"Received":["from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11])\n\t(using TLSv1 with cipher AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3zFKVl3KJFz9s7h\n\tfor <incoming@patchwork.ozlabs.org>;\n\tMon,  8 Jan 2018 13:49:35 +1100 (AEDT)","from localhost ([::1]:59331 helo=lists.gnu.org)\n\tby lists.gnu.org with esmtp (Exim 4.71) (envelope-from\n\t<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>)\n\tid 1eYNVF-0000Cn-HN\n\tfor incoming@patchwork.ozlabs.org; Sun, 07 Jan 2018 21:49:33 -0500","from eggs.gnu.org ([2001:4830:134:3::10]:51173)\n\tby lists.gnu.org with esmtp (Exim 4.71)\n\t(envelope-from <philippe.mathieu.daude@gmail.com>)\n\tid 1eYNRy-0006S1-Pf\n\tfor qemu-devel@nongnu.org; Sun, 07 Jan 2018 21:46:12 -0500","from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)\n\t(envelope-from <philippe.mathieu.daude@gmail.com>)\n\tid 1eYNRv-000259-MK\n\tfor qemu-devel@nongnu.org; Sun, 07 Jan 2018 21:46:10 -0500","from mail-qk0-x233.google.com ([2607:f8b0:400d:c09::233]:36577)\n\tby eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)\n\t(Exim 4.71) (envelope-from <philippe.mathieu.daude@gmail.com>)\n\tid 1eYNRv-00024c-GO\n\tfor qemu-devel@nongnu.org; Sun, 07 Jan 2018 21:46:07 -0500","by mail-qk0-x233.google.com with SMTP id d21so1558445qkj.3\n\tfor <qemu-devel@nongnu.org>; Sun, 07 Jan 2018 18:46:07 -0800 (PST)","from x1.local ([138.117.48.219]) by smtp.gmail.com with ESMTPSA id\n\td10sm7156245qkg.16.2018.01.07.18.46.02\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tSun, 07 Jan 2018 18:46:05 -0800 (PST)"],"DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n\th=sender:from:to:cc:subject:date:message-id:mime-version\n\t:content-transfer-encoding;\n\tbh=8cLfFpb8t+fyPQEyrhqxbM34Zi96nSH15k/b4rZqL98=;\n\tb=TOynbKOQGBk5XgyeSZozY2W9E6ctxNsRAUhndEZWroOJ+OCpoFxhQ6ORipcK8L4LG5\n\t8j/vXroP0us+w5dOd2wXlV7YahUA0HqfHkvnfmc5rCDzyVXvyxRxsTpxK7Fjlv7EwwDM\n\tExygS2Gy4rHr0umAHE1HbVxevnji+kxYlS/qUPPmDh6r+29kn/9IrrsiQOq15rFttVyo\n\tL434rBwZlpzt+5sD3gmWCPgi4bPv8T+qbewYABZi5ljp8j2YaOmuyVKUe2JuQCkTdXIT\n\t22nILlv3KcLyRm+9Y0XAdYI/n1xtqnqcBPnACmWsJOyDUOs9ut6NvnNI1hluqJL+PQPi\n\tFDVQ==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:sender:from:to:cc:subject:date:message-id\n\t:mime-version:content-transfer-encoding;\n\tbh=8cLfFpb8t+fyPQEyrhqxbM34Zi96nSH15k/b4rZqL98=;\n\tb=qsHZcAfQTVbXdibXyNVX6X9kaN7SFFxXPt7VwvL8WWOYt7vkH5XS5MG3K9tMomfqco\n\txVyvmyryLpT2G5v+4q1DM3j7QAcflWnZSsjRMgmBAN2AdPKVSwUdQKMO9VG9hmO7YUjT\n\tHBoR9D1xMn53/xWtjlZ8qi8p6DlvbgEB6AGqGJigGVGMp7EOw1P9CTTZCfqjlBt/rCX6\n\t/QVANPIvIcnAufMh0mnl9swdR64NujQW+8nl9MAgRoMT+r6UPQNbe9UmGO/i7fjKv5pq\n\td1PiEqn3cKUxzkC123jF5wlLk4S23XWiMgS+gQ6A/90kiUTS5IE1sG6+x919KAMJhlPT\n\ttZSA==","X-Gm-Message-State":"AKwxytd6XqUpQ0ig00aHw7r77yLvyOo6qH4bZH94XsFTbiV/CQ9BBw/2\n\t12sWNOjxtyl7i8SHjI5f4p8=","X-Google-Smtp-Source":"ACJfBos2EZMUXgpg2nKnaHp1o/1/ADK+RVr0u9xfr4UxF+qs+MR41wJ5wi02K08Qo1oW2BNcbrkvKg==","X-Received":"by 10.55.122.199 with SMTP id\n\tv190mr14756498qkc.112.1515379566716; \n\tSun, 07 Jan 2018 18:46:06 -0800 (PST)","From":"=?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= <f4bug@amsat.org>","To":"Paolo Bonzini <pbonzini@redhat.com>,\n\t\"Michael S. Tsirkin\" <mst@redhat.com>, =?utf-8?q?Herv=C3=A9_Poussinea?=\n\t=?utf-8?q?u?= <hpoussin@reactos.org>,\n\tAurelien Jarno <aurelien@aurel32.net>, Eduardo Habkost\n\t<ehabkost@redhat.com>, Marcel Apfelbaum <marcel@redhat.com>","Date":"Sun,  7 Jan 2018 23:45:29 -0300","Message-Id":"<20180108024558.17983-1-f4bug@amsat.org>","X-Mailer":"git-send-email 2.15.1","MIME-Version":"1.0","Content-Type":"text/plain; charset=UTF-8","Content-Transfer-Encoding":"8bit","X-detected-operating-system":"by eggs.gnu.org: Genre and OS details not\n\trecognized.","X-Received-From":"2607:f8b0:400d:c09::233","Subject":"[Qemu-devel] [RFC PATCH 00/29] remove i386/pc dependency: generic\n\tSuperIO, PIIX cleanup","X-BeenThere":"qemu-devel@nongnu.org","X-Mailman-Version":"2.1.21","Precedence":"list","List-Id":"<qemu-devel.nongnu.org>","List-Unsubscribe":"<https://lists.nongnu.org/mailman/options/qemu-devel>,\n\t<mailto:qemu-devel-request@nongnu.org?subject=unsubscribe>","List-Archive":"<http://lists.nongnu.org/archive/html/qemu-devel/>","List-Post":"<mailto:qemu-devel@nongnu.org>","List-Help":"<mailto:qemu-devel-request@nongnu.org?subject=help>","List-Subscribe":"<https://lists.nongnu.org/mailman/listinfo/qemu-devel>,\n\t<mailto:qemu-devel-request@nongnu.org?subject=subscribe>","Cc":"Igor Mammedov <imammedo@redhat.com>, =?utf-8?q?Philippe_Mathieu-Daud?=\n\t=?utf-8?b?w6k=?= <f4bug@amsat.org>, \tqemu-devel@nongnu.org","Errors-To":"qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org","Sender":"\"Qemu-devel\"\n\t<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>"},"content":"Hi,\n\nThis series could be the 'part 2' of my previous \"remove i386/pc dependency\nfrom non-PC world\" I started around 2.9.\n\nAs Hervé sent a PIIX4 series [1], I awoke this old branch to reduce duplicated\neffort and added Hervé patches.\n\nHervé: what is missing from your series is the 'user_creatable' part, I'll\nfix this when I find more spare time.\n\nRegards,\n\nPhil.\n\n[1]: http://lists.nongnu.org/archive/html/qemu-devel/2018-01/msg01028.html\n\nHervé Poussineau (8):\n  mc146818rtc: always register rtc to rtc list\n  piix4: rename some variables in realize function\n  piix4: convert reset function to QOM\n  piix4: add Reset Control Register\n  piix4: add a i8259 interrupt controller as specified in datasheet\n  piix4: add a i8257 dma controller as specified in datasheet\n  piix4: add a i8254 pit controller as specified in datasheet\n  piix4: add a speaker as specified in datasheet\n\nPhilippe Mathieu-Daudé (21):\n  hw/acpi: add mem/nvdimm.h dependency\n  pci/pci_host: move generic definitions out of i386/pc.h\n  hw/isa: extract parallel-isa specific code\n  hw/dma/i8257: rename DMA_init() to i8257_dma_init()\n  hw/input/i8042: extract declarations from i386/pc.h into input/i8042.h\n  hw/isa: add a generic isa_superio_init()\n  hw/i386/pc: use isa_superio_init()\n  hw/mips/fulong2e: use isa_superio_init()\n  hw/mips/malta: code movement\n  hw/mips/malta: add fdc37m81x_init() which uses isa_superio_init()\n  Revert \"irq: introduce qemu_irq_proxy()\"\n  piix: move piix4 declaration into new southbridge/i82371_piix.h\n  piix: move southbridge related declarations/definitions to i82371_piix.h\n  piix3: extract piix3_init() from i440fx_init()\n  hw/i386: extract i440fx related declarations/definitions to i440fx.h\n  hw/i386: extract i440fx code from piix.c into i440fx.c\n  hw/i386: move piix from hw/pci-host to hw/southbridge\n  configs/mips-softmmu: use common CONFIG_PCI_PIIX instead of CONFIG_PIIX4\n  piix3: convert reset function to QOM\n  piix: merge common code from isa/piix4.c with southbridge piix3\n  piix4: add isa_superio_init\n\n default-configs/i386-softmmu.mak        |   1 +\n default-configs/mips-softmmu-common.mak |   2 +-\n default-configs/x86_64-softmmu.mak      |   1 +\n include/hw/acpi/piix4.h                 |   6 -\n include/hw/char/parallel.h              |  14 +\n include/hw/{isa => dma}/i8257.h         |   6 +\n include/hw/i386/pc.h                    |  63 ----\n include/hw/input/i8042.h                |  25 ++\n include/hw/irq.h                        |   5 -\n include/hw/isa/isa.h                    |   2 -\n include/hw/isa/superio.h                |  17 +\n include/hw/pci-host/i440fx.h            |  51 +++\n include/hw/pci/pci_host.h               |   8 +\n include/hw/southbridge/i82371_piix.h    |  38 +++\n hw/acpi/ich9.c                          |   1 +\n hw/acpi/pcihp.c                         |   2 +-\n hw/acpi/piix4.c                         |   3 +-\n hw/alpha/dp264.c                        |   3 +-\n hw/char/parallel-isa.c                  |  29 ++\n hw/char/parallel.c                      |   2 +-\n hw/core/irq.c                           |  14 -\n hw/dma/i82374.c                         |   3 +-\n hw/dma/i8257.c                          |   4 +-\n hw/i386/acpi-build.c                    |   2 +-\n hw/i386/pc.c                            |  22 +-\n hw/i386/pc_piix.c                       |   2 +\n hw/i386/vmmouse.c                       |   1 +\n hw/i386/vmport.c                        |   1 +\n hw/input/pckbd.c                        |   2 +-\n hw/isa/isa-bus.c                        |  26 --\n hw/isa/isa-superio.c                    |  45 +++\n hw/isa/piix4.c                          | 146 --------\n hw/mips/gt64xxx_pci.c                   |   1 +\n hw/mips/mips_fulong2e.c                 |  12 +-\n hw/mips/mips_jazz.c                     |   5 +-\n hw/mips/mips_malta.c                    |  71 ++--\n hw/mips/mips_r4k.c                      |   3 +-\n hw/pci-host/{piix.c => i440fx.c}        | 409 +---------------------\n hw/ppc/prep.c                           |   5 +-\n hw/southbridge/piix.c                   | 586 ++++++++++++++++++++++++++++++++\n hw/sparc/sun4m.c                        |   4 -\n hw/sparc64/sun4u.c                      |   8 +-\n hw/timer/mc146818rtc.c                  |   6 +-\n hw/unicore32/puv3.c                     |   1 +\n stubs/pci-host-piix.c                   |   3 +-\n MAINTAINERS                             |  14 +-\n hw/Makefile.objs                        |   1 +\n hw/char/Makefile.objs                   |   1 +\n hw/isa/Makefile.objs                    |   2 +-\n hw/pci-host/Makefile.objs               |   2 +-\n hw/southbridge/Makefile.objs            |   1 +\n 51 files changed, 923 insertions(+), 759 deletions(-)\n delete mode 100644 include/hw/acpi/piix4.h\n create mode 100644 include/hw/char/parallel.h\n rename include/hw/{isa => dma}/i8257.h (86%)\n create mode 100644 include/hw/input/i8042.h\n create mode 100644 include/hw/isa/superio.h\n create mode 100644 include/hw/pci-host/i440fx.h\n create mode 100644 include/hw/southbridge/i82371_piix.h\n create mode 100644 hw/char/parallel-isa.c\n create mode 100644 hw/isa/isa-superio.c\n delete mode 100644 hw/isa/piix4.c\n rename hw/pci-host/{piix.c => i440fx.c} (59%)\n create mode 100644 hw/southbridge/piix.c\n create mode 100644 hw/southbridge/Makefile.objs"}