From patchwork Thu Feb 3 19:37: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: 12734656 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 EB31BC433EF for ; Thu, 3 Feb 2022 20:57:26 +0000 (UTC) Received: from localhost ([::1]:41346 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nFjAT-00048t-Ok for qemu-devel@archiver.kernel.org; Thu, 03 Feb 2022 15:57:25 -0500 Received: from eggs.gnu.org ([209.51.188.92]:56474) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nFhw2-000464-2m for qemu-devel@nongnu.org; Thu, 03 Feb 2022 14:38:26 -0500 Received: from [2607:f8b0:4864:20::635] (port=40595 helo=mail-pl1-x635.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nFhvz-0005rW-3j for qemu-devel@nongnu.org; Thu, 03 Feb 2022 14:38:25 -0500 Received: by mail-pl1-x635.google.com with SMTP id y17so3073178plg.7 for ; Thu, 03 Feb 2022 11:38:18 -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=wwui0+WgM4nUhQWC4QaU40VqiH7mK4rt3aliM0RxQg0=; b=d3JVR5lfk3VJQDdDk2hZehXRy+Ff/OktDe07R8bYRvWYn8uJHyrc7aUff6LxDWoxCC Ubgs+2Zn7lMEeWCL7lQAUWTYJsx3gR0FKmNUnFYVe8V1ZaAooPK3ynhPsVXbvROUqFxO 3mKzaDT6zh3JcLZT17pXKUN5EKMs1PFFWj9VDoydsZOeZEbj4xO65bvDXXrCPqcOVLR5 xCld+4n9ODMRhCozSJKK3yJl8CCr1hjxJMh6WEHE3CF8JRxNA37w03xE+k406NhrrpBp N47wFe6Sb5I98aCB/rf7fdkz9HItkR3l/iCAFksGl63tmJckyUMd8b88Y29Pwrsbh9z1 mGEw== 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=wwui0+WgM4nUhQWC4QaU40VqiH7mK4rt3aliM0RxQg0=; b=Gvoq7CW2i9C1rqYWA6SjqlgJRGdvNWYfUbg+nwkZYbKjZaMTcGxb8rCmD8eHfTAQrV bF6CTfHyMgm3unsjf//v646lVbrOXur9opmFD2Mp6cjFG/MNRRuBar1eFQUYeWjcjkng gQ4ACQtDaEvcFxf05DfaQP0eC8ssKsZM9SctGDN1q119ES4XBXqTOmRHO6MkaV62Wllu mHKrI7N/YinUpw38o6l+jbYamKl91EQlbK9/VpfqfRNhPqpHbHbQ/FG8/CtlD9C9rlS2 EJ+qV3DlUmA7N7N34wOL0VOvrGykXWA6YRX3R2w+qpIgGSRpklKtyQKcQjlCqFghIN7d Sz7w== X-Gm-Message-State: AOAM530ENZj9uiLerPY+9GoY9N/q3aAXin1MHcf4p2jIseK21gbOSRdB Q+Cpjdv1//hPRaYjHhT4eMmfmn0JOA8= X-Google-Smtp-Source: ABdhPJx5fhgKd+KkP0z7cL6oAr9unGSh/GAOoxWH/aDROoWstL3lfY/XrySTtPb+7dEs2qgILD2nCw== X-Received: by 2002:a17:90b:3850:: with SMTP id nl16mr15581872pjb.131.1643917097285; Thu, 03 Feb 2022 11:38:17 -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 mm24sm10865058pjb.20.2022.02.03.11.38.15 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Thu, 03 Feb 2022 11:38:17 -0800 (PST) To: qemu-devel@nongnu.org Cc: Paolo Bonzini , Richard Henderson , Thomas Huth , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Subject: [PATCH 01/10] hw/tpm: Clean includes Date: Thu, 3 Feb 2022 20:37:54 +0100 Message-Id: <20220203193803.45671-2-f4bug@amsat.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220203193803.45671-1-f4bug@amsat.org> References: <20220203193803.45671-1-f4bug@amsat.org> MIME-Version: 1.0 X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::635 (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::635; envelope-from=philippe.mathieu.daude@gmail.com; helo=mail-pl1-x635.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.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, 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". Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Thomas Huth Reviewed-by: Richard Henderson --- 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 Thu Feb 3 19:37: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: 12734621 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 90E29C433EF for ; Thu, 3 Feb 2022 20:23:58 +0000 (UTC) Received: from localhost ([::1]:44398 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nFie5-00006c-1T for qemu-devel@archiver.kernel.org; Thu, 03 Feb 2022 15:23:57 -0500 Received: from eggs.gnu.org ([209.51.188.92]:56540) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nFhw4-00048w-Fc for qemu-devel@nongnu.org; Thu, 03 Feb 2022 14:38:28 -0500 Received: from [2607:f8b0:4864:20::52e] (port=44992 helo=mail-pg1-x52e.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nFhw2-0005w1-OH for qemu-devel@nongnu.org; Thu, 03 Feb 2022 14:38:28 -0500 Received: by mail-pg1-x52e.google.com with SMTP id h23so3103034pgk.11 for ; Thu, 03 Feb 2022 11:38:26 -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=EURcAZ+pcodrKmqo6OvXQcoabRjwok8NBs/zUyaBsFE=; b=T1MrIPu3tJvXbG3StasHcwd0oGI2LF+HLy2goysVboFKWaQIPh3pPwsBO/r/mIvAYx DXKQAGhPljQBgdydr3C/j1Xltf60XZCoHbUUA1DwXm+tlPOi0qGy5Az3d12Kc7vqXl+u IEamu3xOolfbObTRBo3VVqP/tgFf8Nkgm7Gt/2hYbiy9+eGRgNMEzW314soY/jgkLXcU Dt3OC4WvPlz9USwcgEQSDdv4URnmIVvNKH+ITc8yspno40k3Efo1Ixcn4DbdJkEoLSnq 3uX0Ky0ZO4HCofYMrrwYQ5uDlSjA446w81wBe3kY3WYOcQN8Sa99ulHJPhwgxu0CfcB7 4X0Q== 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=EURcAZ+pcodrKmqo6OvXQcoabRjwok8NBs/zUyaBsFE=; b=BVoadeiIVXeoCxr2+IUo82qCiZPfTXyWSJ7IywazxEer1qETPE8RJ9Fy6M+J1jYBRV wdxvpSVMm5BvKx7FmJpu5clGgg4liURR9smMm7sbqjIemCD0Lspy+T0DbBhnFaJvPZui Dq10iCYPaJ+mzCElwG4TV4Xb5C5I4T8hhHpgCNxhkZv9KcES915n+Cu9nQCT6KkW7Dzi hE3ATIRvMnslUmCUkY3yCoZXodo7CQ7EoiHGSbGiXA9WIhCdvNtSms7H0oUHnUu4kisK iPRX/GqC0kcesat+gnoc3yCSISyGbPs/rfzD5aLZ60S6hCBaxOlGUUs+QLx+slg191jR Tc+A== X-Gm-Message-State: AOAM530btiaDGjYvH4i/NZWOzP/9cZOL1VuMjzplFfT5cuwru3LFxKzZ QRrKuEeMH3oA/TRj8Z7M7sWokB+oN8I= X-Google-Smtp-Source: ABdhPJw7D4ih0HIiwykuIi/kAXmaoYESUiOwSiQ/bVMml9pYWcA/ySGGi5DqYPmwf4iIEDyM3xzXTg== X-Received: by 2002:a63:5144:: with SMTP id r4mr29267697pgl.382.1643917105229; Thu, 03 Feb 2022 11:38: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 i10sm3027311pgm.30.2022.02.03.11.38.23 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Thu, 03 Feb 2022 11:38:24 -0800 (PST) To: qemu-devel@nongnu.org Cc: Paolo Bonzini , Richard Henderson , Thomas Huth , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Jagannathan Raman Subject: [PATCH 02/10] hw/remote: Add missing include Date: Thu, 3 Feb 2022 20:37:55 +0100 Message-Id: <20220203193803.45671-3-f4bug@amsat.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220203193803.45671-1-f4bug@amsat.org> References: <20220203193803.45671-1-f4bug@amsat.org> MIME-Version: 1.0 X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::52e (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::52e; envelope-from=philippe.mathieu.daude@gmail.com; helo=mail-pg1-x52e.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.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, 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 Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Thomas Huth Reviewed-by: Richard Henderson --- 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 Thu Feb 3 19:37: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: 12734620 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 186F2C433F5 for ; Thu, 3 Feb 2022 20:21:49 +0000 (UTC) Received: from localhost ([::1]:39786 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nFibz-00053p-PT for qemu-devel@archiver.kernel.org; Thu, 03 Feb 2022 15:21:47 -0500 Received: from eggs.gnu.org ([209.51.188.92]:56758) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nFhwO-0004Gw-8s for qemu-devel@nongnu.org; Thu, 03 Feb 2022 14:38:52 -0500 Received: from [2607:f8b0:4864:20::62c] (port=40588 helo=mail-pl1-x62c.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nFhwM-0005zE-7O for qemu-devel@nongnu.org; Thu, 03 Feb 2022 14:38:47 -0500 Received: by mail-pl1-x62c.google.com with SMTP id y17so3073904plg.7 for ; Thu, 03 Feb 2022 11:38:34 -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=6RIL9HXL1vvqg0MDPxJ4fnmtDJM0NiBpkFMH07BGdV0=; b=RX8aQZNoKh8MFfFGU2qEhW5EBXPRTE8IBmyfVZcJzrwkUO3y1pZEDmZYlTa0IbKx3X R3+JR5ZQvJ/BvSMirmnBR0J4/nu0bcsqN4TVIbD/JAe1oONz/gpzpdOvAqDJIbrR3x5h 6rhlWYlZmksxevEgmUudk+9vfzo0f8Vo6ovlZmDTqF6x7FhfbKiWIXntIKJOWEFNSfAf oTosTxPBISdgSfy92anAnPoLgukjPaUJmcYM8Xx6MqPBB8FcMyZrnku4AXKfqwTNfUYH LkQ5UQePyqpFNWKxdv3AuPeIJEyTD+WMhBPasp7b5JsvdQU0sRR9xA5pVDMVpPjXWDJn SLQQ== 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=6RIL9HXL1vvqg0MDPxJ4fnmtDJM0NiBpkFMH07BGdV0=; b=pi9gjrz4amI3OaSNOrqSbu9sBWNUGJQ3Xoy4yDGEYL+UfVTivGxCTDOG9JI67zPbf7 vK2tUx4jCYWKEIb2hnYmhJZhd1ca4L0fl6tU5LLVpojFMTXDtc1KiAdpbmn7Ycd6ruFY 1QnX3p2qQQgk8h+YDzgmlzWhPMl3xiQR1HkI4FMtDBHhAtLcuwC2g/UrNxyFdg6hNxy6 alVn240OMjg7EmmBslodl/NsTGkSduZjDpbgLog7rHq4GXnbhLTPLNFYlzHoZOTcmYbJ 4Ir/ir3s7WiTaSSYwL6tvutgzQ0fCoF744WpjKjMaRCAUAWs6G1ToacONptsQyjgZ3Rw csSw== X-Gm-Message-State: AOAM5336d4FwJRROKzgWRZPshaUgjzgN+PD7iw0XAxGK6gQAT7kfjTMM wy9Z1NSdIvqk6xoJFYxQN3MmYqvpHEA= X-Google-Smtp-Source: ABdhPJzC59ESp4BvDsKsXr5XARWXdHxEgL16KZcNhbNV7LsOGXNZeUPjjgm5X9PTldk3oBsseNLu6A== X-Received: by 2002:a17:90a:8544:: with SMTP id a4mr15477646pjw.171.1643917113023; Thu, 03 Feb 2022 11:38:33 -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 q17sm30169792pfk.108.2022.02.03.11.38.31 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Thu, 03 Feb 2022 11:38:32 -0800 (PST) To: qemu-devel@nongnu.org Cc: Paolo Bonzini , Richard Henderson , Thomas Huth , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Subject: [PATCH 03/10] hw/s390x/virtio: Add missing 'cpu.h' include Date: Thu, 3 Feb 2022 20:37:56 +0100 Message-Id: <20220203193803.45671-4-f4bug@amsat.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220203193803.45671-1-f4bug@amsat.org> References: <20220203193803.45671-1-f4bug@amsat.org> MIME-Version: 1.0 X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::62c (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::62c; envelope-from=philippe.mathieu.daude@gmail.com; helo=mail-pl1-x62c.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.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, 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?= CPUS390XState is declared in "cpu.h". Signed-off-by: Philippe Mathieu-Daudé Acked-by: Thomas Huth Acked-by: Halil Pasic Reviewed-by: Richard Henderson --- hw/s390x/s390-virtio-hcall.h | 1 + 1 file changed, 1 insertion(+) diff --git a/hw/s390x/s390-virtio-hcall.h b/hw/s390x/s390-virtio-hcall.h index 9800c4b351..9773ed8a21 100644 --- a/hw/s390x/s390-virtio-hcall.h +++ b/hw/s390x/s390-virtio-hcall.h @@ -13,6 +13,7 @@ #define HW_S390_VIRTIO_HCALL_H #include "standard-headers/asm-s390/virtio-ccw.h" +#include "cpu.h" /* The only thing that we need from the old kvm_virtio.h file */ #define KVM_S390_VIRTIO_NOTIFY 0 From patchwork Thu Feb 3 19:37:57 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: 12734626 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 BE65CC433EF for ; Thu, 3 Feb 2022 20:28:38 +0000 (UTC) Received: from localhost ([::1]:52938 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nFiib-0006Lh-Ln for qemu-devel@archiver.kernel.org; Thu, 03 Feb 2022 15:28:37 -0500 Received: from eggs.gnu.org ([209.51.188.92]:56762) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nFhwO-0004Gx-CQ for qemu-devel@nongnu.org; Thu, 03 Feb 2022 14:38:52 -0500 Received: from [2607:f8b0:4864:20::633] (port=33672 helo=mail-pl1-x633.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nFhwM-0005zd-Df for qemu-devel@nongnu.org; Thu, 03 Feb 2022 14:38:48 -0500 Received: by mail-pl1-x633.google.com with SMTP id k17so3127004plk.0 for ; Thu, 03 Feb 2022 11:38:42 -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=JX7GM0LgHysT8Yf41piT5uOA6NfosJcHXGrxxDMG6iI=; b=BQLbLearPjO7iYTW/PMaZtNGWObR86p2XpdymMZ7fW1n7OzmGa8X4l9LFV8ZRCySXm ySJrcAxeQZgQrt6r8nwW108WoJZNnxU1RMoyQ3qPFY+8ANCJYsbqZwRQuxvqSJg57XBF LN35yZdaydtLo2AZ5Ljerp0jD/tPRFl/5TcJZMNJFkBKusblSSZ+sXj/S7pjnEamUbLR hiHs64iABSG8JUJmzG4OLcGvMFVUwZJqtL4HLgXWK6ksk3iRR2RpCWTku3vmy0PfvwMN d210I0p7K3BQ9oJCJE7lcizzXEnWP+zE8jzJrvjxGIurZ3h/cyopqf3tonpaePCBClpF 6a7g== 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=JX7GM0LgHysT8Yf41piT5uOA6NfosJcHXGrxxDMG6iI=; b=PTS94AJvqhnSsmOMujnGDmvL5016dR20iwvs0X2zeQubs7vLzx4Cta5O3ojgT21Tls dp/QnhSX5r7w7fV9IyRbBxZbI5Bo1UWpGIvq+Rldx0TjJS2l+asi7vFuunsYcYEXL7mR ayGCK1l2ZMuUu7X0lHbAEn5P7mhSyw33QGeYuQ21UxZEHfiFQ/rWG2i3qNiGmnNzhFtY kMplsrDJLkRBRsF2KJ4o5PP3SXnEjlqXVKp/XZ4ZC4sVsQ2X5arx/Q+zdSat683ccH8Q vzTDmOc3FYkAgZxy9uGnR1qK2ld9/MYawJZa1+4Kov9WzHFqMN4NS3nwK7v5qUq/XCBO RXKg== X-Gm-Message-State: AOAM532NPiuW546VBhySD6PfveBY3r1PJ18XXIryKkfK77Sr+zkAGKOZ NabLYza5SiuADeEX1CGYAoHerHH+7tk= X-Google-Smtp-Source: ABdhPJwRq2GHlwifz7DWa8UTXRl+usrxPBbU0bCbapQI4TuBEsTyc1Hgl0VlWPejpVut9WLXZ/HplQ== X-Received: by 2002:a17:902:b586:: with SMTP id a6mr13367580pls.150.1643917121104; Thu, 03 Feb 2022 11:38:41 -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 l14sm3359056pjf.1.2022.02.03.11.38.39 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Thu, 03 Feb 2022 11:38:40 -0800 (PST) To: qemu-devel@nongnu.org Cc: Paolo Bonzini , Richard Henderson , Thomas Huth , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Subject: [PATCH 04/10] hw/acpi/memory_hotplug: Remove unused 'hw/acpi/pc-hotplug.h' header Date: Thu, 3 Feb 2022 20:37:57 +0100 Message-Id: <20220203193803.45671-5-f4bug@amsat.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220203193803.45671-1-f4bug@amsat.org> References: <20220203193803.45671-1-f4bug@amsat.org> MIME-Version: 1.0 X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::633 (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::633; envelope-from=philippe.mathieu.daude@gmail.com; helo=mail-pl1-x633.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.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, 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: Richard Henderson Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Igor Mammedov --- 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 Thu Feb 3 19:37:58 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: 12734623 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 02A46C433EF for ; Thu, 3 Feb 2022 20:25:57 +0000 (UTC) Received: from localhost ([::1]:47782 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nFig0-0002XV-Rm for qemu-devel@archiver.kernel.org; Thu, 03 Feb 2022 15:25:56 -0500 Received: from eggs.gnu.org ([209.51.188.92]:56796) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nFhwZ-0004IW-8N for qemu-devel@nongnu.org; Thu, 03 Feb 2022 14:39:01 -0500 Received: from [2607:f8b0:4864:20::429] (port=47057 helo=mail-pf1-x429.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nFhwR-00061m-OQ for qemu-devel@nongnu.org; Thu, 03 Feb 2022 14:38:55 -0500 Received: by mail-pf1-x429.google.com with SMTP id i17so3045456pfq.13 for ; Thu, 03 Feb 2022 11:38:49 -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=sP7Ygr3KOhweObu1GSFi+Gm2T3Yd9wOfYj+MYupKOxE=; b=JJKkjY8uBNRpqQlCq6x275ERYhYbgPLtxin8mHGtcqW0dJdKqx0OzMvA9wt2DbiPsW onYLWRtJ1Nb5ZL50z25r42B1L8DdxaxOS+kJkuGCZlt+0QFdPUErVL2eVPe6IUut77Vw JQnrzAugpSoZ1UCtei7JHBBp42CLFrdk+rV0QIWxwv70m6r3d0knDZ0BAPGPeC3pxjGB CraAPSkEwnRFKw/oP1aEBIa5RV41VAXbvsZ8ZoEcI9XCSeZoBSd2FQUDShaH6rIigzbJ cxDjluhVv1Ot3qdMO5jZdx90s4WLEViH396Nh86uKB3wys/lYR39QixNV1Raa5H/b1um aMdA== 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=sP7Ygr3KOhweObu1GSFi+Gm2T3Yd9wOfYj+MYupKOxE=; b=CcVzL0EZlS1HJ4I5JDAD327KC/iakSC++xR8rn4L2mbqz7UWVsdmz5hCuDGCnFXCt8 1gW4wVbwfZToErG2HTSm7gz22H4qMQJ3EPmq/zqr7RWNTsRWIPRPiuHRlAIeDIt6dG7a hpeQSGog5/afiIzTELR0WlohL2OcIOjGs3nTMUHVee9lWAtFTkfWy64qSHzM3v0+MumG tYnJKTYNSsL7NiuF6IRHccwpuLawSRKGRWhOveICoUuKlnYuyBZq0F63GoqGZPBWPsn7 voEGmP8tfOxM6xpBEMXBS0BqVLycBnVQoKvIHrOnaFH7gwsRzVUHqpvahFTLjgxkCZVq oX7w== X-Gm-Message-State: AOAM531PXudTeAzwHIeHO3n3VA+2qIByvUrLGRAY5sD5i66AOE656rBc ajxDyBRVUQtBXZSYA0DIriRYvCd5JCc= X-Google-Smtp-Source: ABdhPJwG0q9+DdyfjO3uGDhgTnRcLKq+RMEpvMXWiyf/v4Ensd+VT0CB4tJiG8kacIlNjUHypRD9nA== X-Received: by 2002:a63:d1:: with SMTP id 200mr16804039pga.402.1643917128914; Thu, 03 Feb 2022 11:38:48 -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 y20sm30914672pfi.78.2022.02.03.11.38.46 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Thu, 03 Feb 2022 11:38:48 -0800 (PST) To: qemu-devel@nongnu.org Cc: Paolo Bonzini , Richard Henderson , Thomas Huth , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Subject: [PATCH 05/10] qtest: Add missing 'hw/qdev-core.h' include Date: Thu, 3 Feb 2022 20:37:58 +0100 Message-Id: <20220203193803.45671-6-f4bug@amsat.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220203193803.45671-1-f4bug@amsat.org> References: <20220203193803.45671-1-f4bug@amsat.org> MIME-Version: 1.0 X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::429 (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::429; envelope-from=philippe.mathieu.daude@gmail.com; helo=mail-pf1-x429.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.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, 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; ^ Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Thomas Huth Reviewed-by: Richard Henderson --- 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 Thu Feb 3 19:37:59 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: 12734637 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 06DD9C43219 for ; Thu, 3 Feb 2022 20:33:38 +0000 (UTC) Received: from localhost ([::1]:33242 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nFinQ-0003uX-3X for qemu-devel@archiver.kernel.org; Thu, 03 Feb 2022 15:33:36 -0500 Received: from eggs.gnu.org ([209.51.188.92]:56840) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nFhwd-0004LC-Gg for qemu-devel@nongnu.org; Thu, 03 Feb 2022 14:39:03 -0500 Received: from [2607:f8b0:4864:20::1036] (port=56153 helo=mail-pj1-x1036.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nFhwb-00062M-AC for qemu-devel@nongnu.org; Thu, 03 Feb 2022 14:39:03 -0500 Received: by mail-pj1-x1036.google.com with SMTP id d5so3367823pjk.5 for ; Thu, 03 Feb 2022 11:38:57 -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=XC3pRaBxZcx/aNR8idtiZvbZFaRNA49SwULDyOLq4Xg=; b=UTFezsrBxTGNjNk1jlZgwd/rjVrTXNGVMCno29Q9/fNmlE+6KlCVZG+IgulMUimVy2 vAOwAS+rM2z5OkZkfYmW59iu6u6xOiIJXUfGXJqXI9tZK10PxIUGGBD8uFvWGvBb9cwf SBmrUVeLwoeToEzJGSC60cnMHr9Xwut132Z4NYEVuTo0bSAu8l0/ytbB27tZCoPhQCs/ tdZwCW3IVjxQCRPZJeMlchza40kqNzTbl2fKdaPMnCgN8i5kk0ajKDr5l5AzzvoLX68f 9tQevpYeyxVz2OnyxK55NOIOwtvj0xlzTz/AJvTH+0Zu4s3lWwK099ymhBV7xsVb8juq Ey2Q== 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=XC3pRaBxZcx/aNR8idtiZvbZFaRNA49SwULDyOLq4Xg=; b=xXWbYkweZLyomyku1b3SovPmJA3dEY2rVQEhjnuZ57ErF1AiUqn77wyAbowLh6QHcW mgOsmXRUTV5bSoX/1gLnzDcaiMmb4KKjszUZRIjvZnx8ivawnMrV9jqFjooAOUyjsGXX odAjeaiVkMaYBRLA/Wu1udmpQ0+oAp93HvCd/iJ5dKcZUrJRxRxbCfPDk/GrCSgsdvJm X+f6Nk6DoAObeKBe+vz6xJjJ19oPwruiMT6gGn+uOajhe2SBflPjWhlZigQGqbzRFXfz 7JzoZlMBdRkjm1EBemhypz6iJIGiKW3hsSjc9MtWpsfEsP4DjvPo4FDhq4BFhlkM8iOd iuvg== X-Gm-Message-State: AOAM533gZZ/rGnvPFALFw1GNjmIIoTNRPSeOdCR3Js5cLLiFjzzKO3gf byMan1gpmLIyy8mktY74TvZXXCDHppk= X-Google-Smtp-Source: ABdhPJwvaCssbZyZAKsElVis3vRSJ9X+HzixaOlrlloiGzKgaNT0+uBf1RE9ZmGc3jfgk23mT5OJCQ== X-Received: by 2002:a17:902:70cc:: with SMTP id l12mr36701600plt.83.1643917136684; Thu, 03 Feb 2022 11:38:56 -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 e19sm7594393pfv.62.2022.02.03.11.38.54 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Thu, 03 Feb 2022 11:38:56 -0800 (PST) To: qemu-devel@nongnu.org Cc: Paolo Bonzini , Richard Henderson , Thomas Huth , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Subject: [PATCH 06/10] exec/ramblock: Add missing includes Date: Thu, 3 Feb 2022 20:37:59 +0100 Message-Id: <20220203193803.45671-7-f4bug@amsat.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220203193803.45671-1-f4bug@amsat.org> References: <20220203193803.45671-1-f4bug@amsat.org> MIME-Version: 1.0 X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::1036 (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::1036; envelope-from=philippe.mathieu.daude@gmail.com; helo=mail-pj1-x1036.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.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, 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 missing includes to avoid when refactoring include/ include/exec/ramblock.h:26:21: error: field has incomplete type 'struct rcu_head' struct rcu_head rcu; ^ Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Thomas Huth Reviewed-by: Richard Henderson --- 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 Thu Feb 3 19:38:00 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: 12734628 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 B44BAC43219 for ; Thu, 3 Feb 2022 20:30:11 +0000 (UTC) Received: from localhost ([::1]:56342 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nFik5-0000HG-BK for qemu-devel@archiver.kernel.org; Thu, 03 Feb 2022 15:30:09 -0500 Received: from eggs.gnu.org ([209.51.188.92]:56892) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nFhwk-0004Qx-FV for qemu-devel@nongnu.org; Thu, 03 Feb 2022 14:39:10 -0500 Received: from [2607:f8b0:4864:20::636] (port=35573 helo=mail-pl1-x636.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nFhwh-00064p-G0 for qemu-devel@nongnu.org; Thu, 03 Feb 2022 14:39:10 -0500 Received: by mail-pl1-x636.google.com with SMTP id d18so3095367plg.2 for ; Thu, 03 Feb 2022 11:39:05 -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=mUpk1kUVw4Sit7UxLG6xWVu5xIspqJAXOOp8GSbkN4s=; b=qyektJI1JbnBGQI6n8Kzs8E2Kop8k2SZ05Y3Raors8LzT2ISyakTXMCF+K9Q/AqfN9 8pRmqW/JD8zoY+rpq8bbXmRZ/92ccjNa3ObLoc2iu3ghEAg4Q9cYeE7jkLGMmpqmMDRU VlD0WI3F0RpnfDILScF4iyTJrbWwsPxHOq7YIXyRPyDcS4iXxM/+VxSE2PuPmfzH52c9 BD6kiOQB0ECYAMtIzZBZTOiKri3odoGNsFMiPfCzFuvd7EO/riKl9BbQnqI+RfBp7vOI O4/i3qvAkRFq2rrCwDZjcPpJhKINbsxZkA+P9sS/HwyqYEJsIDwV6CKNOs9i3zKLtaFD fIUg== 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=mUpk1kUVw4Sit7UxLG6xWVu5xIspqJAXOOp8GSbkN4s=; b=d1JHo/oPykjm7GUTdSqwEMavg9ZN8rWeCv7fX1uFpT7laORAYH6cB4YnBiNW6KbU7+ wkpe5+VGfEHCWeuO+wYAlMEcLni7jebNif2nrJP/sNj+h/JG4+Nn3NpHCy4QQdMHdsmt lRXjcoBtUtGgxvzfaTcZdzyK5ZRDbKSbZvE0CgaRTm6HvGucRXHpvPn/JH55G0mJFZ/1 udbYw9So+IzuFji4zEob8EiyG1jTn7V2Q3ngZLPJHvZncogUFVPL6lydBMbRfjV4e4Ii KthrLh2FLNLfE29N+9cV6tmpvdWmTl8L0+9AWXDT4GYUVsr4xdZzzHjjQXKJ6PBZ8q46 qeRg== X-Gm-Message-State: AOAM530m32RVC3fwTcOT1BaTn2Q0nWUbBItxauMJdV6+/ImYC0eRz3/p hE10DpQzZ3+Qcy2fppSOgfHj1SufEW8= X-Google-Smtp-Source: ABdhPJyKegArEvmV/PMhjzF60i/zzvqzDDef9UG7wX6GV/C9o4M+ejTS23qcv3I/+bVb/cs1tr1ZQA== X-Received: by 2002:a17:902:8641:: with SMTP id y1mr16625281plt.115.1643917144626; Thu, 03 Feb 2022 11:39:04 -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 ga21sm3730754pjb.2.2022.02.03.11.39.02 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Thu, 03 Feb 2022 11:39:04 -0800 (PST) To: qemu-devel@nongnu.org Cc: Paolo Bonzini , Richard Henderson , Thomas Huth , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Subject: [PATCH 07/10] core/ptimers: Remove unnecessary 'sysemu/cpus.h' include Date: Thu, 3 Feb 2022 20:38:00 +0100 Message-Id: <20220203193803.45671-8-f4bug@amsat.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220203193803.45671-1-f4bug@amsat.org> References: <20220203193803.45671-1-f4bug@amsat.org> MIME-Version: 1.0 X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::636 (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::636; envelope-from=philippe.mathieu.daude@gmail.com; helo=mail-pl1-x636.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.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, 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?= Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Thomas Huth Reviewed-by: Richard Henderson --- 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 Thu Feb 3 19:38:01 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: 12734639 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 0D7A4C433F5 for ; Thu, 3 Feb 2022 20:37:55 +0000 (UTC) Received: from localhost ([::1]:42088 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nFirZ-0001dX-Vd for qemu-devel@archiver.kernel.org; Thu, 03 Feb 2022 15:37:53 -0500 Received: from eggs.gnu.org ([209.51.188.92]:56952) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nFhwq-0004WM-N3 for qemu-devel@nongnu.org; Thu, 03 Feb 2022 14:39:19 -0500 Received: from [2607:f8b0:4864:20::434] (port=44704 helo=mail-pf1-x434.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nFhwn-00065x-Vt for qemu-devel@nongnu.org; Thu, 03 Feb 2022 14:39:16 -0500 Received: by mail-pf1-x434.google.com with SMTP id n32so3061680pfv.11 for ; Thu, 03 Feb 2022 11:39: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=V8C3ToT7n1VbWIxeaFpS+4I7wWNBoxOKoMh2cKmuHT4=; b=hU+GCXV3mVt6oYgSnF/z2fkP65lcY7+R8Jsdvyc8EofmNjXXMmQJbcOI+AdaQsW2Gy 6l9F0WI7Tyzcdwqo1QfalVuOvE+nCIjibSV1Xww3ERKlIpIM+J0zLQB5j4c1MXweE1wl LtGejqp0cyCB8jcry7Mv3OkuTxEWbZ+pu0e1pCJzzGg8Lo226De+65uEiPRtezfgc+4D pGIiXF5mYk5yMMkZ67QU+B1eCVGQOh+VS16AedCYqbm0ksokgJykkMCRoqX8nApqREC2 hXKm9htomzJVjqYNjwYIop3QGbEbVcc/gwomlQoTpLZqrn/fZB5EtKU6uuqn4OFlvfeS jbzw== 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=V8C3ToT7n1VbWIxeaFpS+4I7wWNBoxOKoMh2cKmuHT4=; b=Vzx0U++ghQkQLp76VYwnbmzpKLaqLwfUfGxTXmsleu3ZXkxJiOUXSlHo3E0DZlV79w ow3hc+Sn2KvML150zdRkSwC9hpF5NBXmNYT4L116m/8QJaTBvO9Oib6xk77MAaAMvU6G PJvlHE8Ygv6cgF/+dApiZsmWOoCwQY8yentViBhMS7pUKUsEURdhhpocBl3nlHSq0gqc fxTknYSEzJ1gA1IBe36c6I3+yfbMbk9Mgt4gBxcMJB93gu6iTBj1OImn088g5nd/c6qi DSUdSJzsw4a8dli3XuNa4vFI9i0hi7bdtmNVXo9E9N1XBfgA2GUTNZlJP8sUMT6qWRNv pbzQ== X-Gm-Message-State: AOAM532ZPgbwC2SzKo+UXJQV0l3oz3qDN+RvoyEfJcjPTrUWa2yozXfe 9mQwfTytEBjPdW8kOkOtezAohzMuUeM= X-Google-Smtp-Source: ABdhPJzS75FeNiAgI5sFcq2GR9cq/bmIk2mLdwg6/slzU16+11nZOVG5qSKtIUSdgM3hrNNGAPu1Vg== X-Received: by 2002:a05:6a00:1693:: with SMTP id k19mr35227296pfc.71.1643917152566; Thu, 03 Feb 2022 11:39: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 kx11sm10767188pjb.1.2022.02.03.11.39.10 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Thu, 03 Feb 2022 11:39:12 -0800 (PST) To: qemu-devel@nongnu.org Cc: Paolo Bonzini , Richard Henderson , Thomas Huth , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Subject: [PATCH 08/10] target: Add missing "qemu/timer.h" include Date: Thu, 3 Feb 2022 20:38:01 +0100 Message-Id: <20220203193803.45671-9-f4bug@amsat.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220203193803.45671-1-f4bug@amsat.org> References: <20220203193803.45671-1-f4bug@amsat.org> MIME-Version: 1.0 X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::434 (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::434; envelope-from=philippe.mathieu.daude@gmail.com; helo=mail-pf1-x434.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.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, 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?= cpu_get_host_ticks() and NANOSECONDS_PER_SECOND are declared in "qemu/timer.h". Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Thomas Huth Reviewed-by: Richard Henderson Reviewed-by: Alistair Francis --- 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 Thu Feb 3 19:38:02 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: 12734644 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 B126CC433FE for ; Thu, 3 Feb 2022 20:43:07 +0000 (UTC) Received: from localhost ([::1]:50600 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nFiwc-0007Zb-K8 for qemu-devel@archiver.kernel.org; Thu, 03 Feb 2022 15:43:06 -0500 Received: from eggs.gnu.org ([209.51.188.92]:56976) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nFhwx-0004a4-O0 for qemu-devel@nongnu.org; Thu, 03 Feb 2022 14:39:24 -0500 Received: from [2607:f8b0:4864:20::62b] (port=36623 helo=mail-pl1-x62b.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nFhwv-00066W-TV for qemu-devel@nongnu.org; Thu, 03 Feb 2022 14:39:23 -0500 Received: by mail-pl1-x62b.google.com with SMTP id x3so3096208pll.3 for ; Thu, 03 Feb 2022 11:39:21 -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=iquACF5fINiHInRLGyn7zr/xi4B507aTmwDEUpBFgA0=; b=WqqR127ENiuUzg2CtFyBkaLyywkvIVD3wLXz4DzQnYbRdZ8HDnATF1Z2uV5Cnb9FI+ hAvdgNkvYvCEjCXmrdFDOVZTRT3B8KC3ytfnZakKePT6KeMltEOYdtz6mGhvIxL+zP2Y FyyjfVkM8pVffXjOL9DiOUjswTUdwB4LfPy8lLM3VrpTDH/Vs2t8Ey92Coyo3zymqXLV gkCUoBBPQqWmgrnO54gGkV+bzReEnT+/USq3andJN+Z2YfZawZiaerUANUJmJ6dDf5uV he3sOReVcdotJ4lr6WlrVhHH12pFpUBQlAqON047Cig+j6JGgrI098IlNd/BJBDPxDCx Q3cA== 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=iquACF5fINiHInRLGyn7zr/xi4B507aTmwDEUpBFgA0=; b=t1xGNgNz3KMAyDKPxsPBDAuW0S6EmO5grU631ASoXAETGekmRHxHCxiF2sRtHIV45w ++MXRbF8rXGGvOx6RlXlv69p5telpQQFAk8YL1qhhsaOQtvd5HVJrLxOoercl0JciSK3 XcOGixZSSdjPupQMTYpxkvhILLA7CRXRr8EYHkqxTQRJQ4uZipUDTPyyzqVjAe4Or3+w kSCJXORWrY90GULsuyTvvy/k49eSHWzlwFAUBtxCwelZacQjLx3erEgPUtT3xuK21jIO Qk0CHkD9IQ2rQRdnOHjUUqKc6a2foLtmVjK4zY7/6EtLeF6BOD3JAECzsVMg+wEiwmOt sLLA== X-Gm-Message-State: AOAM532f+MCG2QqI3p7a7lelauxjpWW2XBa0FjSiHpGoUUNgVysnbYpg oYrqUEkziFheYdvufJo/e7Qb01G6wrE= X-Google-Smtp-Source: ABdhPJx8283Y4qRuabj0VQuZqaH+oxWC7CRSawKvy/q4mmZSKEdzmRT6rS/PPZ0niD1SiFitMFr9bg== X-Received: by 2002:a17:902:ed89:: with SMTP id e9mr37782536plj.88.1643917160526; Thu, 03 Feb 2022 11:39:20 -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 d15sm3517248pfu.72.2022.02.03.11.39.18 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Thu, 03 Feb 2022 11:39:20 -0800 (PST) To: qemu-devel@nongnu.org Cc: Paolo Bonzini , Richard Henderson , Thomas Huth , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Subject: [PATCH 09/10] linux-user: Add missing "qemu/timer.h" include Date: Thu, 3 Feb 2022 20:38:02 +0100 Message-Id: <20220203193803.45671-10-f4bug@amsat.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220203193803.45671-1-f4bug@amsat.org> References: <20220203193803.45671-1-f4bug@amsat.org> MIME-Version: 1.0 X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::62b (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::62b; envelope-from=philippe.mathieu.daude@gmail.com; helo=mail-pl1-x62b.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.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, 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(). Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Thomas Huth Reviewed-by: Richard Henderson --- 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 Thu Feb 3 19:38:03 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: 12734647 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 7C09AC433EF for ; Thu, 3 Feb 2022 20:47:46 +0000 (UTC) Received: from localhost ([::1]:59320 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nFj17-0005Ch-Is for qemu-devel@archiver.kernel.org; Thu, 03 Feb 2022 15:47:45 -0500 Received: from eggs.gnu.org ([209.51.188.92]:57006) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nFhx7-0004iI-Bw for qemu-devel@nongnu.org; Thu, 03 Feb 2022 14:39:34 -0500 Received: from [2607:f8b0:4864:20::634] (port=46781 helo=mail-pl1-x634.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nFhx4-00068T-2h for qemu-devel@nongnu.org; Thu, 03 Feb 2022 14:39:33 -0500 Received: by mail-pl1-x634.google.com with SMTP id t9so867785plg.13 for ; Thu, 03 Feb 2022 11:39:29 -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=140Zx2PTc7IjmZMsxlQ0xh8PVeXybFCQMTlI38ITxCE=; b=FiOgDxfl5Emy6G7SfabLxVoGCeLV63ivVvDJP/CDpxGPZutYosSJhiXpgMlhTM6tGi 0R15Pua3ePUOlERnvvMGphexlo/CrWbvz45UO7tPsiKx7ykpNbxdm4Ip2Z8fx/XPXpWP e3zYnj3xB58oDdNOyBPOdIsMhvrMq+4LTn1uFbczk7zBN26hkxje6vwP5IpvtVyS9WUP gEjzPeXpiO66f5DXpDPDGUdu9ZQVaVUC50QSDztH6kk8DqJtqR6btrgJ8MJMUj8ATIAq RZmr+RLTa95e8M096FeQara+e7Ow9TJ2UsXFOhGvlXR/xNn1IxlHmx0lncHXLW2xRZN3 hDvw== 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=140Zx2PTc7IjmZMsxlQ0xh8PVeXybFCQMTlI38ITxCE=; b=3bnalu5kkIVcaxDd/qYJTvQPZFXLAM0wt27ryCGFDr3LSvqCbrsWmZLrdZnjTfkLrg DU3c782LwqYqW+ZbPoXRosfw/fl7LJIBgQapt2VIZa8KjHZjEfo+oOKpDZPWYVNaJKUY wlmCgZoF/AvDsJ1+vWPDlqAgkDr8Jbc6MZx0LuW4tZE43EyiXxCRoau83K4lP6ednDxZ wimQGWGUA+tTRvzZrWk4D7eBC1giaWNt76jrqZ+GPcTTMyZnfyHUnhMBx+6/LML+UdIs imulPhygk64uWxSvC5pf5HMQRcTdxZSxUNBjRGVaDcMK6Mp3RADRu/6P+KrSmGLsmeby pHmA== X-Gm-Message-State: AOAM531+qzb9urQjxk4UmkaVM4jlUWkLuVaHV+vyYmiCj7A8lgdBkMaj ocisc31BoRz1XTZILJ+FDJk2RikUMM8= X-Google-Smtp-Source: ABdhPJxeAfdeJOAG26QTCaHS1SjEimJJ9EvjpPdfvv8trPISJkvBGeH8r0Wx+i9gx+uwwB0+JbTqOw== X-Received: by 2002:a17:90b:1bc3:: with SMTP id oa3mr15465285pjb.172.1643917168448; Thu, 03 Feb 2022 11:39:28 -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 d10sm27027684pfl.16.2022.02.03.11.39.26 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Thu, 03 Feb 2022 11:39:28 -0800 (PST) To: qemu-devel@nongnu.org Cc: Paolo Bonzini , Richard Henderson , Thomas Huth , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Subject: [PATCH 10/10] exec/exec-all: Move 'qemu/log.h' include in units requiring it Date: Thu, 3 Feb 2022 20:38:03 +0100 Message-Id: <20220203193803.45671-11-f4bug@amsat.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220203193803.45671-1-f4bug@amsat.org> References: <20220203193803.45671-1-f4bug@amsat.org> MIME-Version: 1.0 X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::634 (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::634; envelope-from=philippe.mathieu.daude@gmail.com; helo=mail-pl1-x634.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.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, 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. Signed-off-by: Philippe Mathieu-Daudé Acked-by: Thomas Huth Reviewed-by: Richard Henderson --- 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/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 + 46 files changed, 46 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/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"