From patchwork Fri Dec 16 13:03:48 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bernhard Beschow X-Patchwork-Id: 13075008 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 0F41DC4167B for ; Fri, 16 Dec 2022 13:05:13 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p6AOb-0004i6-3O; Fri, 16 Dec 2022 08:05:02 -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 1p6AOD-0004eH-NZ; Fri, 16 Dec 2022 08:04:39 -0500 Received: from mail-ej1-x62c.google.com ([2a00:1450:4864:20::62c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p6AOB-00086C-Dd; Fri, 16 Dec 2022 08:04:36 -0500 Received: by mail-ej1-x62c.google.com with SMTP id t17so6052649eju.1; Fri, 16 Dec 2022 05:04:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=/TjaWjjANfQWJidGcfmFZt9UT72nwXpGbW7BTpKuEfU=; b=e1Ts2Yg0KmCchmpt2P6bnLuKbnmzKAhEcrVakDFU9QhoFcorGgRXqUEE6a6Apij/lp qVe/fbdh/35cXoPqmrDfTvXdByMEcQmfRVM+mdikiKgvL1NtxKcwfjlBt/eSPMs7ksGa MResfDMZrURhXqqubZ+9xZvosgLa/j7n1NkPdYLZODty1u7Xpwc5nVpNK6qkZzeJtOfp 5ldBYRtPyYYors/0FS5wxZQXffM58RulPKPHvpb9yPSAVc6wNH5YUjjDNv+AcCgjEllU WAIab6ET2cUGRMW6KpeKOnnqleoqR+xjzuQGvU9/DY2u/WCc4RshGpFvuMp6ByoDvXGr 65jw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=/TjaWjjANfQWJidGcfmFZt9UT72nwXpGbW7BTpKuEfU=; b=kttf9VxHA0fylzSb4yKaec5Z4rdgm8hn9/6DKYMX7ZAri12XErTP5qxcp/3eTpqtT7 lLfyniEd43b1TCuFDN16LhauzPLER5OvystfGOwSRny+54ziCxmR2bTceYITKMMspnZw rDy4tbMbpD+s7PHUOg+O04NJ4SmXnRY4We/gnRu3ZLuZw7QT1CaJxlERfi4Kp9FSxaiQ k6jPQgCW2OsxoAnb2a3aJ97+pbi8JPmKazZp/TvHIsK6RGPDFe09lKsum7xy/RNierQr 5GgVkQEXJ26sQ/XajUU7KfcVebquSgKAHANOOfZTrepc+96KIe5N0v2LUKAU4JLBCrxv 4t1w== X-Gm-Message-State: ANoB5pme2WG1+HZzVkXMa9E+1RUfzffm+EJxvVnVSyTZpFBcvDhGPlwm svopRxUxXIXk0fbFRbvdad3V/+mMrIk= X-Google-Smtp-Source: AA0mqf5okRYARDXUddJh0gpgJeZh0hGW1rgC7YTARvXQ4hef9IiOppgECxsNFBgnMTmrkhPYu00NOQ== X-Received: by 2002:a17:906:264e:b0:7c1:d50:6dd3 with SMTP id i14-20020a170906264e00b007c10d506dd3mr25982211ejc.36.1671195871330; Fri, 16 Dec 2022 05:04:31 -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.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Dec 2022 05:04:30 -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 0/7] Clean up dependencies of ACPI controllers Date: Fri, 16 Dec 2022 14:03:48 +0100 Message-Id: <20221216130355.41667-1-shentey@gmail.com> X-Mailer: git-send-email 2.39.0 MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::62c; envelope-from=shentey@gmail.com; helo=mail-ej1-x62c.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 This small series establishes consistency between ICH9, PIIX4 and VT82C686 ACPI controllers to select ACPI, ACPI_SMBUS and APM since they are provided by the device models. Due to the PIIX4 PM cleanup PEGASOS2's dependency can be reduced to just ACPI, eliminating 9 dependencies from the softmmu-ppc build. v2: - Turn "depends on ACPI" into "select ACPI" (Phil) - Remove "select ACPI" from PEGASOS2 (Phil) - Move already reviewed patches to bottom - Split some patches into "add missing dependencies" and "remove redundant dependencies" for ease of review Bernhard Beschow (7): hw/acpi/Kconfig: Rename ACPI_X86_ICH to ACPI_ICH9 hw/acpi/Kconfig: Add missing dependencies to ACPI_ICH9 hw/acpi/Kconfig: Do not needlessly build TYPE_PIIX4_PM in non-PC/Malta machines hw/acpi/Kconfig: Add missing dependencies to ACPI_PIIX4 hw/isa/Kconfig: Add missing dependency to VT82C686 i386, mips: Resolve redundant ACPI and APM dependencies hw/ppc/Kconfig: Remove unused dependencies from PEGASOS2 configs/devices/mips-softmmu/common.mak | 3 --- hw/acpi/Kconfig | 9 ++++++--- hw/acpi/meson.build | 2 +- hw/i2c/meson.build | 2 +- hw/i386/Kconfig | 3 +-- hw/isa/Kconfig | 4 ++-- hw/ppc/Kconfig | 2 -- 7 files changed, 11 insertions(+), 14 deletions(-)