From nobody Mon Feb 9 11:38:13 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of _spf.google.com designates 209.85.128.54 as permitted sender) client-ip=209.85.128.54; envelope-from=philippe.mathieu.daude@gmail.com; helo=mail-wm1-f54.google.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of _spf.google.com designates 209.85.128.54 as permitted sender) smtp.mailfrom=philippe.mathieu.daude@gmail.com; dmarc=fail(p=none dis=none) header.from=amsat.org ARC-Seal: i=1; a=rsa-sha256; t=1619073697; cv=none; d=zohomail.com; s=zohoarc; b=ZB5mS/9ep/wcFt+iWEnFryD/XnluM6IHSH/HXLapzan5dRX04G1YMeu4LOpv1L5G4lPp0wQIADJqcHxI/c5lCGmEWQziUpmrKhmRGbnd7bN4gdt75HA9RxhcOBUxWkKv1aKF9/jnGD0TeTWbtHYeJUH9B6UcotvOCywLdIVVzJo= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1619073697; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Sender:Subject:To; bh=d4HDeJyPqjZEzODBtmbe1jNMuACFjo+tIKMEPK30PBA=; b=fnvmX+MAzUONSaN5DN2FijGbhsZNC0x95ORdIq3lwHdBs+0DhteP0iiUjEapKzvw78ENdXKjE0/e6GxYIgH+RClYGTcFmNO3eesj3wjaaSM/f7M6MUEtC9tPj7CP5UbGpYlppebQCZdN8QMfSNY5FBuD8U1WLRwmobhBY7uk9nI= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of _spf.google.com designates 209.85.128.54 as permitted sender) smtp.mailfrom=philippe.mathieu.daude@gmail.com; dmarc=fail header.from= (p=none dis=none) header.from= Received: from mail-wm1-f54.google.com (mail-wm1-f54.google.com [209.85.128.54]) by mx.zohomail.com with SMTPS id 1619073697296661.8970343551803; Wed, 21 Apr 2021 23:41:37 -0700 (PDT) Received: by mail-wm1-f54.google.com with SMTP id y5-20020a05600c3645b0290132b13aaa3bso2483099wmq.1 for ; Wed, 21 Apr 2021 23:41:36 -0700 (PDT) Return-Path: Return-Path: Received: from localhost.localdomain (39.red-81-40-121.staticip.rima-tde.net. [81.40.121.39]) by smtp.gmail.com with ESMTPSA id a7sm1968978wrn.50.2021.04.21.23.41.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Apr 2021 23:41:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=d4HDeJyPqjZEzODBtmbe1jNMuACFjo+tIKMEPK30PBA=; b=PVi3GfVVHTfaB4E9nDcyH/TnuRhH+z6YHa3ZHCvkyU429HNhqbLbnE/MM/JKoXsh97 K38bZHcA4kHsrN0+EJAqWs0CvSYzyTlsRfoxBXzMqoACubQ9pFHLk8/174ssvPubHx7u 10wj3titJbwXVFuHL05kn/Qa1D8S46JbL49vhQ7xto24zH6vbJfCHZhYJ0SX8arrYbyX upk36553UOvI1JvuuK1su32ABnxCp3p3cb6VDPADQCf3nx0DL4jUuVnCNYhZtFzJCmV6 EQ0Pb4WvdJR3X8r8M0cl0Uc4X0WerlLRKseprjdNnRNC3HTz9xWap0WzDABWF6IgC61o n8qw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=d4HDeJyPqjZEzODBtmbe1jNMuACFjo+tIKMEPK30PBA=; b=fTP/LxV7mQV7VNSVyOjWhDQFCLM0LMxY33Au33vyRF01wD+T8VeEwORkQQ0kFbSAE1 oR7RqFscQKBeEUjPQYuB2n2IRAjxLD1SFNB1OmtNU7TeyqKeVFy7kunApeSsR/TOFE/p lyLiZhmxLoZp9Xz74g/vZkMI4VU8gETSR4k8zMf4cvelMuyOjdGyKblRlF9gvej46AoR K2kVUolK/IKIk7P0Q/SOfEvvg+7NrbCothgDGFyyxzSR+nZTLBTPHEw35Pgbk6bgadE3 IP96k/BYraFhIw1+jaNtjeDQTPYW6FkCb2WxLYGdanmwnE7Ms32/ND5xJAEsaAJxVIq+ gCJg== X-Gm-Message-State: AOAM533eBTz1POkiT4Ckf3FwhMCahr3H7iV7Zp2i/Eq1Uwas7Mu5jhdX bfGKG5HWVES9fx8oTk3Xm+M= X-Google-Smtp-Source: ABdhPJy2ChX5BcAMdlgK4braELJa78ZirW97DUYfa6cU4zimSAqOMRSqdb+e1l/h1Xxed8GtmlhbuQ== X-Received: by 2002:a1c:f701:: with SMTP id v1mr13823404wmh.69.1619073695472; Wed, 21 Apr 2021 23:41:35 -0700 (PDT) Sender: =?UTF-8?Q?Philippe_Mathieu=2DDaud=C3=A9?= From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Pavel Dovgalyuk , =?UTF-8?q?Alex=20Benn=C3=A9e?= , "Emilio G . Cota" , Richard Henderson , Paolo Bonzini , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [PATCH 1/2] MAINTAINERS: Add include/exec/gen-icount.h to 'Main Loop' section Date: Thu, 22 Apr 2021 08:41:27 +0200 Message-Id: <20210422064128.2318616-2-f4bug@amsat.org> X-Mailer: git-send-email 2.26.3 In-Reply-To: <20210422064128.2318616-1-f4bug@amsat.org> References: <20210422064128.2318616-1-f4bug@amsat.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @gmail.com) As the 'Main Loop' section covers softmmu/icount.c, add "exec/gen-icount.h" there too. Signed-off-by: Philippe Mathieu-Daud=C3=A9 --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 36055f14c59..b91419ef08d 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -2445,6 +2445,7 @@ F: ui/cocoa.m Main loop M: Paolo Bonzini S: Maintained +F: include/exec/gen-icount.h F: include/qemu/main-loop.h F: include/sysemu/runstate.h F: include/sysemu/runstate-action.h --=20 2.26.3 From nobody Mon Feb 9 11:38:13 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of _spf.google.com designates 209.85.221.53 as permitted sender) client-ip=209.85.221.53; envelope-from=philippe.mathieu.daude@gmail.com; helo=mail-wr1-f53.google.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of _spf.google.com designates 209.85.221.53 as permitted sender) smtp.mailfrom=philippe.mathieu.daude@gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1619073702; cv=none; d=zohomail.com; s=zohoarc; b=dVQb8hB0i9cNVheAHWkefi5JZJjP0n/yZeblNXlF8O/XJMTpFrnNs7dzffcK7OvkKr4Fr0cl2GLLRQbD2+ltaBvQbyS8EdMShCfi/ibc7Obz1QfAweJyMakoLLB4CMMJlZdbuICJR9zu6WvlQCXU73olFVBMiQyMco6/yyMfSo8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1619073702; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Sender:Subject:To; bh=qDhZv6hOAh1AXh93jaOloafMBY2uwHZW7S6gBqsTHSE=; b=QXtfunTC1dnSn7RGHVmmHjNr863/yPeeJMFeHRFZCWrjwCXvItnz7gePO4Oqemo01sKQ6KNL7Xq7jpaqrixzyXZA9KSkXdo+ZXKvg0L8EdXfthbaylMmg5j2h6UClzomm6M4p63QJe5brViRst5rSIemkYccEdGZd5Zo51jfooM= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of _spf.google.com designates 209.85.221.53 as permitted sender) smtp.mailfrom=philippe.mathieu.daude@gmail.com Received: from mail-wr1-f53.google.com (mail-wr1-f53.google.com [209.85.221.53]) by mx.zohomail.com with SMTPS id 1619073702028599.545426970418; Wed, 21 Apr 2021 23:41:42 -0700 (PDT) Received: by mail-wr1-f53.google.com with SMTP id m9so30842676wrx.3 for ; Wed, 21 Apr 2021 23:41:41 -0700 (PDT) Return-Path: Return-Path: Received: from localhost.localdomain (39.red-81-40-121.staticip.rima-tde.net. [81.40.121.39]) by smtp.gmail.com with ESMTPSA id o12sm4761454wmq.21.2021.04.21.23.41.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Apr 2021 23:41:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=qDhZv6hOAh1AXh93jaOloafMBY2uwHZW7S6gBqsTHSE=; b=Zz+KIAGcCmHTMnNr1qzYeyBhfFuvy9XVtyjRMGewwswoKS67Nc4WGi8MUp5ZHMvOfN H5MkmqRwDkNU4cU20ZDT0N5vqjs12jHZDutsNwiCmaQdMxz8DBwXrVw/G2ht1sLODGor dZMUsLH0tVNIFclfYzoPi6U66YE5R8oKqp4NzjbiSRWqFFqpC64OppBclrkxDbNrNOp/ NUOShetUckYPwYqYjwZtfji9vrCUlCQClWqjhNQPVS/Dq8bKhV0LzK2mZPjslisUq5f4 UWeWxpo4MZeERWhM+aUqtPd0s3VbZ4UWSNsCnBCv+MFVpseKuCS2iJaGMurXWYquxsIL zJNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=qDhZv6hOAh1AXh93jaOloafMBY2uwHZW7S6gBqsTHSE=; b=gdMJrN4LBRhOxesWQEZPEoFCsVksgkTac361D3dG3QlxN+c0c12uEE5tULFyycdIdy Qc3IrXVpL3ql3qbfw7+QjVukxE30OIxhtbUbimH4te8OEpXbqXeh7U2hYCjPTxTXqDOu jWInG9KoqLjbFUetUF3YDjdBiTNxKRwAXM8hHWfJvEQHrvwQkLqQCsyoLmqV51lKVc/G yV/rYYqV8FYYlySsLWDVgW1y7dwCg/M+/T5AhHZOOyHvqQcEqy+Z7WK672OiBgUzZ4S+ U9IxPt6qcY8Dx82ox7e5kdK4kzufhqn7J7FfBXVoaN0RIlTzRHZpErDU43aGui1rFTh5 EUoQ== X-Gm-Message-State: AOAM531MhUHHVsh0udmh0eqFUoN4Folx5if62ItIKFFIruDoIHvQnl82 KdTwyZbgk7e8t7nA526+xSk= X-Google-Smtp-Source: ABdhPJy23p9yzSO41zynG+tWKwBWb7Re1HJ8cs9b0vGymk56OqwDdkK7wt/xMpv1ym+HOerQB2K0sw== X-Received: by 2002:adf:fbcc:: with SMTP id d12mr2030918wrs.151.1619073700352; Wed, 21 Apr 2021 23:41:40 -0700 (PDT) Sender: =?UTF-8?Q?Philippe_Mathieu=2DDaud=C3=A9?= From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Pavel Dovgalyuk , =?UTF-8?q?Alex=20Benn=C3=A9e?= , "Emilio G . Cota" , Richard Henderson , Paolo Bonzini , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [PATCH 2/2] exec/gen-icount.h: Add missing "exec/exec-all.h" include Date: Thu, 22 Apr 2021 08:41:28 +0200 Message-Id: <20210422064128.2318616-3-f4bug@amsat.org> X-Mailer: git-send-email 2.26.3 In-Reply-To: <20210422064128.2318616-1-f4bug@amsat.org> References: <20210422064128.2318616-1-f4bug@amsat.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @gmail.com) When including "exec/gen-icount.h" we get: include/exec/gen-icount.h: In function =E2=80=98gen_tb_start=E2=80=99: include/exec/gen-icount.h:40:9: error: implicit declaration of function = =E2=80=98tb_cflags=E2=80=99 [-Werror=3Dimplicit-function-declaration] 40 | if (tb_cflags(tb) & CF_USE_ICOUNT) { | ^~~~~~~~~ include/exec/gen-icount.h:40:9: error: nested extern declaration of =E2= =80=98tb_cflags=E2=80=99 [-Werror=3Dnested-externs] include/exec/gen-icount.h:40:25: error: =E2=80=98CF_USE_ICOUNT=E2=80=99 u= ndeclared (first use in this function); did you mean =E2=80=98CPU_COUNT=E2= =80=99? 40 | if (tb_cflags(tb) & CF_USE_ICOUNT) { | ^~~~~~~~~~~~~ | CPU_COUNT Since tb_cflags() is declared in "exec/exec-all.h", include this header in "exec/gen-icount.h". Signed-off-by: Philippe Mathieu-Daud=C3=A9 --- include/exec/gen-icount.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/exec/gen-icount.h b/include/exec/gen-icount.h index 298e01eef49..467529d84c5 100644 --- a/include/exec/gen-icount.h +++ b/include/exec/gen-icount.h @@ -1,6 +1,7 @@ #ifndef GEN_ICOUNT_H #define GEN_ICOUNT_H =20 +#include "exec/exec-all.h" #include "qemu/timer.h" =20 /* Helpers for instruction counting code generation. */ --=20 2.26.3