From patchwork Mon Dec 11 21:19:47 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: 752533 Delivered-To: patch@linaro.org Received: by 2002:a5d:4c83:0:b0:333:3a04:f257 with SMTP id z3csp1547807wrs; Mon, 11 Dec 2023 13:24:45 -0800 (PST) X-Google-Smtp-Source: AGHT+IH380MzgZXPUUqFWhGaxApjO9S1x9uqXhj7AAHbQeWcDgH+RnCdn+O5DZDZxDoUbvWPw1ak X-Received: by 2002:ad4:58a7:0:b0:67a:8b06:ef07 with SMTP id ea7-20020ad458a7000000b0067a8b06ef07mr5459484qvb.59.1702329885071; Mon, 11 Dec 2023 13:24:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702329885; cv=none; d=google.com; s=arc-20160816; b=b3t6EsMh4xEua476wlZ+NL2AjmAu1geWRGNOO1Q81yAdbo1WkO/JMSs2PNBCMK50o6 vLTYKMyxvINQ5Ny5ltwZFgG9kInfEZNp/jiN7HyKehWTMCZpbBoTzY7voJ6MidfSQGHz XrmPwW9WD43MGQL/XVHA+A3EJqxJe5nUjqQNL1p9DhoKsW5jqJq/0rNviqLV9n8gjRX9 dmlzlqOyx7n9dqB3kdTjkyBcgkLUolAGEHJ4opII8L6w1xS1WVFP0gjw+igFJPMd5Cpf kvGYkEfswLPHGckaSMmxFMvFXAFFgpZCcnCv9Z9eR558DJozK5xXc54TQHNY1cJmY3kr KZ2g== 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=N2w63ljFdqIz1JzgOaJC6yCkuASP8vMkY+wuXlFzHsQ=; fh=uUPCw6byahDk/thrbQq8Lwq/REtSwxHAyNKJMizpJnQ=; b=yjY6WktZ1ONH1Qn9KVy/586ffyqzXWpSTEVy7A9yhinT8iTpysU6cWauRwb+OCZ2gr nahT8Dnn5MEpgH7X68S9et4P2pnys+H6S0eAdZpMtCGdPY/tTTnNCQlhZBMLX8aMHrav LXahZM/hrqfl/6SDnBpaKZsi5zn1COhSc1jTCgjs64c52VPu1Nqhdnaijg3WdeIo9TS1 qvfNXFbPVZYHSJeGvqe3A+tchX1nDW7vzH9/b4YMoCRUuv8UayewEX5HPMP/RjI8IXjP HI0g5CXQ69yuhFMV1AV8MgyutlyKevYzFxnv8nwXlE7KuF7DMsXv30hxknNMfJbv/ydJ 1rSQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=FWaDrIg4; 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 y18-20020a056214017200b0067a8d3c22a7si1537321qvs.479.2023.12.11.13.24.44 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 11 Dec 2023 13:24:45 -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=FWaDrIg4; 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 1rCnii-0002Hv-CO; Mon, 11 Dec 2023 16:21:44 -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 1rCnia-00029l-5S for qemu-devel@nongnu.org; Mon, 11 Dec 2023 16:21:36 -0500 Received: from mail-ej1-x635.google.com ([2a00:1450:4864:20::635]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rCniX-0005aJ-JM for qemu-devel@nongnu.org; Mon, 11 Dec 2023 16:21:35 -0500 Received: by mail-ej1-x635.google.com with SMTP id a640c23a62f3a-a1f0616a15bso554159566b.2 for ; Mon, 11 Dec 2023 13:21:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1702329692; x=1702934492; 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=N2w63ljFdqIz1JzgOaJC6yCkuASP8vMkY+wuXlFzHsQ=; b=FWaDrIg44cRSF71NBUvTHkYEk8wNlu4+ipuDWl2Fmfnesy7e7CY/V4wIvR5HuY408Q d0NJGB3zh1MkyZ+HTDrnqG+Ugq4TrmOpPApWara0paat/fdfUlxsHnIqjRiGNyisOfb0 1htjqIMRAH/8IfH9kZhYr7kjIwXbaIyPsvH2NEbECX6kXSjkXpHxlGOaOI6Q9oejNLa4 Ln9D5+3/YqTkER9Hi4WkpU7csGxY/1QWhyJqt65ZEnB5vwMYZH5znXUKnId2pI8nPr7Z 6oWK9ybH90C0BNPz2YldUmo2xZLXKeQPtYWlnTrYk+ncd5z4hXTZDmyLKdfJtkoUItCI vjsw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702329692; x=1702934492; 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=N2w63ljFdqIz1JzgOaJC6yCkuASP8vMkY+wuXlFzHsQ=; b=uY69Tuvr9Y26JmswXu2Q0Eef8YBtLvvab/f97v0eNrRSnndTlZdUH1Nk162AnAboGK GDnJ8VeqtM3bW/I5w1yRe1rYX1svibaDRkZsSMBPRb47gl3O2W+qQg+BqyS8x8uYMZJD c3lAy2LtvsZ67Kaa6+8KImz1lY3O5nX+zWQUmcFeNVHJwwobNEYX4K9Gu8zK9zEJ7IRS 1Vg2HRf2YiGwZj6wTaSYxM6X+wIIP2Daay9LHB1Y+14UGbR5Sdyi+uUnfJJ1qNCsYvAe pEkTZVaTReq5zaAwBjyum7Ud7jlGDKfw2d/zcUyVhtb8BXmX8gplNGtbAgplSvEH9LyD RZ/w== X-Gm-Message-State: AOJu0YwKFB9K0vuPJnJB66QYH58K2WTXGj9qYxfOfr2d4I7z4/RgRCXT RutieVV9OglpAixGMueLzvlbOXEYdgmzLgvOtezJFw== X-Received: by 2002:a17:906:b389:b0:9df:bc8d:fbc8 with SMTP id uh9-20020a170906b38900b009dfbc8dfbc8mr2584832ejc.37.1702329692122; Mon, 11 Dec 2023 13:21:32 -0800 (PST) Received: from m1x-phil.lan ([176.176.175.193]) by smtp.gmail.com with ESMTPSA id mm15-20020a1709077a8f00b00a1b6ec7a88asm5320964ejc.113.2023.12.11.13.21.29 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Mon, 11 Dec 2023 13:21:31 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Ilya Leoshkevich , Peter Xu , Liu Zhiwei , Peter Maydell , Mark Cave-Ayland , Eduardo Habkost , qemu-arm@nongnu.org, Paolo Bonzini , qemu-ppc@nongnu.org, qemu-s390x@nongnu.org, =?utf-8?q?Alex_Benn=C3=A9e?= , =?utf-8?q?Daniel_P=2E_Berrang=C3=A9?= , qemu-riscv@nongnu.org, David Hildenbrand , Warner Losh , Claudio Fontana , Brian Cain , Daniel Henrique Barboza , Richard Henderson , Thomas Huth , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Jiaxun Yang Subject: [PATCH 10/24] hw/misc/mips_itu: Remove unnecessary 'exec/exec-all.h' header Date: Mon, 11 Dec 2023 22:19:47 +0100 Message-ID: <20231211212003.21686-11-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20231211212003.21686-1-philmd@linaro.org> References: <20231211212003.21686-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::635; envelope-from=philmd@linaro.org; helo=mail-ej1-x635.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, T_SCC_BODY_TEXT_LINE=-0.01 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 mips_itu.c only requires declarations from "hw/core/cpu.h" and "cpu.h". Avoid including the huge "exec/exec-all.h" header. Signed-off-by: Philippe Mathieu-Daudé --- hw/misc/mips_itu.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hw/misc/mips_itu.c b/hw/misc/mips_itu.c index 5a83ccc4e8..37aea0e737 100644 --- a/hw/misc/mips_itu.c +++ b/hw/misc/mips_itu.c @@ -22,9 +22,10 @@ #include "qemu/log.h" #include "qemu/module.h" #include "qapi/error.h" -#include "exec/exec-all.h" +#include "hw/core/cpu.h" #include "hw/misc/mips_itu.h" #include "hw/qdev-properties.h" +#include "target/mips/cpu.h" #define ITC_TAG_ADDRSPACE_SZ (ITC_ADDRESSMAP_NUM * 8) /* Initialize as 4kB area to fit all 32 cells with default 128B grain.