From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 30EC8C48BE5 for ; Wed, 16 Jun 2021 21:01:55 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id C2E9F601FC for ; Wed, 16 Jun 2021 21:01:54 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C2E9F601FC Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:55678 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ltcfa-0006Cg-0O for qemu-devel@archiver.kernel.org; Wed, 16 Jun 2021 17:01:54 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50230) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ltcPn-0003nq-PQ for qemu-devel@nongnu.org; Wed, 16 Jun 2021 16:45:39 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:30971) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ltcPj-0001Vp-QS for qemu-devel@nongnu.org; Wed, 16 Jun 2021 16:45:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1623876330; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=kB/lnjMU7yko7yxzqp5L1QJkdTuRfvKiLBaXoDmFI74=; b=fY4BuIpaotiFHq83JGcJcsh1bAw4zVy5eOQpC/zJjJn576CSFiJ7+gdzRQ6TPaMTVy6ejw 96MaF36E8ye5pki68ugcd2z/j7RTkrBrIdeuxyNqOcXCw7alnSXCzKXwQkIYONHoU6VUTI PE2KCw+HrWDj3htL90jZEJ47Pdv3Scs= Received: from mail-wr1-f70.google.com (mail-wr1-f70.google.com [209.85.221.70]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-454-fN2cl6ylM0iyItjP-mKRAQ-1; Wed, 16 Jun 2021 16:45:29 -0400 X-MC-Unique: fN2cl6ylM0iyItjP-mKRAQ-1 Received: by mail-wr1-f70.google.com with SMTP id l2-20020adfe5820000b029011a64161d6aso1878198wrm.6 for ; Wed, 16 Jun 2021 13:45:29 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=kB/lnjMU7yko7yxzqp5L1QJkdTuRfvKiLBaXoDmFI74=; b=QmXFlapurCCv+XZtuJI9rX/ppe4uEYThjUtZ3PKMt2mlABGwR7sUulj2/9EjMKjebT xZA/2HS+jNGUcYwbLF5ZR1Oul932ng7m7EPLRfVROACSpww0+ilBF8i0TUgSkjS4+8cP 6txpbQSKreOio+jN8EE6YPj0RMeRzlwB91UV26Mp3wzGP/ejEFN8fqfATGrGSwuFyg6+ C+Jfk4v8/aYC5JRhIBIoWgCdOmDutW/ewJbIuyOfNqnBEzoo870XapK1fD4ejQwzkskB wEzBMJLARRL55/UjPiSccEQbI5tHejXP43CV+ZqwnOcOGtkNMmI5ejD4kXL5OqWolguC M9Eg== X-Gm-Message-State: AOAM533bxw+Kxh7YqgI8F+oZzsWGt1ZrOZjbe1ETUaERkIQXzOdfLNh5 oUnrleJY1C8n5wWGGbSx6qDYJzqh7tvPPxOaB/j/RH5UvVBafzUw9RHF/f6VEsIFTuqP4vdk+mJ P/Yb/fIBVvQ/i7HwiL3mxr0LjLHyQ6ypoqr/wT58tA/7t/TuH1TENaL29Mj0kPLSr X-Received: by 2002:adf:cc8d:: with SMTP id p13mr1127412wrj.239.1623876325783; Wed, 16 Jun 2021 13:45:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw53BQ1SMsPqvO4fURGSFllRvkC0CXmHJChOxJiIEabG7B6FsV35smhBRFBfOjNPyOy/OCoKw== X-Received: by 2002:adf:cc8d:: with SMTP id p13mr1127374wrj.239.1623876325579; Wed, 16 Jun 2021 13:45:25 -0700 (PDT) Received: from x1w.. (93.red-83-35-24.dynamicip.rima-tde.net. [83.35.24.93]) by smtp.gmail.com with ESMTPSA id x18sm3116234wrw.19.2021.06.16.13.45.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Jun 2021 13:45:25 -0700 (PDT) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Subject: [PATCH v2 20/23] hw/acpi: Do not restrict ACPI core routines to x86 architecture Date: Wed, 16 Jun 2021 22:43:25 +0200 Message-Id: <20210616204328.2611406-21-philmd@redhat.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210616204328.2611406-1-philmd@redhat.com> References: <20210616204328.2611406-1-philmd@redhat.com> MIME-Version: 1.0 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=philmd@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=170.10.133.124; envelope-from=philmd@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -29 X-Spam_score: -3.0 X-Spam_bar: --- X-Spam_report: (-3.0 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.199, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, 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.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Laszlo Ersek , Brijesh Singh , Eduardo Habkost , Sergio Lopez , "Michael S. Tsirkin" , Connor Kuehl , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , James Bottomley , Richard Henderson , "Dr . David Alan Gilbert" , Markus Armbruster , Dov Murik , Gerd Hoffmann , Igor Mammedov , Paolo Bonzini , Eric Blake Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" ACPI core routines (in core.c) are not really x86-specific. Signed-off-by: Philippe Mathieu-Daudé --- hw/acpi/meson.build | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hw/acpi/meson.build b/hw/acpi/meson.build index dd69577212a..c23c67f4283 100644 --- a/hw/acpi/meson.build +++ b/hw/acpi/meson.build @@ -3,6 +3,7 @@ 'acpi_interface.c', 'aml-build.c', 'bios-linker-loader.c', + 'core.c', 'utils.c', )) acpi_ss.add(when: 'CONFIG_ACPI_CPU_HOTPLUG', if_true: files('cpu.c')) @@ -14,7 +15,7 @@ acpi_ss.add(when: 'CONFIG_ACPI_HW_REDUCED', if_true: files('generic_event_device.c')) acpi_ss.add(when: 'CONFIG_ACPI_HMAT', if_true: files('hmat.c')) acpi_ss.add(when: 'CONFIG_ACPI_APEI', if_true: files('ghes.c')) -acpi_ss.add(when: 'CONFIG_ACPI_X86', if_true: files('core.c', 'piix4.c', 'pcihp.c'), if_false: files('acpi-stub.c')) +acpi_ss.add(when: 'CONFIG_ACPI_X86', if_true: files('piix4.c', 'pcihp.c')) acpi_ss.add(when: 'CONFIG_ACPI_X86_ICH', if_true: files('ich9.c', 'tco.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')) -- 2.31.1