From nobody Tue Dec 24 13:54:33 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1734711546; cv=none; d=zohomail.com; s=zohoarc; b=eop3n8FDnQVo261/HlNyycV2ySE2YDVTa5FDhTUMnnVBviFyWIfkb4O8hmt9grTazpv2cr3OosZisTElPeYXlHxD+yJrOqTMgtikBWv6b2bXzjwd3QuOsQ/CPj3ODMUG/Z45SM2ZGA/Gj+R84ZBvMHnsD/PWfkgPqNbFCI3Lb8w= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1734711546; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=OFNvPYQIcnNtHhjWZM0/erUE8dZXW2FGWS1U/u140gI=; b=VCmesP1y/72lO/fcHdwke0I1g567xgUMR6eawLddIpaqem60KFPY+UG5y7+4BSa+KgkViGyrmz6V7r40xkLB6Yyow0PXGr+5i/w2q0lbrIvshm7Fi0I9n+fNXwXFDOrM0DTP3Zvgq2MArcfARf31nfB67DI+wWI0lL6xoVb3zd4= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1734711546082279.9472754294154; Fri, 20 Dec 2024 08:19:06 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tOfi6-0001Cw-Am; Fri, 20 Dec 2024 11:18:42 -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 1tOfhA-0007nf-PM for qemu-devel@nongnu.org; Fri, 20 Dec 2024 11:17:47 -0500 Received: from mail-wr1-x42e.google.com ([2a00:1450:4864:20::42e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tOfh2-00082y-BH for qemu-devel@nongnu.org; Fri, 20 Dec 2024 11:17:42 -0500 Received: by mail-wr1-x42e.google.com with SMTP id ffacd0b85a97d-385f07cd1a4so1413831f8f.1 for ; Fri, 20 Dec 2024 08:17:35 -0800 (PST) Received: from localhost.localdomain ([78.196.4.158]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-38a1c89e1cesm4305271f8f.64.2024.12.20.08.17.33 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Fri, 20 Dec 2024 08:17:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1734711454; x=1735316254; 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=OFNvPYQIcnNtHhjWZM0/erUE8dZXW2FGWS1U/u140gI=; b=bhO9Hi/FPLXiPKjtdBpS1ZxXLo74XYwB4Adl+SuOOKWvyLyRSNzOGPVunuxkYUVOzh kaGpQ9gM/WXS3tbEqf3rIE1hMihGihJasjoVGRPt5nVgd2dLN/g7r689VkEeXuV2tyIu 2zKThcGIoLGrf5lUO00JU4akRZ1X1Gpte1o+JP3KGREVd0VKJuCiEJCFdpGhco550KrL FPD0/GLonrWX2pfHzdUD1WhgvgimABE33wslEGETv2mZmEokQ5qQ4BUdOY4v3SFXHq6m ckm7RQau7IPjo7hZH2JgBdLXDE2KVXZddmmR2agW03xDf+Z8m/LcsagbJD3jX88mXtFV UCcA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734711454; x=1735316254; 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=OFNvPYQIcnNtHhjWZM0/erUE8dZXW2FGWS1U/u140gI=; b=lf2pgtisBhUpnBBnLCmKvYLLulMpejBBk138f296J3MaK2CyXuFR+9woZteaJVX3XL 82HoONNBqVDobRJqxUj996WODGvYYCkF+K9s37S1M7pcy0NOn0/0U1N3+PW8yCAorMLL OtcUDDy+7J0nFqjbAqvd1PWLOqLXcnCKgnCNOS7jcP0x98DyD3DcYDf0XqiUkCIhagz0 Md9cjeVm0MPMc5iFd39A5VuqLIMcErhYcvjHoC+FfAXNDw1Fw+U+C+21wuoBu+evhijZ mb78m594rZybvwmqcXga6AStRTMGY7X1zstU6cJd1FNR3tZziz7VfTa34MeCbyUCzPrb rf1g== X-Gm-Message-State: AOJu0Yz9opIfeZ5Pd13pzC1279321XT+KZFGtHPbV9lBDTQ2wPmwk60I T3w4th+p41K2OXf2UGX64PyZc3+OrE3wpYb/jX9jS+To7YH1xcahkO4F/9bbz4sn+8fvgltRlLF k X-Gm-Gg: ASbGnct3BH/dgsciOT3x4PQRLXM5mn/BDWhW6LqDV1SqBNlMZunX09aUADHVp6dBdXI hvkDs3ibhOnI280rZQ9J1CzPq8Z5zmRvs97ABfQm8vgrMGsKLNRv4dPJU6Z/05jaFLsuATlNeOg Z0dawoapZTbOum2p84F3LMYfACq+CtUJFXCjAozxVO2TTptJa8QfXkqIXCM5K1j6wheDPSTOhwm g5TjG9f+GqMITyFpn2chH3xPH25zwIicff7oipVOxDqCj1huhmG14k08jBBgr91XC52TNEJoc4= X-Google-Smtp-Source: AGHT+IFGNR7WGOQKl0jFud/huoSkEpdYJkmIVbk11wOhQRT7Zpd7Iikr/wi96VUfIoHTNCMTlvr+JA== X-Received: by 2002:a05:6000:4a03:b0:385:f638:c68a with SMTP id ffacd0b85a97d-38a221f9f58mr3513886f8f.30.1734711454409; Fri, 20 Dec 2024 08:17:34 -0800 (PST) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Pierrick Bouvier , Richard Henderson Subject: [PULL 22/59] target/arm/mte: Restrict 'exec/ram_addr.h' to system emulation Date: Fri, 20 Dec 2024 17:15:13 +0100 Message-ID: <20241220161551.89317-23-philmd@linaro.org> X-Mailer: git-send-email 2.47.1 In-Reply-To: <20241220161551.89317-1-philmd@linaro.org> References: <20241220161551.89317-1-philmd@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::42e; envelope-from=philmd@linaro.org; helo=mail-wr1-x42e.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+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @linaro.org) X-ZM-MESSAGEID: 1734711547118116600 "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=C3=A9 Reviewed-by: Pierrick Bouvier Reviewed-by: Richard Henderson Message-Id: <20241114011310.3615-10-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 9d2ba287eeb..b017b26d07b 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" --=20 2.47.1