Message ID | 20241114011310.3615-10-philmd@linaro.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:adf:9bcc:0:b0:382:184f:390f with SMTP id e12csp49396wrc; Wed, 13 Nov 2024 17:17:36 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCWH1eHqEpKgN09g3VPeIt5Mv3eEH+lKRDH1kHBcUNW7kktk5TS+6aEqTuMHnhmFiW1o+ZuUsw==@linaro.org X-Google-Smtp-Source: AGHT+IEsoBGPbuqhLjW5koGUYU/705QQuu0PP4qhcZHGH/7iL/EyfkZP/eMYZW8vg1w55dhrqZmx X-Received: by 2002:a0c:f409:0:b0:6d3:7a47:2034 with SMTP id 6a1803df08f44-6d3d0093e68mr111243546d6.3.1731547056220; Wed, 13 Nov 2024 17:17:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1731547056; cv=none; d=google.com; s=arc-20240605; b=Sp2s5c7CGJ2GnH88Cza+OOMNc1kUnsiXdvtCYZcqZqXewN5BOsFgPk5GTJc6XJF9vr twB/fI4YaiWnVFrWyXw1iR03bEZdhCvzRxwgR4HhWjEgDviIRxYvdcGSrydBrRDyL01W cQm9NJOR01eJ8AiBtB3BDMof7iwOdNur7Yxh5Jt2HJYloM4iJZ7v89Ef48MblhmIQEDu NWXoZaCvG1eaNuaCpb9fznh9PV25jvo6HmUcAY3NG/XTLcXSt6WzmCNiLNkwAV14hhT1 jf6YLFAHK46MCI/od5BT+yY3CocFTCZz64aiFrOLEHrE3pzKOejXGzmFX4ZTcN4MG9ve kY7A== 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=WwdhRXN0joprmzKwfGffR3OdfbOtF5yrdb8wFJrdlRk=; fh=ccJOzcAlpT2Y0KWnmHdjmpgV/KxmN5I/P9t0HQH0zK0=; b=RH1cS2WRlHl84utCf/1hsAlNWdSg0r0TqNCZGyg+6HaMJNz0YSZIUogZdVaR7PqxBF HaShIPAEsK9bCAPmbafVznAq67XOkzd1a3EZOQKKwTmrUzZ90nvv3wgdVDU9UFCxGehI npk+vbSCjMMU4aFuFli3ujiR1AWkBXZJm4wfaTTQRw5q+H4ISn9OieNSGD/J/RVRnbeY zMycSzIIo8wi//ZOylKFcd/G5XmOHqCm/xM08clxC8Fupy15nmPinmraXISs5pzhi7pG G/tnvRHPmc1TCbeUN5shv/kp6tQAGaMH7BI/gBC8KiJLqeGALDax2PruGYJycgHCeSfq B7Aw==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="rTYxEk/q"; 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: <qemu-devel-bounces+patch=linaro.org@nongnu.org> Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id 6a1803df08f44-6d3ee9faff1si314506d6.517.2024.11.13.17.17.36 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 13 Nov 2024 17:17:36 -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="rTYxEk/q"; 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 <qemu-devel-bounces@nongnu.org>) id 1tBORk-0008Pn-3H; Wed, 13 Nov 2024 20:14:58 -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 <philmd@linaro.org>) id 1tBORR-00082X-Fs for qemu-devel@nongnu.org; Wed, 13 Nov 2024 20:14:37 -0500 Received: from mail-wm1-x32b.google.com ([2a00:1450:4864:20::32b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <philmd@linaro.org>) id 1tBORP-00027D-D1 for qemu-devel@nongnu.org; Wed, 13 Nov 2024 20:14:37 -0500 Received: by mail-wm1-x32b.google.com with SMTP id 5b1f17b1804b1-4315c1c7392so993885e9.1 for <qemu-devel@nongnu.org>; Wed, 13 Nov 2024 17:14:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1731546873; x=1732151673; 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=WwdhRXN0joprmzKwfGffR3OdfbOtF5yrdb8wFJrdlRk=; b=rTYxEk/qxNbE/AyiTlJfOQ88rnK0CdC7ZmU9ZgXVb8m0CRJjyGhM/KwtPgKbNz9klU HpNkbCXOK1E07G74Cx2ZnNEqAEGlj4bx6IVKAAdKX/NpSR/8Ghj2E/+JLpzxE4ACXQIu O/Co+04xnhlDNeQr6oUS4VXOERo9UbArcoR7Fs1dLLbF49K/ZW4yMLxUI2/lnN52cr4w zsSerUIEXRtDofoSxX+7i7CAVSvZixwxioH8reTp/R1z60X8X+2o4ZV0lWlW9gRuJC1u OoUyUBoJuLA0eum5VeCsywbwSkQWANYZTY/DEd8auRtVBeZciupVd19+7wjA4LVsVfQU HVmw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731546873; x=1732151673; 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=WwdhRXN0joprmzKwfGffR3OdfbOtF5yrdb8wFJrdlRk=; b=YNZ1uojRH4wn8J9mxMAAv22RNAo65g0tgtcrAP69r8PIjbGNsFKRodREKf1txBX9Dj ekv6v22LNA7tj+LPIq5HX5XdXRRXZa5N2pP8zd09DZ6K9elpEwP56mnkekGSpcV4l20R X/06VaC51sk0MdwikxrFv6IzUz8HE8rDTp4n/MA897iCpy/CHCKgix5fS6ISWRP4b/Uy 7/GDtNB2S8PCMO9581SWHrD0bKocLZ7VUrML2andLUz/zNJEdJzbvTvlCRMq4fW1xT/B eLLYhQQ7dN2AuPZpXKCxlR8gdJ2d2bdVEmcceQl2LyW3vB3CTUHsrWIw4YDNffoQVcck wpQQ== X-Forwarded-Encrypted: i=1; AJvYcCUNIvcoGcz4iIqweYbronS34SvKvI1YyQRxFVm8CK4+uUNEcTcF3CmBa226GihGrdGrjpFBCWlpj8Jx@nongnu.org X-Gm-Message-State: AOJu0YyQEJJ2R08oMaaKOqxVVScciHBP6e/oZWZ/EKN5uw3scuEY1Eif oEU9ztsoDUUXm5ACzpABpuCSQNFqIbm16Dz8hg4MDV/J1puGf2f6/YPMNVUIHuo= X-Received: by 2002:a05:600c:1d1c:b0:426:6308:e2f0 with SMTP id 5b1f17b1804b1-432da7cbcefmr2174995e9.26.1731546872750; Wed, 13 Nov 2024 17:14:32 -0800 (PST) Received: from localhost.localdomain ([176.187.209.238]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-432d48baa42sm33170825e9.1.2024.11.13.17.14.30 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Wed, 13 Nov 2024 17:14:31 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= <philmd@linaro.org> To: Paolo Bonzini <pbonzini@redhat.com>, Richard Henderson <richard.henderson@linaro.org>, Anton Johansson <anjo@rev.ng>, qemu-devel@nongnu.org Cc: qemu-ppc@nongnu.org, Thomas Huth <thuth@redhat.com>, qemu-arm@nongnu.org, Peter Xu <peterx@redhat.com>, Pierrick Bouvier <pierrick.bouvier@linaro.org>, qemu-riscv@nongnu.org, David Hildenbrand <david@redhat.com>, Peter Maydell <peter.maydell@linaro.org>, =?utf-8?q?Alex_Benn=C3=A9e?= <alex.bennee@linaro.org>, qemu-s390x@nongnu.org, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= <philmd@linaro.org> Subject: [PATCH 09/24] target/arm/mte: Restrict 'exec/ram_addr.h' to system emulation Date: Thu, 14 Nov 2024 02:12:54 +0100 Message-ID: <20241114011310.3615-10-philmd@linaro.org> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20241114011310.3615-1-philmd@linaro.org> References: <20241114011310.3615-1-philmd@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::32b; envelope-from=philmd@linaro.org; helo=mail-wm1-x32b.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=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: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <https://lists.nongnu.org/archive/html/qemu-devel> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org |
Series |
exec: Build up 'cputlb.h' and 'ram_addr.h' headers
|
expand
|
On 11/13/24 17:12, Philippe Mathieu-Daudé wrote: > "exec/ram_addr.h" contains system specific declarations. > Restrict its inclusion to sysemu to avoid build errors > when refactoring. > > Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> > --- > target/arm/tcg/mte_helper.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/target/arm/tcg/mte_helper.c b/target/arm/tcg/mte_helper.c > index 9d2ba287ee..b017b26d07 100644 > --- a/target/arm/tcg/mte_helper.c > +++ b/target/arm/tcg/mte_helper.c > @@ -23,7 +23,9 @@ > #include "internals.h" > #include "exec/exec-all.h" > #include "exec/page-protection.h" > +#ifndef CONFIG_USER_ONLY > #include "exec/ram_addr.h" > +#endif > #include "exec/cpu_ldst.h" > #include "exec/helper-proto.h" > #include "hw/core/tcg-cpu-ops.h" Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
diff --git a/target/arm/tcg/mte_helper.c b/target/arm/tcg/mte_helper.c index 9d2ba287ee..b017b26d07 100644 --- a/target/arm/tcg/mte_helper.c +++ b/target/arm/tcg/mte_helper.c @@ -23,7 +23,9 @@ #include "internals.h" #include "exec/exec-all.h" #include "exec/page-protection.h" +#ifndef CONFIG_USER_ONLY #include "exec/ram_addr.h" +#endif #include "exec/cpu_ldst.h" #include "exec/helper-proto.h" #include "hw/core/tcg-cpu-ops.h"
"exec/ram_addr.h" contains system specific declarations. Restrict its inclusion to sysemu to avoid build errors when refactoring. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> --- target/arm/tcg/mte_helper.c | 2 ++ 1 file changed, 2 insertions(+)