From patchwork Thu Apr 3 23:57:59 2025 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: 878064 Delivered-To: patch@linaro.org Received: by 2002:a5d:6dae:0:b0:38f:210b:807b with SMTP id u14csp3530235wrs; Thu, 3 Apr 2025 17:00:50 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCVMsFX3opEbTwWSge+Z/kGBI1p6d6CFTJL1kh6Ri61aaKvpWaK575OrTZmkCFE6oKBvz0Tdbw==@linaro.org X-Google-Smtp-Source: AGHT+IFBFjnCgRoCW18CenwJe0YAjWuB3CRDHoAMg5s/EU7yTNhsAgfvy1mEgNBM06ssaJLe9NYD X-Received: by 2002:a05:620a:1a06:b0:7c5:5339:48cf with SMTP id af79cd13be357-7c774d60c84mr169177485a.30.1743724850564; Thu, 03 Apr 2025 17:00:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1743724850; cv=none; d=google.com; s=arc-20240605; b=B/2y+xX2e4d2TYuNYCLCL0OAdEHVi3Nc75GO4AWU+CMwfx49zNdYP5yjfDO5UyXF1r t5XtS5NujFf3cckaLZRSBncKwSSMdrBBAqju403phLcHEU8Ye/u7bzg2pdfwQlO15YD5 5jRFnf2Qn6CrbQJjTF1w5wVvZEmCD/Uyhkc+UVs5SMQpP4EEbsAtjCjkiOEauL6Wags5 0tgsrfgY0rE47SnuRoPSjBdhbJfoU58t9ap4Crj9C2CpyeYSprwc/sJp4Hkg3rRIlS7L ux/JT+dj0CLW6g7swI54R1MkCJqkkkzjGexxd5zrZV+I3Ox8F5na1MyD3HR4Ojam7zCf IQbQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; 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=SwOev6P4Yow8Jn5q9PsEhT1CQP4v/3jic2jASXzU5CU=; fh=cGDjR9+NH75RtMqDHQPhCvgcQemKyI3acX9LAGXbf+c=; b=UxYDsmmEDOe9PX6fTYZoJl5GQWEYiJzClLJiOzjbPa8I53o6tjg26MoKvb2AgTsVNv 7TwyX1VFoYHNJFqHk1jvhMIQVkor1Wp66HKsEdLRJ1FWhpkV7CIpdgl97UjtARXmeHbi zRkquMYD1Zm235Mv5pO2Zel0QzMk4H/k+CLLQO8v/ADR5RM1XrIz4O8jntYk9Anfjp0d sKT64/0vivMarE0dFIXo28bdyjQVqsjxjmVHdyHmWnDV3PWjfiRs0UWEI2/DSkWwy1FS VZqgQ7MXAxWhZKpuNTnOKjaW4skBufbVCC6oFb18rHP9GiLE1z6XPz8wyibTw3ua6cCR EoLw==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Tyn9QVV5; 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; dara=neutral header.i=@linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id af79cd13be357-7c76eae479asi205021685a.633.2025.04.03.17.00.50 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 03 Apr 2025 17:00:50 -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=Tyn9QVV5; 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; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1u0UTv-0002Li-61; Thu, 03 Apr 2025 20:00:23 -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 1u0UTs-00027k-MO for qemu-devel@nongnu.org; Thu, 03 Apr 2025 20:00:20 -0400 Received: from mail-wm1-x332.google.com ([2a00:1450:4864:20::332]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1u0UTq-0002xA-Fr for qemu-devel@nongnu.org; Thu, 03 Apr 2025 20:00:19 -0400 Received: by mail-wm1-x332.google.com with SMTP id 5b1f17b1804b1-43948021a45so13750165e9.1 for ; Thu, 03 Apr 2025 17:00:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1743724816; x=1744329616; 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=SwOev6P4Yow8Jn5q9PsEhT1CQP4v/3jic2jASXzU5CU=; b=Tyn9QVV5jN8XQCO9xVOy4obhcmN7eAsP0iO2zIjP41VtqUanQTTXVGaO7mjOM+0RxD aVKr0y9lcQ9qLpnIj020EK3sclpcqcguvdQrtBD49OOW9SeOeuGkkFwGha8u9I3bfD4j zpDdjFdEV8RobuUtOwn6RJl9oJPNHGSibnCCxRUZUHIT/u6XSDsZz3Fe4iO2UtkfMUOl j9AKVFVYiJ7cQYsAklyZ9La60VLCrEY++8C7h3DVB8VaT3stPaIFFxHV356ZwUltB6U3 MlniadNlDM23iviSnC0YkDhle7LrsM9rnzis1kHOVyarvrCCh6vzyuYtroGil4s1eQ7d tU3A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1743724816; x=1744329616; 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=SwOev6P4Yow8Jn5q9PsEhT1CQP4v/3jic2jASXzU5CU=; b=Q5xkvL+jyiej7Dgg0xdfXX1jAE7PVOqHMyLtm3JpAFULth4gFohsQ2/E2z49vFCWSA ZzoEJgHySs0wf7YhA28sdTzeHO2E0WKquUl+1c1ND3gYlNHOFn2eggHRd7Y9+NgpPFMR rXLl8aX/WfEBOT5aSM1TFfEUnk4V+QZTohWPCe2npy3g3A777Sw8Da8zJh+IUtFfTbvz 6U/L23p7nHSN6k4Y2PweYJGwspAuCtd1Zq6KHa0ulxs2bEvCqV0cr15sgzAleHWYht5p xpxZWwE2mhegg/kBcjkuoCy42mBboTYKZsKMe44wkcGrZLJN8QxYREEET2pQ3Z0N83/W tT4Q== X-Gm-Message-State: AOJu0YzGRw4Ado9GKwk4LxD2sFkU7vOEwYLqgIpO7GvEfItCVLVVE62Z LFXA6e9onDUsYbR2jt5PDy+6L/65Add0hPhI9Z49F2zDQO4euh3RZDvc64Qe8ERlMqHO7ssNu5K g X-Gm-Gg: ASbGncvjfh5Y9ml82zavfYqHfDlf6RQLDwZ9n7rQr7wqhFgZQdp8nGOsOFBDynmvEA6 8Ut5ZWSGl4uAXh6KWBnWE3YwUG1P3A8C6kFHRzIcQtLzSROywLzP1kfGr8jZI9J12/F0hay+ybL N+GIJAKhjM48E4Ln3RHP9FwWd5R5cL9Dbnfh77ILgQmKD5i4ySPg95j51bgW4RAtk+qtxVaxybV 9QOr+BBMvSpncZ69LxbABlg3wCMZEicivX5+O7fXsnPSYqFDsQRQQezzsLOBrkmQ6pXhACAi6fT mG1lO3My3EU6+CeEkzIkjtmiJMpxfXWfR0/lEsjt7RVM+f0VcT148OdNRDfisjkKjoIvlMKItXb +hYTD4LkgI/dgz5LDvK4= X-Received: by 2002:a05:600c:500a:b0:43b:ce3c:19d0 with SMTP id 5b1f17b1804b1-43ed0da06f1mr4398285e9.29.1743724816532; Thu, 03 Apr 2025 17:00:16 -0700 (PDT) Received: from localhost.localdomain (184.170.88.92.rev.sfr.net. [92.88.170.184]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-43ec1630de9sm34052135e9.1.2025.04.03.17.00.14 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Thu, 03 Apr 2025 17:00:16 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: =?utf-8?q?Alex_Benn=C3=A9e?= , Pierrick Bouvier , Richard Henderson , Markus Armbruster Subject: [RFC PATCH-for-10.1 17/39] target/arm: Restrict inclusion of 'multiprocessing.h' Date: Fri, 4 Apr 2025 01:57:59 +0200 Message-ID: <20250403235821.9909-18-philmd@linaro.org> X-Mailer: git-send-email 2.47.1 In-Reply-To: <20250403235821.9909-1-philmd@linaro.org> References: <20250403235821.9909-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::332; envelope-from=philmd@linaro.org; helo=mail-wm1-x332.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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham 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 Only cpu.c requires "multiprocessing.h" definitions so far. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Pierrick Bouvier --- target/arm/cpu.h | 1 - target/arm/cpu.c | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/target/arm/cpu.h b/target/arm/cpu.h index 3705b34285b..1a1ae229e1d 100644 --- a/target/arm/cpu.h +++ b/target/arm/cpu.h @@ -30,7 +30,6 @@ #include "exec/gdbstub.h" #include "exec/page-protection.h" #include "qapi/qapi-types-common.h" -#include "target/arm/multiprocessing.h" #include "target/arm/gtimer.h" #define EXCP_UDEF 1 /* undefined instruction */ diff --git a/target/arm/cpu.c b/target/arm/cpu.c index b1aa482c726..6f62745d7f6 100644 --- a/target/arm/cpu.c +++ b/target/arm/cpu.c @@ -53,6 +53,7 @@ #include "qemu/target_info-qom.h" #include "target/arm/cpu-qom.h" #include "target/arm/gtimer.h" +#include "target/arm/multiprocessing.h" static void arm_cpu_set_pc(CPUState *cs, vaddr value) {