From nobody Mon Feb 9 22:04:26 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) client-ip=170.10.133.124; envelope-from=philmd@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=philmd@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1623876329; cv=none; d=zohomail.com; s=zohoarc; b=A7LDQYNm1vf5wvpLbEUrw/7NKOHb6y1jWXjaY6CQcZLF72NVx259mMdRut+Pggdl4GSsdknmynDSkNJqwhzawZFfRqw2VVzi0rsYLQUQM7CSQczkrrBHZVfNpnBpoL7xJaUuXtSnfcH/KlcNK6mQ/70/ivMe0Pr1yKzL44R66EU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1623876329; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=kB/lnjMU7yko7yxzqp5L1QJkdTuRfvKiLBaXoDmFI74=; b=RXac3YWc7CRf6yjDryuj3zLhRdFW58J3vxt7pak84WpFK30Wi4kz5Aig/CEY6hTJErK0PvO+8RiJX/iQtfhaRZU3fLW6nR4jOaLtblkolcOqLafkaVvpEREkWZakvJMb//1N7R1SfwIqQOn7sxL3L/KNcfpjoH9IH0N/MzQh5yE= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=philmd@redhat.com; dmarc=pass header.from= (p=none dis=none) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mx.zohomail.com with SMTPS id 1623876329900714.7737133430622; Wed, 16 Jun 2021 13:45:29 -0700 (PDT) Received: from mail-wr1-f71.google.com (mail-wr1-f71.google.com [209.85.221.71]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-312-r70yHyKWPgyWr8JL_JK1Yg-1; Wed, 16 Jun 2021 16:45:27 -0400 Received: by mail-wr1-f71.google.com with SMTP id z13-20020adfec8d0000b0290114cc6b21c4so1840346wrn.22 for ; Wed, 16 Jun 2021 13:45:27 -0700 (PDT) Return-Path: Return-Path: 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1623876328; 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=PcnTK1L1Oe7vHLum/QRnTZo8fMZ8YCnbEwI5xRutFT5hLqumbeJ6WauJtre8QyPuux+Rwj j7j1q0By4Qj6/DM4OoWX6OA/2FTUycCynXY1ymYKwVGyGaBSmWze8cXfIrOvSfPNqlRjV6 9HkpbCpA8PCGP5DO/Ls6rgCuadRy/Fg= X-MC-Unique: r70yHyKWPgyWr8JL_JK1Yg-1 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=aZYQCim3tDi0QUwviDY+WuTk3qPvqYxmvSIfsfWAvumhaQo2cW2iLMsHy6J/4pnDnV coMg2qu7e7jYh/KFndVGs7B1Kkdj778BRHp3tU0N8B7jF//lsGYnFb09kw1Y2hF0itpX /vLiZxpU2KMhuScBE7yHaBuJlejyNkrnYbAy5kzQP1PYAexXt3bthy41gaDxgUsxKfHW Q358GFqxxE+625U0w1pMY+quzM45uRKv94WUvtz6H2dol+dQVUenfjRJdNl2cAbRrUr2 GYvqeeHApFpPEmP9QknIgwNav7WxiZtzR1JtZG6xggGuTbu4/csS8rF0GnsXKuC+IceT BIrg== X-Gm-Message-State: AOAM532lA65g+oiPk/UfFeL+cCuBxUaoQi2vuWKenhR0rBSoN/mqtJ0H t0J7F8Fq0xR941/6i6VHkXJJQCY87/opFiT/nPRhsyimmmHEaIbpuGh6QSSdXMO8lMnWiu6N9dx P5Dy098Y75QRZUA== X-Received: by 2002:adf:cc8d:: with SMTP id p13mr1127397wrj.239.1623876325755; 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) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Richard Henderson , Paolo Bonzini , Connor Kuehl , Gerd Hoffmann , Brijesh Singh , "Dr . David Alan Gilbert" , Eric Blake , Eduardo Habkost , Markus Armbruster , Igor Mammedov , James Bottomley , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Sergio Lopez , Marcel Apfelbaum , "Michael S. Tsirkin" , Laszlo Ersek , Dov Murik 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: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) ACPI core routines (in core.c) are not really x86-specific. Signed-off-by: Philippe Mathieu-Daud=C3=A9 --- 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')) --=20 2.31.1