From nobody Sun May 5 15:33:49 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 Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1552782331201799.6062383170351; Sat, 16 Mar 2019 17:25:31 -0700 (PDT) Received: from localhost ([127.0.0.1]:48180 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h5JcF-0000zP-3p for importer@patchew.org; Sat, 16 Mar 2019 20:25:27 -0400 Received: from eggs.gnu.org ([209.51.188.92]:34537) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h5Ja8-0008L4-Sl for qemu-devel@nongnu.org; Sat, 16 Mar 2019 20:23:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h5Ja7-0008GF-W8 for qemu-devel@nongnu.org; Sat, 16 Mar 2019 20:23:16 -0400 Received: from mx1.redhat.com ([209.132.183.28]:37628) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1h5Ja7-0008Fo-Ie for qemu-devel@nongnu.org; Sat, 16 Mar 2019 20:23:15 -0400 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id BC5223082AF0; Sun, 17 Mar 2019 00:23:14 +0000 (UTC) Received: from x1w.redhat.com (ovpn-204-28.brq.redhat.com [10.40.204.28]) by smtp.corp.redhat.com (Postfix) with ESMTPS id EB6385D717; Sun, 17 Mar 2019 00:23:10 +0000 (UTC) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org, BALATON Zoltan Date: Sun, 17 Mar 2019 01:22:52 +0100 Message-Id: <20190317002259.25994-2-philmd@redhat.com> In-Reply-To: <20190317002259.25994-1-philmd@redhat.com> References: <20190317002259.25994-1-philmd@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.45]); Sun, 17 Mar 2019 00:23:14 +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/8] hw/input/Kconfig: Rename the 8042 PS/2 Keyboard Controller 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: Thomas Huth , "Michael S. Tsirkin" , Aleksandar Rikalo , Mark Cave-Ayland , Eduardo Habkost , Aurelien Jarno , Aleksandar Markovic , Igor Mammedov , Paolo Bonzini , Guan Xuetao , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Artyom Tarasenko , Richard Henderson Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" Content-Type: text/plain; charset="utf-8" The Intel 8042 chipset also includes some functions unrelated to the keyboard, such the A20-Gate. Rename it using the chipset name. Signed-off-by: Philippe Mathieu-Daud=C3=A9 --- default-configs/mips-softmmu-common.mak | 2 +- hw/alpha/Kconfig | 2 +- hw/i386/Kconfig | 2 +- hw/input/Kconfig | 2 +- hw/input/Makefile.objs | 2 +- hw/sparc64/Kconfig | 2 +- hw/unicore32/Kconfig | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/default-configs/mips-softmmu-common.mak b/default-configs/mips= -softmmu-common.mak index 0795d522db..bad7ee3360 100644 --- a/default-configs/mips-softmmu-common.mak +++ b/default-configs/mips-softmmu-common.mak @@ -13,7 +13,7 @@ CONFIG_SERIAL_ISA=3Dy CONFIG_PARALLEL=3Dy CONFIG_I8254=3Dy CONFIG_PCSPK=3Dy -CONFIG_PCKBD=3Dy +CONFIG_I8042=3Dy CONFIG_FDC=3Dy CONFIG_ACPI=3Dy CONFIG_ACPI_X86=3Dy diff --git a/hw/alpha/Kconfig b/hw/alpha/Kconfig index 22cefd9577..eb99765123 100644 --- a/hw/alpha/Kconfig +++ b/hw/alpha/Kconfig @@ -8,5 +8,5 @@ config DP264 select IDE_CMD646 select MC146818RTC select PCI - select PCKBD + select I8042 select SMC37C669 diff --git a/hw/i386/Kconfig b/hw/i386/Kconfig index 78fd70396a..7fa5395894 100644 --- a/hw/i386/Kconfig +++ b/hw/i386/Kconfig @@ -20,7 +20,7 @@ config PC select FDC select I8259 select I8254 - select PCKBD + select I8042 select PCSPK select I82374 select I8257 diff --git a/hw/input/Kconfig b/hw/input/Kconfig index e2e66f0858..14e76c5df4 100644 --- a/hw/input/Kconfig +++ b/hw/input/Kconfig @@ -5,7 +5,7 @@ config LM832X bool depends on I2C =20 -config PCKBD +config I8042 bool default y depends on ISA_BUS diff --git a/hw/input/Makefile.objs b/hw/input/Makefile.objs index c8b00f71ec..6e4c3389be 100644 --- a/hw/input/Makefile.objs +++ b/hw/input/Makefile.objs @@ -1,7 +1,7 @@ common-obj-$(CONFIG_ADB) +=3D adb.o adb-mouse.o adb-kbd.o common-obj-y +=3D hid.o common-obj-$(CONFIG_LM832X) +=3D lm832x.o -common-obj-$(CONFIG_PCKBD) +=3D pckbd.o +common-obj-$(CONFIG_I8042) +=3D pckbd.o common-obj-$(CONFIG_PL050) +=3D pl050.o common-obj-y +=3D ps2.o common-obj-$(CONFIG_STELLARIS_INPUT) +=3D stellaris_input.o diff --git a/hw/sparc64/Kconfig b/hw/sparc64/Kconfig index 4a8166ebb7..24ccb11c87 100644 --- a/hw/sparc64/Kconfig +++ b/hw/sparc64/Kconfig @@ -10,7 +10,7 @@ config SUN4U select PCI_SABRE select IDE_CMD646 select PARALLEL - select PCKBD + select I8042 select SIMBA =20 config NIAGARA diff --git a/hw/unicore32/Kconfig b/hw/unicore32/Kconfig index 4443a29dd2..67f4c867c1 100644 --- a/hw/unicore32/Kconfig +++ b/hw/unicore32/Kconfig @@ -1,5 +1,5 @@ config PUV3 bool select ISA_BUS - select PCKBD + select I8042 select PTIMER --=20 2.20.1 From nobody Sun May 5 15:33:49 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 Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1552782339478471.6471526096649; Sat, 16 Mar 2019 17:25:39 -0700 (PDT) Received: from localhost ([127.0.0.1]:48182 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h5JcO-00017W-EA for importer@patchew.org; Sat, 16 Mar 2019 20:25:36 -0400 Received: from eggs.gnu.org ([209.51.188.92]:34548) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h5JaC-0008Nx-UW for qemu-devel@nongnu.org; Sat, 16 Mar 2019 20:23:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h5JaC-0008IR-7Y for qemu-devel@nongnu.org; Sat, 16 Mar 2019 20:23:20 -0400 Received: from mx1.redhat.com ([209.132.183.28]:34962) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1h5JaB-0008Hs-Th for qemu-devel@nongnu.org; Sat, 16 Mar 2019 20:23:20 -0400 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 25867C057F92; Sun, 17 Mar 2019 00:23:19 +0000 (UTC) Received: from x1w.redhat.com (ovpn-204-28.brq.redhat.com [10.40.204.28]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 536825D75C; Sun, 17 Mar 2019 00:23:15 +0000 (UTC) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org, BALATON Zoltan Date: Sun, 17 Mar 2019 01:22:53 +0100 Message-Id: <20190317002259.25994-3-philmd@redhat.com> In-Reply-To: <20190317002259.25994-1-philmd@redhat.com> References: <20190317002259.25994-1-philmd@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.32]); Sun, 17 Mar 2019 00:23: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 2/8] hw/i2c/Kconfig: Add an entry for the SMBus 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: Thomas Huth , "Michael S. Tsirkin" , Aleksandar Rikalo , Mark Cave-Ayland , Eduardo Habkost , Aurelien Jarno , Aleksandar Markovic , Igor Mammedov , Paolo Bonzini , Guan Xuetao , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Artyom Tarasenko , Richard Henderson Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" Content-Type: text/plain; charset="utf-8" The System Management Bus is more or less a derivative of the I2C bus, thus the Kconfig entry depends of I2C. Not all boards providing an I2C bus support SMBus. Use two different Kconfig entries to be able to select I2C without selecting SMBus. Signed-off-by: Philippe Mathieu-Daud=C3=A9 --- default-configs/mips-softmmu-common.mak | 1 + hw/i2c/Kconfig | 8 ++++++-- hw/i2c/Makefile.objs | 3 ++- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/default-configs/mips-softmmu-common.mak b/default-configs/mips= -softmmu-common.mak index bad7ee3360..6f49a3a8c7 100644 --- a/default-configs/mips-softmmu-common.mak +++ b/default-configs/mips-softmmu-common.mak @@ -36,6 +36,7 @@ CONFIG_MIPS_ITU=3Dy CONFIG_R4K=3Dy CONFIG_MALTA=3Dy CONFIG_MIPSSIM=3Dy +CONFIG_SMBUS=3Dy CONFIG_ACPI_SMBUS=3Dy CONFIG_SMBUS_EEPROM=3Dy CONFIG_TEST_DEVICES=3Dy diff --git a/hw/i2c/Kconfig b/hw/i2c/Kconfig index 820b24de5b..2f9fc2bedd 100644 --- a/hw/i2c/Kconfig +++ b/hw/i2c/Kconfig @@ -1,9 +1,13 @@ config I2C bool =20 +config SMBUS + bool + select I2C + config SMBUS_EEPROM bool - depends on I2C + select SMBUS =20 config DDC bool @@ -16,7 +20,7 @@ config VERSATILE_I2C =20 config ACPI_SMBUS bool - select I2C + select SMBUS =20 config BITBANG_I2C bool diff --git a/hw/i2c/Makefile.objs b/hw/i2c/Makefile.objs index 5f76b6a990..a98c786918 100644 --- a/hw/i2c/Makefile.objs +++ b/hw/i2c/Makefile.objs @@ -1,4 +1,5 @@ -common-obj-$(CONFIG_I2C) +=3D core.o smbus_slave.o smbus_master.o +common-obj-$(CONFIG_I2C) +=3D core.o +common-obj-$(CONFIG_SMBUS) +=3D smbus_slave.o smbus_master.o common-obj-$(CONFIG_SMBUS_EEPROM) +=3D smbus_eeprom.o common-obj-$(CONFIG_DDC) +=3D i2c-ddc.o common-obj-$(CONFIG_VERSATILE_I2C) +=3D versatile_i2c.o --=20 2.20.1 From nobody Sun May 5 15:33:49 2024 Delivered-To: importer@patchew.org Received-SPF: temperror (zoho.com: Error in retrieving data from DNS) 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=temperror (zoho.com: Error in retrieving data from DNS) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=redhat.com Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1552782505814792.579929685181; Sat, 16 Mar 2019 17:28:25 -0700 (PDT) Received: from localhost ([127.0.0.1]:48233 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h5Jf1-0003Ug-Kp for importer@patchew.org; Sat, 16 Mar 2019 20:28:19 -0400 Received: from eggs.gnu.org ([209.51.188.92]:34562) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h5JaJ-0008Qg-5K for qemu-devel@nongnu.org; Sat, 16 Mar 2019 20:23:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h5JaI-0008L8-EO for qemu-devel@nongnu.org; Sat, 16 Mar 2019 20:23:27 -0400 Received: from mx1.redhat.com ([209.132.183.28]:33006) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1h5JaI-0008Kp-6J for qemu-devel@nongnu.org; Sat, 16 Mar 2019 20:23:26 -0400 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 6D6603086275; Sun, 17 Mar 2019 00:23:25 +0000 (UTC) Received: from x1w.redhat.com (ovpn-204-28.brq.redhat.com [10.40.204.28]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 94CE05D704; Sun, 17 Mar 2019 00:23:19 +0000 (UTC) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org, BALATON Zoltan Date: Sun, 17 Mar 2019 01:22:54 +0100 Message-Id: <20190317002259.25994-4-philmd@redhat.com> In-Reply-To: <20190317002259.25994-1-philmd@redhat.com> References: <20190317002259.25994-1-philmd@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.49]); Sun, 17 Mar 2019 00:23:25 +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/8] hw/acpi: Simplify the Makefile logic 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: Thomas Huth , "Michael S. Tsirkin" , Aleksandar Rikalo , Mark Cave-Ayland , Eduardo Habkost , Aurelien Jarno , Aleksandar Markovic , Igor Mammedov , Paolo Bonzini , Guan Xuetao , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Artyom Tarasenko , Richard Henderson Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" Content-Type: text/plain; charset="utf-8" Now that we use Kconfig, we can simplify this Makefile. Suggested-by: Paolo Bonzini Signed-off-by: Philippe Mathieu-Daud=C3=A9 --- hw/acpi/Makefile.objs | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/hw/acpi/Makefile.objs b/hw/acpi/Makefile.objs index 2d46e3789a..c86edfbed9 100644 --- a/hw/acpi/Makefile.objs +++ b/hw/acpi/Makefile.objs @@ -1,4 +1,3 @@ -ifeq ($(CONFIG_ACPI),y) common-obj-$(CONFIG_ACPI_X86) +=3D core.o piix4.o pcihp.o common-obj-$(CONFIG_ACPI_X86_ICH) +=3D ich9.o tco.o common-obj-$(CONFIG_ACPI_CPU_HOTPLUG) +=3D cpu_hotplug.o @@ -6,16 +5,11 @@ common-obj-$(CONFIG_ACPI_MEMORY_HOTPLUG) +=3D memory_hotp= lug.o common-obj-$(CONFIG_ACPI_CPU_HOTPLUG) +=3D cpu.o common-obj-$(CONFIG_ACPI_NVDIMM) +=3D nvdimm.o common-obj-$(CONFIG_ACPI_VMGENID) +=3D vmgenid.o -common-obj-$(call lnot,$(CONFIG_ACPI_X86)) +=3D acpi-stub.o - common-obj-y +=3D acpi_interface.o common-obj-y +=3D bios-linker-loader.o common-obj-y +=3D aml-build.o common-obj-$(CONFIG_TPM) +=3D tpm.o - common-obj-$(CONFIG_IPMI) +=3D ipmi.o + common-obj-$(call lnot,$(CONFIG_IPMI)) +=3D ipmi-stub.o -else -common-obj-y +=3D acpi-stub.o -endif -common-obj-$(CONFIG_ALL) +=3D acpi-stub.o ipmi-stub.o +common-obj-$(call lnot,$(CONFIG_ACPI)) +=3D acpi-stub.o --=20 2.20.1 From nobody Sun May 5 15:33:49 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 Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1552782355644700.16611578999; Sat, 16 Mar 2019 17:25:55 -0700 (PDT) Received: from localhost ([127.0.0.1]:48212 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h5Jcb-0001Ic-AH for importer@patchew.org; Sat, 16 Mar 2019 20:25:49 -0400 Received: from eggs.gnu.org ([209.51.188.92]:34573) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h5JaT-0008Vl-7N for qemu-devel@nongnu.org; Sat, 16 Mar 2019 20:23:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h5JaQ-0008Nn-Hq for qemu-devel@nongnu.org; Sat, 16 Mar 2019 20:23:36 -0400 Received: from mx1.redhat.com ([209.132.183.28]:32856) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1h5JaO-0008Mr-L8 for qemu-devel@nongnu.org; Sat, 16 Mar 2019 20:23:32 -0400 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id B2E9430832C5; Sun, 17 Mar 2019 00:23:31 +0000 (UTC) Received: from x1w.redhat.com (ovpn-204-28.brq.redhat.com [10.40.204.28]) by smtp.corp.redhat.com (Postfix) with ESMTPS id DFBEC5D75C; Sun, 17 Mar 2019 00:23:25 +0000 (UTC) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org, BALATON Zoltan Date: Sun, 17 Mar 2019 01:22:55 +0100 Message-Id: <20190317002259.25994-5-philmd@redhat.com> In-Reply-To: <20190317002259.25994-1-philmd@redhat.com> References: <20190317002259.25994-1-philmd@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.44]); Sun, 17 Mar 2019 00:23:31 +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/8] hw/isa/southbridge: Rename ACPI_X86_ICH to ACPI_ICH9 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: Thomas Huth , "Michael S. Tsirkin" , Aleksandar Rikalo , Mark Cave-Ayland , Eduardo Habkost , Aurelien Jarno , Aleksandar Markovic , Igor Mammedov , Paolo Bonzini , Guan Xuetao , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Artyom Tarasenko , Richard Henderson Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" Content-Type: text/plain; charset="utf-8" The ICH9 chipset is a generic southbridge and can be used by non-X86 hardware. Rename it to make this more obvious. Signed-off-by: Philippe Mathieu-Daud=C3=A9 --- hw/acpi/Kconfig | 2 +- hw/acpi/Makefile.objs | 2 +- hw/i2c/Makefile.objs | 2 +- hw/isa/Kconfig | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/hw/acpi/Kconfig b/hw/acpi/Kconfig index eca3beed75..e24c895772 100644 --- a/hw/acpi/Kconfig +++ b/hw/acpi/Kconfig @@ -8,7 +8,7 @@ config ACPI_X86 select ACPI_CPU_HOTPLUG select ACPI_MEMORY_HOTPLUG =20 -config ACPI_X86_ICH +config ACPI_ICH9 bool select ACPI_X86 =20 diff --git a/hw/acpi/Makefile.objs b/hw/acpi/Makefile.objs index c86edfbed9..dff94d35e7 100644 --- a/hw/acpi/Makefile.objs +++ b/hw/acpi/Makefile.objs @@ -1,5 +1,5 @@ common-obj-$(CONFIG_ACPI_X86) +=3D core.o piix4.o pcihp.o -common-obj-$(CONFIG_ACPI_X86_ICH) +=3D ich9.o tco.o +common-obj-$(CONFIG_ACPI_ICH9) +=3D ich9.o tco.o common-obj-$(CONFIG_ACPI_CPU_HOTPLUG) +=3D cpu_hotplug.o common-obj-$(CONFIG_ACPI_MEMORY_HOTPLUG) +=3D memory_hotplug.o common-obj-$(CONFIG_ACPI_CPU_HOTPLUG) +=3D cpu.o diff --git a/hw/i2c/Makefile.objs b/hw/i2c/Makefile.objs index a98c786918..b632461513 100644 --- a/hw/i2c/Makefile.objs +++ b/hw/i2c/Makefile.objs @@ -3,7 +3,7 @@ common-obj-$(CONFIG_SMBUS) +=3D smbus_slave.o smbus_master.o common-obj-$(CONFIG_SMBUS_EEPROM) +=3D smbus_eeprom.o common-obj-$(CONFIG_DDC) +=3D i2c-ddc.o common-obj-$(CONFIG_VERSATILE_I2C) +=3D versatile_i2c.o -common-obj-$(CONFIG_ACPI_X86_ICH) +=3D smbus_ich9.o +common-obj-$(CONFIG_ACPI_ICH9) +=3D smbus_ich9.o common-obj-$(CONFIG_ACPI_SMBUS) +=3D pm_smbus.o common-obj-$(CONFIG_BITBANG_I2C) +=3D bitbang_i2c.o common-obj-$(CONFIG_EXYNOS4) +=3D exynos4210_i2c.o diff --git a/hw/isa/Kconfig b/hw/isa/Kconfig index 57e09a0cb8..19101d349f 100644 --- a/hw/isa/Kconfig +++ b/hw/isa/Kconfig @@ -50,4 +50,4 @@ config LPC_ICH9 # for ICH9. select ISA_BUS select ACPI_SMBUS - select ACPI_X86_ICH + select ACPI_ICH9 --=20 2.20.1 From nobody Sun May 5 15:33:49 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 Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1552782525133981.1289608036814; Sat, 16 Mar 2019 17:28:45 -0700 (PDT) Received: from localhost ([127.0.0.1]:48237 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h5JfO-0003lb-3m for importer@patchew.org; Sat, 16 Mar 2019 20:28:42 -0400 Received: from eggs.gnu.org ([209.51.188.92]:34590) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h5JaY-00008m-8P for qemu-devel@nongnu.org; Sat, 16 Mar 2019 20:23:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h5JaW-0008Rv-ER for qemu-devel@nongnu.org; Sat, 16 Mar 2019 20:23:42 -0400 Received: from mx1.redhat.com ([209.132.183.28]:55214) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1h5JaV-0008OR-1P for qemu-devel@nongnu.org; Sat, 16 Mar 2019 20:23:40 -0400 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 00ADF3086223; Sun, 17 Mar 2019 00:23:36 +0000 (UTC) Received: from x1w.redhat.com (ovpn-204-28.brq.redhat.com [10.40.204.28]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 2FFDB5D75C; Sun, 17 Mar 2019 00:23:31 +0000 (UTC) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org, BALATON Zoltan Date: Sun, 17 Mar 2019 01:22:56 +0100 Message-Id: <20190317002259.25994-6-philmd@redhat.com> In-Reply-To: <20190317002259.25994-1-philmd@redhat.com> References: <20190317002259.25994-1-philmd@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.42]); Sun, 17 Mar 2019 00:23: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 5/8] hw/acpi/Kconfig: Remove ICH9 dependency on X86 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: Thomas Huth , "Michael S. Tsirkin" , Aleksandar Rikalo , Mark Cave-Ayland , Eduardo Habkost , Aurelien Jarno , Aleksandar Markovic , Igor Mammedov , Paolo Bonzini , Guan Xuetao , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Artyom Tarasenko , Richard Henderson Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" Content-Type: text/plain; charset="utf-8" The ICH9 chipset is a generic southbridge and can be used by non-X86 hardware. Remove the x86 Kconfig dependency. Signed-off-by: Philippe Mathieu-Daud=C3=A9 --- hw/acpi/Kconfig | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hw/acpi/Kconfig b/hw/acpi/Kconfig index e24c895772..b18ddb06da 100644 --- a/hw/acpi/Kconfig +++ b/hw/acpi/Kconfig @@ -10,7 +10,10 @@ config ACPI_X86 =20 config ACPI_ICH9 bool - select ACPI_X86 + select ACPI + select ACPI_NVDIMM + select ACPI_CPU_HOTPLUG + select ACPI_MEMORY_HOTPLUG =20 config ACPI_CPU_HOTPLUG bool --=20 2.20.1 From nobody Sun May 5 15:33:49 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 Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1552782532874943.2062506394792; Sat, 16 Mar 2019 17:28:52 -0700 (PDT) Received: from localhost ([127.0.0.1]:48239 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h5JfX-0003xe-SW for importer@patchew.org; Sat, 16 Mar 2019 20:28:51 -0400 Received: from eggs.gnu.org ([209.51.188.92]:34600) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h5JaZ-0000Ap-QJ for qemu-devel@nongnu.org; Sat, 16 Mar 2019 20:23:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h5JaY-0008T8-K7 for qemu-devel@nongnu.org; Sat, 16 Mar 2019 20:23:43 -0400 Received: from mx1.redhat.com ([209.132.183.28]:42866) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1h5JaY-0008S3-63 for qemu-devel@nongnu.org; Sat, 16 Mar 2019 20:23:42 -0400 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 42BB03082E20; Sun, 17 Mar 2019 00:23:40 +0000 (UTC) Received: from x1w.redhat.com (ovpn-204-28.brq.redhat.com [10.40.204.28]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 705325D75C; Sun, 17 Mar 2019 00:23:36 +0000 (UTC) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org, BALATON Zoltan Date: Sun, 17 Mar 2019 01:22:57 +0100 Message-Id: <20190317002259.25994-7-philmd@redhat.com> In-Reply-To: <20190317002259.25994-1-philmd@redhat.com> References: <20190317002259.25994-1-philmd@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.46]); Sun, 17 Mar 2019 00:23:40 +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 6/8] hw/acpi/Kconfig: Introduce the ACPI_PIIX4 config 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: Thomas Huth , "Michael S. Tsirkin" , Aleksandar Rikalo , Mark Cave-Ayland , Eduardo Habkost , Aurelien Jarno , Aleksandar Markovic , Igor Mammedov , Paolo Bonzini , Guan Xuetao , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Artyom Tarasenko , Richard Henderson Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" Content-Type: text/plain; charset="utf-8" The PIIX4 chipset is a generic southbridge and can be used by non-X86 hardware. Introduce the ACPI_PIIX4 Kconfig. Hardware that requires ACPI but doesn't need the PIIX4 chipset won't compile it. Signed-off-by: Philippe Mathieu-Daud=C3=A9 --- default-configs/mips-softmmu-common.mak | 2 +- hw/acpi/Kconfig | 7 +++++++ hw/acpi/Makefile.objs | 3 ++- hw/i386/Kconfig | 2 ++ 4 files changed, 12 insertions(+), 2 deletions(-) diff --git a/default-configs/mips-softmmu-common.mak b/default-configs/mips= -softmmu-common.mak index 6f49a3a8c7..21c6e3cbe3 100644 --- a/default-configs/mips-softmmu-common.mak +++ b/default-configs/mips-softmmu-common.mak @@ -16,7 +16,7 @@ CONFIG_PCSPK=3Dy CONFIG_I8042=3Dy CONFIG_FDC=3Dy CONFIG_ACPI=3Dy -CONFIG_ACPI_X86=3Dy +CONFIG_ACPI_PIIX4=3Dy CONFIG_ACPI_MEMORY_HOTPLUG=3Dy CONFIG_ACPI_NVDIMM=3Dy CONFIG_ACPI_CPU_HOTPLUG=3Dy diff --git a/hw/acpi/Kconfig b/hw/acpi/Kconfig index b18ddb06da..10f24f3b41 100644 --- a/hw/acpi/Kconfig +++ b/hw/acpi/Kconfig @@ -8,6 +8,13 @@ config ACPI_X86 select ACPI_CPU_HOTPLUG select ACPI_MEMORY_HOTPLUG =20 +config ACPI_PIIX4 + bool + select ACPI + select ACPI_NVDIMM + select ACPI_CPU_HOTPLUG + select ACPI_MEMORY_HOTPLUG + config ACPI_ICH9 bool select ACPI diff --git a/hw/acpi/Makefile.objs b/hw/acpi/Makefile.objs index dff94d35e7..c5c2c1cf03 100644 --- a/hw/acpi/Makefile.objs +++ b/hw/acpi/Makefile.objs @@ -1,4 +1,5 @@ -common-obj-$(CONFIG_ACPI_X86) +=3D core.o piix4.o pcihp.o +common-obj-$(CONFIG_ACPI) +=3D core.o +common-obj-$(CONFIG_ACPI_PIIX4) +=3D piix4.o pcihp.o common-obj-$(CONFIG_ACPI_ICH9) +=3D ich9.o tco.o common-obj-$(CONFIG_ACPI_CPU_HOTPLUG) +=3D cpu_hotplug.o common-obj-$(CONFIG_ACPI_MEMORY_HOTPLUG) +=3D memory_hotplug.o diff --git a/hw/i386/Kconfig b/hw/i386/Kconfig index 7fa5395894..64f9957047 100644 --- a/hw/i386/Kconfig +++ b/hw/i386/Kconfig @@ -69,6 +69,8 @@ config ISAPC # FIXME: it is in the same file as i440fx, and does not compile # if separated depends on I440FX + # QEMU isapc weirdness: it uses PIIX3 with ACPI features from PIIX4 + select ACPI_PIIX4 =20 config Q35 bool --=20 2.20.1 From nobody Sun May 5 15:33:49 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 Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1552782661712992.0528845195311; Sat, 16 Mar 2019 17:31:01 -0700 (PDT) Received: from localhost ([127.0.0.1]:48284 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h5Jha-0005q6-Oo for importer@patchew.org; Sat, 16 Mar 2019 20:30:58 -0400 Received: from eggs.gnu.org ([209.51.188.92]:34614) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h5Jag-0000HX-PD for qemu-devel@nongnu.org; Sat, 16 Mar 2019 20:23:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h5Jaf-0000Af-Qn for qemu-devel@nongnu.org; Sat, 16 Mar 2019 20:23:50 -0400 Received: from mx1.redhat.com ([209.132.183.28]:41312) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1h5Jad-0008VJ-Ta for qemu-devel@nongnu.org; Sat, 16 Mar 2019 20:23:49 -0400 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 872BD83F45; Sun, 17 Mar 2019 00:23:46 +0000 (UTC) Received: from x1w.redhat.com (ovpn-204-28.brq.redhat.com [10.40.204.28]) by smtp.corp.redhat.com (Postfix) with ESMTPS id B4ADD5D704; Sun, 17 Mar 2019 00:23:40 +0000 (UTC) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org, BALATON Zoltan Date: Sun, 17 Mar 2019 01:22:58 +0100 Message-Id: <20190317002259.25994-8-philmd@redhat.com> In-Reply-To: <20190317002259.25994-1-philmd@redhat.com> References: <20190317002259.25994-1-philmd@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.27]); Sun, 17 Mar 2019 00:23:46 +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 7/8] hw/acpi/Kconfig: Add the ACPI_SMBUS depency to ACPI_PIIX4 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: Thomas Huth , "Michael S. Tsirkin" , Aleksandar Rikalo , Mark Cave-Ayland , Eduardo Habkost , Aurelien Jarno , Aleksandar Markovic , Igor Mammedov , Paolo Bonzini , Guan Xuetao , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Artyom Tarasenko , Richard Henderson Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" Content-Type: text/plain; charset="utf-8" The ACPI_SMBUS feature does not come from the I440FX northbridge but from the PIIX4 southbridge. Move the dependency to the PIIX4 entry, so hardware that use the PIIX4 but do not use the I440FX can access the SMBus ACPI feature. Signed-off-by: Philippe Mathieu-Daud=C3=A9 --- hw/acpi/Kconfig | 1 + hw/i386/Kconfig | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/acpi/Kconfig b/hw/acpi/Kconfig index 10f24f3b41..127b678b48 100644 --- a/hw/acpi/Kconfig +++ b/hw/acpi/Kconfig @@ -14,6 +14,7 @@ config ACPI_PIIX4 select ACPI_NVDIMM select ACPI_CPU_HOTPLUG select ACPI_MEMORY_HOTPLUG + select ACPI_SMBUS =20 config ACPI_ICH9 bool diff --git a/hw/i386/Kconfig b/hw/i386/Kconfig index 64f9957047..6e4757e29a 100644 --- a/hw/i386/Kconfig +++ b/hw/i386/Kconfig @@ -51,7 +51,6 @@ config I440FX bool select PC_PCI select PC_ACPI - select ACPI_SMBUS select PCI_PIIX select IDE_PIIX select DIMM --=20 2.20.1 From nobody Sun May 5 15:33:49 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 Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 155278263829987.26045251726862; Sat, 16 Mar 2019 17:30:38 -0700 (PDT) Received: from localhost ([127.0.0.1]:48268 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h5Jh9-0005XQ-25 for importer@patchew.org; Sat, 16 Mar 2019 20:30:31 -0400 Received: from eggs.gnu.org ([209.51.188.92]:34628) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h5Jal-0000Lr-1q for qemu-devel@nongnu.org; Sat, 16 Mar 2019 20:23:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h5Jak-0000FW-03 for qemu-devel@nongnu.org; Sat, 16 Mar 2019 20:23:54 -0400 Received: from mx1.redhat.com ([209.132.183.28]:23980) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1h5Jaj-0000Ef-MJ for qemu-devel@nongnu.org; Sat, 16 Mar 2019 20:23:53 -0400 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id D0B7ADC90B; Sun, 17 Mar 2019 00:23:52 +0000 (UTC) Received: from x1w.redhat.com (ovpn-204-28.brq.redhat.com [10.40.204.28]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 027E95D704; Sun, 17 Mar 2019 00:23:46 +0000 (UTC) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org, BALATON Zoltan Date: Sun, 17 Mar 2019 01:22:59 +0100 Message-Id: <20190317002259.25994-9-philmd@redhat.com> In-Reply-To: <20190317002259.25994-1-philmd@redhat.com> References: <20190317002259.25994-1-philmd@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.38]); Sun, 17 Mar 2019 00:23:52 +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] [RFC PATCH 8/8] hw/isa/Kconfig: Complete the VT82C686B southbridge config 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: Thomas Huth , "Michael S. Tsirkin" , Aleksandar Rikalo , Mark Cave-Ayland , Eduardo Habkost , Aurelien Jarno , Aleksandar Markovic , Igor Mammedov , Paolo Bonzini , Guan Xuetao , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Artyom Tarasenko , Richard Henderson Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" Content-Type: text/plain; charset="utf-8" Complete the VT82C686B southbridge Kconfig entry. For clarity, add the SuperIO dependencies in an internal config: VT82C686_SUPERIO. Signed-off-by: Philippe Mathieu-Daud=C3=A9 --- RFC because APIC/IOAPIC are still linked to X86 --- hw/isa/Kconfig | 26 +++++++++++++++++++++++--- 1 file changed, 23 insertions(+), 3 deletions(-) diff --git a/hw/isa/Kconfig b/hw/isa/Kconfig index 19101d349f..efe0cdedc7 100644 --- a/hw/isa/Kconfig +++ b/hw/isa/Kconfig @@ -30,12 +30,32 @@ config PIIX4 # for PIIX4. select ISA_BUS =20 +config VT82C686_SUPERIO + select SERIAL_ISA + select PARALLEL + select FDC + # TODO AC97 + select SMBUS + select APM + select ACPI + select ACPI_SMBUS + # FIXME APIC/IOAPIC requires X86 + select APIC if PC + select IOAPIC if PC + config VT82C686 bool + select PCI select ISA_BUS - select ACPI_SMBUS - select SERIAL_ISA - select FDC + select I8257 + select I8254 + select I8259 + select I8042 + # TODO DS12885 RTC + select USB_UHCI + select IDE_PCI + select IDE_VIA + select VT82C686_SUPERIO =20 config SMC37C669 bool --=20 2.20.1