From nobody Sun Feb 8 16:48:52 2026 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=1556384646; cv=none; d=zoho.com; s=zohoarc; b=A1RqY1ZDP7NFdfp/tBGOM60y4caivISjddPCx+sKM6vG40agPpQb3NMO7T2oOoJbN6H89A/hFfIX2TXiqUP8/gNzxyu/NIt8HmJPkph/dQMHVQyQCrR3KRLRypTce31J6fJcuauoABsPT19Ie5MK3wq4V1i+yTyTwTimGP9PTWA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1556384646; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To:ARC-Authentication-Results; bh=lYhoiQrEaqJzLMtz6tWelYCRwJ7EGOy98VzXb/Zs7FY=; b=ELHdJRKuM4GJT02+pIFfpoe1+XcdcN/pl8XoZsvW8xzI0JII2sWHDu5zBcg4lrKVmHK6VdkJvfqpP+QoqUiOzwWZvGlhIt2mZJ/EqPkjzvrQCWfOMHqtXCfaGwoSWDZ3doCl+fU+EByyYj1TTg7TxlkFE0cyf24i1lhkMuNK56s= 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 155638464694015.327331076013593; Sat, 27 Apr 2019 10:04:06 -0700 (PDT) Received: from localhost ([127.0.0.1]:34337 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hKQk8-0003mN-2s for importer@patchew.org; Sat, 27 Apr 2019 13:04:04 -0400 Received: from eggs.gnu.org ([209.51.188.92]:37261) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hKQeU-0008IV-0s for qemu-devel@nongnu.org; Sat, 27 Apr 2019 12:58:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hKQbk-00075v-Gy for qemu-devel@nongnu.org; Sat, 27 Apr 2019 12:55:26 -0400 Received: from mx1.redhat.com ([209.132.183.28]:46720) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hKQbi-00073P-Jz for qemu-devel@nongnu.org; Sat, 27 Apr 2019 12:55:22 -0400 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 745D98535C; Sat, 27 Apr 2019 16:55:18 +0000 (UTC) Received: from x1w.redhat.com (ovpn-204-83.brq.redhat.com [10.40.204.83]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 403B2604FE; Sat, 27 Apr 2019 16:55:14 +0000 (UTC) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Date: Sat, 27 Apr 2019 18:55:03 +0200 Message-Id: <20190427165504.29846-2-philmd@redhat.com> In-Reply-To: <20190427165504.29846-1-philmd@redhat.com> References: <20190427165504.29846-1-philmd@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.25]); Sat, 27 Apr 2019 16:55:18 +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/2] 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: Yang Zhong , Thomas Huth , Samuel Ortiz , "Michael S. Tsirkin" , Aleksandar Rikalo , =?UTF-8?q?Herv=C3=A9=20Poussineau?= , Aleksandar Markovic , Igor Mammedov , Paolo Bonzini , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Aurelien Jarno , David Gibson Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" Content-Type: text/plain; charset="utf-8" Since we only require to link with acpi-stub.o when CONFIG_ACPI is disabled, we can simplify the Makefile logic. 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 2d46e3789ae..c86edfbed90 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 Feb 8 16:48:52 2026 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=1556384547; cv=none; d=zoho.com; s=zohoarc; b=RZFqou737loWH85lMSKaq7F/K9LP8RxqN4VDEZp6E4ZVkpPdgxCvyaQF0YVZ8VhoMBfulo34QbbOjyI79J71LBTtSl20eN1t4Iz84XWw9KZ2K1DQyi4hyDgURpcN/Yle1Cvp7rEOthnNmtgxSl/PVUu06xg2AJTI96XjL/jigxA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1556384547; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To:ARC-Authentication-Results; bh=4Bo6+ordZYfkABwu6Exexv0sYc4SMMrq97mdAHPzSdw=; b=hCfj2t2bzCkj1iZu7/ioJnysyeehWnByYMezpRenPaURzYgSbXV9lFcERxgE6OnwtuDRI2k6+yLYQ+fqkOynXR2LMB9+dMyY2j2EmNwuXKOW/x3RA6hEIwAXoZ89ApGcQ6ieEhKEMQmgWmVgLy5z3p0dZRIasyoWbgXVu03nDII= 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 1556384547852273.7819258002172; Sat, 27 Apr 2019 10:02:27 -0700 (PDT) Received: from localhost ([127.0.0.1]:34324 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hKQiW-0002mZ-SV for importer@patchew.org; Sat, 27 Apr 2019 13:02:24 -0400 Received: from eggs.gnu.org ([209.51.188.92]:37225) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hKQeT-0008IJ-EW for qemu-devel@nongnu.org; Sat, 27 Apr 2019 12:58:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hKQbq-00078z-Eu for qemu-devel@nongnu.org; Sat, 27 Apr 2019 12:55:31 -0400 Received: from mx1.redhat.com ([209.132.183.28]:33624) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hKQbk-00074g-G4 for qemu-devel@nongnu.org; Sat, 27 Apr 2019 12:55:26 -0400 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 23EC1C049D7C; Sat, 27 Apr 2019 16:55:22 +0000 (UTC) Received: from x1w.redhat.com (ovpn-204-83.brq.redhat.com [10.40.204.83]) by smtp.corp.redhat.com (Postfix) with ESMTPS id E56C6600C5; Sat, 27 Apr 2019 16:55:18 +0000 (UTC) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Date: Sat, 27 Apr 2019 18:55:04 +0200 Message-Id: <20190427165504.29846-3-philmd@redhat.com> In-Reply-To: <20190427165504.29846-1-philmd@redhat.com> References: <20190427165504.29846-1-philmd@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.31]); Sat, 27 Apr 2019 16:55:22 +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/2] hw/acpi: Always build the acpi/core.o file 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: Yang Zhong , Thomas Huth , Samuel Ortiz , "Michael S. Tsirkin" , Aleksandar Rikalo , =?UTF-8?q?Herv=C3=A9=20Poussineau?= , Aleksandar Markovic , Igor Mammedov , Paolo Bonzini , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Aurelien Jarno , David Gibson Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" Content-Type: text/plain; charset="utf-8" The 'core' ACPI functions are not X86-specific. Let this file be built unconditionally, this will allow us to use ACPI on non-X86 architectures. Suggested-by: Paolo Bonzini Signed-off-by: Philippe Mathieu-Daud=C3=A9 --- hw/acpi/Makefile.objs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hw/acpi/Makefile.objs b/hw/acpi/Makefile.objs index c86edfbed90..09c810ac556 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_X86) +=3D 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 common-obj-$(CONFIG_ACPI_MEMORY_HOTPLUG) +=3D memory_hotplug.o --=20 2.20.1