From nobody Fri Apr 19 17:32:45 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=1557828334; cv=none; d=zoho.com; s=zohoarc; b=VgWRdKBt5VT1uW2754Oji/B/VKLM/j33lNiffhk56ZeKUHzZr9r+W2bZstxzwm/s0okW+SEy43jtkFLFMTiw3isuf8ev034us9Id9aad/uMQlyxxhBXp9W5DS+tMcJ/aVx4sq/dkxg2GnoTjvZR7e6jpAy2DXxu+vUGKPP57PwA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1557828334; 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=DaaXMSxjdekLBIdSmBUC+/2fpnK1z8D7nNZfVC/Yhi0=; b=ZZtwHpKSiPRE4BhSEvcbfBdlbTu8gSU8y/YfKk0hk/BhYLofpOwt00TIR7DSo0k0Xb1HLoyBB+lg+raXap7uh5cAsIAzc50SRYEGoj13bw7wRPUyfhf/ezXyAQaLWufuUmq1f1wrMgCSzl8XkFxUuw33rgps6HGW240FR5wBL4Y= 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 (209.51.188.17 [209.51.188.17]) by mx.zohomail.com with SMTPS id 1557828334655457.21779210160673; Tue, 14 May 2019 03:05:34 -0700 (PDT) Received: from localhost ([127.0.0.1]:44588 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hQUJJ-00010P-9u for importer@patchew.org; Tue, 14 May 2019 06:05:25 -0400 Received: from eggs.gnu.org ([209.51.188.92]:49263) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hQUEp-0006be-SL for qemu-devel@nongnu.org; Tue, 14 May 2019 06:00:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hQUEk-0003wL-SH for qemu-devel@nongnu.org; Tue, 14 May 2019 06:00:47 -0400 Received: from mx1.redhat.com ([209.132.183.28]:44300) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hQUEa-0003PZ-QA; Tue, 14 May 2019 06:00:32 -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 16A29883B8; Tue, 14 May 2019 10:00:32 +0000 (UTC) Received: from thuth.com (ovpn-116-85.ams2.redhat.com [10.36.116.85]) by smtp.corp.redhat.com (Postfix) with ESMTP id 2790E5C207; Tue, 14 May 2019 10:00:27 +0000 (UTC) From: Thomas Huth To: Paolo Bonzini , qemu-devel@nongnu.org Date: Tue, 14 May 2019 12:00:16 +0200 Message-Id: <20190514100019.13263-2-thuth@redhat.com> In-Reply-To: <20190514100019.13263-1-thuth@redhat.com> References: <20190514100019.13263-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.26]); Tue, 14 May 2019 10:00:32 +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 1/4] hw/core: Add a config switch for the "register" device 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: qemu-trivial@nongnu.org, qemu-arm@nongnu.org, 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. Signed-off-by: Thomas Huth Acked-by: Paolo Bonzini --- hw/core/Kconfig | 3 +++ hw/core/Makefile.objs | 2 +- hw/dma/Kconfig | 1 + hw/timer/Kconfig | 1 + 4 files changed, 6 insertions(+), 1 deletion(-) 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 a799c83815..d493a051ee 100644 --- a/hw/core/Makefile.objs +++ b/hw/core/Makefile.objs @@ -16,7 +16,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 diff --git a/hw/timer/Kconfig b/hw/timer/Kconfig index 51921eb63f..f575481210 100644 --- a/hw/timer/Kconfig +++ b/hw/timer/Kconfig @@ -36,6 +36,7 @@ config TWL92230 =20 config XLNX_ZYNQMP bool + select REGISTER =20 config ALTERA_TIMER bool --=20 2.21.0 From nobody Fri Apr 19 17:32:45 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=1557828177; cv=none; d=zoho.com; s=zohoarc; b=L27jP2UMzA9nerJtpiwqdGmDApNIVaUTOWunfhmKsDeRxECRLveDX+RfxM6Z6Ca0nhZMKpaNK8+rbhCNlvvhX5kHlVlxrfdZXoVcZKf33hj35EfkhAuLzQFdRMSxmTnX2Li8sHeCeJIbyfM8RcmkImoMVFb6Q+jES6mPBgbmrGo= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1557828177; 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=CHuHcZ8z1G/gZyAcP8m0NguS2aXSsn8ECAT4gmAhZ3Y=; b=XFYUbBHTzt0Ui5KeH5RDRtYJjooDpe6iKIPCd7GAaIEAqxYhP9Xrsz4B1VyOE129PwGZopsJqdn6t3r4o7UBUg3PQWUlGOxRORYZDlBLa+8YptbhwNVRhYiv44sh+4zbcMcyzkRBxihiIjbTNX+WkT9QxbbB7fOXPYDZW4r8UuU= 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 1557828177756870.619278535148; Tue, 14 May 2019 03:02:57 -0700 (PDT) Received: from localhost ([127.0.0.1]:44560 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hQUGq-0007vx-KW for importer@patchew.org; Tue, 14 May 2019 06:02:52 -0400 Received: from eggs.gnu.org ([209.51.188.92]:49179) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hQUEj-0006WF-Kn for qemu-devel@nongnu.org; Tue, 14 May 2019 06:00:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hQUEi-0003pz-9n for qemu-devel@nongnu.org; Tue, 14 May 2019 06:00:41 -0400 Received: from mx1.redhat.com ([209.132.183.28]:54112) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hQUEf-0003g7-A4; Tue, 14 May 2019 06:00:37 -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 9B987309B151; Tue, 14 May 2019 10:00:36 +0000 (UTC) Received: from thuth.com (ovpn-116-85.ams2.redhat.com [10.36.116.85]) by smtp.corp.redhat.com (Postfix) with ESMTP id B80445C207; Tue, 14 May 2019 10:00:32 +0000 (UTC) From: Thomas Huth To: Paolo Bonzini , qemu-devel@nongnu.org Date: Tue, 14 May 2019 12:00:17 +0200 Message-Id: <20190514100019.13263-3-thuth@redhat.com> In-Reply-To: <20190514100019.13263-1-thuth@redhat.com> References: <20190514100019.13263-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]); Tue, 14 May 2019 10:00:36 +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 2/4] hw/core: Add a config switch for the "or-irq" device 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: qemu-trivial@nongnu.org, qemu-arm@nongnu.org, 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. Signed-off-by: Thomas Huth Acked-by: Paolo Bonzini --- hw/arm/Kconfig | 2 ++ hw/core/Kconfig | 3 +++ hw/core/Makefile.objs | 2 +- hw/pci-host/Kconfig | 3 ++- 4 files changed, 8 insertions(+), 2 deletions(-) diff --git a/hw/arm/Kconfig b/hw/arm/Kconfig index af8cffde9c..0bb3bbe9d3 100644 --- a/hw/arm/Kconfig +++ b/hw/arm/Kconfig @@ -277,6 +277,7 @@ config RASPI config STM32F205_SOC bool select ARM_V7M + select OR_IRQ select STM32F2XX_TIMER select STM32F2XX_USART select STM32F2XX_SYSCFG @@ -424,6 +425,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 d493a051ee..dd2c2ca812 100644 --- a/hw/core/Makefile.objs +++ b/hw/core/Makefile.objs @@ -17,7 +17,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 Fri Apr 19 17:32:45 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=1557828522; cv=none; d=zoho.com; s=zohoarc; b=AtGi3oXST2rmoPtVdu2l98JddwSGoCXNdyCiEm5oi10x/a5YdPrJDOJ8ubKXC/evBrYUPIEWRmVYWEfooCv/0ZZ9CMT+/8JD66X/NsmCFrcaO7hSUiatz2/pDAZWwP2MYkSDIFoOM4yuLYPhWP+ZYnM3sEcBVWRyQ4huGbcPaEw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1557828522; 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=2dSz2LfIlplSon7LNC8+vnAiH43v9txFNtvH9v50gVw=; b=VMzk67Q0UeHo8p5nnR7vfDK+Y2kalxbF1P7Kv84GdkPAN3tfPwr+wjcRNVOgRbRkehx3gAbmudK1kIC6EL/oR1Hub9ho+RUqHbOcdcMJiNnw15frt+wBPd8qOFN9Q2L6UbH9L0xm2SiJvX/RIkPGpMRw3hlphphQYAeGUd9WPik= 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 1557828522088913.0058524533979; Tue, 14 May 2019 03:08:42 -0700 (PDT) Received: from localhost ([127.0.0.1]:44670 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hQUMO-0003fY-5U for importer@patchew.org; Tue, 14 May 2019 06:08:36 -0400 Received: from eggs.gnu.org ([209.51.188.92]:49310) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hQUEv-0006h4-26 for qemu-devel@nongnu.org; Tue, 14 May 2019 06:00:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hQUEu-000498-25 for qemu-devel@nongnu.org; Tue, 14 May 2019 06:00:52 -0400 Received: from mx1.redhat.com ([209.132.183.28]:46548) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hQUEj-0003sa-SW; Tue, 14 May 2019 06:00:42 -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 2BF0889C3A; Tue, 14 May 2019 10:00:41 +0000 (UTC) Received: from thuth.com (ovpn-116-85.ams2.redhat.com [10.36.116.85]) by smtp.corp.redhat.com (Postfix) with ESMTP id 621545C54A; Tue, 14 May 2019 10:00:36 +0000 (UTC) From: Thomas Huth To: Paolo Bonzini , qemu-devel@nongnu.org Date: Tue, 14 May 2019 12:00:18 +0200 Message-Id: <20190514100019.13263-4-thuth@redhat.com> In-Reply-To: <20190514100019.13263-1-thuth@redhat.com> References: <20190514100019.13263-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]); Tue, 14 May 2019 10:00:41 +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 3/4] hw/core: Add a config switch for the "split-irq" device 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: qemu-trivial@nongnu.org, qemu-arm@nongnu.org, 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. Signed-off-by: Thomas Huth Acked-by: Paolo Bonzini --- hw/arm/Kconfig | 1 + hw/core/Kconfig | 3 +++ hw/core/Makefile.objs | 2 +- 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/hw/arm/Kconfig b/hw/arm/Kconfig index 0bb3bbe9d3..ac1e94f63a 100644 --- a/hw/arm/Kconfig +++ b/hw/arm/Kconfig @@ -426,6 +426,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 dd2c2ca812..d8c908da14 100644 --- a/hw/core/Makefile.objs +++ b/hw/core/Makefile.objs @@ -18,7 +18,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 Fri Apr 19 17:32:45 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=1557828349; cv=none; d=zoho.com; s=zohoarc; b=lFF0TB2Cw6Mwxu0sxYd/RJt8q4dpLA36/VS0IOZyNSpGOAO6tVH9//BNCaykNGOgzZA5sOPVZJ4YuCACS023OXYfHjr53Jgh8J5wwKxsOBm8c+3pkWTdO/9RP69oOGsgiJK/MUzYInHDiK9K3eSnFQNz8fbN07FYMJ32IugC/Jk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1557828349; 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=CuatFbCLXJ2Zgwar8dGyxQx6WacPwANqDCxVr/QqNXY=; b=UEAhOjQ/3Y0hIaobmHcElwOYZAyetPEE9AHJ8jAgkX2DYeVrqGoZ17kRn7iBLZWESUtq99Z0t0SJGxG0kKLWLYiwkH/aOwIkOnPL9sz2BHKzAEVmR3ukBMGI/WTf6dVX5eROZdbYYc/cc1XlfSj1gBMkxFM0cIknZNkrl+LvQJk= 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 1557828349524730.6167791580771; Tue, 14 May 2019 03:05:49 -0700 (PDT) Received: from localhost ([127.0.0.1]:44606 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hQUJa-0001EU-5i for importer@patchew.org; Tue, 14 May 2019 06:05:42 -0400 Received: from eggs.gnu.org ([209.51.188.92]:49387) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hQUF5-0006vX-SW for qemu-devel@nongnu.org; Tue, 14 May 2019 06:01:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hQUEw-0004Je-W2 for qemu-devel@nongnu.org; Tue, 14 May 2019 06:01:03 -0400 Received: from mx1.redhat.com ([209.132.183.28]:46590) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hQUEu-00045I-1H; Tue, 14 May 2019 06:00:52 -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 0957981F0C; Tue, 14 May 2019 10:00:48 +0000 (UTC) Received: from thuth.com (ovpn-116-85.ams2.redhat.com [10.36.116.85]) by smtp.corp.redhat.com (Postfix) with ESMTP id E49695C207; Tue, 14 May 2019 10:00:41 +0000 (UTC) From: Thomas Huth To: Paolo Bonzini , qemu-devel@nongnu.org Date: Tue, 14 May 2019 12:00:19 +0200 Message-Id: <20190514100019.13263-5-thuth@redhat.com> In-Reply-To: <20190514100019.13263-1-thuth@redhat.com> References: <20190514100019.13263-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]); Tue, 14 May 2019 10:00:48 +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 4/4] hw/misc: Add a config switch for the "unimplemented" device 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: qemu-trivial@nongnu.org, qemu-arm@nongnu.org, 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 certain Arm boards. Now that we have fine-grained Kconfig for these machines, too, we can enable the "unimplemented" devices only for the machines that really need it. Signed-off-by: Thomas Huth Acked-by: Paolo Bonzini --- 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 ac1e94f63a..7e261f5d73 100644 --- a/hw/arm/Kconfig +++ b/hw/arm/Kconfig @@ -201,6 +201,7 @@ config STELLARIS select SSI_SD select STELLARIS_INPUT select STELLARIS_ENET # ethernet + select UNIMP =20 config STRONGARM bool @@ -267,6 +268,7 @@ config ALLWINNER_A10 select ALLWINNER_A10_PIC select ALLWINNER_EMAC select SERIAL + select UNIMP =20 config RASPI bool @@ -304,6 +306,7 @@ config XLNX_VERSAL select PL011 select CADENCE select VIRTIO_MMIO + select UNIMP =20 config FSL_IMX25 bool @@ -339,6 +342,7 @@ config ASPEED_SOC select SSI_M25P80 select TMP105 select TMP421 + select UNIMP =20 config MPS2 bool @@ -360,6 +364,7 @@ config FSL_IMX7 select IMX_I2C select PCI_EXPRESS_DESIGNWARE select SDHCI + select UNIMP =20 config ARM_SMMUV3 bool @@ -371,6 +376,7 @@ config FSL_IMX6UL select IMX_FEC select IMX_I2C select SDHCI + select UNIMP =20 config MICROBIT bool @@ -380,6 +386,7 @@ config NRF51_SOC bool select I2C select ARM_V7M + select UNIMP =20 config EMCRAFT_SF2 bool @@ -392,6 +399,7 @@ config MSF2 select PTIMER select SERIAL select SSI + select UNIMP =20 config ZAURUS bool @@ -430,6 +438,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 c71e07ae35..7a0902c76f 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