From patchwork Mon Feb 7 08:27:48 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 12737099 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 D2833C433F5 for ; Mon, 7 Feb 2022 09:46:33 +0000 (UTC) Received: from localhost ([::1]:48146 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nH0bQ-0005vW-PA for qemu-devel@archiver.kernel.org; Mon, 07 Feb 2022 04:46:32 -0500 Received: from eggs.gnu.org ([209.51.188.92]:59594) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nGzNY-00064A-Mv for qemu-devel@nongnu.org; Mon, 07 Feb 2022 03:28:08 -0500 Received: from [2a00:1450:4864:20::42b] (port=33295 helo=mail-wr1-x42b.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nGzNV-00079Q-4f for qemu-devel@nongnu.org; Mon, 07 Feb 2022 03:28:06 -0500 Received: by mail-wr1-x42b.google.com with SMTP id e3so9305034wra.0 for ; Mon, 07 Feb 2022 00:28:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=6mv865Mj8eyWrXc0YXW1cBmN+zQ0eIb4Ed7eVXNjpA0=; b=bUQabZUtmLAGeyn4/716SCx4DT51DWyVSEGD2Q0jdD8NrmnuuMqy+nIzXVo/oWcKUq BxuIjtcHoKRrTFGC7NPqLDLHaRkW61nR/QLr8aGDfAIj7UlSKqhOMLFySJ6bhv4HYniO QESo2G2hDKS4qpwNWLYDWcHDLPfq1JwBYeRW7NCE3seub5MVql9b2AIrwKYBk7LyNrMx 0n0F+S8jXt6qekDjHKavt4lz/Cdf9GhS8Q7fKhGliDYRlT56oH86Fus1hsbi+4QHYX1s uFObOAlzzpApfjsDe+Hi+MPcSLCqcMLXkJVeQCO7CPAdO7bD6jV+Q1WXmDkr2op+Uotu 3rSQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=6mv865Mj8eyWrXc0YXW1cBmN+zQ0eIb4Ed7eVXNjpA0=; b=hRDZtUDwlbTannsFlws4Nk6OICphuqJoqYvvxR7he5fNoSY3kCdqGg92Nfk7Bye84o wxveScMxvzsAPI9CsjEqFsUfNOF64n6wyiD7NrbFEGPdP4w7oFxWxV1F1bmohFrmKy5p t4KJr3H1IyZuQ9tfi2w1Hbi5gfp/Dy3IgoqewZnPeLlp7xTOIVfowABkkZm0J539EU1e UV3e+fHnL+F++6Bl/I5cFhYmrgK1Wm5Jhyxql4uaMh93rqv442Z5YwrZmk7mNbGPK3Ly TyL/k8QlcmYVGJ7PO6+RzH1RxtO7SlPOWNlNvFUFbZmklfDBy4jF2kxnrCEx2skeQUp7 13xw== X-Gm-Message-State: AOAM530x7D8tHNuiRIh5XParyZfAs4kBWXmVpXuaSC+chAYXju6Yy2iN yx2xCwHZH6YELJ/n9ossl8vd+6S0O0A= X-Google-Smtp-Source: ABdhPJzDH1wxM2yf+0LWmR4In72U2fDrEPgmKlHg0KyUHlY2dqE9AlqOEJ5XtWlaNNocNA8oVMZHvA== X-Received: by 2002:a05:6000:186b:: with SMTP id d11mr9074246wri.21.1644222482698; Mon, 07 Feb 2022 00:28:02 -0800 (PST) Received: from localhost.localdomain (154.red-83-50-83.dynamicip.rima-tde.net. [83.50.83.154]) by smtp.gmail.com with ESMTPSA id a26sm19494533wmj.18.2022.02.07.00.28.01 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Mon, 07 Feb 2022 00:28:02 -0800 (PST) To: qemu-devel@nongnu.org Cc: Richard Henderson , Paolo Bonzini , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Thomas Huth Subject: [PATCH v2 1/9] hw/tpm: Clean includes Date: Mon, 7 Feb 2022 09:27:48 +0100 Message-Id: <20220207082756.82600-2-f4bug@amsat.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220207082756.82600-1-f4bug@amsat.org> References: <20220207082756.82600-1-f4bug@amsat.org> MIME-Version: 1.0 X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::42b (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::42b; envelope-from=philippe.mathieu.daude@gmail.com; helo=mail-wr1-x42b.google.com X-Spam_score_int: -6 X-Spam_score: -0.7 X-Spam_bar: / X-Spam_report: (-0.7 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.248, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no 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" Reply-to: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Original-From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= via From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= "tpm_ppi.h" only requires to include "exec/memory.h" to get the MemoryRegion declaration. tpm_ppi.c requires "hw/qdev-core.h" to use the DEVICE() macro, tpm_crb.c is the only source file requiring "exec/address-spaces.h". Reviewed-by: Thomas Huth Reviewed-by: Richard Henderson Signed-off-by: Philippe Mathieu-Daudé --- hw/tpm/tpm_crb.c | 1 + hw/tpm/tpm_ppi.c | 4 ++-- hw/tpm/tpm_ppi.h | 4 ++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/hw/tpm/tpm_crb.c b/hw/tpm/tpm_crb.c index 58ebd1469c..aa9c00aad3 100644 --- a/hw/tpm/tpm_crb.c +++ b/hw/tpm/tpm_crb.c @@ -18,6 +18,7 @@ #include "qemu/module.h" #include "qapi/error.h" +#include "exec/address-spaces.h" #include "hw/qdev-properties.h" #include "hw/pci/pci_ids.h" #include "hw/acpi/tpm.h" diff --git a/hw/tpm/tpm_ppi.c b/hw/tpm/tpm_ppi.c index 274e9aa4b0..6dbb9f41e4 100644 --- a/hw/tpm/tpm_ppi.c +++ b/hw/tpm/tpm_ppi.c @@ -14,9 +14,9 @@ #include "qemu/osdep.h" #include "qapi/error.h" -#include "cpu.h" #include "sysemu/memory_mapping.h" #include "migration/vmstate.h" +#include "hw/qdev-core.h" #include "hw/acpi/tpm.h" #include "tpm_ppi.h" #include "trace.h" @@ -44,7 +44,7 @@ void tpm_ppi_reset(TPMPPI *tpmppi) } } -void tpm_ppi_init(TPMPPI *tpmppi, struct MemoryRegion *m, +void tpm_ppi_init(TPMPPI *tpmppi, MemoryRegion *m, hwaddr addr, Object *obj) { tpmppi->buf = qemu_memalign(qemu_real_host_page_size, diff --git a/hw/tpm/tpm_ppi.h b/hw/tpm/tpm_ppi.h index 6f773c25a0..bf5d4a300f 100644 --- a/hw/tpm/tpm_ppi.h +++ b/hw/tpm/tpm_ppi.h @@ -12,7 +12,7 @@ #ifndef TPM_TPM_PPI_H #define TPM_TPM_PPI_H -#include "exec/address-spaces.h" +#include "exec/memory.h" typedef struct TPMPPI { MemoryRegion ram; @@ -29,7 +29,7 @@ typedef struct TPMPPI { * Register the TPM PPI memory region at @addr on the given address * space for the object @obj. **/ -void tpm_ppi_init(TPMPPI *tpmppi, struct MemoryRegion *m, +void tpm_ppi_init(TPMPPI *tpmppi, MemoryRegion *m, hwaddr addr, Object *obj); /** From patchwork Mon Feb 7 08:27:49 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 12737072 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 C64FDC433EF for ; Mon, 7 Feb 2022 09:18:42 +0000 (UTC) Received: from localhost ([::1]:45552 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nH0AT-0000fV-PH for qemu-devel@archiver.kernel.org; Mon, 07 Feb 2022 04:18:41 -0500 Received: from eggs.gnu.org ([209.51.188.92]:59654) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nGzNb-000673-4U for qemu-devel@nongnu.org; Mon, 07 Feb 2022 03:28:11 -0500 Received: from [2a00:1450:4864:20::32a] (port=51937 helo=mail-wm1-x32a.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nGzNY-0007AF-Qm for qemu-devel@nongnu.org; Mon, 07 Feb 2022 03:28:10 -0500 Received: by mail-wm1-x32a.google.com with SMTP id r131so3707660wma.1 for ; Mon, 07 Feb 2022 00:28:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=qty1f6fSvGGiMyqW41Boveste4KirnUu/W9AgBn+UBs=; b=V3QpLZDPdofGVPET1NeNmUCrVftOLJM1ELx8tJV/ti0Z4et2FuO0oAENSU+x/wUTuH AWoqGK/udHVstg+CuIGImjNZuMfM4zzP0JXLmp7HZP2ZB6aOaN63WTEHjfdKRFAhMuCf Cc5dbM+9mgiydxoDF2mLfJPBfvBqVEZDnrrE9/fG1sP5Wea2co1u9SjepnrwoyQS4br8 5202lL71SxUlCAB3LgPItcG4ULaPwsj7sMiwreUvDNJGKkic2J/ma3Fagm7hS40wu1yM daWIY7ezoQmvcSWZPaE7ZqIdXjyMVadS3zULeKC6nSl1FEkDFMKzWoDRqO70XeYXXV8z t5yQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=qty1f6fSvGGiMyqW41Boveste4KirnUu/W9AgBn+UBs=; b=6qozuuhZlXtygYa14bZumw1hAEofrz/wiyoKQ1m2Qg/zSRBuk7FpjfrO2y60HPQgkI YJEeDjgtcUO309guFjw8rrm0N3+HK3Ht8IiAcZBM8d23sImonSppuMDbaoO3na+UDPun QLb9DtbGW1UOIHjUYxS0KbsEdawyJ2tUIAHwm/E606FdSeUtg3E6NFK95qWFwNNOweXd PmKstIMvZhswt5UgT++P/JG+Nr+/8YIy15CEJsjgzl5L914406HAS66PUUQYVe4slenB RqxURaXgpfQd/l4PbAUH5+0PMoqT++rh5LvC/XUB2eIYSLFkdHoMb3v6C4I4WSJjyH7/ vWSQ== X-Gm-Message-State: AOAM533miWze7rnYGVcCUoNPvLJMyaOa2cP4fP75vyFrhdXHlyYGYlS1 Y0za08vsVP8rFmCgu4ZP0Xvn+p/SSyE= X-Google-Smtp-Source: ABdhPJxqc55SWUnPzPViwZE00YA9/NKuJuJfTzIkeVAxe642i/LWBgscgxby9RHRv5e8HkovFpMyxw== X-Received: by 2002:a05:600c:1e1a:: with SMTP id ay26mr13293842wmb.75.1644222487265; Mon, 07 Feb 2022 00:28:07 -0800 (PST) Received: from localhost.localdomain (154.red-83-50-83.dynamicip.rima-tde.net. [83.50.83.154]) by smtp.gmail.com with ESMTPSA id r17sm18464840wmq.33.2022.02.07.00.28.06 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Mon, 07 Feb 2022 00:28:06 -0800 (PST) To: qemu-devel@nongnu.org Cc: Richard Henderson , Paolo Bonzini , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Jagannathan Raman , Thomas Huth Subject: [PATCH v2 2/9] hw/remote: Add missing include Date: Mon, 7 Feb 2022 09:27:49 +0100 Message-Id: <20220207082756.82600-3-f4bug@amsat.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220207082756.82600-1-f4bug@amsat.org> References: <20220207082756.82600-1-f4bug@amsat.org> MIME-Version: 1.0 X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::32a (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::32a; envelope-from=philippe.mathieu.daude@gmail.com; helo=mail-wm1-x32a.google.com X-Spam_score_int: -6 X-Spam_score: -0.7 X-Spam_bar: / X-Spam_report: (-0.7 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.248, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no 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" Reply-to: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Original-From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= via From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Currently "qemu/error-report.h" is implicitly included, however if headers in include/ get refactored, we get: hw/remote/proxy-memory-listener.c: In function ‘proxy_memory_listener_commit’: hw/remote/proxy-memory-listener.c:183:9: error: implicit declaration of function ‘error_report’; did you mean ‘error_report_err’? [-Werror=implicit-function-declaration] 183 | error_report("Number of fds is more than %d", REMOTE_MAX_FDS); | ^~~~~~~~~~~~ | error_report_err Add the missing "qemu/error-report.h" header to avoid that. Reviewed-by: Jagannathan Raman Reviewed-by: Thomas Huth Reviewed-by: Richard Henderson Signed-off-by: Philippe Mathieu-Daudé --- hw/remote/proxy-memory-listener.c | 1 + 1 file changed, 1 insertion(+) diff --git a/hw/remote/proxy-memory-listener.c b/hw/remote/proxy-memory-listener.c index 882c9b4854..0e893f3189 100644 --- a/hw/remote/proxy-memory-listener.c +++ b/hw/remote/proxy-memory-listener.c @@ -16,6 +16,7 @@ #include "exec/cpu-common.h" #include "exec/ram_addr.h" #include "qapi/error.h" +#include "qemu/error-report.h" #include "hw/remote/mpqemu-link.h" #include "hw/remote/proxy-memory-listener.h" From patchwork Mon Feb 7 08:27:50 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 12737116 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 8322EC433F5 for ; Mon, 7 Feb 2022 10:06:59 +0000 (UTC) Received: from localhost ([::1]:48328 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nH0vC-0000KF-DW for qemu-devel@archiver.kernel.org; Mon, 07 Feb 2022 05:06:58 -0500 Received: from eggs.gnu.org ([209.51.188.92]:59682) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nGzNf-0006Bd-In for qemu-devel@nongnu.org; Mon, 07 Feb 2022 03:28:16 -0500 Received: from [2a00:1450:4864:20::433] (port=42942 helo=mail-wr1-x433.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nGzNd-0007BZ-EI for qemu-devel@nongnu.org; Mon, 07 Feb 2022 03:28:14 -0500 Received: by mail-wr1-x433.google.com with SMTP id h6so4549927wrb.9 for ; Mon, 07 Feb 2022 00:28:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=iMxDSLcIMRCqxW/J17NZXJa6nSKoI/uNXTB9CakcY7c=; b=gamCkvDlirEH/OZBvbyAjLFnvo34tsKfBJZotuD8Ox2YlTjrFN6BuR3J6nyllgqyxO fR4gsut5fHvGEMJmvYhl+YZx4/09P2m7vNNlZL37+kZwBSxfo1m/u5eUfnTpNFIxTzE/ riIt8tTHZt56jzubSv2GImbmH9G3xSFCwmZBjbthzU00Az1j57470rDB0EvL7Qtg2cqP igWPiJCPSG6RdOxq+ejiwJDMJMwWBnSx3FRkuflF/RUfMsVnjGFQZq+8A02goh083Nm2 J4UFrMuQ1sju6HCMBGXb66IOFz6jzjORooBh2KGVVerRQACnpHfnZnwaKLHecB+AMc+e yWAQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=iMxDSLcIMRCqxW/J17NZXJa6nSKoI/uNXTB9CakcY7c=; b=WVAmPrsZNCsVWqmwUAcxV9Td0S7aw53FD1Xrbqy2r9hE09pSoG1G/lt08c7iPGsj7U DdvixK8j5AtDV3Dg4udy0M7Nh+5mSozDtttURctO6SDCV6g+Byhjv5cMJ6A19ipB8ZQK um7KGt4fPynFxwxzAYv1xHSoviAaFGUYQUw8WLIrvThWjjSftiDlfDMmmZ56z0fSmwfI ibkiuiaj0lDy5MR8aaHoFvCOO1G9bWuXqUtlOLN9yE71xIO384Ccw2HPDm5+GWNrBsm8 Vc6xOsZjft0geyierliCsKynee/MnsavvXLma0Ah3b55DQWy2ndygx3cZutj+mBERWv8 I7OA== X-Gm-Message-State: AOAM533ppb+Ef+NsIrI9KxN2BkPedvTpeWyGzH0/hCAkuC2j0fHAgym4 smjkVA8zr4cAuXjk5xwAhgtMmsk1mDc= X-Google-Smtp-Source: ABdhPJwHPT0cf6Y2JfDQao1OJ7PTAH5X5+Fit+XlRYbeGfp98r7zEnoXwo4WlPfFioP5xrxSf0iQjw== X-Received: by 2002:adf:d23c:: with SMTP id k28mr5304475wrh.114.1644222492018; Mon, 07 Feb 2022 00:28:12 -0800 (PST) Received: from localhost.localdomain (154.red-83-50-83.dynamicip.rima-tde.net. [83.50.83.154]) by smtp.gmail.com with ESMTPSA id n8sm18178005wmq.42.2022.02.07.00.28.11 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Mon, 07 Feb 2022 00:28:11 -0800 (PST) To: qemu-devel@nongnu.org Cc: Richard Henderson , Paolo Bonzini , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Igor Mammedov Subject: [PATCH v2 3/9] hw/acpi/memory_hotplug: Remove unused 'hw/acpi/pc-hotplug.h' header Date: Mon, 7 Feb 2022 09:27:50 +0100 Message-Id: <20220207082756.82600-4-f4bug@amsat.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220207082756.82600-1-f4bug@amsat.org> References: <20220207082756.82600-1-f4bug@amsat.org> MIME-Version: 1.0 X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::433 (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::433; envelope-from=philippe.mathieu.daude@gmail.com; helo=mail-wr1-x433.google.com X-Spam_score_int: -6 X-Spam_score: -0.7 X-Spam_bar: / X-Spam_report: (-0.7 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.248, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, TVD_SPACE_RATIO=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no 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" Reply-to: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Original-From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= via From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Reviewed-by: Richard Henderson Reviewed-by: Igor Mammedov Signed-off-by: Philippe Mathieu-Daudé --- hw/acpi/memory_hotplug.c | 1 - 1 file changed, 1 deletion(-) diff --git a/hw/acpi/memory_hotplug.c b/hw/acpi/memory_hotplug.c index a581a2183b..0a7e89a13e 100644 --- a/hw/acpi/memory_hotplug.c +++ b/hw/acpi/memory_hotplug.c @@ -1,6 +1,5 @@ #include "qemu/osdep.h" #include "hw/acpi/memory_hotplug.h" -#include "hw/acpi/pc-hotplug.h" #include "hw/mem/pc-dimm.h" #include "hw/qdev-core.h" #include "migration/vmstate.h" From patchwork Mon Feb 7 08:27:51 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 12737104 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 0CFEBC433F5 for ; Mon, 7 Feb 2022 09:54:24 +0000 (UTC) Received: from localhost ([::1]:36710 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nH0j1-0000km-0X for qemu-devel@archiver.kernel.org; Mon, 07 Feb 2022 04:54:23 -0500 Received: from eggs.gnu.org ([209.51.188.92]:59696) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nGzNj-0006Ez-D2 for qemu-devel@nongnu.org; Mon, 07 Feb 2022 03:28:19 -0500 Received: from [2a00:1450:4864:20::42c] (port=45965 helo=mail-wr1-x42c.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nGzNh-0007Bt-VD for qemu-devel@nongnu.org; Mon, 07 Feb 2022 03:28:19 -0500 Received: by mail-wr1-x42c.google.com with SMTP id m14so23207959wrg.12 for ; Mon, 07 Feb 2022 00:28:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=9lpGeFSPnxNjU9KBC1fpvy5OO+8NnRnkO3XQ2LG2wTo=; b=m7eptIRiJz0cv7V6jYVvcJUAPRIN7pqCUJxEQaK9RvFKYok7xVxA7SGkh3jipAY9kd oSAq007wx+1KhwcKGOwPMyzTVk7bf4zxKh/I9xbgpio5fhvbPZ6EGDJiAxoK65ypbq9E 5Fhr5/wLyM64AEqD38kvT5cmI3KNy8i1UB5qxAzfiI3AFxWzeDdpk/CTY3Xg1FkiZWC6 9xvlQyILHdCBJmdrn/NInDJAE/hA3Ywm1al+yFgek/oltvhSywXI3p4WC6xRWUIqA1Mi /XGH13z5Kz2YP+Ekfv3QRHqYoJY4s1wLiYv3SQPiHX+LISRxkHRJnNrAmjws0TYyd0v5 xAcA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=9lpGeFSPnxNjU9KBC1fpvy5OO+8NnRnkO3XQ2LG2wTo=; b=ANoNKNuxLGQ55py3F9sSD14Y9iuJwmPQftCAT3zTW0mU8pSf/TSESKmxrGtgPHKceQ IQkWqnPuCWM7zS+0akDzhu11QM0Cz0j5CMKqTLJRhHa696kBRM8H5ZxA0vxS3IXiSg9U c9aS3LH6QCE9LkMBitcLO1xlX0pOg8xmIgqyLkVjRmha+mX4C3z4d6It5bfiwQeYMZFe LVUwz5p271x1tqED9FWVXrulV3r+D69UTST5wNzD8svc5k6jhn9zZfZbchY1xZnVGWhz 7fLsZE406qwRK423nSSs2aaYPjZIpPPN3RxrBP7YIxrGstx4knrlcEchDU+bn4mQk3uW Qrsg== X-Gm-Message-State: AOAM532a+k9nJqzbWTvR8vg+8a/KiLIaw1f7/9qHLQdQ8C2HMOgfVRYm d+W2QM+OKNu6OapCme6psYTik8z1n6o= X-Google-Smtp-Source: ABdhPJy/rmGE/u66K4pcxb//OHVne/Gv6RA7UA7pduhjflUkUNF9Ee4JqHCVgunntKh+QHgtjs9G+A== X-Received: by 2002:a5d:6486:: with SMTP id o6mr8507447wri.454.1644222496626; Mon, 07 Feb 2022 00:28:16 -0800 (PST) Received: from localhost.localdomain (154.red-83-50-83.dynamicip.rima-tde.net. [83.50.83.154]) by smtp.gmail.com with ESMTPSA id p15sm3135512wma.27.2022.02.07.00.28.15 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Mon, 07 Feb 2022 00:28:16 -0800 (PST) To: qemu-devel@nongnu.org Cc: Richard Henderson , Paolo Bonzini , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Thomas Huth Subject: [PATCH v2 4/9] qtest: Add missing 'hw/qdev-core.h' include Date: Mon, 7 Feb 2022 09:27:51 +0100 Message-Id: <20220207082756.82600-5-f4bug@amsat.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220207082756.82600-1-f4bug@amsat.org> References: <20220207082756.82600-1-f4bug@amsat.org> MIME-Version: 1.0 X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::42c (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::42c; envelope-from=philippe.mathieu.daude@gmail.com; helo=mail-wr1-x42c.google.com X-Spam_score_int: -6 X-Spam_score: -0.7 X-Spam_bar: / X-Spam_report: (-0.7 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.248, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no 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" Reply-to: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Original-From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= via From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Add "hw/qdev-core.h" to avoid when refactoring include/: softmmu/qtest.c:404:9: error: use of undeclared identifier 'NamedGPIOList' NamedGPIOList *ngl; ^ Reviewed-by: Thomas Huth Reviewed-by: Richard Henderson Signed-off-by: Philippe Mathieu-Daudé --- softmmu/qtest.c | 1 + 1 file changed, 1 insertion(+) diff --git a/softmmu/qtest.c b/softmmu/qtest.c index 72751e1fd8..8b7cb6aa8e 100644 --- a/softmmu/qtest.c +++ b/softmmu/qtest.c @@ -19,6 +19,7 @@ #include "chardev/char-fe.h" #include "exec/ioport.h" #include "exec/memory.h" +#include "hw/qdev-core.h" #include "hw/irq.h" #include "qemu/accel.h" #include "sysemu/cpu-timers.h" From patchwork Mon Feb 7 08:27:52 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 12737086 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 DABF5C433EF for ; Mon, 7 Feb 2022 09:36:31 +0000 (UTC) Received: from localhost ([::1]:33964 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nH0Rh-0004Vl-FG for qemu-devel@archiver.kernel.org; Mon, 07 Feb 2022 04:36:29 -0500 Received: from eggs.gnu.org ([209.51.188.92]:59716) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nGzNo-0006K3-TB for qemu-devel@nongnu.org; Mon, 07 Feb 2022 03:28:25 -0500 Received: from [2a00:1450:4864:20::42c] (port=37425 helo=mail-wr1-x42c.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nGzNm-0007C4-H4 for qemu-devel@nongnu.org; Mon, 07 Feb 2022 03:28:24 -0500 Received: by mail-wr1-x42c.google.com with SMTP id w11so23290375wra.4 for ; Mon, 07 Feb 2022 00:28:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=cOqfk9IZQw1y8ZVrMUlg+07oZzemQNJnEMix2Q34ruc=; b=ecsxDsGkDxpg/CwVemYifApxfjM+j3g1NjrUk2N+eF7rdjVGSERgtHgAazVYPb5rP2 egpR3pr65zRY6mhxhxuabB4nfMuWTlrIdyuamQSRXeYebbcvHNsr7SKeDD8UjPT9NSDY 4bHkROAxEFpWo2WP2+z8sAYDA/S9T8vIhPFM79iE8Do1qLb6EEpYab15ad7eDmVfXvzf SD8uKd1xVX3Rjkpg/ANk0A0zZjH0/z6D+rqy+wn4YGVasvNCn2nx/bLkNMc6rbK5mjMo 6D/PqBqnPf+ovFjXFz/9hYL3jdh15w1hWF8py6JPArOWRMJWva6FgPRY+IlCeU/E0n8x IfLw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=cOqfk9IZQw1y8ZVrMUlg+07oZzemQNJnEMix2Q34ruc=; b=ffCBY42NndMFwhGVcIj+LWbkHAEsWcUW34zATfh0dwxa2Yobb8XVw13XcAdK18A4Mg 8o/aTgudW6udNfj7H8fMgYuuidLVTEIXN+wmaGROs4K/RfpQc85OhSPnpbwK1iSkCyIk mFVgdLc2K/YrO9PDgr2kugOvRcaddQvqqzzsCcH/tFPzj2HsTjh99aopNz8w+J59gKwb Xyw8eqOSydgODFKQWDwCTKE7yaHC8kgrh9QIdGfZnagcbciB6rdQvH/Jqifv5YpUgu+P 811oglJicqyGXbghQMmfWoTKp3uMNYYtLFrEUvdQyo78JMBBxTLG+RQ4a/sA5S5m4us7 Gehw== X-Gm-Message-State: AOAM532VB69irhMY+RFQ0gwuR3SU71aCTJuks5TCGTrf258AdEiRNlSk jTQjMRy632ACkXS3kEjSSzkguRJ1ytU= X-Google-Smtp-Source: ABdhPJzxdWIcWTwksco7peSbudg+lvE68aOewPUKtNGXjPyUN6FfYr7hQ+o/IOYyHx6iEhdiFpcZfQ== X-Received: by 2002:a5d:4247:: with SMTP id s7mr7191442wrr.704.1644222501223; Mon, 07 Feb 2022 00:28:21 -0800 (PST) Received: from localhost.localdomain (154.red-83-50-83.dynamicip.rima-tde.net. [83.50.83.154]) by smtp.gmail.com with ESMTPSA id o12sm10358349wry.115.2022.02.07.00.28.20 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Mon, 07 Feb 2022 00:28:20 -0800 (PST) To: qemu-devel@nongnu.org Cc: Richard Henderson , Paolo Bonzini , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Thomas Huth Subject: [PATCH v2 5/9] exec/ramblock: Add missing includes Date: Mon, 7 Feb 2022 09:27:52 +0100 Message-Id: <20220207082756.82600-6-f4bug@amsat.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220207082756.82600-1-f4bug@amsat.org> References: <20220207082756.82600-1-f4bug@amsat.org> MIME-Version: 1.0 X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::42c (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::42c; envelope-from=philippe.mathieu.daude@gmail.com; helo=mail-wr1-x42c.google.com X-Spam_score_int: -6 X-Spam_score: -0.7 X-Spam_bar: / X-Spam_report: (-0.7 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.248, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no 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" Reply-to: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Original-From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= via From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= "exec/ramblock.h" requires "qemu/rcu.h" for the definition of rcu_head, and "exec/ramlist.h" for the definition of RAMBlockNotifier. Add them to avoid when when refactoring include/: include/exec/ramblock.h:26:21: error: field has incomplete type 'struct rcu_head' struct rcu_head rcu; ^ Reviewed-by: Thomas Huth Reviewed-by: Richard Henderson Signed-off-by: Philippe Mathieu-Daudé --- include/exec/ramblock.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/exec/ramblock.h b/include/exec/ramblock.h index 664701b759..6cbedf9e0c 100644 --- a/include/exec/ramblock.h +++ b/include/exec/ramblock.h @@ -21,6 +21,8 @@ #ifndef CONFIG_USER_ONLY #include "cpu-common.h" +#include "qemu/rcu.h" +#include "exec/ramlist.h" struct RAMBlock { struct rcu_head rcu; From patchwork Mon Feb 7 08:27:53 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 12737087 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 77E60C433F5 for ; Mon, 7 Feb 2022 09:37:46 +0000 (UTC) Received: from localhost ([::1]:34602 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nH0St-0004xW-JN for qemu-devel@archiver.kernel.org; Mon, 07 Feb 2022 04:37:43 -0500 Received: from eggs.gnu.org ([209.51.188.92]:59738) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nGzNt-0006N9-PO for qemu-devel@nongnu.org; Mon, 07 Feb 2022 03:28:41 -0500 Received: from [2a00:1450:4864:20::430] (port=43683 helo=mail-wr1-x430.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nGzNs-0007CJ-0p for qemu-devel@nongnu.org; Mon, 07 Feb 2022 03:28:29 -0500 Received: by mail-wr1-x430.google.com with SMTP id c19so8522126wrb.10 for ; Mon, 07 Feb 2022 00:28:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=93FjjxDTGL2GVAyvoBWTn0etspyUcV6AnQz0JCENEBs=; b=Yi0kNBPevuhks0I+b2AV6kpAlR324bCehcX9+ppAgunxQax8VOcnfavOfpoNH/3p0b BfS4K5XMgMUHOee7mQguaf1zstrny3np/GVr8dconV/tXQe1l7NiDRGU3fk+++chaooK k9ikgxjMiub6VYV0XuLEZnLoU80AppR11gWAkttboXBo5w2Ck+2RocozUo+35lfABqoy 19P7luMF5EhzgTDLYvshRVIDE+n419WKNjJYNQq/75uVuyrcyioswfyKrhOBFKCgJGl+ pp7ApEBYwFFWjvfoi0RanDmS+3ojO2EMMV9vAS+1E50QVMKwWEJuO/iGO2mGbwxh+fxk FL5A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=93FjjxDTGL2GVAyvoBWTn0etspyUcV6AnQz0JCENEBs=; b=35tfmFnTBgH42oyWDjhL0rpTQNe0wcWX/MUGj4+ciT8HHg8ca2w2o81WJKtgyo9YfN EeQ3Ap7Z3spe0rCZRt86aeibV0H/pfuFhKLg6hiu0BtWbaGXSQ9iDR/Mw7UHSVshgGYv nJcP0DEjXgkYfUY8g4Qu+ThV9azqxcqYwUQRPlKGoQMFvAFWJL5kwlpqM6ZGSU+QF2Ls izYxoT5lyuMzi4Rb3QMz5Nbymjq22mqvTQVyTmjZknGMAY5hv8NqDMpDDJl3objxhks3 s+s1Pr3glOUBTU0cDnA+lYDzqNhycMm3V1prGTzYYgNFIKqdqb20yN8tROJzmhFYOSzb Rc9A== X-Gm-Message-State: AOAM530iSpqzCr2kpdQp2levpy/VLIHeP21ejU5RQv6OaJP92SwLmXx3 xTTxBtljeM+8G6Ws91ZHSOzIMQx1HoQ= X-Google-Smtp-Source: ABdhPJzAFp1FyT5avoua4SpxW5AXytgoSp/IeRoBd6xAii8UbaF/HNwoIrAg8orcuAFcWQa20OoTzQ== X-Received: by 2002:a5d:518c:: with SMTP id k12mr8843186wrv.169.1644222505853; Mon, 07 Feb 2022 00:28:25 -0800 (PST) Received: from localhost.localdomain (154.red-83-50-83.dynamicip.rima-tde.net. [83.50.83.154]) by smtp.gmail.com with ESMTPSA id l26sm3455269wmp.31.2022.02.07.00.28.25 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Mon, 07 Feb 2022 00:28:25 -0800 (PST) To: qemu-devel@nongnu.org Cc: Richard Henderson , Paolo Bonzini , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Thomas Huth Subject: [PATCH v2 6/9] core/ptimers: Remove unnecessary 'sysemu/cpus.h' include Date: Mon, 7 Feb 2022 09:27:53 +0100 Message-Id: <20220207082756.82600-7-f4bug@amsat.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220207082756.82600-1-f4bug@amsat.org> References: <20220207082756.82600-1-f4bug@amsat.org> MIME-Version: 1.0 X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::430 (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::430; envelope-from=philippe.mathieu.daude@gmail.com; helo=mail-wr1-x430.google.com X-Spam_score_int: -6 X-Spam_score: -0.7 X-Spam_bar: / X-Spam_report: (-0.7 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.248, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no 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" Reply-to: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Original-From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= via From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Reviewed-by: Thomas Huth Reviewed-by: Richard Henderson Signed-off-by: Philippe Mathieu-Daudé --- hw/core/ptimer.c | 1 - 1 file changed, 1 deletion(-) diff --git a/hw/core/ptimer.c b/hw/core/ptimer.c index 6ba19fd965..eb5ba1aff7 100644 --- a/hw/core/ptimer.c +++ b/hw/core/ptimer.c @@ -14,7 +14,6 @@ #include "sysemu/cpu-timers.h" #include "sysemu/qtest.h" #include "block/aio.h" -#include "sysemu/cpus.h" #include "hw/clock.h" #define DELTA_ADJUST 1 From patchwork Mon Feb 7 08:27:54 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 12737098 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 5A47BC433F5 for ; Mon, 7 Feb 2022 09:43:54 +0000 (UTC) Received: from localhost ([::1]:43252 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nH0Yr-0002Yq-Dr for qemu-devel@archiver.kernel.org; Mon, 07 Feb 2022 04:43:53 -0500 Received: from eggs.gnu.org ([209.51.188.92]:59830) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nGzON-0006Pk-5K for qemu-devel@nongnu.org; Mon, 07 Feb 2022 03:29:11 -0500 Received: from [2a00:1450:4864:20::435] (port=33310 helo=mail-wr1-x435.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nGzOH-0007Ca-CJ for qemu-devel@nongnu.org; Mon, 07 Feb 2022 03:28:58 -0500 Received: by mail-wr1-x435.google.com with SMTP id e3so9307205wra.0 for ; Mon, 07 Feb 2022 00:28:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=hdBB/X6nviMUPi/3RiZOl4t1MJ3o93fU6/TxbiWLfrA=; b=YVc8SUZDCP7NuFqmcM7TkkrEK2Ey9cb+CdR5d8H9gb8bYGKn8JKC/JxsU+8L5ufEhP S+PxSiutA9GvLlcHr2zcQUI6i3Ce0KVBVCYk41VtkWex9+cOeULze1rzgxK1A4gfZlah rFhrEv8WJuw6Q2DimR79Nh8HymLNioRRYxvcHCm2hmw/uozuN+AhKqiIuTxHtFlNzKvV 2O6i4sGbXs7MxiSl8xLYOP1pDKA+KWdC9e3O/8RugMNOciHtggPj1Z22Fjj+gdUifi1n OYisBnRSi/t1srtbAUDFctCNQ81H6xWd+wH7JS/e3XjTGhWnL15kTluyY3hbN1MfiZXP XuoA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=hdBB/X6nviMUPi/3RiZOl4t1MJ3o93fU6/TxbiWLfrA=; b=SeP7+lpnj5sdhqoaOCZNJbty+9mMXrWqFDxcV9YTe2zxmsDg9y0KvyL0RMUNeCIfYc q/h8igs1z3ilUByqTUcV/yCdpi54FR7Pgzoq36BsEmVk4iokQ0q8A7DsGxDC0pbSVVPm vVXXqo3f6Cbl/RoFy9U0UpzHxwhLT/+qvFxI2Dz4sMbHjNNULciXXbSMB3EO6dMg/ftr 9wIGmQr5iUhmx4ocbY9uzEHZtxWpUWSJJEZfz6D8mlXKa0OqfS8+tUL8/ee/cUZMZtmR S9EOXlL+m5r3HAmDJ+7sN8zB8T6EvfPVERdWUnyH+IsBLTuZ+WBcPhJCLmTQn0ICRE/L fGZw== X-Gm-Message-State: AOAM530ETTH88EcekJ6DVXXs2/HSR2GzLrb8zc6rO+4ZbIh1w9jY1jFl luEttL/saRYh+33Jksom6gRzBXdxA5M= X-Google-Smtp-Source: ABdhPJx4ghJoLUeUPyxqEWS3CIh+ka01mIJjf1Ow0Yy2UpPopOh24Qj0e6c72k8QpfO1CV0VieBegg== X-Received: by 2002:adf:f68d:: with SMTP id v13mr8785354wrp.426.1644222510481; Mon, 07 Feb 2022 00:28:30 -0800 (PST) Received: from localhost.localdomain (154.red-83-50-83.dynamicip.rima-tde.net. [83.50.83.154]) by smtp.gmail.com with ESMTPSA id i19sm20250006wmq.45.2022.02.07.00.28.29 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Mon, 07 Feb 2022 00:28:30 -0800 (PST) To: qemu-devel@nongnu.org Cc: Richard Henderson , Paolo Bonzini , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Thomas Huth , Alistair Francis Subject: [PATCH v2 7/9] target: Add missing "qemu/timer.h" include Date: Mon, 7 Feb 2022 09:27:54 +0100 Message-Id: <20220207082756.82600-8-f4bug@amsat.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220207082756.82600-1-f4bug@amsat.org> References: <20220207082756.82600-1-f4bug@amsat.org> MIME-Version: 1.0 X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::435 (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::435; envelope-from=philippe.mathieu.daude@gmail.com; helo=mail-wr1-x435.google.com X-Spam_score_int: -6 X-Spam_score: -0.7 X-Spam_bar: / X-Spam_report: (-0.7 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.248, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no 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" Reply-to: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Original-From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= via From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= timer_new_ns(), cpu_get_host_ticks() and NANOSECONDS_PER_SECOND are declared in "qemu/timer.h". Reviewed-by: Thomas Huth Reviewed-by: Richard Henderson Reviewed-by: Alistair Francis Signed-off-by: Philippe Mathieu-Daudé --- target/arm/cpu.c | 1 + target/arm/helper.c | 1 + target/hppa/cpu.c | 1 + target/riscv/csr.c | 1 + target/sparc/helper.c | 1 + 5 files changed, 5 insertions(+) diff --git a/target/arm/cpu.c b/target/arm/cpu.c index cdbc4cdd01..9555f6707b 100644 --- a/target/arm/cpu.c +++ b/target/arm/cpu.c @@ -20,6 +20,7 @@ #include "qemu/osdep.h" #include "qemu/qemu-print.h" +#include "qemu/timer.h" #include "qemu-common.h" #include "target/arm/idau.h" #include "qemu/module.h" diff --git a/target/arm/helper.c b/target/arm/helper.c index 6dd241fbef..e39faa2a98 100644 --- a/target/arm/helper.c +++ b/target/arm/helper.c @@ -15,6 +15,7 @@ #include "exec/helper-proto.h" #include "qemu/host-utils.h" #include "qemu/main-loop.h" +#include "qemu/timer.h" #include "qemu/bitops.h" #include "qemu/crc32c.h" #include "qemu/qemu-print.h" diff --git a/target/hppa/cpu.c b/target/hppa/cpu.c index 37b763fca0..5f46ba801e 100644 --- a/target/hppa/cpu.c +++ b/target/hppa/cpu.c @@ -21,6 +21,7 @@ #include "qemu/osdep.h" #include "qapi/error.h" #include "qemu/qemu-print.h" +#include "qemu/timer.h" #include "cpu.h" #include "qemu/module.h" #include "exec/exec-all.h" diff --git a/target/riscv/csr.c b/target/riscv/csr.c index a4db40769b..45f04c701a 100644 --- a/target/riscv/csr.c +++ b/target/riscv/csr.c @@ -19,6 +19,7 @@ #include "qemu/osdep.h" #include "qemu/log.h" +#include "qemu/timer.h" #include "cpu.h" #include "qemu/main-loop.h" #include "exec/exec-all.h" diff --git a/target/sparc/helper.c b/target/sparc/helper.c index c7bcaa3a20..c4358bba84 100644 --- a/target/sparc/helper.c +++ b/target/sparc/helper.c @@ -20,6 +20,7 @@ #include "qemu/osdep.h" #include "cpu.h" #include "exec/exec-all.h" +#include "qemu/timer.h" #include "qemu/host-utils.h" #include "exec/helper-proto.h" From patchwork Mon Feb 7 08:27:55 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 12737100 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 91F56C433F5 for ; Mon, 7 Feb 2022 09:48:45 +0000 (UTC) Received: from localhost ([::1]:51652 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nH0dY-0008LU-Hw for qemu-devel@archiver.kernel.org; Mon, 07 Feb 2022 04:48:44 -0500 Received: from eggs.gnu.org ([209.51.188.92]:59824) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nGzON-0006Pe-68 for qemu-devel@nongnu.org; Mon, 07 Feb 2022 03:29:11 -0500 Received: from [2a00:1450:4864:20::436] (port=39458 helo=mail-wr1-x436.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nGzOF-0007Cw-GF for qemu-devel@nongnu.org; Mon, 07 Feb 2022 03:28:53 -0500 Received: by mail-wr1-x436.google.com with SMTP id v19so8368180wrv.6 for ; Mon, 07 Feb 2022 00:28:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=+/GMCFoh/637sxfOZ8qqqNowze1Ji9NqOJcB77QAJgM=; b=RsrEDOiKYXKobuWFpvg/Z4O33ANrlCJsA2btsYcXFloAjy5xK9iuLp6wBWatYvLH9E uu7/gh4comicu58G7kW/eRmnHR8jKVnKxiHRBRUE1uX51NQ7EplLWQD9FrePQT1EiPaH NZzxGY1ZjQDso1aMfeHCRwRsoR7VLBgTzkwev6MXwmMntx+vmRh9KOTndGeHXXwOzIuE I23mWG4nOYnx4FMFoJ5vrBrKbc57FPuwRFWgbVuNNonqv8UvyEW9sZ7DWDexlX3nnlC9 yqwAqg6kXEze4bX188b4lNGg6K1JXzzcCpt3tdbyBHYSvptO8RV4D0AU0Mh3t0MOhYN0 LzBQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=+/GMCFoh/637sxfOZ8qqqNowze1Ji9NqOJcB77QAJgM=; b=gsU/Tmixjzp7VZ6GI6XjVs+c4B8URnYQEy2/PipiBSEqswcEg69Vv0SJZa7q/Ly+3K tCEJpfhzDBjB8IJSzJvsRf93y6EIDrbo4j8CKgysZaf0JIDoUvd+K34k2L6QOpip+Xxx 5RmhBWrDusG86v1i2Qso5g5mAR7P02EkcbmOLuVbDtNprIaP5h5UY2KkWB1d+INo0HLR Qxkc4OBfTzhfRSgrP7dV2x0kWmdiM9SIGRViuRg6EURedQZ3diGsLRG7ovJwlO9n6y7Y 6iIdIDAtRklN5OH+2SVB7nxLlfrzl1yods+vi0F0AThza66+dnIgYu6Y5nHVL+yrGmZm vbSA== X-Gm-Message-State: AOAM5327MO6kt2OEuG02tfOpWHUOVVanOSiHEW+t+bvhvFYhPtap1a+p Pkhvt/IcE94fV6jGzxHYoYl9uH7KTDY= X-Google-Smtp-Source: ABdhPJyaTHaV9Mo4NjS3mMDi6GSmB42kTM2WjOQJdFILbTdAcVBTLoBCLZPhE7U2qVp9WXMeJ3upYw== X-Received: by 2002:adf:a4da:: with SMTP id h26mr9231228wrb.179.1644222515131; Mon, 07 Feb 2022 00:28:35 -0800 (PST) Received: from localhost.localdomain (154.red-83-50-83.dynamicip.rima-tde.net. [83.50.83.154]) by smtp.gmail.com with ESMTPSA id o3sm996595wrc.41.2022.02.07.00.28.34 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Mon, 07 Feb 2022 00:28:34 -0800 (PST) To: qemu-devel@nongnu.org Cc: Richard Henderson , Paolo Bonzini , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Thomas Huth Subject: [PATCH v2 8/9] linux-user: Add missing "qemu/timer.h" include Date: Mon, 7 Feb 2022 09:27:55 +0100 Message-Id: <20220207082756.82600-9-f4bug@amsat.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220207082756.82600-1-f4bug@amsat.org> References: <20220207082756.82600-1-f4bug@amsat.org> MIME-Version: 1.0 X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::436 (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::436; envelope-from=philippe.mathieu.daude@gmail.com; helo=mail-wr1-x436.google.com X-Spam_score_int: -6 X-Spam_score: -0.7 X-Spam_bar: / X-Spam_report: (-0.7 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.248, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no 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" Reply-to: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Original-From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= via From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= "qemu/timer.h" declares cpu_get_host_ticks(). Reviewed-by: Thomas Huth Reviewed-by: Richard Henderson Signed-off-by: Philippe Mathieu-Daudé --- linux-user/i386/cpu_loop.c | 1 + linux-user/ppc/cpu_loop.c | 1 + 2 files changed, 2 insertions(+) diff --git a/linux-user/i386/cpu_loop.c b/linux-user/i386/cpu_loop.c index 29dfd7cd0c..90bffc1956 100644 --- a/linux-user/i386/cpu_loop.c +++ b/linux-user/i386/cpu_loop.c @@ -20,6 +20,7 @@ #include "qemu/osdep.h" #include "qemu-common.h" #include "qemu.h" +#include "qemu/timer.h" #include "user-internals.h" #include "cpu_loop-common.h" #include "signal-common.h" diff --git a/linux-user/ppc/cpu_loop.c b/linux-user/ppc/cpu_loop.c index 46e6ffd6d3..ffe39851ed 100644 --- a/linux-user/ppc/cpu_loop.c +++ b/linux-user/ppc/cpu_loop.c @@ -20,6 +20,7 @@ #include "qemu/osdep.h" #include "qemu-common.h" #include "qemu.h" +#include "qemu/timer.h" #include "user-internals.h" #include "cpu_loop-common.h" #include "signal-common.h" From patchwork Mon Feb 7 08:27:56 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 12737097 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 EEE5CC433EF for ; Mon, 7 Feb 2022 09:43:46 +0000 (UTC) Received: from localhost ([::1]:42728 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nH0Yj-0002Do-Im for qemu-devel@archiver.kernel.org; Mon, 07 Feb 2022 04:43:45 -0500 Received: from eggs.gnu.org ([209.51.188.92]:59826) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nGzON-0006Pf-1b for qemu-devel@nongnu.org; Mon, 07 Feb 2022 03:29:11 -0500 Received: from [2a00:1450:4864:20::32b] (port=37387 helo=mail-wm1-x32b.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nGzOG-0007DA-7T for qemu-devel@nongnu.org; Mon, 07 Feb 2022 03:28:56 -0500 Received: by mail-wm1-x32b.google.com with SMTP id l12-20020a7bc34c000000b003467c58cbdfso13857890wmj.2 for ; Mon, 07 Feb 2022 00:28:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=H2K8P1Ql1xgJ+9Uxax/48Gob8c2u5NSVBtlSs0fhxsc=; b=SeIqN5M5n+R+zWAhOgXp5/xmkucUreIASmZt4Bd53eQGyfiRzxMj6zAYnIVY61iiat HwI9JhWIhbJo6LUYYHKOvyto8mit2yLuZjjx3RqkcHNAHoyyche6SZNBlxjzwtOSpVR6 TPr6Vja4g5/wSEmtyKAEc4NogNl1hmnq2OnCoiDADGe3HmCnchxdhN/YsSGZRn5Pzxm+ uDW8/v6RkpsQne1jm+lWWZFGHXz7PhGXOqEcsEQ9TYPjRX5ph4ngbDNFyrihVTgNzexS ZVVAk48RCmjwassnfXxYqSjb5pOxKG6woerD1qH4O2DxAefxUK93zLmXG1rpLk/U9UIv v4hg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=H2K8P1Ql1xgJ+9Uxax/48Gob8c2u5NSVBtlSs0fhxsc=; b=6fhD3/u8R2sBdL5RAabS2ve5NJcl9YfQ0UcdAOWTDtJYMgVhZjPnhuo4+yW3fsZeuE 4tPfvc9YhYeWOsqejQvnOT+AE2v9lm+L6DORYnpr7sTXdR2IfoGi0bv7f9Mo8S/Ww/VL VmfFFSdt72jQxNabxQHmg45UtYt7DKKy/7iBgyQAzdyWKglLbSJcrhjJP9kgP/eMk1Xm T00GKxEKQGw+wIWOMwMEkfNEHv8ghp93nVNqZXr7sX1+ICW4fvpPNrIX8wkbnry8k79U DoopToMrNHqlRxBi20AC/xgh/dGMnMpaUTL29b8DSXAZGmKtjvFYrvSEnIBihXLo7dnv lbNA== X-Gm-Message-State: AOAM5328JmfVd3UCGKOMYlkxGx57nnilPRcS+dDgwRkQw6ILVWKHBzsr gHNoy2Cfd8+mxGPu/CdW+bif4A2MDFo= X-Google-Smtp-Source: ABdhPJwU5PMy7+rVyrkRtA3wM/VX5uIQ49AJk9RtJ2T/Ak1sJmfBQeQCE3yvWxMa+3BoKchnn0gJ4A== X-Received: by 2002:a05:600c:42c5:: with SMTP id j5mr8153222wme.90.1644222519740; Mon, 07 Feb 2022 00:28:39 -0800 (PST) Received: from localhost.localdomain (154.red-83-50-83.dynamicip.rima-tde.net. [83.50.83.154]) by smtp.gmail.com with ESMTPSA id u18sm8110465wrn.110.2022.02.07.00.28.39 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Mon, 07 Feb 2022 00:28:39 -0800 (PST) To: qemu-devel@nongnu.org Cc: Richard Henderson , Paolo Bonzini , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Thomas Huth Subject: [PATCH v2 9/9] exec/exec-all: Move 'qemu/log.h' include in units requiring it Date: Mon, 7 Feb 2022 09:27:56 +0100 Message-Id: <20220207082756.82600-10-f4bug@amsat.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220207082756.82600-1-f4bug@amsat.org> References: <20220207082756.82600-1-f4bug@amsat.org> MIME-Version: 1.0 X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::32b (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::32b; envelope-from=philippe.mathieu.daude@gmail.com; helo=mail-wm1-x32b.google.com X-Spam_score_int: -6 X-Spam_score: -0.7 X-Spam_bar: / X-Spam_report: (-0.7 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.248, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no 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" Reply-to: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Original-From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= via From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Many files use "qemu/log.h" declarations but neglect to include it (they inherit it via "exec/exec-all.h"). "exec/exec-all.h" is a core component and shouldn't be used that way. Move the "qemu/log.h" inclusion locally to each unit requiring it. Acked-by: Thomas Huth Reviewed-by: Richard Henderson Signed-off-by: Philippe Mathieu-Daudé --- bsd-user/signal.c | 1 + hw/arm/omap1.c | 1 + hw/display/omap_dss.c | 1 + hw/gpio/omap_gpio.c | 1 + hw/input/tsc210x.c | 1 + include/exec/exec-all.h | 2 -- monitor/misc.c | 1 + plugins/api.c | 1 + softmmu/runstate.c | 1 + target/alpha/helper.c | 2 +- target/arm/helper.c | 1 + target/arm/m_helper.c | 1 + target/arm/mte_helper.c | 1 + target/avr/helper.c | 1 + target/cris/helper.c | 1 + target/hexagon/internal.h | 2 ++ target/hexagon/translate.h | 1 + target/hppa/helper.c | 2 +- target/hppa/mem_helper.c | 1 + target/hppa/op_helper.c | 1 + target/i386/helper.c | 1 + target/i386/tcg/int_helper.c | 1 + target/i386/tcg/misc_helper.c | 1 + target/i386/tcg/sysemu/seg_helper.c | 1 + target/i386/tcg/sysemu/svm_helper.c | 1 + target/m68k/op_helper.c | 1 + target/microblaze/cpu.c | 1 + target/microblaze/mmu.c | 1 + target/microblaze/op_helper.c | 1 + target/mips/tcg/exception.c | 1 + target/mips/tcg/sysemu/special_helper.c | 1 + target/mips/tcg/translate.h | 1 + target/openrisc/interrupt.c | 1 + target/openrisc/mmu.c | 1 + target/ppc/excp_helper.c | 1 + target/ppc/misc_helper.c | 1 + target/s390x/tcg/excp_helper.c | 1 + target/s390x/tcg/mem_helper.c | 1 + target/sparc/ldst_helper.c | 1 + target/sparc/mmu_helper.c | 1 + target/tricore/helper.c | 2 +- target/xtensa/dbg_helper.c | 1 + target/xtensa/exc_helper.c | 1 + target/xtensa/fpu_helper.c | 1 + target/xtensa/helper.c | 1 + target/xtensa/mmu_helper.c | 1 + target/xtensa/win_helper.c | 1 + 47 files changed, 47 insertions(+), 5 deletions(-) diff --git a/bsd-user/signal.c b/bsd-user/signal.c index 0bc6d2edbd..8a36b696d8 100644 --- a/bsd-user/signal.c +++ b/bsd-user/signal.c @@ -19,6 +19,7 @@ */ #include "qemu/osdep.h" +#include "qemu/log.h" #include "qemu.h" #include "signal-common.h" #include "trace.h" diff --git a/hw/arm/omap1.c b/hw/arm/omap1.c index 9852c2a07e..f693faa43e 100644 --- a/hw/arm/omap1.c +++ b/hw/arm/omap1.c @@ -18,6 +18,7 @@ */ #include "qemu/osdep.h" +#include "qemu/log.h" #include "qemu/error-report.h" #include "qemu/main-loop.h" #include "qapi/error.h" diff --git a/hw/display/omap_dss.c b/hw/display/omap_dss.c index 21fde58a26..8c0e9ee700 100644 --- a/hw/display/omap_dss.c +++ b/hw/display/omap_dss.c @@ -19,6 +19,7 @@ */ #include "qemu/osdep.h" +#include "qemu/log.h" #include "hw/hw.h" #include "hw/irq.h" #include "ui/console.h" diff --git a/hw/gpio/omap_gpio.c b/hw/gpio/omap_gpio.c index e25084b40c..bd0841d57f 100644 --- a/hw/gpio/omap_gpio.c +++ b/hw/gpio/omap_gpio.c @@ -19,6 +19,7 @@ */ #include "qemu/osdep.h" +#include "qemu/log.h" #include "hw/irq.h" #include "hw/qdev-properties.h" #include "hw/arm/omap.h" diff --git a/hw/input/tsc210x.c b/hw/input/tsc210x.c index 182d3725fc..b0d5c2dd74 100644 --- a/hw/input/tsc210x.c +++ b/hw/input/tsc210x.c @@ -20,6 +20,7 @@ */ #include "qemu/osdep.h" +#include "qemu/log.h" #include "hw/hw.h" #include "audio/audio.h" #include "qemu/timer.h" diff --git a/include/exec/exec-all.h b/include/exec/exec-all.h index 199fd49e5d..d2cb0981f4 100644 --- a/include/exec/exec-all.h +++ b/include/exec/exec-all.h @@ -39,8 +39,6 @@ typedef ram_addr_t tb_page_addr_t; #define TB_PAGE_ADDR_FMT RAM_ADDR_FMT #endif -#include "qemu/log.h" - void gen_intermediate_code(CPUState *cpu, TranslationBlock *tb, int max_insns); void restore_state_to_opc(CPUArchState *env, TranslationBlock *tb, target_ulong *data); diff --git a/monitor/misc.c b/monitor/misc.c index a3a6e47844..b1839cb8ee 100644 --- a/monitor/misc.c +++ b/monitor/misc.c @@ -41,6 +41,7 @@ #include "disas/disas.h" #include "sysemu/balloon.h" #include "qemu/timer.h" +#include "qemu/log.h" #include "sysemu/hw_accel.h" #include "sysemu/runstate.h" #include "authz/list.h" diff --git a/plugins/api.c b/plugins/api.c index b143b09ce9..19595460fb 100644 --- a/plugins/api.c +++ b/plugins/api.c @@ -36,6 +36,7 @@ #include "qemu/osdep.h" #include "qemu/plugin.h" +#include "qemu/log.h" #include "tcg/tcg.h" #include "exec/exec-all.h" #include "exec/ram_addr.h" diff --git a/softmmu/runstate.c b/softmmu/runstate.c index 3cb2758b33..e0d869b21a 100644 --- a/softmmu/runstate.c +++ b/softmmu/runstate.c @@ -42,6 +42,7 @@ #include "qapi/qapi-events-run-state.h" #include "qemu-common.h" #include "qemu/error-report.h" +#include "qemu/log.h" #include "qemu/job.h" #include "qemu/log.h" #include "qemu/module.h" diff --git a/target/alpha/helper.c b/target/alpha/helper.c index b7e7f73b15..dcaa2d03ad 100644 --- a/target/alpha/helper.c +++ b/target/alpha/helper.c @@ -18,7 +18,7 @@ */ #include "qemu/osdep.h" - +#include "qemu/log.h" #include "cpu.h" #include "exec/exec-all.h" #include "fpu/softfloat-types.h" diff --git a/target/arm/helper.c b/target/arm/helper.c index e39faa2a98..883ea3a4e1 100644 --- a/target/arm/helper.c +++ b/target/arm/helper.c @@ -8,6 +8,7 @@ #include "qemu/osdep.h" #include "qemu/units.h" +#include "qemu/log.h" #include "target/arm/idau.h" #include "trace.h" #include "cpu.h" diff --git a/target/arm/m_helper.c b/target/arm/m_helper.c index b11e927df1..648a3b3fc1 100644 --- a/target/arm/m_helper.c +++ b/target/arm/m_helper.c @@ -19,6 +19,7 @@ #include "qemu/bitops.h" #include "qemu/crc32c.h" #include "qemu/qemu-print.h" +#include "qemu/log.h" #include "exec/exec-all.h" #include /* For crc32 */ #include "semihosting/semihost.h" diff --git a/target/arm/mte_helper.c b/target/arm/mte_helper.c index e09b7e46a2..d11a8c70d0 100644 --- a/target/arm/mte_helper.c +++ b/target/arm/mte_helper.c @@ -18,6 +18,7 @@ */ #include "qemu/osdep.h" +#include "qemu/log.h" #include "cpu.h" #include "internals.h" #include "exec/exec-all.h" diff --git a/target/avr/helper.c b/target/avr/helper.c index 981c29da45..c27f702901 100644 --- a/target/avr/helper.c +++ b/target/avr/helper.c @@ -19,6 +19,7 @@ */ #include "qemu/osdep.h" +#include "qemu/log.h" #include "cpu.h" #include "hw/core/tcg-cpu-ops.h" #include "exec/exec-all.h" diff --git a/target/cris/helper.c b/target/cris/helper.c index a0d6ecdcd3..91e4aeb178 100644 --- a/target/cris/helper.c +++ b/target/cris/helper.c @@ -19,6 +19,7 @@ */ #include "qemu/osdep.h" +#include "qemu/log.h" #include "cpu.h" #include "hw/core/tcg-cpu-ops.h" #include "mmu.h" diff --git a/target/hexagon/internal.h b/target/hexagon/internal.h index 82ac3042ab..b1bfadc3f5 100644 --- a/target/hexagon/internal.h +++ b/target/hexagon/internal.h @@ -18,6 +18,8 @@ #ifndef HEXAGON_INTERNAL_H #define HEXAGON_INTERNAL_H +#include "qemu/log.h" + /* * Change HEX_DEBUG to 1 to turn on debugging output */ diff --git a/target/hexagon/translate.h b/target/hexagon/translate.h index fccfb94340..a245172827 100644 --- a/target/hexagon/translate.h +++ b/target/hexagon/translate.h @@ -19,6 +19,7 @@ #define HEXAGON_TRANSLATE_H #include "qemu/bitmap.h" +#include "qemu/log.h" #include "cpu.h" #include "exec/translator.h" #include "tcg/tcg-op.h" diff --git a/target/hppa/helper.c b/target/hppa/helper.c index 1ccff5765a..e2758d8df3 100644 --- a/target/hppa/helper.c +++ b/target/hppa/helper.c @@ -18,7 +18,7 @@ */ #include "qemu/osdep.h" - +#include "qemu/log.h" #include "cpu.h" #include "fpu/softfloat.h" #include "exec/exec-all.h" diff --git a/target/hppa/mem_helper.c b/target/hppa/mem_helper.c index bf07445cd1..5046cc8f9d 100644 --- a/target/hppa/mem_helper.c +++ b/target/hppa/mem_helper.c @@ -18,6 +18,7 @@ */ #include "qemu/osdep.h" +#include "qemu/log.h" #include "cpu.h" #include "exec/exec-all.h" #include "exec/helper-proto.h" diff --git a/target/hppa/op_helper.c b/target/hppa/op_helper.c index b0dec4ebf4..2810361be0 100644 --- a/target/hppa/op_helper.c +++ b/target/hppa/op_helper.c @@ -18,6 +18,7 @@ */ #include "qemu/osdep.h" +#include "qemu/log.h" #include "cpu.h" #include "exec/exec-all.h" #include "exec/helper-proto.h" diff --git a/target/i386/helper.c b/target/i386/helper.c index 533b29cb91..0639aea11b 100644 --- a/target/i386/helper.c +++ b/target/i386/helper.c @@ -27,6 +27,7 @@ #include "sysemu/hw_accel.h" #include "monitor/monitor.h" #endif +#include "qemu/log.h" void cpu_sync_bndcs_hflags(CPUX86State *env) { diff --git a/target/i386/tcg/int_helper.c b/target/i386/tcg/int_helper.c index 87fa7280ee..599ac968b0 100644 --- a/target/i386/tcg/int_helper.c +++ b/target/i386/tcg/int_helper.c @@ -18,6 +18,7 @@ */ #include "qemu/osdep.h" +#include "qemu/log.h" #include "cpu.h" #include "exec/exec-all.h" #include "qemu/host-utils.h" diff --git a/target/i386/tcg/misc_helper.c b/target/i386/tcg/misc_helper.c index 5769db5ace..24a0eaa3d5 100644 --- a/target/i386/tcg/misc_helper.c +++ b/target/i386/tcg/misc_helper.c @@ -18,6 +18,7 @@ */ #include "qemu/osdep.h" +#include "qemu/log.h" #include "cpu.h" #include "exec/helper-proto.h" #include "exec/exec-all.h" diff --git a/target/i386/tcg/sysemu/seg_helper.c b/target/i386/tcg/sysemu/seg_helper.c index bf3444c26b..83aa229acd 100644 --- a/target/i386/tcg/sysemu/seg_helper.c +++ b/target/i386/tcg/sysemu/seg_helper.c @@ -19,6 +19,7 @@ */ #include "qemu/osdep.h" +#include "qemu/log.h" #include "cpu.h" #include "exec/helper-proto.h" #include "exec/cpu_ldst.h" diff --git a/target/i386/tcg/sysemu/svm_helper.c b/target/i386/tcg/sysemu/svm_helper.c index 6d39611eb6..2b6f450af9 100644 --- a/target/i386/tcg/sysemu/svm_helper.c +++ b/target/i386/tcg/sysemu/svm_helper.c @@ -18,6 +18,7 @@ */ #include "qemu/osdep.h" +#include "qemu/log.h" #include "cpu.h" #include "exec/helper-proto.h" #include "exec/exec-all.h" diff --git a/target/m68k/op_helper.c b/target/m68k/op_helper.c index acbd473515..8decc61240 100644 --- a/target/m68k/op_helper.c +++ b/target/m68k/op_helper.c @@ -17,6 +17,7 @@ * License along with this library; if not, see . */ #include "qemu/osdep.h" +#include "qemu/log.h" #include "cpu.h" #include "exec/helper-proto.h" #include "exec/exec-all.h" diff --git a/target/microblaze/cpu.c b/target/microblaze/cpu.c index b9c888b87e..aed200dcff 100644 --- a/target/microblaze/cpu.c +++ b/target/microblaze/cpu.c @@ -22,6 +22,7 @@ */ #include "qemu/osdep.h" +#include "qemu/log.h" #include "qapi/error.h" #include "cpu.h" #include "qemu/module.h" diff --git a/target/microblaze/mmu.c b/target/microblaze/mmu.c index cc40f275ea..75651979a9 100644 --- a/target/microblaze/mmu.c +++ b/target/microblaze/mmu.c @@ -19,6 +19,7 @@ */ #include "qemu/osdep.h" +#include "qemu/log.h" #include "cpu.h" #include "exec/exec-all.h" diff --git a/target/microblaze/op_helper.c b/target/microblaze/op_helper.c index 58d633584d..5b745d0928 100644 --- a/target/microblaze/op_helper.c +++ b/target/microblaze/op_helper.c @@ -19,6 +19,7 @@ */ #include "qemu/osdep.h" +#include "qemu/log.h" #include "cpu.h" #include "exec/helper-proto.h" #include "qemu/host-utils.h" diff --git a/target/mips/tcg/exception.c b/target/mips/tcg/exception.c index 7b3026b105..0b21e0872b 100644 --- a/target/mips/tcg/exception.c +++ b/target/mips/tcg/exception.c @@ -19,6 +19,7 @@ */ #include "qemu/osdep.h" +#include "qemu/log.h" #include "cpu.h" #include "internal.h" #include "exec/helper-proto.h" diff --git a/target/mips/tcg/sysemu/special_helper.c b/target/mips/tcg/sysemu/special_helper.c index 2a2afb49e8..f4f8fe8afc 100644 --- a/target/mips/tcg/sysemu/special_helper.c +++ b/target/mips/tcg/sysemu/special_helper.c @@ -19,6 +19,7 @@ */ #include "qemu/osdep.h" +#include "qemu/log.h" #include "cpu.h" #include "exec/helper-proto.h" #include "exec/exec-all.h" diff --git a/target/mips/tcg/translate.h b/target/mips/tcg/translate.h index ae01515efe..9997fe2f3c 100644 --- a/target/mips/tcg/translate.h +++ b/target/mips/tcg/translate.h @@ -8,6 +8,7 @@ #ifndef TARGET_MIPS_TRANSLATE_H #define TARGET_MIPS_TRANSLATE_H +#include "qemu/log.h" #include "exec/translator.h" #define MIPS_DEBUG_DISAS 0 diff --git a/target/openrisc/interrupt.c b/target/openrisc/interrupt.c index 19223e3f25..e5724f5371 100644 --- a/target/openrisc/interrupt.c +++ b/target/openrisc/interrupt.c @@ -18,6 +18,7 @@ */ #include "qemu/osdep.h" +#include "qemu/log.h" #include "cpu.h" #include "exec/exec-all.h" #include "exec/gdbstub.h" diff --git a/target/openrisc/mmu.c b/target/openrisc/mmu.c index e561ef245b..d7e1320998 100644 --- a/target/openrisc/mmu.c +++ b/target/openrisc/mmu.c @@ -19,6 +19,7 @@ */ #include "qemu/osdep.h" +#include "qemu/log.h" #include "cpu.h" #include "exec/exec-all.h" #include "exec/gdbstub.h" diff --git a/target/ppc/excp_helper.c b/target/ppc/excp_helper.c index c107953dec..cbac63d53c 100644 --- a/target/ppc/excp_helper.c +++ b/target/ppc/excp_helper.c @@ -18,6 +18,7 @@ */ #include "qemu/osdep.h" #include "qemu/main-loop.h" +#include "qemu/log.h" #include "cpu.h" #include "exec/exec-all.h" #include "internal.h" diff --git a/target/ppc/misc_helper.c b/target/ppc/misc_helper.c index 1bcefa7c84..129432be01 100644 --- a/target/ppc/misc_helper.c +++ b/target/ppc/misc_helper.c @@ -18,6 +18,7 @@ */ #include "qemu/osdep.h" +#include "qemu/log.h" #include "cpu.h" #include "exec/exec-all.h" #include "exec/helper-proto.h" diff --git a/target/s390x/tcg/excp_helper.c b/target/s390x/tcg/excp_helper.c index 4e7648f301..be6c966cfa 100644 --- a/target/s390x/tcg/excp_helper.c +++ b/target/s390x/tcg/excp_helper.c @@ -19,6 +19,7 @@ */ #include "qemu/osdep.h" +#include "qemu/log.h" #include "cpu.h" #include "s390x-internal.h" #include "exec/helper-proto.h" diff --git a/target/s390x/tcg/mem_helper.c b/target/s390x/tcg/mem_helper.c index 406578d105..b5523ef3c7 100644 --- a/target/s390x/tcg/mem_helper.c +++ b/target/s390x/tcg/mem_helper.c @@ -19,6 +19,7 @@ */ #include "qemu/osdep.h" +#include "qemu/log.h" #include "cpu.h" #include "s390x-internal.h" #include "tcg_s390x.h" diff --git a/target/sparc/ldst_helper.c b/target/sparc/ldst_helper.c index a3e1cf9b6e..ec4fae78c3 100644 --- a/target/sparc/ldst_helper.c +++ b/target/sparc/ldst_helper.c @@ -18,6 +18,7 @@ */ #include "qemu/osdep.h" +#include "qemu/log.h" #include "cpu.h" #include "tcg/tcg.h" #include "exec/helper-proto.h" diff --git a/target/sparc/mmu_helper.c b/target/sparc/mmu_helper.c index f2668389b0..346a6dfa35 100644 --- a/target/sparc/mmu_helper.c +++ b/target/sparc/mmu_helper.c @@ -18,6 +18,7 @@ */ #include "qemu/osdep.h" +#include "qemu/log.h" #include "cpu.h" #include "exec/exec-all.h" #include "qemu/qemu-print.h" diff --git a/target/tricore/helper.c b/target/tricore/helper.c index c5e997f321..1db32808e8 100644 --- a/target/tricore/helper.c +++ b/target/tricore/helper.c @@ -16,7 +16,7 @@ */ #include "qemu/osdep.h" - +#include "qemu/log.h" #include "cpu.h" #include "exec/exec-all.h" #include "fpu/softfloat-helpers.h" diff --git a/target/xtensa/dbg_helper.c b/target/xtensa/dbg_helper.c index be1f81107b..ce2a820c60 100644 --- a/target/xtensa/dbg_helper.c +++ b/target/xtensa/dbg_helper.c @@ -26,6 +26,7 @@ */ #include "qemu/osdep.h" +#include "qemu/log.h" #include "qemu/main-loop.h" #include "cpu.h" #include "exec/helper-proto.h" diff --git a/target/xtensa/exc_helper.c b/target/xtensa/exc_helper.c index 9bc7f50d35..d4823a65cd 100644 --- a/target/xtensa/exc_helper.c +++ b/target/xtensa/exc_helper.c @@ -26,6 +26,7 @@ */ #include "qemu/osdep.h" +#include "qemu/log.h" #include "qemu/main-loop.h" #include "cpu.h" #include "exec/helper-proto.h" diff --git a/target/xtensa/fpu_helper.c b/target/xtensa/fpu_helper.c index ba3c29d19d..d2a10cc797 100644 --- a/target/xtensa/fpu_helper.c +++ b/target/xtensa/fpu_helper.c @@ -26,6 +26,7 @@ */ #include "qemu/osdep.h" +#include "qemu/log.h" #include "qemu/main-loop.h" #include "cpu.h" #include "exec/helper-proto.h" diff --git a/target/xtensa/helper.c b/target/xtensa/helper.c index 29d216ec1b..e0a9caab4b 100644 --- a/target/xtensa/helper.c +++ b/target/xtensa/helper.c @@ -26,6 +26,7 @@ */ #include "qemu/osdep.h" +#include "qemu/log.h" #include "cpu.h" #include "exec/exec-all.h" #include "exec/gdbstub.h" diff --git a/target/xtensa/mmu_helper.c b/target/xtensa/mmu_helper.c index 57e319a1af..fa66e8e867 100644 --- a/target/xtensa/mmu_helper.c +++ b/target/xtensa/mmu_helper.c @@ -26,6 +26,7 @@ */ #include "qemu/osdep.h" +#include "qemu/log.h" #include "qemu/main-loop.h" #include "qemu/qemu-print.h" #include "qemu/units.h" diff --git a/target/xtensa/win_helper.c b/target/xtensa/win_helper.c index f6f96a64c3..5a1555360a 100644 --- a/target/xtensa/win_helper.c +++ b/target/xtensa/win_helper.c @@ -26,6 +26,7 @@ */ #include "qemu/osdep.h" +#include "qemu/log.h" #include "qemu/main-loop.h" #include "cpu.h" #include "exec/helper-proto.h"