From patchwork Fri Apr 26 19:41:43 2024 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: 792384 Delivered-To: patch@linaro.org Received: by 2002:adf:cc13:0:b0:346:15ad:a2a with SMTP id x19csp627789wrh; Fri, 26 Apr 2024 12:52:13 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCV2JLSgNF3/405dnpCEw9SlgSP3kfMw7BT5Sy2xtNMb8olZm1XA1gqy0RA1D2/2RptyVyVo+MY/BOccQGs1ZwUb X-Google-Smtp-Source: AGHT+IEQVWpKclRTWiWGv9Ve1hF4nNM7P5mEFaacI5VjnbiiEJL1t5sb3mXz6ElL2O82T87hl0JP X-Received: by 2002:ac8:5754:0:b0:434:4a16:609c with SMTP id 20-20020ac85754000000b004344a16609cmr4351100qtx.39.1714161132979; Fri, 26 Apr 2024 12:52:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1714161132; cv=none; d=google.com; s=arc-20160816; b=lr4AaiqMlAa93Aew9I5GMekkFbdPNV+jnS1pjPrCH65QMZcd2KEUl+V0SzTPzVPtAd OnAVm4BkK7RLkH3yP8YCzq/TyK4BgEknMzEvaNVgDKcI+zd5qUcT8RPlSv5vMFNT47P5 AcRUDWGsTzgUGkEAsdxMkg3UAPwT3e+CWcwU/XXrs8RchKU8ZAZ7ZqvpJ3ZpB9SNhoBq +99kPlk2tk5mkrs1SR28bgxNnNdTzi2KKrsJWI4+BDl/vbhvm0AawRfZ0KlG35NX9ljL xtBDibB8vCTPtv1wTY80e1Ugz9rvPMZ5atCtrC/Bq9D+mCORMKb52/4BkS/0bl/MwAb3 ondg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=Kun4qJkDCY8XFQaHg2bl7DDiQ3ue/fUb7wf0Dab2h8M=; fh=yCcyM7c0Gvuji7OIj36vg2G+rwASCWI5fNVSxCFmB9s=; b=m1DsKzUi5M6xLNkFW2PQndpTiNTfq2I9GGZgZYQNzWd+2t9GGlN8IoCxxdbXahzRep Pon7vH2xbWXkjFlJDgMVsh6PHLtDERC49/zHP6Uaa7vHfRtQ92Xw8hheyvyfRnmz7Zu4 vCYx5s7wiyyvPOb6eV7zyNcc2Xu0E8G3Ws8cKSQ4Yz+FsoiXIsNPayc6JfxY1OG/4KfF Y5IqGPYbQnQF20/jesnZcG/MX6P7ONxie3P7mo63g7hH3Ps+1UTVYrqvj2ayM3RLpt/S pn2mJxgIAqJZPE7/Xj8J7ZcqrQrUPcxoFvp30jaWiAu8tw3RiEzQpmwNWLQIzr5HEo0s q24A==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=zjNy8o5c; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id n9-20020a05622a040900b00437794a852dsi20834744qtx.23.2024.04.26.12.52.12 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 26 Apr 2024 12:52:12 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=zjNy8o5c; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s0RUy-000757-KU; Fri, 26 Apr 2024 15:44:44 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s0RUq-00064o-4d for qemu-devel@nongnu.org; Fri, 26 Apr 2024 15:44:36 -0400 Received: from mail-ed1-x532.google.com ([2a00:1450:4864:20::532]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s0RUa-0003fH-CR for qemu-devel@nongnu.org; Fri, 26 Apr 2024 15:44:35 -0400 Received: by mail-ed1-x532.google.com with SMTP id 4fb4d7f45d1cf-5723edf0ae5so2762028a12.0 for ; Fri, 26 Apr 2024 12:44:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1714160657; x=1714765457; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Kun4qJkDCY8XFQaHg2bl7DDiQ3ue/fUb7wf0Dab2h8M=; b=zjNy8o5ctbqYsWy55pbL8x4GCRe082H68yonSDQeUt19r1D12E25YYbkO9IjbjH0hw MNhwCsvcOWw2Si4uRZG0f+CaTqItsxtjMAfdQqATIxbNnPM/yUx2oF3FdLGa9ast+EnZ U3Dmxd22owEq9T87OBZBC5wBdzLAdhXnFHD5CUxx5p5cuKAPt65wzojK+AlQLz80vh1E /wTRu9W0gqb+AvriFSQ5qhqVtL/tYzyML826YSYMfJY9rzHdk3sX3HTg/ZX7Ru2HllOy O0FsMaUixweP9bwWy4GPxA9b0EbogGtBuNbTYc0MjGlwgYYGW3q7STdp835h4t80pQ+W Al8A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714160657; x=1714765457; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Kun4qJkDCY8XFQaHg2bl7DDiQ3ue/fUb7wf0Dab2h8M=; b=ceBY7JyIiGykLwGO+UXouIS7yr42Cdw9+vn+UgcKongr0qi5oKmXl2goaAzflVOG1p TTW2aKZAg2GXlugydU2ebx2yS7IK4QWKd8zGI9bTwio66C5AteoYyHq9ASPnRLvhTnoG 6gL2gV8ylp4ep7UTBGWwVzZd29PAYPkmygsYZPOWTjPH8QQja3E4snQHmWndWcYo3rE7 gm/ZRQwfKEyyXq47Mt1e/oSl/Gq1ulJTj4hbot+XNF8p2LmbgviXSCVmfPoMT3/t2CA+ RWYMbDh02yk3e3aVQPWxMY36dnU7JyNyrHrlv/l2wmysMbeA07mr3t50yQK/thv4VyZG Fwdg== X-Gm-Message-State: AOJu0Yxiw0GnIoMpRtmcCNuj+JW5xkWnBpEXyiNbskn5SuY5sKZu2YF3 yLmBFTszBwlOqlQtSu/BLBbWVFW3xw9RGjsM+j0qVycOUP8fW8piLcKPVV7sZfV7GBm4zwJ9FI3 NLYE= X-Received: by 2002:a50:c34f:0:b0:56e:42e0:e53c with SMTP id q15-20020a50c34f000000b0056e42e0e53cmr395812edb.34.1714160657683; Fri, 26 Apr 2024 12:44:17 -0700 (PDT) Received: from m1x-phil.lan (aul93-h02-176-184-11-147.dsl.sta.abo.bbox.fr. [176.184.11.147]) by smtp.gmail.com with ESMTPSA id cn18-20020a0564020cb200b00571bfc97b79sm10018803edb.55.2024.04.26.12.44.16 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Fri, 26 Apr 2024 12:44:17 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: qemu-arm@nongnu.org, qemu-riscv@nongnu.org, qemu-s390x@nongnu.org, qemu-ppc@nongnu.org, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Richard Henderson , Paolo Bonzini , Peter Xu , David Hildenbrand Subject: [PULL 23/38] exec/cpu-all: Reduce 'qemu/rcu.h' header inclusion Date: Fri, 26 Apr 2024 21:41:43 +0200 Message-ID: <20240426194200.43723-24-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240426194200.43723-1-philmd@linaro.org> References: <20240426194200.43723-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::532; envelope-from=philmd@linaro.org; helo=mail-ed1-x532.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable 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+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org "exec/cpu-all.h" doesn't need definitions from "qemu/rcu.h", however "exec/ram_addr.h" does. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson Message-Id: <20231211212003.21686-17-philmd@linaro.org> --- include/exec/cpu-all.h | 1 - include/exec/ram_addr.h | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/include/exec/cpu-all.h b/include/exec/cpu-all.h index b86209fc49..586dc56d9e 100644 --- a/include/exec/cpu-all.h +++ b/include/exec/cpu-all.h @@ -24,7 +24,6 @@ #include "exec/tswap.h" #include "qemu/thread.h" #include "hw/core/cpu.h" -#include "qemu/rcu.h" /* some important defines: * diff --git a/include/exec/ram_addr.h b/include/exec/ram_addr.h index 07c8f86375..891c44cf2d 100644 --- a/include/exec/ram_addr.h +++ b/include/exec/ram_addr.h @@ -26,6 +26,7 @@ #include "exec/ramlist.h" #include "exec/ramblock.h" #include "exec/exec-all.h" +#include "qemu/rcu.h" extern uint64_t total_dirty_pages;