From nobody Sat May 4 02:45:29 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1564559883; cv=none; d=zoho.com; s=zohoarc; b=MM31DtIs8JTWrWcHMdxOx2XDOFeowkiFOrVib6C3yAU2k9Kw9USO5j0ZYiyFLteQsFDuI5yPLDmA3LkRG+1m3eIZHAQNzLtS16PXNNXI0VcqV/QyIqy4Fqy2Mu9ypS2QzJirdh5X8UiI5Jl6PGNamme0f5A2+QjPQg6VdCP3c+E= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1564559883; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To:ARC-Authentication-Results; bh=o7pi8qdvheUZXfDZgPcwrzN75ywO2gCdjBuFFAFq5+o=; b=TEG+L04es7QNba7mimJOXzvXivcT6x18xcXJgwjyJ6NOnohLvKcGz/x6NNXnkMJQkB9A4SLrxaClpkDytpzRjWU6xl6/xvmYiDMqUQ4dtsYyZkwKp3TGR0dthPTtRnmzzWCrheD0CFNKRQSk/pTLqfUtRbR/M5GTEQ0clAhIIzA= ARC-Authentication-Results: i=1; mx.zoho.com; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 156455988384879.9962666997277; Wed, 31 Jul 2019 00:58:03 -0700 (PDT) Received: from localhost ([::1]:38562 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hsjUn-00039o-D8 for importer@patchew.org; Wed, 31 Jul 2019 03:58:01 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58602) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hsjTv-0001iN-Cz for qemu-devel@nongnu.org; Wed, 31 Jul 2019 03:57:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hsjTu-0007wO-CY for qemu-devel@nongnu.org; Wed, 31 Jul 2019 03:57:07 -0400 Received: from mx1.redhat.com ([209.132.183.28]:35634) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hsjTs-0007ue-8v; Wed, 31 Jul 2019 03:57:04 -0400 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 8D0B28552A; Wed, 31 Jul 2019 07:57:03 +0000 (UTC) Received: from thuth.com (dhcp-200-228.str.redhat.com [10.33.200.228]) by smtp.corp.redhat.com (Postfix) with ESMTP id E10B55C1B5; Wed, 31 Jul 2019 07:57:01 +0000 (UTC) From: Thomas Huth To: Paolo Bonzini , Yang Zhong , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , qemu-devel@nongnu.org Date: Wed, 31 Jul 2019 09:56:45 +0200 Message-Id: <20190731075652.17053-2-thuth@redhat.com> In-Reply-To: <20190731075652.17053-1-thuth@redhat.com> References: <20190731075652.17053-1-thuth@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.28]); Wed, 31 Jul 2019 07:57:03 +0000 (UTC) Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.132.183.28 Subject: [Qemu-devel] [PATCH v2 1/8] hw/Kconfig: Move the generic XLNX_ZYNQMP to the root hw/Kconfig X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "Edgar E. Iglesias" , qemu-arm@nongnu.org, Mark Cave-Ayland , Artyom Tarasenko , Peter Maydell Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" Content-Type: text/plain; charset="utf-8" From: Philippe Mathieu-Daud=C3=A9 The XLNX_ZYNQMP config is used in multiple subdirectories (timer, intc). Move it to the root hw/Kconfig. Signed-off-by: Philippe Mathieu-Daud=C3=A9 Message-Id: <20190427141459.19728-2-philmd@redhat.com> Reviewed-by: Alistair Francis Signed-off-by: Thomas Huth --- hw/Kconfig | 3 +++ hw/timer/Kconfig | 3 --- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/hw/Kconfig b/hw/Kconfig index 195f541e50..dbae1c0852 100644 --- a/hw/Kconfig +++ b/hw/Kconfig @@ -73,3 +73,6 @@ config XILINX config XILINX_AXI bool select PTIMER # for hw/dma/xilinx_axidma.c + +config XLNX_ZYNQMP + bool diff --git a/hw/timer/Kconfig b/hw/timer/Kconfig index 51921eb63f..eefc95f35e 100644 --- a/hw/timer/Kconfig +++ b/hw/timer/Kconfig @@ -34,9 +34,6 @@ config TWL92230 bool depends on I2C =20 -config XLNX_ZYNQMP - bool - config ALTERA_TIMER bool select PTIMER --=20 2.21.0 From nobody Sat May 4 02:45:29 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1564559934; cv=none; d=zoho.com; s=zohoarc; b=fb1L4qalfrBxIZwF3PKsYwink9tCMz5GasPazxJLIsMTSVR54KXWG+aYYA5LtAdLYFy6wplGjI8WPFVvRGlQSfWaOi2eK6iL63c3WNaVsIAAjvYuPq7jYIDOpxyrhHd9RWuS/5qdJRhsJWuRxYiX8+mWP3iivkFNxdAg0NIm/4k= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1564559934; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To:ARC-Authentication-Results; bh=xgWp5HgXNMxFRa5TqN3l7Lkpf9xqYNKQHGMPLw9g228=; b=CT69tK442MsgOoZMkhVUSfQDt4gKK/YuN3b7RZZkt/R22VEWBRMVOdpqclDTD0V7jnAkapUM91B0cM0BsJL9tTYsEv82PtWga5OW2XsSq8yTWSXwd90IEd9gzdJF8yrGy+fcz6shjxi1qlqg3GHtGewa6Ll8s33S1iUhswULq1Y= ARC-Authentication-Results: i=1; mx.zoho.com; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1564559934262648.1686251809309; Wed, 31 Jul 2019 00:58:54 -0700 (PDT) Received: from localhost ([::1]:38588 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hsjVd-0005d9-C3 for importer@patchew.org; Wed, 31 Jul 2019 03:58:53 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58626) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hsjTx-0001nj-DX for qemu-devel@nongnu.org; Wed, 31 Jul 2019 03:57:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hsjTw-0007xq-EH for qemu-devel@nongnu.org; Wed, 31 Jul 2019 03:57:09 -0400 Received: from mx1.redhat.com ([209.132.183.28]:45290) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hsjTu-0007w5-7m; Wed, 31 Jul 2019 03:57:06 -0400 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 7E2A73B71F; Wed, 31 Jul 2019 07:57:05 +0000 (UTC) Received: from thuth.com (dhcp-200-228.str.redhat.com [10.33.200.228]) by smtp.corp.redhat.com (Postfix) with ESMTP id CFEB85C1B5; Wed, 31 Jul 2019 07:57:03 +0000 (UTC) From: Thomas Huth To: Paolo Bonzini , Yang Zhong , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , qemu-devel@nongnu.org Date: Wed, 31 Jul 2019 09:56:46 +0200 Message-Id: <20190731075652.17053-3-thuth@redhat.com> In-Reply-To: <20190731075652.17053-1-thuth@redhat.com> References: <20190731075652.17053-1-thuth@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.30]); Wed, 31 Jul 2019 07:57:05 +0000 (UTC) Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.132.183.28 Subject: [Qemu-devel] [PATCH v2 2/8] hw/intc: Only build the xlnx-iomod-intc device for the MicroBlaze PMU X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "Edgar E. Iglesias" , qemu-arm@nongnu.org, Mark Cave-Ayland , Artyom Tarasenko , Peter Maydell Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" Content-Type: text/plain; charset="utf-8" From: Philippe Mathieu-Daud=C3=A9 The Xilinx I/O Module Interrupt Controller is only used by the MicroBlaze PMU, not by the AArch64 machine. Move it from the generic ZynqMP object list to the PMU specific. Signed-off-by: Philippe Mathieu-Daud=C3=A9 Message-Id: <20190427141459.19728-3-philmd@redhat.com> Reviewed-by: Thomas Huth Reviewed-by: Alistair Francis Signed-off-by: Thomas Huth --- hw/intc/Makefile.objs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/intc/Makefile.objs b/hw/intc/Makefile.objs index 03019b9a03..f726d87532 100644 --- a/hw/intc/Makefile.objs +++ b/hw/intc/Makefile.objs @@ -3,7 +3,7 @@ common-obj-$(CONFIG_I8259) +=3D i8259_common.o i8259.o common-obj-$(CONFIG_PL190) +=3D pl190.o common-obj-$(CONFIG_PUV3) +=3D puv3_intc.o common-obj-$(CONFIG_XILINX) +=3D xilinx_intc.o -common-obj-$(CONFIG_XLNX_ZYNQMP) +=3D xlnx-pmu-iomod-intc.o +common-obj-$(CONFIG_XLNX_ZYNQMP_PMU) +=3D xlnx-pmu-iomod-intc.o common-obj-$(CONFIG_XLNX_ZYNQMP) +=3D xlnx-zynqmp-ipi.o common-obj-$(CONFIG_ETRAXFS) +=3D etraxfs_pic.o common-obj-$(CONFIG_IMX) +=3D imx_avic.o imx_gpcv2.o --=20 2.21.0 From nobody Sat May 4 02:45:29 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1564559978; cv=none; d=zoho.com; s=zohoarc; b=ce/BhUYZpN1SHkPJGwdlJF7KXp46Uj7uNbhBOaCpMYbzvqqpEmWgZ8feJUX6lpUMs5FrQ7KM1nl7U2K4+fBfnkQUR81n7PpEnkwD4DH2NPJaqe7/GHyTRS0gwUWQxHbkZlexKUmUloPpSbN/Bx3sWJ21/Y0byxyREw3BYlRFNiQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1564559978; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To:ARC-Authentication-Results; bh=IL2BqwAlkzKWqVApPyI9JkIr77F6JN8pK31q4yA8GSQ=; b=YApuemfefqRKY5WYlh6mP9l0hJiLqvBQ/X0ZYSY/plt86O1nUpteyQoQZJ5pAgabILYeZh1rzBdWNs+fBEwScY0UnWgpJoUi8Mtel2T9oqRIIxaW+IAo7LeSBUaCDaHE/nXFgX83V5JgWh2xaNYm4H8L8z64VPdT0/04V7SBMYU= ARC-Authentication-Results: i=1; mx.zoho.com; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1564559978523303.51981215373485; Wed, 31 Jul 2019 00:59:38 -0700 (PDT) Received: from localhost ([::1]:38602 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hsjWL-0007Jp-K0 for importer@patchew.org; Wed, 31 Jul 2019 03:59:37 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58668) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hsjU3-00025m-8N for qemu-devel@nongnu.org; Wed, 31 Jul 2019 03:57:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hsjU2-00080L-AM for qemu-devel@nongnu.org; Wed, 31 Jul 2019 03:57:15 -0400 Received: from mx1.redhat.com ([209.132.183.28]:32862) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hsjU0-0007z2-75; Wed, 31 Jul 2019 03:57:12 -0400 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 7F5A583F4C; Wed, 31 Jul 2019 07:57:11 +0000 (UTC) Received: from thuth.com (dhcp-200-228.str.redhat.com [10.33.200.228]) by smtp.corp.redhat.com (Postfix) with ESMTP id D70105C205; Wed, 31 Jul 2019 07:57:05 +0000 (UTC) From: Thomas Huth To: Paolo Bonzini , Yang Zhong , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , qemu-devel@nongnu.org Date: Wed, 31 Jul 2019 09:56:47 +0200 Message-Id: <20190731075652.17053-4-thuth@redhat.com> In-Reply-To: <20190731075652.17053-1-thuth@redhat.com> References: <20190731075652.17053-1-thuth@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.27]); Wed, 31 Jul 2019 07:57:11 +0000 (UTC) Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.132.183.28 Subject: [Qemu-devel] [PATCH v2 3/8] hw/dma: Do not build the xlnx_dpdma device for the MicroBlaze machines X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "Edgar E. Iglesias" , qemu-arm@nongnu.org, Mark Cave-Ayland , Artyom Tarasenko , Peter Maydell Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" Content-Type: text/plain; charset="utf-8" From: Philippe Mathieu-Daud=C3=A9 The xlnx_dpdma device is only used by the ZynqMP AArch64 machine (not the MicroBlaze PMU). Remove it from the ZynqMP generic objects. (Note, this entry was duplicated for the AArch64). Signed-off-by: Philippe Mathieu-Daud=C3=A9 Message-Id: <20190427141459.19728-4-philmd@redhat.com> Reviewed-by: Thomas Huth Reviewed-by: Alistair Francis Signed-off-by: Thomas Huth --- hw/dma/Makefile.objs | 1 - 1 file changed, 1 deletion(-) diff --git a/hw/dma/Makefile.objs b/hw/dma/Makefile.objs index 8b39f9c600..b672e7a522 100644 --- a/hw/dma/Makefile.objs +++ b/hw/dma/Makefile.objs @@ -8,7 +8,6 @@ common-obj-$(CONFIG_XILINX_AXI) +=3D xilinx_axidma.o common-obj-$(CONFIG_ZYNQ_DEVCFG) +=3D xlnx-zynq-devcfg.o common-obj-$(CONFIG_ETRAXFS) +=3D etraxfs_dma.o common-obj-$(CONFIG_STP2000) +=3D sparc32_dma.o -obj-$(CONFIG_XLNX_ZYNQMP) +=3D xlnx_dpdma.o obj-$(CONFIG_XLNX_ZYNQMP_ARM) +=3D xlnx_dpdma.o common-obj-$(CONFIG_XLNX_ZYNQMP_ARM) +=3D xlnx-zdma.o =20 --=20 2.21.0 From nobody Sat May 4 02:45:29 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1564560021; cv=none; d=zoho.com; s=zohoarc; b=jA6arh6SYgM7L5Bei2ek5krJ8ROEdgZhmsGkOXp6PKf7Q+2S1oAmHKIZ+VLkQS2nEoj0hm+ve47eBFzZ6nY/xgKK2vMNxC/Y/cW+yw9HpsGvNv3AtHb6mDzkUge63AvBUh1ScTYSdMnuOb/nxiH+vqKU8zPxqw4t9XhC/RH9yGY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1564560021; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To:ARC-Authentication-Results; bh=syeagK6yvsioh49Kr4lCcqHwNuBS79TVGrgpF7RNj1M=; b=GSgz0+0j4HUjWKRwrs/HryUA3i2FMww7SD0DSp3NuKGxSId693Wd4NkhZUk+GWwJ+ooWg/BPRbs1rNHn6IBOKU5W4Gssg1lky4HnhFDVumlBtlzO4tF8GFjadjft3/j0u7D5z7YEW8x9hBEqthVGM5HnF02IuS49YaW35VY0prY= ARC-Authentication-Results: i=1; mx.zoho.com; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1564560021122398.35238582353725; Wed, 31 Jul 2019 01:00:21 -0700 (PDT) Received: from localhost ([::1]:38620 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hsjX2-0000c3-6w for importer@patchew.org; Wed, 31 Jul 2019 04:00:20 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58695) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hsjU5-0002CA-9u for qemu-devel@nongnu.org; Wed, 31 Jul 2019 03:57:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hsjU4-00082e-82 for qemu-devel@nongnu.org; Wed, 31 Jul 2019 03:57:17 -0400 Received: from mx1.redhat.com ([209.132.183.28]:33434) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hsjU2-000809-5R; Wed, 31 Jul 2019 03:57:14 -0400 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 7007FA7D5; Wed, 31 Jul 2019 07:57:13 +0000 (UTC) Received: from thuth.com (dhcp-200-228.str.redhat.com [10.33.200.228]) by smtp.corp.redhat.com (Postfix) with ESMTP id C1F915C1B5; Wed, 31 Jul 2019 07:57:11 +0000 (UTC) From: Thomas Huth To: Paolo Bonzini , Yang Zhong , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , qemu-devel@nongnu.org Date: Wed, 31 Jul 2019 09:56:48 +0200 Message-Id: <20190731075652.17053-5-thuth@redhat.com> In-Reply-To: <20190731075652.17053-1-thuth@redhat.com> References: <20190731075652.17053-1-thuth@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.29]); Wed, 31 Jul 2019 07:57:13 +0000 (UTC) Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.132.183.28 Subject: [Qemu-devel] [PATCH v2 4/8] hw/core: Add a config switch for the "register" device X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "Edgar E. Iglesias" , qemu-arm@nongnu.org, Mark Cave-Ayland , Artyom Tarasenko , Peter Maydell Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" Content-Type: text/plain; charset="utf-8" The "register" device is only used by certain machines. Let's add a proper config switch for it so that it only gets compiled when we really need it. Signed-off-by: Thomas Huth --- hw/Kconfig | 1 + hw/core/Kconfig | 3 +++ hw/core/Makefile.objs | 2 +- hw/dma/Kconfig | 1 + 4 files changed, 6 insertions(+), 1 deletion(-) diff --git a/hw/Kconfig b/hw/Kconfig index dbae1c0852..b45db3c813 100644 --- a/hw/Kconfig +++ b/hw/Kconfig @@ -76,3 +76,4 @@ config XILINX_AXI =20 config XLNX_ZYNQMP bool + select REGISTER diff --git a/hw/core/Kconfig b/hw/core/Kconfig index c2a1ae8122..d11920fcb3 100644 --- a/hw/core/Kconfig +++ b/hw/core/Kconfig @@ -9,3 +9,6 @@ config FITLOADER =20 config PLATFORM_BUS bool + +config REGISTER + bool diff --git a/hw/core/Makefile.objs b/hw/core/Makefile.objs index f8481d959f..d6cfb2a81b 100644 --- a/hw/core/Makefile.objs +++ b/hw/core/Makefile.objs @@ -17,7 +17,7 @@ common-obj-$(CONFIG_SOFTMMU) +=3D machine.o common-obj-$(CONFIG_SOFTMMU) +=3D loader.o common-obj-$(CONFIG_FITLOADER) +=3D loader-fit.o common-obj-$(CONFIG_SOFTMMU) +=3D qdev-properties-system.o -common-obj-$(CONFIG_SOFTMMU) +=3D register.o +common-obj-$(CONFIG_REGISTER) +=3D register.o common-obj-$(CONFIG_SOFTMMU) +=3D or-irq.o common-obj-$(CONFIG_SOFTMMU) +=3D split-irq.o common-obj-$(CONFIG_PLATFORM_BUS) +=3D platform-bus.o diff --git a/hw/dma/Kconfig b/hw/dma/Kconfig index 751dec5426..5c61b67bc0 100644 --- a/hw/dma/Kconfig +++ b/hw/dma/Kconfig @@ -16,6 +16,7 @@ config I8257 =20 config ZYNQ_DEVCFG bool + select REGISTER =20 config STP2000 bool --=20 2.21.0 From nobody Sat May 4 02:45:29 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1564559899; cv=none; d=zoho.com; s=zohoarc; b=d4NMG1t4I6bepfQQ4p9dB0WKpZz88V/VEwjimyK8CaFtlM/iQi7sEAgT9zVIkvfslAOoGmE5vPM8OlZm+vcxBCLJLbrbP9L9wgwzBaRmaInCFzGa9QBBOHZWxOZjKe5w1bJ2DiaY+6Rfqq5FX1mL+4aBqhDFIDxAnBHsjN1eyc0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1564559899; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To:ARC-Authentication-Results; bh=8vOG1LNYjRnzuvPBQnPnMlolw7PUPoSfEV7XfYWDy9k=; b=HHbdx79mgkUeu1/WK8PCazt9xZNbu/Umx3uCMsKtqwc7zN0E++lZjIUq2UDWIt532OOAVjw+hEUYjv8i3iPsDry33swEA2s9eykXQP+czWc4AfjwVho60i7ua/mRuz36nvpVKA0kxMYuR0/sFjbrvSlzoE5q9ysW16ghakD8Wr0= ARC-Authentication-Results: i=1; mx.zoho.com; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1564559899128913.2446420402368; Wed, 31 Jul 2019 00:58:19 -0700 (PDT) Received: from localhost ([::1]:38564 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hsjV2-0003nN-4i for importer@patchew.org; Wed, 31 Jul 2019 03:58:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58713) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hsjU7-0002Ib-D3 for qemu-devel@nongnu.org; Wed, 31 Jul 2019 03:57:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hsjU6-00084B-7v for qemu-devel@nongnu.org; Wed, 31 Jul 2019 03:57:19 -0400 Received: from mx1.redhat.com ([209.132.183.28]:44532) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hsjU4-00081e-1m; Wed, 31 Jul 2019 03:57:16 -0400 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 5E0693022468; Wed, 31 Jul 2019 07:57:15 +0000 (UTC) Received: from thuth.com (dhcp-200-228.str.redhat.com [10.33.200.228]) by smtp.corp.redhat.com (Postfix) with ESMTP id B26795C1B5; Wed, 31 Jul 2019 07:57:13 +0000 (UTC) From: Thomas Huth To: Paolo Bonzini , Yang Zhong , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , qemu-devel@nongnu.org Date: Wed, 31 Jul 2019 09:56:49 +0200 Message-Id: <20190731075652.17053-6-thuth@redhat.com> In-Reply-To: <20190731075652.17053-1-thuth@redhat.com> References: <20190731075652.17053-1-thuth@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.49]); Wed, 31 Jul 2019 07:57:15 +0000 (UTC) Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.132.183.28 Subject: [Qemu-devel] [PATCH v2 5/8] hw/core: Add a config switch for the "or-irq" device X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "Edgar E. Iglesias" , qemu-arm@nongnu.org, Mark Cave-Ayland , Artyom Tarasenko , Peter Maydell Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" Content-Type: text/plain; charset="utf-8" The "or-irq" device is only used by certain machines. Let's add a proper config switch for it so that it only gets compiled when we really need it. Signed-off-by: Thomas Huth Reviewed-by: Philippe Mathieu-Daud=C3=A9 --- hw/arm/Kconfig | 3 +++ hw/core/Kconfig | 3 +++ hw/core/Makefile.objs | 2 +- hw/pci-host/Kconfig | 3 ++- 4 files changed, 9 insertions(+), 2 deletions(-) diff --git a/hw/arm/Kconfig b/hw/arm/Kconfig index ab65ecd216..849195c3f6 100644 --- a/hw/arm/Kconfig +++ b/hw/arm/Kconfig @@ -292,6 +292,7 @@ config RASPI config STM32F205_SOC bool select ARM_V7M + select OR_IRQ select STM32F2XX_TIMER select STM32F2XX_USART select STM32F2XX_SYSCFG @@ -360,6 +361,7 @@ config MPS2 select LAN9118 select MPS2_FPGAIO select MPS2_SCC + select OR_IRQ select PL022 # Serial port select PL080 # DMA controller =20 @@ -439,6 +441,7 @@ config ARMSSE select IOTKIT_SECCTL select IOTKIT_SYSCTL select IOTKIT_SYSINFO + select OR_IRQ select TZ_MPC select TZ_MSC select TZ_PPC diff --git a/hw/core/Kconfig b/hw/core/Kconfig index d11920fcb3..984143456a 100644 --- a/hw/core/Kconfig +++ b/hw/core/Kconfig @@ -7,6 +7,9 @@ config PTIMER config FITLOADER bool =20 +config OR_IRQ + bool + config PLATFORM_BUS bool =20 diff --git a/hw/core/Makefile.objs b/hw/core/Makefile.objs index d6cfb2a81b..ce337bd7c9 100644 --- a/hw/core/Makefile.objs +++ b/hw/core/Makefile.objs @@ -18,7 +18,7 @@ common-obj-$(CONFIG_SOFTMMU) +=3D loader.o common-obj-$(CONFIG_FITLOADER) +=3D loader-fit.o common-obj-$(CONFIG_SOFTMMU) +=3D qdev-properties-system.o common-obj-$(CONFIG_REGISTER) +=3D register.o -common-obj-$(CONFIG_SOFTMMU) +=3D or-irq.o +common-obj-$(CONFIG_OR_IRQ) +=3D or-irq.o common-obj-$(CONFIG_SOFTMMU) +=3D split-irq.o common-obj-$(CONFIG_PLATFORM_BUS) +=3D platform-bus.o common-obj-$(CONFIG_SOFTMMU) +=3D generic-loader.o diff --git a/hw/pci-host/Kconfig b/hw/pci-host/Kconfig index 8c16d96b3f..1edc1a31d4 100644 --- a/hw/pci-host/Kconfig +++ b/hw/pci-host/Kconfig @@ -2,8 +2,9 @@ config PAM bool =20 config PREP_PCI - select PCI bool + select PCI + select OR_IRQ =20 config GRACKLE_PCI select PCI --=20 2.21.0 From nobody Sat May 4 02:45:29 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1564559951; cv=none; d=zoho.com; s=zohoarc; b=LVptvDbyqzLqErnDlm/9/M0tfC5BII1AwuCap3ex8r0cMdvRTLbnkAnRgJRlQl9X31qqYtbPuAW9ndCSiQs/VnkUZtoRCddYEHik5a4uXYhWAOyVGxD5YaesiAssfzJRTpI8T6Tigti+45LVEw7EzPRssmwBXJnvOuHNcaID/P8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1564559951; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To:ARC-Authentication-Results; bh=6gYwpAXcvp2k2dOGCOftcHsv8E5BBZ2tvCYzZdfbF0M=; b=R4IXEjpJqLFZ6VINtxRvDKDVKVPcn0QACMJw4aVgm7HzaF8KJV9bNb8MVxk87Gr1KDmZGhRKEvxrk4N5q6Rv6ygq+gq2mMZeRe5oN9k+vUPRsGjx0ZFBzKDRAIJXL6HRigzGmoEpL+N0+nbPZpzObfqLWP7LlVrJP2qRc8pWxD0= ARC-Authentication-Results: i=1; mx.zoho.com; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1564559951657226.49075982118688; Wed, 31 Jul 2019 00:59:11 -0700 (PDT) Received: from localhost ([::1]:38590 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hsjVu-0006G4-P6 for importer@patchew.org; Wed, 31 Jul 2019 03:59:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58750) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hsjUB-0002ZA-Kj for qemu-devel@nongnu.org; Wed, 31 Jul 2019 03:57:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hsjUA-0008Eu-Ke for qemu-devel@nongnu.org; Wed, 31 Jul 2019 03:57:23 -0400 Received: from mx1.redhat.com ([209.132.183.28]:36702) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hsjU8-00086m-7c; Wed, 31 Jul 2019 03:57:20 -0400 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 811CDC007359; Wed, 31 Jul 2019 07:57:19 +0000 (UTC) Received: from thuth.com (dhcp-200-228.str.redhat.com [10.33.200.228]) by smtp.corp.redhat.com (Postfix) with ESMTP id 9FF7A5C1B5; Wed, 31 Jul 2019 07:57:15 +0000 (UTC) From: Thomas Huth To: Paolo Bonzini , Yang Zhong , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , qemu-devel@nongnu.org Date: Wed, 31 Jul 2019 09:56:50 +0200 Message-Id: <20190731075652.17053-7-thuth@redhat.com> In-Reply-To: <20190731075652.17053-1-thuth@redhat.com> References: <20190731075652.17053-1-thuth@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.32]); Wed, 31 Jul 2019 07:57:19 +0000 (UTC) Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.132.183.28 Subject: [Qemu-devel] [PATCH v2 6/8] hw/core: Add a config switch for the "split-irq" device X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "Edgar E. Iglesias" , qemu-arm@nongnu.org, Mark Cave-Ayland , Artyom Tarasenko , Peter Maydell Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" Content-Type: text/plain; charset="utf-8" The "split-irq" device is currently only used by machines that use CONFIG_ARMSSE. Let's add a proper CONFIG_SPLIT_IRQ switch for this so that it only gets compiled when we really need it. Signed-off-by: Thomas Huth Reviewed-by: Philippe Mathieu-Daud=C3=A9 --- hw/arm/Kconfig | 3 +++ hw/core/Kconfig | 3 +++ hw/core/Makefile.objs | 2 +- 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/hw/arm/Kconfig b/hw/arm/Kconfig index 849195c3f6..6e24c73b54 100644 --- a/hw/arm/Kconfig +++ b/hw/arm/Kconfig @@ -81,6 +81,7 @@ config MUSCA select ARMSSE select PL011 select PL031 + select SPLIT_IRQ =20 config MUSICPAL bool @@ -364,6 +365,7 @@ config MPS2 select OR_IRQ select PL022 # Serial port select PL080 # DMA controller + select SPLIT_IRQ =20 config FSL_IMX7 bool @@ -442,6 +444,7 @@ config ARMSSE select IOTKIT_SYSCTL select IOTKIT_SYSINFO select OR_IRQ + select SPLIT_IRQ select TZ_MPC select TZ_MSC select TZ_PPC diff --git a/hw/core/Kconfig b/hw/core/Kconfig index 984143456a..fffb3d62b2 100644 --- a/hw/core/Kconfig +++ b/hw/core/Kconfig @@ -15,3 +15,6 @@ config PLATFORM_BUS =20 config REGISTER bool + +config SPLIT_IRQ + bool diff --git a/hw/core/Makefile.objs b/hw/core/Makefile.objs index ce337bd7c9..bb1afe422a 100644 --- a/hw/core/Makefile.objs +++ b/hw/core/Makefile.objs @@ -19,7 +19,7 @@ common-obj-$(CONFIG_FITLOADER) +=3D loader-fit.o common-obj-$(CONFIG_SOFTMMU) +=3D qdev-properties-system.o common-obj-$(CONFIG_REGISTER) +=3D register.o common-obj-$(CONFIG_OR_IRQ) +=3D or-irq.o -common-obj-$(CONFIG_SOFTMMU) +=3D split-irq.o +common-obj-$(CONFIG_SPLIT_IRQ) +=3D split-irq.o common-obj-$(CONFIG_PLATFORM_BUS) +=3D platform-bus.o common-obj-$(CONFIG_SOFTMMU) +=3D generic-loader.o common-obj-$(CONFIG_SOFTMMU) +=3D null-machine.o --=20 2.21.0 From nobody Sat May 4 02:45:29 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1564560059; cv=none; d=zoho.com; s=zohoarc; b=Mil1AiLnfa7iKTEYgjpUp26+liHtQgbfk8mcSCjBB1jCYmWGGMAYWEO3mAsxMLpeIHFyzuh65GzQOfYRlwFepvhwm7gBKdO/ACNOzBDfUpWxw2if7fn9dzoypW1GZ4tWHdWgyzkbcqks/Nk0M7TvM8ArI0lcVnvGijN5HuC68f4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1564560059; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To:ARC-Authentication-Results; bh=qEPfjc252ew7qIboZ9MaoWoooggy/S+CaGyWm60ZwdI=; b=i6PQOkcl3gMsZfszWFp6z8OtA8/AUlo5Yg1OYhZ+BU1uiNk/LMO2MLgNcgtLsmY97MVJzndclGfTEfji50cIfXsswAnzLrm/69LgMH+1djwHALOkQuz1Of6M0gEp4CcTOXXSjLXIGw4d7czUqaoHnboL9a7Sr7Q16g4N1YIJ124= ARC-Authentication-Results: i=1; mx.zoho.com; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 156456005911278.41110629855132; Wed, 31 Jul 2019 01:00:59 -0700 (PDT) Received: from localhost ([::1]:38632 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hsjXe-0001cN-7i for importer@patchew.org; Wed, 31 Jul 2019 04:00:58 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58783) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hsjUD-0002de-SE for qemu-devel@nongnu.org; Wed, 31 Jul 2019 03:57:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hsjUC-0008IS-LG for qemu-devel@nongnu.org; Wed, 31 Jul 2019 03:57:25 -0400 Received: from mx1.redhat.com ([209.132.183.28]:36722) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hsjUA-0008Ck-6N; Wed, 31 Jul 2019 03:57:22 -0400 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 78CF7C057F2C; Wed, 31 Jul 2019 07:57:21 +0000 (UTC) Received: from thuth.com (dhcp-200-228.str.redhat.com [10.33.200.228]) by smtp.corp.redhat.com (Postfix) with ESMTP id C407C5C1B5; Wed, 31 Jul 2019 07:57:19 +0000 (UTC) From: Thomas Huth To: Paolo Bonzini , Yang Zhong , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , qemu-devel@nongnu.org Date: Wed, 31 Jul 2019 09:56:51 +0200 Message-Id: <20190731075652.17053-8-thuth@redhat.com> In-Reply-To: <20190731075652.17053-1-thuth@redhat.com> References: <20190731075652.17053-1-thuth@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.32]); Wed, 31 Jul 2019 07:57:21 +0000 (UTC) Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.132.183.28 Subject: [Qemu-devel] [PATCH v2 7/8] hw/misc: Add a config switch for the "unimplemented" device X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "Edgar E. Iglesias" , qemu-arm@nongnu.org, Mark Cave-Ayland , Artyom Tarasenko , Peter Maydell Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" Content-Type: text/plain; charset="utf-8" The device is only used by some few boards. Let's use a proper Kconfig switch so that we only compile this code if we really need it. Signed-off-by: Thomas Huth Reviewed-by: Philippe Mathieu-Daud=C3=A9 --- hw/arm/Kconfig | 9 +++++++++ hw/microblaze/Kconfig | 1 + hw/misc/Kconfig | 3 +++ hw/misc/Makefile.objs | 2 +- hw/sparc64/Kconfig | 1 + 5 files changed, 15 insertions(+), 1 deletion(-) diff --git a/hw/arm/Kconfig b/hw/arm/Kconfig index 6e24c73b54..ab9e592d74 100644 --- a/hw/arm/Kconfig +++ b/hw/arm/Kconfig @@ -217,6 +217,7 @@ config STELLARIS select SSI_SD select STELLARIS_INPUT select STELLARIS_ENET # ethernet + select UNIMP =20 config STRONGARM bool @@ -283,6 +284,7 @@ config ALLWINNER_A10 select ALLWINNER_A10_PIC select ALLWINNER_EMAC select SERIAL + select UNIMP =20 config RASPI bool @@ -320,6 +322,7 @@ config XLNX_VERSAL select PL011 select CADENCE select VIRTIO_MMIO + select UNIMP =20 config FSL_IMX25 bool @@ -355,6 +358,7 @@ config ASPEED_SOC select SSI_M25P80 select TMP105 select TMP421 + select UNIMP =20 config MPS2 bool @@ -378,6 +382,7 @@ config FSL_IMX7 select IMX_I2C select PCI_EXPRESS_DESIGNWARE select SDHCI + select UNIMP =20 config ARM_SMMUV3 bool @@ -389,6 +394,7 @@ config FSL_IMX6UL select IMX_FEC select IMX_I2C select SDHCI + select UNIMP =20 config MICROBIT bool @@ -398,6 +404,7 @@ config NRF51_SOC bool select I2C select ARM_V7M + select UNIMP =20 config EMCRAFT_SF2 bool @@ -410,6 +417,7 @@ config MSF2 select PTIMER select SERIAL select SSI + select UNIMP =20 config ZAURUS bool @@ -448,6 +456,7 @@ config ARMSSE select TZ_MPC select TZ_MSC select TZ_PPC + select UNIMP =20 config ARMSSE_CPUID bool diff --git a/hw/microblaze/Kconfig b/hw/microblaze/Kconfig index c4dc120973..e2697ced9c 100644 --- a/hw/microblaze/Kconfig +++ b/hw/microblaze/Kconfig @@ -4,6 +4,7 @@ config PETALOGIX_S3ADSP1800 select XILINX select XILINX_AXI select XILINX_ETHLITE + select UNIMP =20 config PETALOGIX_ML605 bool diff --git a/hw/misc/Kconfig b/hw/misc/Kconfig index 385e1b0cec..51754bb47c 100644 --- a/hw/misc/Kconfig +++ b/hw/misc/Kconfig @@ -117,4 +117,7 @@ config AUX bool select I2C =20 +config UNIMP + bool + source macio/Kconfig diff --git a/hw/misc/Makefile.objs b/hw/misc/Makefile.objs index e9aab519a1..e4aad707fb 100644 --- a/hw/misc/Makefile.objs +++ b/hw/misc/Makefile.objs @@ -9,7 +9,7 @@ common-obj-$(CONFIG_PCI_TESTDEV) +=3D pci-testdev.o common-obj-$(CONFIG_EDU) +=3D edu.o common-obj-$(CONFIG_PCA9552) +=3D pca9552.o =20 -common-obj-y +=3D unimp.o +common-obj-$(CONFIG_UNIMP) +=3D unimp.o common-obj-$(CONFIG_FW_CFG_DMA) +=3D vmcoreinfo.o =20 # ARM devices diff --git a/hw/sparc64/Kconfig b/hw/sparc64/Kconfig index d4d76a89be..f9f8b0f73a 100644 --- a/hw/sparc64/Kconfig +++ b/hw/sparc64/Kconfig @@ -17,3 +17,4 @@ config NIAGARA bool select EMPTY_SLOT select SUN4V_RTC + select UNIMP --=20 2.21.0 From nobody Sat May 4 02:45:29 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1564559999; cv=none; d=zoho.com; s=zohoarc; b=MXU0FPhAGyTLpBuIcjwL0URESCEkbtN4sTcTRBMeTi5K/WeZrruQlcGYg0pzmmfQL+5prSS15gALDKBMwnT4xDPH7ujBnwOl/mXmbH8DiDb49O433E/On52SUiyWiq3SQirmlwTXL9YO1LX6SCpRVfOVkl+AE9BQSgdlELLMxi8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1564559999; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To:ARC-Authentication-Results; bh=MdPUa+6+PT3QSs2hdMtY/A9t5hXVQuVlCKIk02Vdovk=; b=m8aJPNJ4fzB3kLyp54pZt0XYmzGkD9TYDUq1kBrh3JLcOehem8WEdBHqetElLDDNpOs2AuF4M7FC6Nt6/U+JWgK0ABpUpFLx3lj/x8KbU6Qnbmwzqi9e3aUYtbDLdVNJmoOV4Oeoao0Cn3yUY4P9EDfjPpRKr6chbDddaS9ms9g= ARC-Authentication-Results: i=1; mx.zoho.com; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1564559999775759.824502343752; Wed, 31 Jul 2019 00:59:59 -0700 (PDT) Received: from localhost ([::1]:38604 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hsjWg-00087m-S8 for importer@patchew.org; Wed, 31 Jul 2019 03:59:58 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58814) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hsjUG-0002kk-ID for qemu-devel@nongnu.org; Wed, 31 Jul 2019 03:57:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hsjUF-0008LK-3I for qemu-devel@nongnu.org; Wed, 31 Jul 2019 03:57:28 -0400 Received: from mx1.redhat.com ([209.132.183.28]:33502) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hsjUC-0008H1-Qu; Wed, 31 Jul 2019 03:57:24 -0400 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 2481612BB; Wed, 31 Jul 2019 07:57:24 +0000 (UTC) Received: from thuth.com (dhcp-200-228.str.redhat.com [10.33.200.228]) by smtp.corp.redhat.com (Postfix) with ESMTP id 7ADBA5C1B5; Wed, 31 Jul 2019 07:57:21 +0000 (UTC) From: Thomas Huth To: Paolo Bonzini , Yang Zhong , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , qemu-devel@nongnu.org Date: Wed, 31 Jul 2019 09:56:52 +0200 Message-Id: <20190731075652.17053-9-thuth@redhat.com> In-Reply-To: <20190731075652.17053-1-thuth@redhat.com> References: <20190731075652.17053-1-thuth@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.29]); Wed, 31 Jul 2019 07:57:24 +0000 (UTC) Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.132.183.28 Subject: [Qemu-devel] [PATCH v2 8/8] hw/core: Add a config switch for the generic loader device X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "Edgar E. Iglesias" , qemu-arm@nongnu.org, Mark Cave-Ayland , Artyom Tarasenko , Peter Maydell Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" Content-Type: text/plain; charset="utf-8" The generic loader device is completely optional. Let's add a proper config switch for it so that people can disable it if they don't need it and want to create a minimalistic QEMU binary. Signed-off-by: Thomas Huth Reviewed-by: Philippe Mathieu-Daud=C3=A9 --- hw/core/Kconfig | 4 ++++ hw/core/Makefile.objs | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/hw/core/Kconfig b/hw/core/Kconfig index fffb3d62b2..fdf03514d7 100644 --- a/hw/core/Kconfig +++ b/hw/core/Kconfig @@ -7,6 +7,10 @@ config PTIMER config FITLOADER bool =20 +config GENERIC_LOADER + bool + default y + config OR_IRQ bool =20 diff --git a/hw/core/Makefile.objs b/hw/core/Makefile.objs index bb1afe422a..b49f880a0c 100644 --- a/hw/core/Makefile.objs +++ b/hw/core/Makefile.objs @@ -21,7 +21,7 @@ common-obj-$(CONFIG_REGISTER) +=3D register.o common-obj-$(CONFIG_OR_IRQ) +=3D or-irq.o common-obj-$(CONFIG_SPLIT_IRQ) +=3D split-irq.o common-obj-$(CONFIG_PLATFORM_BUS) +=3D platform-bus.o -common-obj-$(CONFIG_SOFTMMU) +=3D generic-loader.o +common-obj-$(CONFIG_GENERIC_LOADER) +=3D generic-loader.o common-obj-$(CONFIG_SOFTMMU) +=3D null-machine.o =20 obj-$(CONFIG_SOFTMMU) +=3D machine-qmp-cmds.o --=20 2.21.0