From patchwork Fri Feb 5 22:56:06 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 376983 Delivered-To: patch@linaro.org Received: by 2002:a17:906:48d2:0:0:0:0 with SMTP id d18csp2572765ejt; Fri, 5 Feb 2021 14:59:26 -0800 (PST) X-Google-Smtp-Source: ABdhPJwASaqgx9Ao1z8p1P2XMz2DZHNhCoTLP7yR2/R2oONDUKrCQsY7yfhXJ2KmH7XP4U0vTkxZ X-Received: by 2002:a25:d209:: with SMTP id j9mr5217863ybg.175.1612565966428; Fri, 05 Feb 2021 14:59:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612565966; cv=none; d=google.com; s=arc-20160816; b=t/iq8roeMABuBne7GP4WjgQsoaitlyDoDccpFiNpO+9DANfaCwd0kQ8B0ArLHGkofz h6gZ6lzWNXlYBCcEoVfYEACRWWvtiXoHSV6Ap1SQMgwww31F7Ms86m4dffns61AEayRN Uw4aWrGpRBuR49EwtG34b6hNqbR0bDXsESOdS63/KJsonranX/TCIwqBiCn6vEoZ6oBB hgf/fRH4pVBNmmjWEiJ1K6ZEVrNE0jTkafwJ+G22I6xBrHtMlSpJTkwjVF5rqN+7MN/j cSJ+65QQAlps8WU9r/tf1G6HNDFH+imaRnSYgGH/X8O6hMmEZ51TQEzCdtk6CMlvj86L HCaQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc: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:to:from :dkim-signature; bh=SCva1h2dUQRt32RzqDb0V6uTgNEuULtJ+A8f47HZjL4=; b=0Zt2jShrCIaSpkvX5cw4ZR6A9X5Hnq0rJjzkD2tONRmsR2yPpepRD8Mpg8q2cwnTf2 YSCn2nOfLyEb20wFaq2xooxqEVqn4zliKIJuRPPswM9hOPpsPv++nNqAZSUQgZ/111PD 0v7nARhCPiik4Q/ZfbEvEdrKVxDQ4Q8k+gtv5LV+CAy3/qPIu9cU+18aVuXsHjXVmSqi LqDJ+XFE+dauj057GqNCj+ynV6akE9EPMFVG5QwAGqNunHCnJOBNEaGSQQFywWQz/gBE s84v9nGVGSGS060YReBMqoGiRMH88jX8qlGDeULTN4rs/H7MQpiN8kUWHa5BPOrL+Fu7 Gb8w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=htVF+Elu; 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 x123si9945383ybe.87.2021.02.05.14.59.26 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 05 Feb 2021 14:59:26 -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=htVF+Elu; 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]:47568 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l8A4T-0004o7-Rz for patch@linaro.org; Fri, 05 Feb 2021 17:59:25 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:58962) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l8A29-0001E4-1O for qemu-devel@nongnu.org; Fri, 05 Feb 2021 17:57:01 -0500 Received: from mail-pg1-x52d.google.com ([2607:f8b0:4864:20::52d]:46296) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l8A27-00039f-HK for qemu-devel@nongnu.org; Fri, 05 Feb 2021 17:57:00 -0500 Received: by mail-pg1-x52d.google.com with SMTP id r38so5545180pgk.13 for ; Fri, 05 Feb 2021 14:56:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=SCva1h2dUQRt32RzqDb0V6uTgNEuULtJ+A8f47HZjL4=; b=htVF+EluHKDgvxHML7/wiWXYAPWb+lePSiMT/4EL3lMCaRy1SsEEiOBJKWfrivGYKj sKVDkeePBM69ZLEeKL7xn5xDHZoAhQPnSjj4np1LzrPmzRu2nYiqPQK5t3rVVzGHSl4J BUnJEoGPXUq3bj45YB6zsLZgdy69dDKwn+SFDzGBQJDe7qRuKKK1OhdBjE6C6G5uW5kQ zVzW8KmV+keN8DG1eoi5E3Os3iQhb2lr53jwK2VM04P1qAg8SK+WRfGhMRNJ8sU6btyb hrGAaSQjzTrNvK6OVRrf2MSDd7W1eVsb/8VQzuLLc7Kmr1vkuB5qYJTNoPGrtdyq6pW7 Ki/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=SCva1h2dUQRt32RzqDb0V6uTgNEuULtJ+A8f47HZjL4=; b=NVecQ2HBYi41JKpKGjor6RprhCl2sUd8aDJVBbG2HsuhPN5nNYhqCeFo7xXDTaOnnG 9GD57gkobon0chf3uOfH0cuKnMHrElDYfcUuqMmfq+O8LSWElSoDGYRDQz+KeE4RmORY MAuNdHqQFCk9+wg8sJXOl+jk29x22AkK0+ntZR3ATDDfptUGqiBISB/ikWwPDtkEk7Wm +oY+mCbuQlPnVhYG7Y/wjRR7QS1cQrw69unmAfFNh03jPTZxZkj0ZbqNRwEikpq3vAbH 72YyBUBoHiZd+l+5NbGs2812nRfc5j8nN9Q982BT9hDeVzSZ7ri+pe/cifk5FF1Sa/Uo UMew== X-Gm-Message-State: AOAM532ZmLeZFk9ZjjtFEH+tDE6karJF0nzD7whcs4Y0Y47cRanlWYbX oYpYlq3AuhpZm/naKm1Slg8QKkYlLbb4eRrj X-Received: by 2002:a65:5903:: with SMTP id f3mr6810295pgu.28.1612565818122; Fri, 05 Feb 2021 14:56:58 -0800 (PST) Received: from localhost.localdomain (cpe-66-27-222-29.hawaii.res.rr.com. [66.27.222.29]) by smtp.gmail.com with ESMTPSA id c23sm12155149pgc.72.2021.02.05.14.56.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Feb 2021 14:56:57 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PULL 02/46] exec/cpu-defs: Remove TCG backends dependency Date: Fri, 5 Feb 2021 12:56:06 -1000 Message-Id: <20210205225650.1330794-3-richard.henderson@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210205225650.1330794-1-richard.henderson@linaro.org> References: <20210205225650.1330794-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::52d; envelope-from=richard.henderson@linaro.org; helo=mail-pg1-x52d.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.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: peter.maydell@linaro.org, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: Philippe Mathieu-Daudé "exec/cpu-defs.h" contains generic CPU definitions for the TCG frontends (mostly related to TLB). TCG backends definitions aren't relevant here. See tcg/README description: 4) Backend tcg-target.h contains the target specific definitions. tcg-target.c.inc contains the target specific code; it is #included by tcg/tcg.c, rather than being a standalone C file. So far only "tcg/tcg.h" requires these headers. Remove the "target-tcg.h" header dependency on TCG frontends, so we don't have to rebuild all frontends when hacking a single backend. Signed-off-by: Philippe Mathieu-Daudé Message-Id: <20210204191423.1754158-1-f4bug@amsat.org> Signed-off-by: Richard Henderson --- include/exec/cpu-defs.h | 3 --- 1 file changed, 3 deletions(-) -- 2.25.1 diff --git a/include/exec/cpu-defs.h b/include/exec/cpu-defs.h index d1f5e3fc3d..ba3cd32a1e 100644 --- a/include/exec/cpu-defs.h +++ b/include/exec/cpu-defs.h @@ -25,9 +25,6 @@ #include "qemu/host-utils.h" #include "qemu/thread.h" -#ifdef CONFIG_TCG -#include "tcg-target.h" -#endif #ifndef CONFIG_USER_ONLY #include "exec/hwaddr.h" #endif