From patchwork Tue Dec 12 12:33:49 2023 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: 753077 Delivered-To: patch@linaro.org Received: by 2002:a5d:4c83:0:b0:333:3a04:f257 with SMTP id z3csp1877047wrs; Tue, 12 Dec 2023 04:39:07 -0800 (PST) X-Google-Smtp-Source: AGHT+IHVqlW0OMXg5heL88SrPPym49UFPbjQya9zcuHwmgFQcLI1awg+4ZPnM6oybKhu+lEh+mHS X-Received: by 2002:a05:620a:a45:b0:77d:cb4b:bda with SMTP id j5-20020a05620a0a4500b0077dcb4b0bdamr7551442qka.9.1702384746792; Tue, 12 Dec 2023 04:39:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702384746; cv=none; d=google.com; s=arc-20160816; b=XW+l5BF8yZfvRZuR6HaOcf1nR4qHkIRmxIDMLTPbXNpG8nM9oBb5Haht7LPjrcoyUx i67nuE58rLozCoTPuh/oA5fS1Nlz6VhJIhGjJtiNZ6TU/IxoBoAKNPTw5IE391h5m8MW N+AzJifDN2lvNbEW9G4AhV5dRg5YZurWgPXZEkJXl9NdWKsU3mbkTsiLOJdcDaJS2LUX ZE662lWGl/R1d97kFCRjhpEVaSwkkLhcueGiHsvyrsHW6MtYm+7E5RHYMvlXuzGHLssG jgaptNWCDMYPeHim7gdccKfaeAbN52XpdiM/UK8x80suI91X2ethCaFK+Z6pdMrVMwuW TK1A== 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=/12RdsXJD+64tXWZALzavaBTbOyfNyTOEXXMF3szcR4=; fh=LO/BsHhviOYxE+eStnDDVVmSnBBAHvhaoSI4fAkKvrk=; b=n7e8UwOy0b9QsB9+/MePpMVaeSr+nUaidWHXtJYV4s1RgO3dfklKcJ1pfbAS+8SuHG mHSnLRWaMrgp5jKEE3FolmHG+OQj+s67IijI7/p2GooQFeUlEjRZsmlxxYKnGOLFNzKd neBvj3m5kt72QnQJ7cfw7FeK5MVO9nhR/TJJhjOsuNlChA3Rnxov1oyG6IFcRAYJObW9 0DpeqbAr7JXgA/iXT2sw8hdRGADXg3EWbwhXNL8ac2ehV+Nzlx9R1h7yQTaZzHCX4F72 oTFg+rhGd5QAhqeURqgYn/F9c1mrr0lRo1qu30wprH8BdULL6eXO6v6GTTsznf2fB+Xo adsQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=XXO2y1Q1; 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 t21-20020a05620a451500b0077573396927si11408970qkp.260.2023.12.12.04.39.06 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 12 Dec 2023 04:39:06 -0800 (PST) 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=XXO2y1Q1; 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 1rD1zj-0001mx-89; Tue, 12 Dec 2023 07:36:15 -0500 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 1rD1zQ-0001a4-Gu for qemu-devel@nongnu.org; Tue, 12 Dec 2023 07:36:00 -0500 Received: from mail-wm1-x329.google.com ([2a00:1450:4864:20::329]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rD1z9-0007b8-My for qemu-devel@nongnu.org; Tue, 12 Dec 2023 07:35:56 -0500 Received: by mail-wm1-x329.google.com with SMTP id 5b1f17b1804b1-40c3ceded81so31018875e9.1 for ; Tue, 12 Dec 2023 04:35:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1702384537; x=1702989337; 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=/12RdsXJD+64tXWZALzavaBTbOyfNyTOEXXMF3szcR4=; b=XXO2y1Q1sTv5RhnlMJ1ucgtmOio7rX34/sMkUnpiYJHKDfPIddWW2t8nmAlY8WfLIg /aK8Jkv0VnGBGOxel+m9x6wP/21sDli7p5NOEQBArDK32Hd6VE1TcmTDMC5QuDWRH5Ha 9nPUteGz6OpDcnhm2oI3/ySQALgKYX9OQBoKePf8653KJEjr6lL4ApqRFlhaueIenkh2 7dZzMkBpQlr272OzEfYIHAGNV/nz729fAJXMIou7U0+KDbpCWjCP+hOVRnHX4ZNj5v5m OADuUkS1SVy34w5hTtAAedhpeNSdyIP+bx6R5gnJMl5PgxUMLHykyWPS25I0OB2fS4Xq qz3A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702384537; x=1702989337; 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=/12RdsXJD+64tXWZALzavaBTbOyfNyTOEXXMF3szcR4=; b=J5jeNqNcifRr3CkFh4OIO+qxGIbp8rS66xdz3FxdaJ6bYKbHydcvpHCs0vVmyj5qBV yjGU2vTdHalLi6jOxzMZCAmnVcxJKl+Oii3Ny+y+Ttv1Khab8sVEhrtsvm2L2R5/X09R FcqkjBa1542Yqpox6tw+ijJXSKGQhrLHMj378ZrvG1bj6V6WsY05A4fUHWjm2qTNaQH+ 84hHaI4ZpsMx+GEwzN/3QTqy+luwopNBg6OV81Y2PLhTEVH+Jfon8JuUgb1JOo6SrVwi bRmCSQcrNhZn448A92Wkh8pX/E0vVT4dQuP85M64v9mIn7ZrwqXHddI8ii0cbFUQK6Gc 1utg== X-Gm-Message-State: AOJu0YzQrCJhSbyIs/ncmfTxHD6bCV7JLRdsrHafpuAVKTJqTMyWWxi5 E6WASSG0lk4t/CB3PiJ9B9FwFh/FMOOxqZzrqVzRpA== X-Received: by 2002:a05:600c:1d12:b0:40c:32fe:e123 with SMTP id l18-20020a05600c1d1200b0040c32fee123mr3266787wms.167.1702384537429; Tue, 12 Dec 2023 04:35:37 -0800 (PST) Received: from m1x-phil.lan ([176.176.175.193]) by smtp.gmail.com with ESMTPSA id tb19-20020a1709078b9300b00a1cd30d06d1sm6338905ejc.14.2023.12.12.04.35.35 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Tue, 12 Dec 2023 04:35:36 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Claudio Fontana , qemu-ppc@nongnu.org, qemu-s390x@nongnu.org, Richard Henderson , qemu-riscv@nongnu.org, Brian Cain , Thomas Huth , Paolo Bonzini , qemu-arm@nongnu.org, Manos Pitsidianakis , =?utf-8?q?Alex_Benn=C3=A9e?= , Anton Johansson , Warner Losh , =?utf-8?q?Phil?= =?utf-8?q?ippe_Mathieu-Daud=C3=A9?= , Peter Xu , David Hildenbrand Subject: [PATCH v2 13/23] exec/cpu-all: Reduce 'qemu/rcu.h' header inclusion Date: Tue, 12 Dec 2023 13:33:49 +0100 Message-ID: <20231212123401.37493-14-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20231212123401.37493-1-philmd@linaro.org> References: <20231212123401.37493-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::329; envelope-from=philmd@linaro.org; helo=mail-wm1-x329.google.com X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, 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+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 --- 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 26b44ca125..5b5379b94c 100644 --- a/include/exec/cpu-all.h +++ b/include/exec/cpu-all.h @@ -23,7 +23,6 @@ #include "exec/memory.h" #include "exec/tswap.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 90676093f5..aab7d6c57c 100644 --- a/include/exec/ram_addr.h +++ b/include/exec/ram_addr.h @@ -25,6 +25,7 @@ #include "sysemu/tcg.h" #include "exec/ramlist.h" #include "exec/ramblock.h" +#include "qemu/rcu.h" extern uint64_t total_dirty_pages;