From nobody Tue Nov 11 21:04:12 2025 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=1566287503; cv=none; d=zoho.com; s=zohoarc; b=a8Ooksnas7Nu91S2s504x+ae1gdm/QF22jZS8k5HMr2G5j+szThoWa8wxByhySZSLvjKQPVx9/UpJMuqX8Iop1rUZwTLpu3Td6HIDdcUejlkkHiSYjtrvl8UoC/1ffvuIqRTxzR7uv7lHHcQ9ohLELey6Hm8pdeKHcKcd64DFSo= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1566287503; 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=YboOk3c74vlIOSdXA1CyfD3ggid3QW5DjguJEO1SREQ=; b=RL1iNx/baarmGfZOmBmKn4ik8Q2SNWfpqdzf/Eden2kj7gEvAQhUH1SAJPT8c+/JzLxuZJS6p5zLZBOrXe5UyQQMsIk53C+t60qD4YcVNE9Pwb6Dr5rjb0oVJpnM8vx38lGwtYaWz8MTET1anczY/P9sMxRSgtitVHXo59U5pLo= 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 1566287503244660.6113105799236; Tue, 20 Aug 2019 00:51:43 -0700 (PDT) Received: from localhost ([::1]:34372 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1hzyvd-0004a6-QE for importer@patchew.org; Tue, 20 Aug 2019 03:51:41 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49440) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1hzys5-0007w3-Qy for qemu-devel@nongnu.org; Tue, 20 Aug 2019 03:48:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hzys4-0004Q9-Ox for qemu-devel@nongnu.org; Tue, 20 Aug 2019 03:48:01 -0400 Received: from mx1.redhat.com ([209.132.183.28]:53774) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hzys4-0004Pg-Jh for qemu-devel@nongnu.org; Tue, 20 Aug 2019 03:48:00 -0400 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 164241FAA62; Tue, 20 Aug 2019 07:47:58 +0000 (UTC) Received: from thuth.com (ovpn-116-232.ams2.redhat.com [10.36.116.232]) by smtp.corp.redhat.com (Postfix) with ESMTP id 0A419100195C; Tue, 20 Aug 2019 07:47:56 +0000 (UTC) From: Thomas Huth To: Peter Maydell , qemu-devel@nongnu.org Date: Tue, 20 Aug 2019 09:47:42 +0200 Message-Id: <20190820074749.25208-2-thuth@redhat.com> In-Reply-To: <20190820074749.25208-1-thuth@redhat.com> References: <20190820074749.25208-1-thuth@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.6.2 (mx1.redhat.com [10.5.110.71]); Tue, 20 Aug 2019 07:47:59 +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] [PULL 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: philmd@redhat.com 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.18.1 From nobody Tue Nov 11 21:04:12 2025 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=1566287388; cv=none; d=zoho.com; s=zohoarc; b=dgMWuijO1RQkgijX3r1eNgo6MmYb2xA4DjbL152s3cAuS3Arqb5XQ8a76EOTyEQNMOcMgPLu6EWBGjk8D89Ez3Ag7QfaFMfVh6k8RV3Cr5wrW+f1OtSnxepMryGSSUey9G7RHl4WqxQXxwZLsU2ik3nGJfRPorP3QyxhCKSG7WQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1566287388; 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=amGg9fJJ2NoJvoMI470j7Cebxl7Guqw0ZeW0TJW2D1Q=; b=VAzHbXk+9LumQj9/5LfizfX+X6eQ2mS3E7lZ3uI3oFmtXuNaM3mlroMViYpGuf6UITv6ItyXR3rdzhHOM/wHY3+Gnjd7OPKNnOpmY13K2WahguHVJohnaahtDUTCiK/2dEur5AF1aynpRzgfdxWkDoYhnsEoKCY6rYE122saXOI= 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 156628738888670.14687142186267; Tue, 20 Aug 2019 00:49:48 -0700 (PDT) Received: from localhost ([::1]:34352 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1hzytl-0001bd-Uf for importer@patchew.org; Tue, 20 Aug 2019 03:49:45 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49437) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1hzys5-0007w2-Ly for qemu-devel@nongnu.org; Tue, 20 Aug 2019 03:48:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hzys4-0004Py-Ip for qemu-devel@nongnu.org; Tue, 20 Aug 2019 03:48:01 -0400 Received: from mx1.redhat.com ([209.132.183.28]:55472) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hzys4-0004PY-Di for qemu-devel@nongnu.org; Tue, 20 Aug 2019 03:48:00 -0400 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 7CC95189D90A; Tue, 20 Aug 2019 07:47:59 +0000 (UTC) Received: from thuth.com (ovpn-116-232.ams2.redhat.com [10.36.116.232]) by smtp.corp.redhat.com (Postfix) with ESMTP id 7076E100195F; Tue, 20 Aug 2019 07:47:58 +0000 (UTC) From: Thomas Huth To: Peter Maydell , qemu-devel@nongnu.org Date: Tue, 20 Aug 2019 09:47:43 +0200 Message-Id: <20190820074749.25208-3-thuth@redhat.com> In-Reply-To: <20190820074749.25208-1-thuth@redhat.com> References: <20190820074749.25208-1-thuth@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.6.2 (mx1.redhat.com [10.5.110.63]); Tue, 20 Aug 2019 07:47:59 +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] [PULL 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: philmd@redhat.com 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.18.1 From nobody Tue Nov 11 21:04:12 2025 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=1566287388; cv=none; d=zoho.com; s=zohoarc; b=J83jKBsBDZIkcJG99AYwTP82BjagagH3Y6mjABTtLqa44eci/jY4Epyth00vhfa++EjR7p4L07OzFDjjwFKKjOeK7YXZ4fLjU9BRVOBzKGpN+axghhCZsKib15aEWXxE2pmSI7xng37N/KlGCj9ARwpxySb2odxDsHJKBFbSonw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1566287388; 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=ToHkRm5iSAFMCj+iq9Mz6/E3wDoJctdhUawVQVUlGNI=; b=FwuTrap4caxKFpivdBTfaK8Fn7AE6RPT9fmiIcfAq/yb2ZjE4PIs6nKpU5botkVHVOV5XGaE6JswkOTbKdhbKkrJMgDV7jx7GghJrnXWfVg+vIsy8bMh4BPCosSgwgyuD4WAPyiU4aIWH6pT1FkD3ItlufjE5Q8Tr/sjWCzlUOQ= 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 1566287388848684.7893828981815; Tue, 20 Aug 2019 00:49:48 -0700 (PDT) Received: from localhost ([::1]:34354 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1hzytm-0001dg-D0 for importer@patchew.org; Tue, 20 Aug 2019 03:49:46 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49463) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1hzys6-0007wT-Tb for qemu-devel@nongnu.org; Tue, 20 Aug 2019 03:48:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hzys5-0004Qx-Re for qemu-devel@nongnu.org; Tue, 20 Aug 2019 03:48:02 -0400 Received: from mx1.redhat.com ([209.132.183.28]:51984) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hzys5-0004QO-LB for qemu-devel@nongnu.org; Tue, 20 Aug 2019 03:48:01 -0400 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id E8BC120ABB; Tue, 20 Aug 2019 07:48:00 +0000 (UTC) Received: from thuth.com (ovpn-116-232.ams2.redhat.com [10.36.116.232]) by smtp.corp.redhat.com (Postfix) with ESMTP id DA47B1001B09; Tue, 20 Aug 2019 07:47:59 +0000 (UTC) From: Thomas Huth To: Peter Maydell , qemu-devel@nongnu.org Date: Tue, 20 Aug 2019 09:47:44 +0200 Message-Id: <20190820074749.25208-4-thuth@redhat.com> In-Reply-To: <20190820074749.25208-1-thuth@redhat.com> References: <20190820074749.25208-1-thuth@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.30]); Tue, 20 Aug 2019 07:48:00 +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] [PULL 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: philmd@redhat.com 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.18.1 From nobody Tue Nov 11 21:04:12 2025 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=1566287390; cv=none; d=zoho.com; s=zohoarc; b=VnPdKjE+/0iQ6gkiYAFNpnhw7Dz7QYkR3BfEI53XO+WNgwaBQTS2oILvWKU4PdG+pVaHgOOJWEPCKSgLNYn0hqHdCH89oCqQ3Tv9nTHqzoz1gldEvRKot6Z38bL6WWIvF9foFGkG7iAYxvyW3fUw940H2go8IalOn1LTHXNtAfE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1566287390; 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=L+hK1AHhzxmwvgvmEqzu2sR98xi7DCkxXd48DETZwsk=; b=oh5aRNTxecxTOwHcYgfqP1hOvwbxONWPwiCK5rPXWVrM8xY9IZ3H3gri4ulBQvMt6aYerCnhRh9Tg93WGLv9pO6bPfqhkt782AUZ5ZVeALmnK6zlg576S6HSx/ElQDOHVC2QzfQrAp5VP787FunZa99dUzp8UzTk/Ubu65Cch1E= 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 1566287390882603.1054700151218; Tue, 20 Aug 2019 00:49:50 -0700 (PDT) Received: from localhost ([::1]:34356 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1hzytp-0001jp-1w for importer@patchew.org; Tue, 20 Aug 2019 03:49:49 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49475) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1hzys8-0007yF-Dn for qemu-devel@nongnu.org; Tue, 20 Aug 2019 03:48:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hzys7-0004Ru-9X for qemu-devel@nongnu.org; Tue, 20 Aug 2019 03:48:04 -0400 Received: from mx1.redhat.com ([209.132.183.28]:37006) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hzys7-0004RU-4I for qemu-devel@nongnu.org; Tue, 20 Aug 2019 03:48:03 -0400 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 64325106E96E; Tue, 20 Aug 2019 07:48:02 +0000 (UTC) Received: from thuth.com (ovpn-116-232.ams2.redhat.com [10.36.116.232]) by smtp.corp.redhat.com (Postfix) with ESMTP id 502F21001B09; Tue, 20 Aug 2019 07:48:01 +0000 (UTC) From: Thomas Huth To: Peter Maydell , qemu-devel@nongnu.org Date: Tue, 20 Aug 2019 09:47:45 +0200 Message-Id: <20190820074749.25208-5-thuth@redhat.com> In-Reply-To: <20190820074749.25208-1-thuth@redhat.com> References: <20190820074749.25208-1-thuth@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.6.2 (mx1.redhat.com [10.5.110.66]); Tue, 20 Aug 2019 07:48:02 +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] [PULL 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: philmd@redhat.com 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. Message-Id: <20190817101931.28386-5-thuth@redhat.com> Reviewed-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Alistair Francis 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.18.1 From nobody Tue Nov 11 21:04:12 2025 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=1566287593; cv=none; d=zoho.com; s=zohoarc; b=XoZmJqSCG8swiu+xDPtoPPzzfE9cvLixysBkz/JmRVoRPmlPZFHboZRBryvj438ZRPxDl3Dm/7fnlFEPLox+TBsAOiHwHoR8HnZxS6dZAuOmjD88rDBlBQYSxQh74Mh1JX6kbNJ1fgIw0UT68Fh1ALfaoI7FUcWEfr7UmbGTAB4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1566287593; 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=HRaiDSDHrcQrBh4MF+tCqsvdd15e8LHcvTHQOBDO7a8=; b=bkBNoHZfKZ/0XGNKN0ShbKL9Ajo6V1/prRru5GnwyqYl3kiVVpNk3h9fRzGd912dMwIs7Ht7CaZG/SSIvhQOORtI6+puxNous9SNxD8lPatQnVsRXAA37PQrgLfnmISNDu9zLKRm6IFYskmIwKFoGpEWqbKAKrQJVJ9tmB8OtPk= 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 1566287593965869.2235188807334; Tue, 20 Aug 2019 00:53:13 -0700 (PDT) Received: from localhost ([::1]:34392 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1hzyx6-0006kh-Pd for importer@patchew.org; Tue, 20 Aug 2019 03:53:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49486) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1hzysB-00083B-89 for qemu-devel@nongnu.org; Tue, 20 Aug 2019 03:48:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hzysA-0004St-2r for qemu-devel@nongnu.org; Tue, 20 Aug 2019 03:48:07 -0400 Received: from mx1.redhat.com ([209.132.183.28]:46732) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hzys9-0004Se-U5 for qemu-devel@nongnu.org; Tue, 20 Aug 2019 03:48:06 -0400 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 3DA3087648; Tue, 20 Aug 2019 07:48:05 +0000 (UTC) Received: from thuth.com (ovpn-116-232.ams2.redhat.com [10.36.116.232]) by smtp.corp.redhat.com (Postfix) with ESMTP id BAEDD1001B09; Tue, 20 Aug 2019 07:48:02 +0000 (UTC) From: Thomas Huth To: Peter Maydell , qemu-devel@nongnu.org Date: Tue, 20 Aug 2019 09:47:46 +0200 Message-Id: <20190820074749.25208-6-thuth@redhat.com> In-Reply-To: <20190820074749.25208-1-thuth@redhat.com> References: <20190820074749.25208-1-thuth@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.26]); Tue, 20 Aug 2019 07:48: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] [PULL 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: philmd@redhat.com 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. Reviewed-by: Philippe Mathieu-Daud=C3=A9 Message-Id: <20190817101931.28386-6-thuth@redhat.com> Signed-off-by: Thomas Huth --- 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.18.1 From nobody Tue Nov 11 21:04:12 2025 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=1566287518; cv=none; d=zoho.com; s=zohoarc; b=OQiKdPFTJZhQr7Y3Am6ZbJCLb9tb3pW0fpBdRedFjapSQgURdewZkNjFcVjvmvB07uKOnwpGQM8fPVRCFtAVZrQPXQpZwPfloVPz56RtTUj2lN0oUdlnyk1lLICUph0jBtUHrpWk40nG2fvuU09iDqcBwzp4KT82pm51ho+I3cw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1566287518; 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=Xbe2LkOiEQELB5MlTrkhvE/wufJF6HTPQgRPjIBYEw8=; b=Ny6l/uohbB3Pne4rNWm4BX2Mwdl8ApnPaN8zq57tcfkJiHXV4ASPRIUhX2odKLRFkJh+xa5N2sdbm51aRvsIl2A2zNbIoJkEb5Z5ewo2nPiAO9EP3AQaUyjT2jvQNHYFwQgAmfmWHkX90mJDFAhQJ0a+kbB6Vabq5wm8o8KFLng= 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 1566287518374978.9701397870283; Tue, 20 Aug 2019 00:51:58 -0700 (PDT) Received: from localhost ([::1]:34376 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1hzyvt-0004oU-54 for importer@patchew.org; Tue, 20 Aug 2019 03:51:57 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49504) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1hzysC-00085B-Ow for qemu-devel@nongnu.org; Tue, 20 Aug 2019 03:48:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hzysB-0004Td-LQ for qemu-devel@nongnu.org; Tue, 20 Aug 2019 03:48:08 -0400 Received: from mx1.redhat.com ([209.132.183.28]:60382) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hzysB-0004TF-CV for qemu-devel@nongnu.org; Tue, 20 Aug 2019 03:48:07 -0400 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id A7D5C3001BF1; Tue, 20 Aug 2019 07:48:06 +0000 (UTC) Received: from thuth.com (ovpn-116-232.ams2.redhat.com [10.36.116.232]) by smtp.corp.redhat.com (Postfix) with ESMTP id 99254100195C; Tue, 20 Aug 2019 07:48:05 +0000 (UTC) From: Thomas Huth To: Peter Maydell , qemu-devel@nongnu.org Date: Tue, 20 Aug 2019 09:47:47 +0200 Message-Id: <20190820074749.25208-7-thuth@redhat.com> In-Reply-To: <20190820074749.25208-1-thuth@redhat.com> References: <20190820074749.25208-1-thuth@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.45]); Tue, 20 Aug 2019 07:48:06 +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] [PULL 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: philmd@redhat.com 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. Reviewed-by: Philippe Mathieu-Daud=C3=A9 Message-Id: <20190817101931.28386-7-thuth@redhat.com> Signed-off-by: Thomas Huth --- 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.18.1 From nobody Tue Nov 11 21:04:12 2025 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=1566287675; cv=none; d=zoho.com; s=zohoarc; b=IaPs+29TwuxwpuWm/Lc+mSSvLeb6tzzEsQ6q7ZX0f0lO32ruQORPEApGrP0r2XjqOnoMLDsJEsmKeqJcjft2Y5ulmS0b6nFamw6cI3T+HlpoJbHCvKvtyjQR9w2eoD/UjEYY4pX+wUA/7ssgB+T/B6YxA27gXtl/EFaz/XEQu5M= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1566287675; 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=nMXg7gf0ZxV4Z1mh9J5QWm+GEp2fuel5EPwtwl8C294=; b=beMNNd5ksvubbJCOV5Ebj6g/JAJK0Y1FS25nZF0wXc75MzuYJe303Kn1F6gceIO3WFQuIsUkLu1nKvB0dyV0mVc2MtdqDCx8N50kPr2xrgqvYWfcp9LOBdd13VBo/sEp7tfctHuxTxTvjUMtponfJ/Z+0pRPA2bItCiaTxq8gGI= 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 1566287675461863.3536296498721; Tue, 20 Aug 2019 00:54:35 -0700 (PDT) Received: from localhost ([::1]:34408 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1hzyyQ-0008SM-7e for importer@patchew.org; Tue, 20 Aug 2019 03:54:34 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49521) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1hzysE-00087f-E8 for qemu-devel@nongnu.org; Tue, 20 Aug 2019 03:48:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hzysD-0004UU-1l for qemu-devel@nongnu.org; Tue, 20 Aug 2019 03:48:10 -0400 Received: from mx1.redhat.com ([209.132.183.28]:49220) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hzysC-0004Tx-QI for qemu-devel@nongnu.org; Tue, 20 Aug 2019 03:48:08 -0400 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 1C857102BB36; Tue, 20 Aug 2019 07:48:08 +0000 (UTC) Received: from thuth.com (ovpn-116-232.ams2.redhat.com [10.36.116.232]) by smtp.corp.redhat.com (Postfix) with ESMTP id 0F542100195C; Tue, 20 Aug 2019 07:48:06 +0000 (UTC) From: Thomas Huth To: Peter Maydell , qemu-devel@nongnu.org Date: Tue, 20 Aug 2019 09:47:48 +0200 Message-Id: <20190820074749.25208-8-thuth@redhat.com> In-Reply-To: <20190820074749.25208-1-thuth@redhat.com> References: <20190820074749.25208-1-thuth@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.6.2 (mx1.redhat.com [10.5.110.64]); Tue, 20 Aug 2019 07:48:08 +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] [PULL 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: philmd@redhat.com 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. Message-Id: <20190817101931.28386-8-thuth@redhat.com> Reviewed-by: Philippe Mathieu-Daud=C3=A9 Signed-off-by: Thomas Huth --- hw/arm/Kconfig | 11 +++++++++++ hw/microblaze/Kconfig | 1 + hw/misc/Kconfig | 3 +++ hw/misc/Makefile.objs | 2 +- hw/sparc64/Kconfig | 1 + 5 files changed, 17 insertions(+), 1 deletion(-) diff --git a/hw/arm/Kconfig b/hw/arm/Kconfig index 6e24c73b54..76a2a6bcbf 100644 --- a/hw/arm/Kconfig +++ b/hw/arm/Kconfig @@ -82,6 +82,7 @@ config MUSCA select PL011 select PL031 select SPLIT_IRQ + select UNIMP =20 config MUSICPAL bool @@ -217,6 +218,7 @@ config STELLARIS select SSI_SD select STELLARIS_INPUT select STELLARIS_ENET # ethernet + select UNIMP =20 config STRONGARM bool @@ -283,6 +285,7 @@ config ALLWINNER_A10 select ALLWINNER_A10_PIC select ALLWINNER_EMAC select SERIAL + select UNIMP =20 config RASPI bool @@ -320,6 +323,7 @@ config XLNX_VERSAL select PL011 select CADENCE select VIRTIO_MMIO + select UNIMP =20 config FSL_IMX25 bool @@ -355,6 +359,7 @@ config ASPEED_SOC select SSI_M25P80 select TMP105 select TMP421 + select UNIMP =20 config MPS2 bool @@ -366,6 +371,7 @@ config MPS2 select PL022 # Serial port select PL080 # DMA controller select SPLIT_IRQ + select UNIMP =20 config FSL_IMX7 bool @@ -378,6 +384,7 @@ config FSL_IMX7 select IMX_I2C select PCI_EXPRESS_DESIGNWARE select SDHCI + select UNIMP =20 config ARM_SMMUV3 bool @@ -389,6 +396,7 @@ config FSL_IMX6UL select IMX_FEC select IMX_I2C select SDHCI + select UNIMP =20 config MICROBIT bool @@ -398,6 +406,7 @@ config NRF51_SOC bool select I2C select ARM_V7M + select UNIMP =20 config EMCRAFT_SF2 bool @@ -410,6 +419,7 @@ config MSF2 select PTIMER select SERIAL select SSI + select UNIMP =20 config ZAURUS bool @@ -448,6 +458,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.18.1 From nobody Tue Nov 11 21:04:12 2025 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=1566287509; cv=none; d=zoho.com; s=zohoarc; b=lvirqzPAWsS4YQ+LAFhEwKokptYYnhMcjMmSuNvIfMf05hHgyVe45/GgQEDaLjJGoNM+uoQJijHXjPqAxYHjehalUn1MnrFFevN0znS13GDQ+x5eSnhwDgc8r6lOls00oJSglsrOWCtb0EAdlrWuBr13ANDx5pqQFk2UIalR/2g= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1566287509; 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=+1CZhA2jwjiHbnfzIq2AO2j3REZhALc3C65nibFS8vo=; b=G3mDsJ4wMO4Gqyg7EfnLOqYoe3WIpqScB/itaegVW66e3GjuG/jd1ggMJzDqwNP08ccj3f32drRhWiPGw8wT4twU5NJmnxfJWl4hljgDl4q7W3iTAoHyNLSN5DlacH6LK4zBiPS8iaRYWfvguVXcJwe6PTkRRP9KRIjpJJZyJ1g= 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 1566287509287451.5674380736684; Tue, 20 Aug 2019 00:51:49 -0700 (PDT) Received: from localhost ([::1]:34374 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1hzyvk-0004jP-3V for importer@patchew.org; Tue, 20 Aug 2019 03:51:48 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49533) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1hzysF-000892-Fx for qemu-devel@nongnu.org; Tue, 20 Aug 2019 03:48:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hzysE-0004VI-DI for qemu-devel@nongnu.org; Tue, 20 Aug 2019 03:48:11 -0400 Received: from mx1.redhat.com ([209.132.183.28]:51542) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hzysE-0004Un-8C for qemu-devel@nongnu.org; Tue, 20 Aug 2019 03:48:10 -0400 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 87604317529F; Tue, 20 Aug 2019 07:48:09 +0000 (UTC) Received: from thuth.com (ovpn-116-232.ams2.redhat.com [10.36.116.232]) by smtp.corp.redhat.com (Postfix) with ESMTP id 7A53D100195C; Tue, 20 Aug 2019 07:48:08 +0000 (UTC) From: Thomas Huth To: Peter Maydell , qemu-devel@nongnu.org Date: Tue, 20 Aug 2019 09:47:49 +0200 Message-Id: <20190820074749.25208-9-thuth@redhat.com> In-Reply-To: <20190820074749.25208-1-thuth@redhat.com> References: <20190820074749.25208-1-thuth@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.49]); Tue, 20 Aug 2019 07:48:09 +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] [PULL 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: philmd@redhat.com 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. Reviewed-by: Philippe Mathieu-Daud=C3=A9 Message-Id: <20190817101931.28386-9-thuth@redhat.com> Signed-off-by: Thomas Huth --- 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.18.1