From patchwork Sat Feb 2 07:24:29 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Yang Zhong X-Patchwork-Id: 10794145 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id E845D746 for ; Sat, 2 Feb 2019 07:26:22 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D102C32811 for ; Sat, 2 Feb 2019 07:26:22 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C53B032B24; Sat, 2 Feb 2019 07:26:22 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 44DCE32811 for ; Sat, 2 Feb 2019 07:26:22 +0000 (UTC) Received: from localhost ([127.0.0.1]:38564 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gppgz-0001el-HJ for patchwork-qemu-devel@patchwork.kernel.org; Sat, 02 Feb 2019 02:26:21 -0500 Received: from eggs.gnu.org ([209.51.188.92]:50023) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gppfb-0000Ii-N3 for qemu-devel@nongnu.org; Sat, 02 Feb 2019 02:24:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gppfa-0002OC-CE for qemu-devel@nongnu.org; Sat, 02 Feb 2019 02:24:55 -0500 Received: from mga14.intel.com ([192.55.52.115]:56070) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gppfa-0002Ky-0w for qemu-devel@nongnu.org; Sat, 02 Feb 2019 02:24:54 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 01 Feb 2019 23:24:50 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,551,1539673200"; d="scan'208";a="111828579" Received: from he.bj.intel.com ([10.238.157.85]) by orsmga007.jf.intel.com with ESMTP; 01 Feb 2019 23:24:49 -0800 From: Yang Zhong To: qemu-devel@nongnu.org Date: Sat, 2 Feb 2019 15:24:29 +0800 Message-Id: <20190202072456.6468-1-yang.zhong@intel.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 192.55.52.115 Subject: [Qemu-devel] [PATCH v2 00/27] make qemu configurable for Kconfig 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: yang.zhong@intel.com, pbonzini@redhat.com, thuth@redhat.com Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP This patch set is part of Kconfig task, and our target is to make all platform's code file configurable for Kconfig, which is suitable for add "config XXX" for all platforms. As for Kconfig patch set(RFC v5), please ref below thread: http://lists.nongnu.org/archive/html/qemu-devel/2019-01/msg06466.html Paolo and Thomas, i will have 9 days leave for Chinese new year from next Monday, please help me take care this patch set and Kconfig patch set. Many thanks! The change list: v1 --->v2 patch 7 : change the commit message for CONFIG_ARM_VIRT.(Thomas Huth) non-rfc v5 --> v1: patch 1 : update the commit message(Thomas Huth) patch 2 : add ioport.o to ide isa and ide piix(Thomas Huth) patch 7 : CONFIG_ARM_VIRT to replace CONFIG_VIRT(Thomas Huth) patch 13: CONFIG_S390_CCW_VIRTIO is only for s390-virtio-ccw.o(Thomas Huth) patch 23: CONFIG_MOXIESIM to replace CONFIG_MOXIE(Thomas Huth) patch 24: CONFIG_OR1K_SIM to replace CONFIG_OPENRISC(Thomas Huth) Paolo Bonzini (8): arm: disable CONFIG_SERIAL_ISA ide: split ioport registration to a separate file vfio: move conditional up to hw/Makefile.objs build: actually use CONFIG_PAM hw/i386/Makefile.objs: Build pc_piix* and pc_q35 boards hw/s390/Makefile.objs: Create new CONFIG_* variables for s390x boards and devices hw/i2c/Makefile.objs: Create new CONFIG_* variables for EEPROM and ACPI controller hw/vfio/Makefile.objs: Create new CONFIG_* variables for VFIO core and PCI Yang Zhong (11): hw/pci-host/Makefile.objs: make CONFIGS clear for PCI EXPRESS hw/arm/Makefile.objs: CONFIG_ARM_VIRT created for virt board hw/nios2/Makefile.objs: Conditionally build nios2 hw/riscv/Makefile.objs: Create CONFIG_* for riscv boards hw/sparc64/Makefile.objs: Create CONFIG_* for sparc64 hw/alpha/Makefile.objs: Create CONFIG_* for alpha hw/cris/Makefile.objs: Create CONFIG_* for cris hw/hppa/Makefile.objs: Create CONFIG_* for hppa hw/moxie/Makefile.objs: Conditionally build moxie hw/openrisc/Makefile.objs: Create CONFIG_* for openrisc hw/tricore/Makefile.objs: Create CONFIG_* for tricore Ákos Kovács (8): hw/m68k/Makefile.objs: Conditionally build boards hw/microblaze/Makefile.objs: Create configs for petalogix and xilinx boards hw/mips/Makefile.objs: Create CONFIG_* for r4k, malta, mipssim boards hw/ppc/Makefile.objs: Build all boards conditinally with CONFIG_* hw/sh4/Makefile.objs: New CONFIG_* varibales created for sh4 boards and device hw/sparc/Makefile.objs: CONFIG_* for sun4m and leon3 created hw/lm32/Makefile.objs: Conditionally build lm32 and milkmyst hw/xtensa/Makefile.objs: Build xtensa_sim and xtensa_fpga conditionally default-configs/alpha-softmmu.mak | 1 + default-configs/arm-softmmu.mak | 9 ++-- default-configs/cris-softmmu.mak | 1 + default-configs/hppa-softmmu.mak | 1 + default-configs/i386-softmmu.mak | 7 ++- default-configs/m68k-softmmu.mak | 2 + default-configs/microblaze-softmmu.mak | 3 ++ default-configs/mips-softmmu-common.mak | 5 ++ default-configs/mips64el-softmmu.mak | 2 +- default-configs/moxie-softmmu.mak | 1 + default-configs/nios2-softmmu.mak | 1 + default-configs/or1k-softmmu.mak | 1 + default-configs/pci.mak | 4 +- default-configs/ppc-softmmu.mak | 8 ++- default-configs/ppc64-softmmu.mak | 1 + default-configs/riscv32-softmmu.mak | 9 +++- default-configs/riscv64-softmmu.mak | 9 +++- default-configs/s390x-softmmu.mak | 6 ++- default-configs/sh4-softmmu.mak | 2 + default-configs/sh4eb-softmmu.mak | 2 + default-configs/sparc-softmmu.mak | 2 + default-configs/sparc64-softmmu.mak | 2 + default-configs/tricore-softmmu.mak | 1 + default-configs/xtensa-softmmu.mak | 3 ++ default-configs/xtensaeb-softmmu.mak | 3 ++ hw/Makefile.objs | 2 +- hw/alpha/Makefile.objs | 2 +- hw/arm/Makefile.objs | 3 +- hw/cris/Makefile.objs | 2 +- hw/hppa/Makefile.objs | 2 +- hw/i2c/Makefile.objs | 5 +- hw/i386/Makefile.objs | 4 +- hw/ide/Makefile.objs | 4 +- hw/ide/core.c | 25 ---------- hw/ide/ioport.c | 66 +++++++++++++++++++++++++ hw/lm32/Makefile.objs | 4 +- hw/m68k/Makefile.objs | 4 +- hw/microblaze/Makefile.objs | 6 +-- hw/mips/Makefile.objs | 5 +- hw/moxie/Makefile.objs | 2 +- hw/net/Makefile.objs | 4 +- hw/nios2/Makefile.objs | 3 +- hw/openrisc/Makefile.objs | 2 +- hw/pci-host/Makefile.objs | 10 ++-- hw/ppc/Makefile.objs | 11 +++-- hw/riscv/Makefile.objs | 22 ++++----- hw/s390x/Makefile.objs | 2 +- hw/sh4/Makefile.objs | 4 +- hw/sparc/Makefile.objs | 4 +- hw/sparc64/Makefile.objs | 6 +-- hw/tricore/Makefile.objs | 2 +- hw/vfio/Makefile.objs | 9 ++-- hw/xtensa/Makefile.objs | 4 +- 53 files changed, 208 insertions(+), 97 deletions(-) create mode 100644 hw/ide/ioport.c