From patchwork Fri Dec 16 13:03:49 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Bernhard Beschow X-Patchwork-Id: 13075010 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 48BE6C4332F for ; Fri, 16 Dec 2022 13:05:38 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p6AOo-0004n4-UJ; Fri, 16 Dec 2022 08:05:15 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p6AOF-0004eV-KC; Fri, 16 Dec 2022 08:04:41 -0500 Received: from mail-ed1-x52f.google.com ([2a00:1450:4864:20::52f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p6AOD-00086n-PQ; Fri, 16 Dec 2022 08:04:39 -0500 Received: by mail-ed1-x52f.google.com with SMTP id a16so3509511edb.9; Fri, 16 Dec 2022 05:04:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=lmWkf40YF9rxEeuvUggH9110DycmE6xIVyiiroawu3w=; b=KfK7fKHS8mq06q3A7KXjIgje8ABQgIsE00IB2S9PuI/Qy5VonElsauuRbTxoq9i6tW 1OvEomiNEhpu6HY8YN4i2tZtMEJBk2hG1yz3Rv9D1p34zSywTO2N7LiuMEDDDjvuzVk1 mdbSBJKR5CgfHItLExF0Q7MjA2ZJxdL59YGh9rSOn5FtNObkbfiD41sOS2yPYAaFhlrh NuhmNXtyIxZofaI4auyfe0NfanEhr4P4e2scl4Pc/zj7ApgftyyKS+a3eWVhTliyKAmn tWN9lXLRlUSKCCYG3ofMh2YDO6aXkWtHZ4JH4SFididbUH4sGmIrEpGXvjysoTc/hbN/ f7Jw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=lmWkf40YF9rxEeuvUggH9110DycmE6xIVyiiroawu3w=; b=JoOrFO+2jBzraYtsdQcfOZJUK+Gde8vxH0O3RlF3SEUKTMK4fdl09GjtT8aA3sr70o U2scf28NRMUnhbOVCsKqPDzXuWRZniNOp3iDTS/nUC1lK3oTkIAFnN4PmBhhd7l489m/ ttRL136ghHUS5+q9WNXFjGs957zQj0ykTQafoLCdDWFgjNw+yxQeakqGr7Uw//UqTtoM vt/JwHl64X3gGaObgcEWWd9LtjMTB3RKzEQgnuxTM+YU3W69Q/cPMxlWd5MzfyQaPHWj ZxJPVDgCoPXGEKcnlSs3FuJFG7u2TkOvLfyNVHK9Bwc0d5YtvDG/8qBHr2zj3GUCx08W NRiw== X-Gm-Message-State: ANoB5pkJgkvwwWRKmQ5R/JApBhchfSYnYQR6RjVPdoGmjUwtlycGpQU2 3YtHztMKuC8JiXqpP9K+MMrD1z2Z78s= X-Google-Smtp-Source: AA0mqf5qxjSQX6AQurrzPFlNTIPb0R9PynkFintqzSrONCG0qz79TfFTLPnHqo3C52i94PLywttxEg== X-Received: by 2002:a05:6402:540b:b0:45c:835c:c6d0 with SMTP id ev11-20020a056402540b00b0045c835cc6d0mr27963008edb.1.1671195873945; Fri, 16 Dec 2022 05:04:33 -0800 (PST) Received: from localhost.localdomain (dynamic-078-055-138-012.78.55.pool.telefonica.de. [78.55.138.12]) by smtp.gmail.com with ESMTPSA id g11-20020aa7c58b000000b0046b1d63cfc1sm828444edq.88.2022.12.16.05.04.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Dec 2022 05:04:32 -0800 (PST) From: Bernhard Beschow To: qemu-devel@nongnu.org Cc: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Richard Henderson , Paolo Bonzini , "Michael S. Tsirkin" , Igor Mammedov , Eduardo Habkost , Jiaxun Yang , qemu-trivial@nongnu.org, Ani Sinha , Marcel Apfelbaum , Bernhard Beschow Subject: [PATCH v2 1/7] hw/acpi/Kconfig: Rename ACPI_X86_ICH to ACPI_ICH9 Date: Fri, 16 Dec 2022 14:03:49 +0100 Message-Id: <20221216130355.41667-2-shentey@gmail.com> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20221216130355.41667-1-shentey@gmail.com> References: <20221216130355.41667-1-shentey@gmail.com> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::52f; envelope-from=shentey@gmail.com; helo=mail-ed1-x52f.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Although the ICH9 ACPI controller may currently be tied to x86 it doesn't have to. Furthermore, the source files this configuration switch manages contain a '9', so this name fits more. Signed-off-by: Bernhard Beschow Reviewed-by: Philippe Mathieu-Daudé --- hw/acpi/Kconfig | 2 +- hw/acpi/meson.build | 2 +- hw/i2c/meson.build | 2 +- hw/isa/Kconfig | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/hw/acpi/Kconfig b/hw/acpi/Kconfig index 3703aca212..14694c75b4 100644 --- a/hw/acpi/Kconfig +++ b/hw/acpi/Kconfig @@ -13,7 +13,7 @@ config ACPI_X86 select ACPI_PCIHP select ACPI_ERST -config ACPI_X86_ICH +config ACPI_ICH9 bool select ACPI_X86 diff --git a/hw/acpi/meson.build b/hw/acpi/meson.build index f8c820ca94..cfae2f58f6 100644 --- a/hw/acpi/meson.build +++ b/hw/acpi/meson.build @@ -22,7 +22,7 @@ acpi_ss.add(when: 'CONFIG_ACPI_PIIX4', if_true: files('piix4.c')) acpi_ss.add(when: 'CONFIG_ACPI_PCIHP', if_true: files('pcihp.c')) acpi_ss.add(when: 'CONFIG_ACPI_PCIHP', if_false: files('acpi-pci-hotplug-stub.c')) acpi_ss.add(when: 'CONFIG_ACPI_VIOT', if_true: files('viot.c')) -acpi_ss.add(when: 'CONFIG_ACPI_X86_ICH', if_true: files('ich9.c', 'tco.c')) +acpi_ss.add(when: 'CONFIG_ACPI_ICH9', if_true: files('ich9.c', 'tco.c')) acpi_ss.add(when: 'CONFIG_ACPI_ERST', if_true: files('erst.c')) acpi_ss.add(when: 'CONFIG_IPMI', if_true: files('ipmi.c'), if_false: files('ipmi-stub.c')) acpi_ss.add(when: 'CONFIG_PC', if_false: files('acpi-x86-stub.c')) diff --git a/hw/i2c/meson.build b/hw/i2c/meson.build index d3df273251..6e7340aaac 100644 --- a/hw/i2c/meson.build +++ b/hw/i2c/meson.build @@ -2,7 +2,7 @@ i2c_ss = ss.source_set() i2c_ss.add(when: 'CONFIG_I2C', if_true: files('core.c')) i2c_ss.add(when: 'CONFIG_SMBUS', if_true: files('smbus_slave.c', 'smbus_master.c')) i2c_ss.add(when: 'CONFIG_ACPI_SMBUS', if_true: files('pm_smbus.c')) -i2c_ss.add(when: 'CONFIG_ACPI_X86_ICH', if_true: files('smbus_ich9.c')) +i2c_ss.add(when: 'CONFIG_ACPI_ICH9', if_true: files('smbus_ich9.c')) i2c_ss.add(when: 'CONFIG_ASPEED_SOC', if_true: files('aspeed_i2c.c')) i2c_ss.add(when: 'CONFIG_BITBANG_I2C', if_true: files('bitbang_i2c.c')) i2c_ss.add(when: 'CONFIG_EXYNOS4', if_true: files('exynos4210_i2c.c')) diff --git a/hw/isa/Kconfig b/hw/isa/Kconfig index 18b5c6bf3f..01f330d941 100644 --- a/hw/isa/Kconfig +++ b/hw/isa/Kconfig @@ -78,4 +78,4 @@ config LPC_ICH9 select I8257 select ISA_BUS select ACPI_SMBUS - select ACPI_X86_ICH + select ACPI_ICH9 From patchwork Fri Dec 16 13:03:50 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Bernhard Beschow X-Patchwork-Id: 13075015 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 03418C001B2 for ; Fri, 16 Dec 2022 13:07:21 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p6AOr-0004rP-Ny; Fri, 16 Dec 2022 08:05:17 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p6AOF-0004ec-VO; Fri, 16 Dec 2022 08:04:41 -0500 Received: from mail-ed1-x535.google.com ([2a00:1450:4864:20::535]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p6AOE-00086y-5u; Fri, 16 Dec 2022 08:04:39 -0500 Received: by mail-ed1-x535.google.com with SMTP id i9so3546413edj.4; Fri, 16 Dec 2022 05:04:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=+ywCRLtFydrCjRdIuico86w3nftrrd3f/Hll0wOrVdE=; b=j32r64eVbidYZePsyL7EqeEiN0/NxNaEv36NLDsDJlwNHuJOuuuqhN7I6JGnZNkd8l elS7rpToQGwzQ2VWmlhw00dft8jpKvgUCyPyWA4fYU6rvyA/pA/B3C+8dCc6glUM0Iuj hs285J77Dl9cpm8oT9xsKhMlbd96wjZWY5J3Xp5WqWVoydEd53Oc63y7OLBnmhq02pWH OS10MfVdk5H9oTzIvHdWF1/ZUonPlC4wfKQkIdUWSRotKmNO15LXNbRap4ifzuT1JyBd aIKBH34+TaRo8gZh8uXMkTB8wekVfvCLuYcX+nLB/yMrrdk+yzdNQJPU+2zA0esxVcED V5FA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=+ywCRLtFydrCjRdIuico86w3nftrrd3f/Hll0wOrVdE=; b=vt2tIf4Vi9IGzdBaGcKHSadvbZaI3gw02Q+JT53eZnOlhtxY20TlfcEouAFquODKeU j98Xd5mVsa5nOm8gHVWvFmiuNg7IvnVBf9GSF77t+Q8US6QJ7t2q3lRAvoS/J9PMF3P1 sg78W/NkxCunkVlC1T7DkOMUMfX45M7kJ4uk6N7ZWtcbvOdroNDJ4n5Cs4XlzJQJSf2p 6emrA5QunF04cTsAamTvwy0rktaxB8Oc9O8XnddQFROCCFJntpxw4pASxQR+dsqFp9RR yu2e2lhOmownqmhoBT321rhks0GZEIqgjJf4ao88DnkfnA82YLE4fwj8fvtNWQS7+gLw HRwA== X-Gm-Message-State: ANoB5plDGqM+s8Bwdm1vJqRRqGrXtQ//+iw38InuudIUn4ZWfZkYPf8t 5o25ulFDNiqn1PPbrj4dOSAcJvGvv98= X-Google-Smtp-Source: AA0mqf5rU82ACx+3HhpQK2N9551KzBJV4NKjOcecIPxbwVY48kr1KEQ6hoqyYb29yg+lMvvlbGsFtQ== X-Received: by 2002:a05:6402:320c:b0:46f:d71c:e732 with SMTP id g12-20020a056402320c00b0046fd71ce732mr26078143eda.31.1671195875953; Fri, 16 Dec 2022 05:04:35 -0800 (PST) Received: from localhost.localdomain (dynamic-078-055-138-012.78.55.pool.telefonica.de. [78.55.138.12]) by smtp.gmail.com with ESMTPSA id g11-20020aa7c58b000000b0046b1d63cfc1sm828444edq.88.2022.12.16.05.04.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Dec 2022 05:04:35 -0800 (PST) From: Bernhard Beschow To: qemu-devel@nongnu.org Cc: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Richard Henderson , Paolo Bonzini , "Michael S. Tsirkin" , Igor Mammedov , Eduardo Habkost , Jiaxun Yang , qemu-trivial@nongnu.org, Ani Sinha , Marcel Apfelbaum , Bernhard Beschow Subject: [PATCH v2 2/7] hw/acpi/Kconfig: Add missing dependencies to ACPI_ICH9 Date: Fri, 16 Dec 2022 14:03:50 +0100 Message-Id: <20221216130355.41667-3-shentey@gmail.com> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20221216130355.41667-1-shentey@gmail.com> References: <20221216130355.41667-1-shentey@gmail.com> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::535; envelope-from=shentey@gmail.com; helo=mail-ed1-x535.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org ich9_lpc_realize() uses apm_init() and ich9_smbus_realize() uses pm_smbus_init(), so both APM and ACPI_SMBUS are provided by the device models managed by ACPI_ICH9. Signed-off-by: Bernhard Beschow Reviewed-by: Philippe Mathieu-Daudé --- hw/acpi/Kconfig | 2 ++ hw/isa/Kconfig | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/hw/acpi/Kconfig b/hw/acpi/Kconfig index 14694c75b4..704cbc6236 100644 --- a/hw/acpi/Kconfig +++ b/hw/acpi/Kconfig @@ -15,7 +15,9 @@ config ACPI_X86 config ACPI_ICH9 bool + select ACPI_SMBUS select ACPI_X86 + select APM config ACPI_CPU_HOTPLUG bool diff --git a/hw/isa/Kconfig b/hw/isa/Kconfig index 01f330d941..0a6a04947c 100644 --- a/hw/isa/Kconfig +++ b/hw/isa/Kconfig @@ -77,5 +77,4 @@ config LPC_ICH9 # for ICH9. select I8257 select ISA_BUS - select ACPI_SMBUS select ACPI_ICH9 From patchwork Fri Dec 16 13:03:51 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bernhard Beschow X-Patchwork-Id: 13075009 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E905FC001B2 for ; Fri, 16 Dec 2022 13:05:26 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p6AOi-0004jn-2G; Fri, 16 Dec 2022 08:05:12 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p6AOH-0004fs-Mb; Fri, 16 Dec 2022 08:04:41 -0500 Received: from mail-ed1-x531.google.com ([2a00:1450:4864:20::531]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p6AOG-00087A-0r; Fri, 16 Dec 2022 08:04:41 -0500 Received: by mail-ed1-x531.google.com with SMTP id c66so3542164edf.5; Fri, 16 Dec 2022 05:04:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=oJiZVmApEjALEzHYNXTV+R4bMMwnVoZOSSUYbCCbzzk=; b=P2YkkhOx76iLEaq0w8O8dVHot9xc1QFNyDWi19nOAwPS44ZPSn/s3CVUDsC/lIjq68 rqLlNvIfJoRFyJfptqdIzEEy1aaLaPTTzT3lyIdSkK9kAttwd5z0CuvlJTJfyNa+QFQU +f4wQh2K7dgpycRfEOqI+8fvzNz/N9QCsNWMUu1n8QbwhUHrEl15qca+oePJE6LE6HAJ 2WkEs4A4F2Uc5I3Z8Ew46iVPJvh1qqXSu4TP7w5+AUfJT/dxG6sKKJ9qq7ABjxrp+lbh 7Nx8Vc1mjeMU7rVDhFQN4jIyrRri/hYfA4XE6Xbr6dfk/ohwZL2XUxXoq0lI/YLwMytP JVDw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=oJiZVmApEjALEzHYNXTV+R4bMMwnVoZOSSUYbCCbzzk=; b=UAciOaw69yzSCO1co2Q/g11G62R6O/czls9Ft9mf94HrcDithaquaRgfPvEr1AzdSK 3ye85KPNdOHDTdT/LIa5pf0DKLkMR2P/NSokd6aNKoL9NNCLNP98qHgDCsXu7DBWhIBw 2khnCKtEs4AvetjE8ndn4KwVKv8p5+z+X9U3YHx3GzivOUx0t/xRB5TdhgtWHog1OkBI 7WSFHgnXBQvrirJQlhVyvpd8ZspOL4xnyYRiSDw/4lgNXHS/QwWXNZDAiZe8oUCpavxQ kPlLTkfOeLlRTea/qsrHf4SDSDGbnlp2FutBekJSkwyec+OZMMd6/EeMsKsP29b785JR 556w== X-Gm-Message-State: ANoB5pmp1wEumU3FuKYsZzSt3mBeutWkdvQx5IAjcsJH3owOqd3kY35p yaortcA15WQ7WRcdIzqJZkxBvKsFTzo= X-Google-Smtp-Source: AA0mqf78CmYjAmi+4nbeqY0bC9nUJ9wtiwrOytdB8z971kfMpnbtUS3Lfr5uKZYjoxX3KyRnizhA/w== X-Received: by 2002:aa7:c917:0:b0:46d:8aeb:bc03 with SMTP id b23-20020aa7c917000000b0046d8aebbc03mr29622009edt.22.1671195877953; Fri, 16 Dec 2022 05:04:37 -0800 (PST) Received: from localhost.localdomain (dynamic-078-055-138-012.78.55.pool.telefonica.de. [78.55.138.12]) by smtp.gmail.com with ESMTPSA id g11-20020aa7c58b000000b0046b1d63cfc1sm828444edq.88.2022.12.16.05.04.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Dec 2022 05:04:37 -0800 (PST) From: Bernhard Beschow To: qemu-devel@nongnu.org Cc: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Richard Henderson , Paolo Bonzini , "Michael S. Tsirkin" , Igor Mammedov , Eduardo Habkost , Jiaxun Yang , qemu-trivial@nongnu.org, Ani Sinha , Marcel Apfelbaum , Bernhard Beschow Subject: [PATCH v2 3/7] hw/acpi/Kconfig: Do not needlessly build TYPE_PIIX4_PM in non-PC/Malta machines Date: Fri, 16 Dec 2022 14:03:51 +0100 Message-Id: <20221216130355.41667-4-shentey@gmail.com> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20221216130355.41667-1-shentey@gmail.com> References: <20221216130355.41667-1-shentey@gmail.com> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::531; envelope-from=shentey@gmail.com; helo=mail-ed1-x531.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org TYPE_PIIX4_PM is only used in machines where PIIX chipsets are used which is currently PC and Malta. There is no point building it for the other ACPI_X86 machines. Note that this also removes unneeded ACPI_PIIX4 from PEGASOS2. Signed-off-by: Bernhard Beschow Reviewed-by: BALATON Zoltan --- 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 704cbc6236..b7006e18c8 100644 --- a/hw/acpi/Kconfig +++ b/hw/acpi/Kconfig @@ -9,7 +9,6 @@ config ACPI_X86 select ACPI_CPU_HOTPLUG select ACPI_MEMORY_HOTPLUG select ACPI_HMAT - select ACPI_PIIX4 select ACPI_PCIHP select ACPI_ERST diff --git a/hw/i386/Kconfig b/hw/i386/Kconfig index d22ac4a4b9..3a92566701 100644 --- a/hw/i386/Kconfig +++ b/hw/i386/Kconfig @@ -69,6 +69,7 @@ config I440FX imply E1000_PCI imply VMPORT imply VMMOUSE + select ACPI_PIIX4 select PC_PCI select PC_ACPI select ACPI_SMBUS From patchwork Fri Dec 16 13:03:52 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Bernhard Beschow X-Patchwork-Id: 13075012 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 4374BC4332F for ; Fri, 16 Dec 2022 13:06:56 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p6AOq-0004po-Ie; Fri, 16 Dec 2022 08:05:16 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p6AOM-0004gw-12; Fri, 16 Dec 2022 08:04:57 -0500 Received: from mail-ed1-x52a.google.com ([2a00:1450:4864:20::52a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p6AOJ-00087V-A5; Fri, 16 Dec 2022 08:04:45 -0500 Received: by mail-ed1-x52a.google.com with SMTP id m19so3514790edj.8; Fri, 16 Dec 2022 05:04:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=vG7cvGFYj3R9xUAjHyS/+8MPMSL1wkhvWNAECoU6/p0=; b=mqyjNsV7ltC4AxCrhykZNo7PKaAapbss2r/9/juS+UXDNKr45CxzmUfj4ULmu+hRVA nhah7tskcv1VP6azprKhpLu6hwKnt4P7prc92BCRVZMACXJCp/qPDVTHWg6qIpvnvY2v mfjw4j1pHVNjdOE9f0Xn2+t2SD/EcOl1E4lEoXX7R63FkYUYwSHmnrNfp0Gf17MHGMGK Bp+gCjAWtsvj9ZuxZAcCcG/U4MUZeX0F2K1rhkzKkPc972EEea0aJFNEJ3cifk1VHGtL EEbRbMBTrcsZivFT9tGlvaf/NGRZ4UTEPP5rFkvVvXJUb1l10P+KzIj/CXSoZoCa4UZ8 0Pxw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=vG7cvGFYj3R9xUAjHyS/+8MPMSL1wkhvWNAECoU6/p0=; b=vuM+uVo9WH7bakaLROXzUQRhveA9jEeC13yhu20lo9LCRwNqnd51rWNC1by0SEzRI1 f90y0IjZeKfjNU9HoSbU+pU5W+yzcyxGlS2uLmPjKC8U29xBwA376OXvH4ywYtctUvxJ IExXLr98D+IETDRQOUdV8vhloyUx/onyZCqRCqwNet3B5kalmLRkEGON7VcLF0Osz9eU mlT/k/KxaNZwFp6Gs2xU5N4SQDZ6bvHg5GiAsfl1Fhva6IGNbuK44IN22raTVjPOlIh5 BJbh7yx/vvnnvJZMIiHXzWXvRkSmLb8MxfmpgJqF1UV0oPMQr0BIM9yNSCUz9aB1192S r9fA== X-Gm-Message-State: ANoB5pkb3Qgk+Ude8Q3TxaDKDHyr0RGWry/vcbR8TQuGFKxez5zzowN3 RraaIzkxTJFl31Kys1FYA/jbOiHj0s4= X-Google-Smtp-Source: AA0mqf7TZgsyA+Lqukj9YqxS0QY/9g8viA6GnJSCasA5kFAWxnsZ2rKlRpmic9HZjwsiza3buCJ7kw== X-Received: by 2002:a05:6402:c0b:b0:46c:a763:5889 with SMTP id co11-20020a0564020c0b00b0046ca7635889mr40997084edb.25.1671195880811; Fri, 16 Dec 2022 05:04:40 -0800 (PST) Received: from localhost.localdomain (dynamic-078-055-138-012.78.55.pool.telefonica.de. [78.55.138.12]) by smtp.gmail.com with ESMTPSA id g11-20020aa7c58b000000b0046b1d63cfc1sm828444edq.88.2022.12.16.05.04.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Dec 2022 05:04:39 -0800 (PST) From: Bernhard Beschow To: qemu-devel@nongnu.org Cc: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Richard Henderson , Paolo Bonzini , "Michael S. Tsirkin" , Igor Mammedov , Eduardo Habkost , Jiaxun Yang , qemu-trivial@nongnu.org, Ani Sinha , Marcel Apfelbaum , Bernhard Beschow Subject: [PATCH v2 4/7] hw/acpi/Kconfig: Add missing dependencies to ACPI_PIIX4 Date: Fri, 16 Dec 2022 14:03:52 +0100 Message-Id: <20221216130355.41667-5-shentey@gmail.com> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20221216130355.41667-1-shentey@gmail.com> References: <20221216130355.41667-1-shentey@gmail.com> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::52a; envelope-from=shentey@gmail.com; helo=mail-ed1-x52a.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org piix4_pm_realize() uses apm_init() and pm_smbus_init(), so both APM and ACPI_SMBUS are provided by the device model managed by ACPI_PIIX4. The ACPIREGS are also provided by ACPI_PIIX4, so needs to select ACPI. Signed-off-by: Bernhard Beschow Reviewed-by: Philippe Mathieu-Daudé --- hw/acpi/Kconfig | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/hw/acpi/Kconfig b/hw/acpi/Kconfig index b7006e18c8..1f7803fdab 100644 --- a/hw/acpi/Kconfig +++ b/hw/acpi/Kconfig @@ -31,7 +31,9 @@ config ACPI_NVDIMM config ACPI_PIIX4 bool - depends on ACPI + select ACPI + select ACPI_SMBUS + select APM config ACPI_PCIHP bool From patchwork Fri Dec 16 13:03:53 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Bernhard Beschow X-Patchwork-Id: 13075014 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D94C6C4332F for ; Fri, 16 Dec 2022 13:07:18 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p6AOp-0004no-FQ; Fri, 16 Dec 2022 08:05:15 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p6AOM-0004gx-P5; Fri, 16 Dec 2022 08:04:57 -0500 Received: from mail-ed1-x52b.google.com ([2a00:1450:4864:20::52b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p6AOK-00087y-Np; Fri, 16 Dec 2022 08:04:46 -0500 Received: by mail-ed1-x52b.google.com with SMTP id r26so3495967edc.10; Fri, 16 Dec 2022 05:04:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=+ZEyqEMBEtqlHQnJS2z60kGnt73/BnxbYpNYss1OKsw=; b=DwYwqa0NBdSQqrsOROBbqfQ6bX9Le82HJ80Lo/ZN2ab4dXt7QVvZbzHiIfAdK5vxzd pqEH/y9RLHw52Kqf0g0PJBHaKRwo+svkITawUWZ8vbb8xAIjeUc56o+5vSVRI5nr26ui QM6q5lZXOzFTTKXU/sngpJMyMvZHP1+b4DDEBzAzScaOjC/3EihyXbB0W0lDK0/FQpks n0h4XcY6o/HF++WgtjA5YwhfEXDSSfTMcxbq0oP61eu4mGmGFLdlK/spCin6sfH5uAZT lkw1dJ0HfyLiiDi/3YgKkCveNp/ZYYzM8nWCr52Go03WVN4IISnkHnmOGjRB7DbkZRfi MxBQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=+ZEyqEMBEtqlHQnJS2z60kGnt73/BnxbYpNYss1OKsw=; b=Ge+GlKqu3wsBQZeL3sgU3ngsK+VF0plpvlUwlqnZAfJmqbe84PMDI6Hg1s0hjUGazB d1zXjoHmZNREW3S2AEztpn7EUsN4QACbIE84d9mRuKbdoz+xQU46/7WnRT2oK871PiMo AJu+IqxoE2bpLLt11CHje2DH0dwdrinLLfYxVDnf+08AJEGyet3T9snZOBvHoo9SoX3D X2uyGPamygp+oBCLJelWBFsyIiB7pl5ZsJg2mQdEzHmtMvyk7RkaZPuiNxgO14xLeipk ZCLJS7nBU0jv5na/DNtdMMj+z15PFQsHpVMrPrbgmfXtLhavv7JcNXAd+yNKf+WcDlWl AlSQ== X-Gm-Message-State: ANoB5pntccRHxEpx3Wk2tMOZ/OwjpxSRRLh0uiZrLzS6aSr+Z1JnJS+v sbg0VSMdbJBqHiYqy9O1dkzgPtBGD4g= X-Google-Smtp-Source: AA0mqf6dI/1HdPf3mXOvGQ5f9oo/83YiuWAZyk+cozO3gvVYfwCC4xMtUOymv9ZcJ1DyVxGFCASkIA== X-Received: by 2002:a05:6402:f29:b0:46f:a2c2:405b with SMTP id i41-20020a0564020f2900b0046fa2c2405bmr14928319eda.37.1671195882632; Fri, 16 Dec 2022 05:04:42 -0800 (PST) Received: from localhost.localdomain (dynamic-078-055-138-012.78.55.pool.telefonica.de. [78.55.138.12]) by smtp.gmail.com with ESMTPSA id g11-20020aa7c58b000000b0046b1d63cfc1sm828444edq.88.2022.12.16.05.04.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Dec 2022 05:04:42 -0800 (PST) From: Bernhard Beschow To: qemu-devel@nongnu.org Cc: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Richard Henderson , Paolo Bonzini , "Michael S. Tsirkin" , Igor Mammedov , Eduardo Habkost , Jiaxun Yang , qemu-trivial@nongnu.org, Ani Sinha , Marcel Apfelbaum , Bernhard Beschow Subject: [PATCH v2 5/7] hw/isa/Kconfig: Add missing dependency to VT82C686 Date: Fri, 16 Dec 2022 14:03:53 +0100 Message-Id: <20221216130355.41667-6-shentey@gmail.com> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20221216130355.41667-1-shentey@gmail.com> References: <20221216130355.41667-1-shentey@gmail.com> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::52b; envelope-from=shentey@gmail.com; helo=mail-ed1-x52b.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org The ACPIREGS are provided by TYPE_VIA_PM, so needs to select ACPI. Signed-off-by: Bernhard Beschow Reviewed-by: BALATON Zoltan Reviewed-by: Philippe Mathieu-Daudé --- hw/isa/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/hw/isa/Kconfig b/hw/isa/Kconfig index 0a6a04947c..0156a66889 100644 --- a/hw/isa/Kconfig +++ b/hw/isa/Kconfig @@ -52,6 +52,7 @@ config PIIX4 config VT82C686 bool select ISA_SUPERIO + select ACPI select ACPI_SMBUS select SERIAL_ISA select FDC_ISA From patchwork Fri Dec 16 13:03:54 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Bernhard Beschow X-Patchwork-Id: 13075011 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B25CAC4332F for ; Fri, 16 Dec 2022 13:06:05 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p6AP6-00057h-Cs; Fri, 16 Dec 2022 08:05:32 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p6AOO-0004h8-TK; Fri, 16 Dec 2022 08:04:57 -0500 Received: from mail-ed1-x52f.google.com ([2a00:1450:4864:20::52f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p6AOM-00086n-1s; Fri, 16 Dec 2022 08:04:47 -0500 Received: by mail-ed1-x52f.google.com with SMTP id a16so3510296edb.9; Fri, 16 Dec 2022 05:04:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=wPNfr71dTbp0c653nmxcEtXXT0JsYkmwn1Q9Q5b9mbQ=; b=BscBcrQC7QM5+0pb9EIpa48mprfKkNXZg4Pk537rwdd8kFvrKPGYW1ijdI+cWGR9+Q Xf3IcL9AYCD/+vcvUaDs9Zd7r4mnxQvIlISbaH2/uvPrQsBi00vWz8rHiceSa49ije5U wBqusxPp35X3UWAuZwkP8iAtnrP11RkKwfrpeKvibFX6F+SUYA4N4g0zAVuuGZPOm5n4 2kNMtPoOIqB/Sa6GXiwl/u2m8tYA6Km/dfjD4AftTpEV6JJosxP3Zrm88IN1wVfXafZi Oc+nM1ygHSsvaRrr6nrAP4tnHwT3UGdleyfvsPqndgD0SuVlrZbcv938pH/JSW4ihbf9 dMnQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=wPNfr71dTbp0c653nmxcEtXXT0JsYkmwn1Q9Q5b9mbQ=; b=SIFrKnpEJ1GONcPaZwNGMBCzQ4VELvkEPhM88ZxamsYIoLQI0W5YKlE8VhS9G3tseR 77iNzjeDb8FWp3hrleTXKkDJIxMKWjmOhs79D4mqgUfmeGvCzOfV/NXGRSxe2y1TWsbo Cx01lXvdmvLq/15slzD7vrf4ju1b9JVvy6+FuTT1djOjWuhptOtwolBqvqvtfgPctmIs lEGjx6qHhSQCCKuOEfEOY1olTeNABtYCClV/mM2b3prwGECTCTT3aDCbfk7p7EcuaQ+e B54q/h9jos+so1ueg/5UY3Z6mPsclOhPGWxI01K1hQnouTTftewx9l2Y6eusPcS3J2Xd mLpQ== X-Gm-Message-State: ANoB5pm//tfDRekhMSpdzpRnIq4EbmqWYL1dcAsT/cOLTU4g/FNzURef qJaRka/sTpn5HyxPVjZqFDNX0BAN8eg= X-Google-Smtp-Source: AA0mqf5TbIy3B11WZa7Lwgqakj4bh7T7Z7ym9oAu0z8c3JMNTSdOLzamYmyJw839r4JI5R0rAIdm4Q== X-Received: by 2002:a05:6402:3889:b0:462:9baa:e3ad with SMTP id fd9-20020a056402388900b004629baae3admr24522428edb.10.1671195884820; Fri, 16 Dec 2022 05:04:44 -0800 (PST) Received: from localhost.localdomain (dynamic-078-055-138-012.78.55.pool.telefonica.de. [78.55.138.12]) by smtp.gmail.com with ESMTPSA id g11-20020aa7c58b000000b0046b1d63cfc1sm828444edq.88.2022.12.16.05.04.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Dec 2022 05:04:44 -0800 (PST) From: Bernhard Beschow To: qemu-devel@nongnu.org Cc: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Richard Henderson , Paolo Bonzini , "Michael S. Tsirkin" , Igor Mammedov , Eduardo Habkost , Jiaxun Yang , qemu-trivial@nongnu.org, Ani Sinha , Marcel Apfelbaum , Bernhard Beschow Subject: [PATCH v2 6/7] i386, mips: Resolve redundant ACPI and APM dependencies Date: Fri, 16 Dec 2022 14:03:54 +0100 Message-Id: <20221216130355.41667-7-shentey@gmail.com> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20221216130355.41667-1-shentey@gmail.com> References: <20221216130355.41667-1-shentey@gmail.com> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::52f; envelope-from=shentey@gmail.com; helo=mail-ed1-x52f.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Now that all ACPI controllers select the ACPI and APM dependencies themselves, these explicit dependencies became redundant. Remove them. Signed-off-by: Bernhard Beschow Reviewed-by: Philippe Mathieu-Daudé --- configs/devices/mips-softmmu/common.mak | 3 --- hw/i386/Kconfig | 2 -- 2 files changed, 5 deletions(-) diff --git a/configs/devices/mips-softmmu/common.mak b/configs/devices/mips-softmmu/common.mak index 416161f833..88aff94625 100644 --- a/configs/devices/mips-softmmu/common.mak +++ b/configs/devices/mips-softmmu/common.mak @@ -17,9 +17,7 @@ CONFIG_I8254=y CONFIG_PCSPK=y CONFIG_PCKBD=y CONFIG_FDC=y -CONFIG_ACPI=y CONFIG_ACPI_PIIX4=y -CONFIG_APM=y CONFIG_I8257=y CONFIG_PIIX4=y CONFIG_IDE_ISA=y @@ -32,6 +30,5 @@ CONFIG_MIPS_ITU=y CONFIG_MALTA=y CONFIG_PCNET_PCI=y CONFIG_MIPSSIM=y -CONFIG_ACPI_SMBUS=y CONFIG_SMBUS_EEPROM=y CONFIG_TEST_DEVICES=y diff --git a/hw/i386/Kconfig b/hw/i386/Kconfig index 3a92566701..c4fb5b49bd 100644 --- a/hw/i386/Kconfig +++ b/hw/i386/Kconfig @@ -51,7 +51,6 @@ config PC_PCI bool select APIC select IOAPIC - select APM select PC config PC_ACPI @@ -72,7 +71,6 @@ config I440FX select ACPI_PIIX4 select PC_PCI select PC_ACPI - select ACPI_SMBUS select PCI_I440FX select PIIX3 select IDE_PIIX From patchwork Fri Dec 16 13:03:55 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Bernhard Beschow X-Patchwork-Id: 13075013 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 4D796C4332F for ; Fri, 16 Dec 2022 13:07:00 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p6AOq-0004qL-ND; Fri, 16 Dec 2022 08:05:16 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p6AOQ-0004hG-Kn; Fri, 16 Dec 2022 08:04:57 -0500 Received: from mail-ed1-x533.google.com ([2a00:1450:4864:20::533]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p6AOP-0008A0-0w; Fri, 16 Dec 2022 08:04:50 -0500 Received: by mail-ed1-x533.google.com with SMTP id v8so3562165edi.3; Fri, 16 Dec 2022 05:04:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=iAyiiRFMOei2neaEExJFUVT8MX/WkWUhbFfRb/f3ByU=; b=i0CqKTeF/SprrDS5MlxHNxwSfDgDKxSDl0i5O75wN74NVzRB8mVorpFGho9KkaPdEG cvOmDvA0DS6gOQDy8Y6nb+1nVKbD9fiks0udp1ZaaXQKbbkVINFAIQoJQytzMVhNKnBw mwq+8VP0AJoQPGDLOIRU2x570s+DtgtadIZpIfjiGsb55ifUar2djRorRdMoRPy7wttC 176KymFLQ4VKdzjmJfvoAU/NupTBnw0/mYZ+PlxIoIu+3BRILAi649wxr0CLDFizTgev b1qvChfWjFSjVkiN/glcu5m4U9KeSEapD9EZ/hCslWwVAs7FDFlkXprqbQvb0TE+nrip pPEw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=iAyiiRFMOei2neaEExJFUVT8MX/WkWUhbFfRb/f3ByU=; b=03zn1ATlkfWy9Wl6CcLvZXeG0qeCUXYDzyHH0g46YZNCqLl8ILB3kTGJgCsoIychYN bye/3SWzrpw3aWOD/oRNg8vclCJafcv9n9/JBwQKcQZvT6OJ5tBP9rMb6L6/kHsro6wW aXzu7Ld9USiJ3Xu9E2OMkdA7RISMk7kPauZhg62p4mbWsPcgs0V3QRc7pgohVqs36pDY udB2OVp43Q1C+GIQbJ25+PUVHG/6b6wTDUuQRP1jBk5x1fJUJdkC/G2ZkuztMkUfiVqA nA7tzaZXEWAHiDqUqM6V2wW+rev5qMWHipJvge6waSBn1agb0MEOogVm9okGZZC9H3IY 82mA== X-Gm-Message-State: ANoB5plRkqrG6KzY9Gl+a5TIuYR1bVy+uBUpyBvKT6R+9nxrnCpC8/T+ BiaG51ureRlqCvbVdxVJfHxC4o3hD9Q= X-Google-Smtp-Source: AA0mqf7CKgIqU4HSt9yanvYvE38aFgKlQEkSRS7h7MsTiHAuYrNegktcSut6ftppFOmxWKg9LJJqkA== X-Received: by 2002:a05:6402:c07:b0:46b:203:f388 with SMTP id co7-20020a0564020c0700b0046b0203f388mr27240340edb.39.1671195886816; Fri, 16 Dec 2022 05:04:46 -0800 (PST) Received: from localhost.localdomain (dynamic-078-055-138-012.78.55.pool.telefonica.de. [78.55.138.12]) by smtp.gmail.com with ESMTPSA id g11-20020aa7c58b000000b0046b1d63cfc1sm828444edq.88.2022.12.16.05.04.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Dec 2022 05:04:46 -0800 (PST) From: Bernhard Beschow To: qemu-devel@nongnu.org Cc: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Richard Henderson , Paolo Bonzini , "Michael S. Tsirkin" , Igor Mammedov , Eduardo Habkost , Jiaxun Yang , qemu-trivial@nongnu.org, Ani Sinha , Marcel Apfelbaum , Bernhard Beschow Subject: [PATCH v2 7/7] hw/ppc/Kconfig: Remove unused dependencies from PEGASOS2 Date: Fri, 16 Dec 2022 14:03:55 +0100 Message-Id: <20221216130355.41667-8-shentey@gmail.com> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20221216130355.41667-1-shentey@gmail.com> References: <20221216130355.41667-1-shentey@gmail.com> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::533; envelope-from=shentey@gmail.com; helo=mail-ed1-x533.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Removes the following dependencies from ppc-softmmu: - CONFIG_ACPI_CPU_HOTPLUG - CONFIG_ACPI_CXL - CONFIG_ACPI_HMAT - CONFIG_ACPI_MEMORY_HOTPLUG - CONFIG_ACPI_NVDIMM - CONFIG_ACPI_PCIHP - CONFIG_ACPI_X86 - CONFIG_MEM_DEVICE Signed-off-by: Bernhard Beschow Reviewed-by: BALATON Zoltan Reviewed-by: Philippe Mathieu-Daudé --- hw/ppc/Kconfig | 2 -- 1 file changed, 2 deletions(-) diff --git a/hw/ppc/Kconfig b/hw/ppc/Kconfig index b8d2522f45..0087369f5b 100644 --- a/hw/ppc/Kconfig +++ b/hw/ppc/Kconfig @@ -76,8 +76,6 @@ config PEGASOS2 select VT82C686 select SMBUS_EEPROM select VOF -# This should come with VT82C686 - select ACPI_X86 config PREP bool