{"id":817589,"url":"http://patchwork.ozlabs.org/api/covers/817589/?format=json","web_url":"http://patchwork.ozlabs.org/project/qemu-devel/cover/20170922154014.29350-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":"<20170922154014.29350-1-f4bug@amsat.org>","list_archive_url":null,"date":"2017-09-22T15:39:40","name":"[00/34] remove i386/pc dependency from non-PC world (part 1)","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/20170922154014.29350-1-f4bug@amsat.org/mbox/","series":[{"id":4657,"url":"http://patchwork.ozlabs.org/api/series/4657/?format=json","web_url":"http://patchwork.ozlabs.org/project/qemu-devel/list/?series=4657","date":"2017-09-22T15:39:40","name":"remove i386/pc dependency from non-PC world (part 1)","version":1,"mbox":"http://patchwork.ozlabs.org/series/4657/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/covers/817589/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=\"C5IibXMC\"; 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 3xzHl05p9xz9t16\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSat, 23 Sep 2017 01:41:16 +1000 (AEST)","from localhost ([::1]:59563 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 1dvQ4o-00048z-PI\n\tfor incoming@patchwork.ozlabs.org; Fri, 22 Sep 2017 11:41:14 -0400","from eggs.gnu.org ([2001:4830:134:3::10]:40610)\n\tby lists.gnu.org with esmtp (Exim 4.71)\n\t(envelope-from <philippe.mathieu.daude@gmail.com>)\n\tid 1dvQ48-00046i-1H\n\tfor qemu-devel@nongnu.org; Fri, 22 Sep 2017 11:40:33 -0400","from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)\n\t(envelope-from <philippe.mathieu.daude@gmail.com>)\n\tid 1dvQ44-0002gs-TD\n\tfor qemu-devel@nongnu.org; Fri, 22 Sep 2017 11:40:32 -0400","from mail-qt0-x232.google.com ([2607:f8b0:400d:c0d::232]:56514)\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 1dvQ44-0002ga-Of; Fri, 22 Sep 2017 11:40:28 -0400","by mail-qt0-x232.google.com with SMTP id l25so1439172qtf.13;\n\tFri, 22 Sep 2017 08:40:28 -0700 (PDT)","from yoga.lan ([181.93.89.178]) by smtp.gmail.com with ESMTPSA id\n\tz75sm71742qkb.71.2017.09.22.08.40.24\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tFri, 22 Sep 2017 08:40:27 -0700 (PDT)"],"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=lAGsBVkyGdIot4Mzc2AcTeV67iQxj//iVw0D++JLSqQ=;\n\tb=C5IibXMC+U/CaJpT5xZV15zrvONzMk+RTkcix9HOevjFcIgjbsvd30RZmJuiy514Yj\n\tRZXauOrN+va9tnRhJ2LmWBvuwr2ywkDIZ9RsMQU0DFHKOEewyfAmC+fzVJvdl57MIBqc\n\tTPuNyZECd45mnjoSk48kzmnir7VLaJACD7A+Lrh4G2b6ZVVsxh+zYMdwzDPHlXOOqNdf\n\tLlbsbq1UPEEE6EwcxH+AnjvEQfACWFq+rZ5R/70S/x/qB2QAcE5kKScmzCM8fsf6tbjw\n\tPkR4dLbzagE74TitA9N0semxA5qERW1uCMGEhOeUxK5rO2vIuJjNtiX7CrFvljzYKt6M\n\td3Jg==","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=lAGsBVkyGdIot4Mzc2AcTeV67iQxj//iVw0D++JLSqQ=;\n\tb=eidoptZleqkvGoniNA16d7CYLZPWqFvgac8lNcEuvBeG/8puwJf3wfxL6eRU+Nixpo\n\tl62ug0r5EbvswG/iXqDcpbkpHwWoJ+yZXrZ5OS7LGN9Cea2JhyGFXtjGHZwf3Q8ZTt/q\n\t+11AIAfJ3lTdJY4KVixXuT44Is7MWXYO4ez1GIPsiUzMPbeEQONGlvQOuwb7WTgtMvgz\n\t0BDC++FyBoqafniqFyOupM3yKyj7qtolGVFzDvMupMbEfJR/9cBKTPlMgqg9ry3IXFzI\n\tlkK8EKb+deT2RO8qDDYZSKtlSINrcrneDrGBXLDqVpMnVA5/m4l3qmDWZfsh0h8jqR11\n\tLCmw==","X-Gm-Message-State":"AHPjjUhxYmnVvanjXctSwdfNw3J26ciYXePAmWYicM4wUuDw1ziZ995Z\n\td64w0viOL2S4Rr+eMjgHvUI=","X-Google-Smtp-Source":"AOwi7QAZIhXkeUco479dwp7KcTT28nHnqPNazK16DTDJrc632BOJTkSBjLY7FO1bLK/4EKzXnIBknw==","X-Received":"by 10.200.6.144 with SMTP id f16mr8619524qth.32.1506094827990;\n\tFri, 22 Sep 2017 08:40:27 -0700 (PDT)","From":"=?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= <f4bug@amsat.org>","To":"Peter Maydell <peter.maydell@linaro.org>, Thomas Huth <thuth@redhat.com>,\n\tPaolo Bonzini <pbonzini@redhat.com>,\n\t\"Michael S. Tsirkin\" <mst@redhat.com>, Eduardo Habkost\n\t<ehabkost@redhat.com>, =?utf-8?q?Herv=C3=A9_Poussineau?=\n\t<hpoussin@reactos.org>, \tAurelien Jarno <aurelien@aurel32.net>,\n\tYongbok Kim <yongbok.kim@imgtec.com>, =?utf-8?q?Marc-Andr=C3=A9_Lureau?=\n\t<marcandre.lureau@redhat.com>","Date":"Fri, 22 Sep 2017 12:39:40 -0300","Message-Id":"<20170922154014.29350-1-f4bug@amsat.org>","X-Mailer":"git-send-email 2.14.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:c0d::232","Subject":"[Qemu-devel] [PATCH 00/34] remove i386/pc dependency from non-PC\n\tworld (part 1)","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":"qemu-trivial@nongnu.org, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?=\n\t<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\nquite a bunch of patches and files modified, but the diffstat is not that big.\n\nFirst part is from clean-includes script,\nThen comes code movement, about no logical changes.\n\nNow some non-x86 builds and cocci spatch run a bit faster :)\n\nI updated some MAINTAINERS entries while here.\n\nAlso I couldn't test the KVM/XEN/HAX part.\n\nRegards,\n\nPhil.\n\nPhilippe Mathieu-Daudé (34):\n  hw: use \"qemu/osdep.h\" as first #include in source files\n  hw: remove \"qemu/osdep.h\" from header files\n  block: remove \"qemu/osdep.h\" from header file\n  misc: remove headers implicitly included\n  misc: remove duplicated includes\n  ppc: remove duplicated includes\n  i386/hax: remove duplicated includes\n  nios2: remove duplicated includes\n  misc: avoid \"include/\" in include path\n  amd_iommu: avoid needless includes in header file\n  i386/pc: use TYPE_PORT92\n  misc: remove old i386 dependency\n  hw/ide: remove old i386 dependency\n  hw/ipmi: remove old i386 dependency\n  hw/i2c: remove old i386 dependency\n  hw/tpm: remove old i386 dependency\n  hw/virtio-balloon: remove old i386 dependency\n  hw/unicore32: restrict hw addr defines to source file\n  hw/acpi: ACPI_PM_* defines are not restricted to i386 arch\n  hw/timer/i8254: rename pit_init() -> i8254_pit_init()\n  hw/display/vga: remove the old i386/pc dependency\n  hw/input/i8042: extract API from hw/i386/pc.h\n  hw/dma/i8257: rename DMA_init() to i8257_dma_init()\n  hw/timer/mc146818: rename rtc_init() -> mc146818_init()\n  hw/timer/m48t59: use TYPE_M48T59_ISA, add entries to MAINTAINERS\n  hw/net/ne2000: extract ne2k-isa code from i386/pc to ne2000-isa.c\n  hw/pci: declare pci_nic_init_nofail() in \"hw/net/pci.h\"\n  hw/net/e1000: use TYPE_PCI_E1000\n  hw/net/e1000e: use TYPE_PCI_E1000E\n  hw/net/pcnet: use TYPE_PCI_PCNET\n  hw/net/rtl8139: use TYPE_PCI_RTL8139\n  hw/net/ne2000: use TYPE_PCI_NE2000\n  hw/alpha: remove old i386 dependency\n  misc: drop old i386 dependency\n\n block/dmg.h                                 |  1 -\n hw/alpha/alpha_sys.h                        |  2 -\n hw/audio/fmopl.h                            |  1 -\n hw/display/vga_int.h                        |  3 +-\n hw/display/{vga.h => vga_int_regs.h}        |  0\n hw/i386/amd_iommu.h                         |  5 --\n hw/net/ne2000.h                             |  3 ++\n hw/pci/pci_internal.h                       | 16 ++++++\n include/hw/acpi/acpi.h                      | 12 +++++\n include/hw/acpi/ipmi.h                      |  1 -\n include/hw/cpu/core.h                       |  1 -\n include/hw/display/vga.h                    | 25 ++++++++++\n include/hw/{isa/i8257.h => dma/i8257_dma.h} |  6 +++\n include/hw/i2c/ppc4xx_i2c.h                 |  1 -\n include/hw/i386/pc.h                        | 56 ---------------------\n include/hw/input/i8042.h                    | 30 +++++++++++\n include/hw/isa/isa.h                        |  2 -\n include/hw/net/ne2000-isa.h                 | 33 +++++++++++++\n include/hw/net/pci.h                        | 26 ++++++++++\n include/hw/pci/pci.h                        |  4 --\n include/hw/timer/i8254.h                    |  5 +-\n include/hw/timer/i8254_internal.h           |  2 +-\n include/hw/timer/m48t59.h                   |  2 +\n include/hw/timer/mc146818rtc.h              |  3 +-\n include/hw/unicore32/puv3.h                 | 10 ----\n include/sysemu/hax.h                        |  1 -\n target/i386/hax-darwin.h                    |  3 --\n target/i386/hax-windows.h                   |  2 -\n target/nios2/cpu.h                          |  1 -\n accel/tcg/translate-all.c                   |  1 -\n bsd-user/main.c                             |  1 -\n chardev/wctablet.c                          |  4 --\n disas/nios2.c                               |  3 --\n exec.c                                      |  3 --\n hw/acpi/ipmi-stub.c                         |  1 +\n hw/alpha/dp264.c                            | 10 ++--\n hw/alpha/pci.c                              |  2 +\n hw/alpha/typhoon.c                          |  2 +-\n hw/arm/realview.c                           |  3 +-\n hw/arm/spitz.c                              |  1 -\n hw/arm/versatilepb.c                        |  3 +-\n hw/arm/virt.c                               |  1 +\n hw/audio/fmopl.c                            |  1 -\n hw/audio/pcspk.c                            |  1 -\n hw/char/debugcon.c                          |  1 -\n hw/char/xen_console.c                       |  1 -\n hw/core/machine.c                           |  1 -\n hw/cpu/core.c                               |  1 +\n hw/display/vga-isa-mm.c                     |  4 +-\n hw/display/vga-isa.c                        |  2 +-\n hw/display/vga.c                            |  4 +-\n hw/dma/i82374.c                             |  3 +-\n hw/dma/i8257.c                              |  4 +-\n hw/i2c/pm_smbus.c                           |  1 -\n hw/i2c/smbus_ich9.c                         |  1 -\n hw/i386/amd_iommu.c                         |  5 +-\n hw/i386/kvm/pci-assign.c                    |  1 -\n hw/i386/pc.c                                | 18 ++++---\n hw/i386/pci-assign-load-rom.c               |  1 -\n hw/i386/xen/xen_platform.c                  |  1 -\n hw/ide/ahci.c                               |  1 -\n hw/ide/cmd646.c                             |  1 -\n hw/ide/core.c                               |  3 +-\n hw/ide/ich.c                                |  1 -\n hw/ide/isa.c                                |  1 -\n hw/ide/microdrive.c                         |  1 -\n hw/ide/pci.c                                |  1 -\n hw/ide/piix.c                               |  2 +-\n hw/ide/via.c                                |  1 -\n hw/input/adb.c                              |  2 +-\n hw/input/pckbd.c                            |  2 +-\n hw/input/vmmouse.c                          |  3 +-\n hw/intc/lm32_pic.c                          |  1 -\n hw/ipmi/isa_ipmi_bt.c                       |  1 -\n hw/ipmi/isa_ipmi_kcs.c                      |  1 -\n hw/isa/i82378.c                             |  5 +-\n hw/isa/vt82c686.c                           |  1 -\n hw/mips/mips_fulong2e.c                     | 13 +++--\n hw/mips/mips_jazz.c                         |  9 ++--\n hw/mips/mips_malta.c                        | 13 +++--\n hw/mips/mips_r4k.c                          |  8 +--\n hw/misc/ivshmem.c                           |  1 -\n hw/misc/sga.c                               |  1 -\n hw/misc/vmport.c                            |  1 +\n hw/moxie/moxiesim.c                         |  1 -\n hw/net/e1000e.c                             |  6 +--\n hw/net/ne2000-isa.c                         |  6 +--\n hw/net/ne2000.c                             |  5 +-\n hw/net/pcnet-pci.c                          |  3 +-\n hw/net/rtl8139.c                            |  7 ++-\n hw/nios2/boot.c                             |  1 -\n hw/pci-bridge/pci_expander_bridge.c         |  1 -\n hw/pci/pci.c                                | 67 +------------------------\n hw/pci/pci_nic.c                            | 77 +++++++++++++++++++++++++++++\n hw/ppc/e500.c                               |  1 +\n hw/ppc/mac_newworld.c                       |  3 +-\n hw/ppc/mac_oldworld.c                       |  3 +-\n hw/ppc/pnv.c                                |  2 +-\n hw/ppc/ppc440_bamboo.c                      |  3 +-\n hw/ppc/prep.c                               | 13 +++--\n hw/ppc/spapr.c                              |  1 +\n hw/ppc/spapr_cpu_core.c                     |  1 +\n hw/ppc/spapr_hcall.c                        |  1 -\n hw/s390x/css.c                              |  1 -\n hw/scsi/vhost-user-scsi.c                   |  1 -\n hw/sh4/r2d.c                                |  5 +-\n hw/smbios/smbios_type_38-stub.c             |  1 +\n hw/sparc/sun4m.c                            |  5 --\n hw/sparc64/sun4u.c                          | 10 ++--\n hw/ssi/aspeed_smc.c                         |  3 +-\n hw/timer/i8254.c                            |  1 -\n hw/timer/i8254_common.c                     |  1 -\n hw/timer/m48t59-isa.c                       |  2 +-\n hw/timer/mc146818rtc.c                      |  2 +-\n hw/tpm/tpm_passthrough.c                    |  1 -\n hw/tpm/tpm_tis.c                            |  1 -\n hw/unicore32/puv3.c                         | 17 ++++---\n hw/vfio/ccw.c                               |  2 +-\n hw/virtio/vhost-vsock.c                     |  2 +-\n hw/virtio/virtio-balloon.c                  |  2 +-\n hw/watchdog/wdt_ib700.c                     |  1 -\n linux-user/main.c                           |  1 -\n monitor.c                                   |  1 -\n net/colo-compare.c                          |  1 -\n numa.c                                      |  1 -\n target/i386/hax-darwin.c                    |  8 +--\n target/nios2/helper.c                       |  7 +--\n target/nios2/op_helper.c                    |  1 +\n target/nios2/translate.c                    |  1 +\n target/openrisc/exception_helper.c          |  1 -\n target/ppc/kvm.c                            |  3 --\n tests/test-aio-multithread.c                |  1 -\n tests/test-clone-visitor.c                  |  1 -\n tests/vhost-user-test.c                     |  1 -\n tests/vmgenid-test.c                        |  3 --\n util/qemu-sockets.c                         |  1 -\n vl.c                                        |  3 +-\n hw/pci/Makefile.objs                        |  1 +\n MAINTAINERS                                 | 13 ++++-\n 139 files changed, 389 insertions(+), 337 deletions(-)\n rename hw/display/{vga.h => vga_int_regs.h} (100%)\n create mode 100644 hw/pci/pci_internal.h\n create mode 100644 include/hw/display/vga.h\n rename include/hw/{isa/i8257.h => dma/i8257_dma.h} (86%)\n create mode 100644 include/hw/input/i8042.h\n create mode 100644 include/hw/net/ne2000-isa.h\n create mode 100644 include/hw/net/pci.h\n create mode 100644 hw/pci/pci_nic.c"}