From patchwork Fri Apr 4 22:35:18 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: 878212 Delivered-To: patch@linaro.org Received: by 2002:a5d:6dae:0:b0:38f:210b:807b with SMTP id u14csp4006186wrs; Fri, 4 Apr 2025 15:38:25 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCUqe288yNbLtGi5DJFKlNlItlXkpb6sZgQkqsow2xG3e21YA0WGZgE5Gn+L1qJQEreNQM6LVQ==@linaro.org X-Google-Smtp-Source: AGHT+IHlfiMEy9NdPlHXEEpQVMuTIXNrolif3Rkg9NW6wBeVFp7jS92LeNGOvCkdPIoQ7r/ZBxDD X-Received: by 2002:a05:622a:5cb:b0:476:b13f:56a2 with SMTP id d75a77b69052e-47930fc3c85mr20136031cf.18.1743806304979; Fri, 04 Apr 2025 15:38:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1743806304; cv=none; d=google.com; s=arc-20240605; b=lji8bIyeLoN1hQ1PZTCkNQK9aTSGTwsVoXl5JiuhmGA9WpeuKS43D6P35N/u7lIiwh Skv9duFjpVnfyaJZjcith+gsos3QOVIzxTjTLfBWZqb/VygBLrR9PN21hLqsgbFUJhmM U+788mX4cLm/RIJ6VWr1gjHKH1pU+6jjUriA1oqARTQ6YlxGLST/M3/O18slq3o3jmqT wtuSFbZyPr+706lxsSom3fpg1tOBUFW7Zwio71aqfhWhj+nAjLQxv1TbVpEL7QaP1gTB NbETaUvKt/5HgpkIHFePRyzDkqZ14SsJhG5aJFBTRut7bsQ/OrBcJJqJZENQbPD4PT2K kW1g== 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=0jtO3IMgAIsSiYXYuW6r2DQvOHBc5NKddZ/ZsUiqplI=; fh=089D9cN8gKCxRQaMV+d8/EwypuoUoS4FPKA8rjpOLh8=; b=LLdIogBrmxbvrYVCvOs9Ct0jV/gKBVdRT9bojCQh0gZ9HtvHJ5qAw+1YAISDtM/6WF h4lbVOkwlhQ0loNj9bROtXvKejzUsgSjjCI9A98Fdx4LSq9XWGb+QgHCplVWtwx0NOTu ttVv/PsQTtRmaHuLxBEP2p0A12QEbGizwct8JwyBzGIIC3n+upLZyV1FqCMJ8GPnwWmq RJ/ol1yZ+bJhuoOC7B81oWd3kU+dSIo5Rdz3sU0Rcz9W2Kh1038xJ5dTsXjqDgg05r3b oXq9CwGj2mZGrv096uPQzN4mf4SgQQS+XUtgR277QDfu3vOnZ/vRvFkBzvOM2FZkjn3b i+Sw==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="gY/97FX/"; 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-7c76eabaddesi398066185a.525.2025.04.04.15.38.24 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 04 Apr 2025 15:38:24 -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="gY/97FX/"; 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 1u0pdx-0000ns-1u; Fri, 04 Apr 2025 18:36:09 -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 1u0pdm-0000jH-57 for qemu-devel@nongnu.org; Fri, 04 Apr 2025 18:36:00 -0400 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 1u0pdk-00080d-9c for qemu-devel@nongnu.org; Fri, 04 Apr 2025 18:35:57 -0400 Received: by mail-wr1-x42e.google.com with SMTP id ffacd0b85a97d-3996af42857so2447382f8f.0 for ; Fri, 04 Apr 2025 15:35:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1743806153; x=1744410953; 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=0jtO3IMgAIsSiYXYuW6r2DQvOHBc5NKddZ/ZsUiqplI=; b=gY/97FX/JAwG1vofcGYgw2JYzMlbqQgXvusJxZfAsPXrhoAD+NPt6jlb272k+m0Qyc 80MMeELiwEyhU23KgpS5s1LPFAze+6Xf0yd+r8tUppihJASvP61KclU5+Dt3h+axnkth oNv8AlHfY2IfF/O07Z8z8Bso232+K+Vr0nM1pzIfHDpOfx/ssSfc4HNDC2ZZhwM5W2EE 10+v90xOUo54VU1dJVo2L5lr0OBvKKGdCai18ncACkcVsb/4DXTZMrpL4FfDr6YhtsjH poY5hWGsAGav/6M/2LydubogbKnSyB1JQqeglsDAEWr7R+458ev399wHlyd/yof6vEfd q0bw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1743806153; x=1744410953; 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=0jtO3IMgAIsSiYXYuW6r2DQvOHBc5NKddZ/ZsUiqplI=; b=Elwyo7IXZCfQrOoC6l7fJAKHha7PhvSBJLwBWnvO6mY9QwPbFRLhy9XZ17wGghKxU9 E9DudW6JhHF+bJV5/9+9dOaOTUhv8f5IeBEcqJP7g+LnGRtr6hkJTY8eaON9QSaXTECd Gv8OpgG+FWzhLDzWXPY0iqQTqfXsYnAsydTtsvIaKenQepa06mYd1tmGTSp+iSB65/1t UDGnjRBIc2qCPvjh4BpnYCHrVKj6OXaEKddhPBK9jOdoNf55l6DCkc6WFvwAQOahUPBd HE5AaGarG3HBDxCmZF2byeVqYkN2XvcR2GHqft37tVcB4JQB78V3v2Wkk+xjCEXHRU/8 3JUg== X-Gm-Message-State: AOJu0YxFwT5LklS/wyuLGRqcQdwjJNF2sf/1d9l055WGWg3woxFs3d5l e6CfJt/ISD2mwnLoSYPOoJNFl6PcFdaHh3LvZtKXLbWUvpV5bK6KNkfsPCqtpyiA1T5vm3KfNaK e X-Gm-Gg: ASbGnct5PIO1xXxKWFnpLZsCkfRTQds/szvlBPbCs0nGiqd1IaHmuDmArPTS2tnv3ik pWvrq0XhNRrZApIeEvzg1Bdd+bEmsrdPXVj9CA8DAqjbX3XEu1um8h+XSW/f/6sW+vdnEXXyW09 zYxYSufdynlGPhlP1NdMiUzg6cgpkcQC1RBgwAT6oOFSvffwmyII//GR6UrZhPPI/9TCh5leagF pTbYhq38touG8PxYp8tJunATVKNLW0KiIdRCmiQPW7FBeHs0IEYNzkHjPwBZRlvxTTooZU4qTK7 /H/AO+bEU3hoUfEjM1FYJyXBO5QklKLdxs2FomJWuac8iJIfv30KaWIaNaV4OnA4KJKxvnP8vpa WnnMS2yX+6OWDZ02hrJ2BVGQd X-Received: by 2002:a05:6000:400e:b0:39c:30d8:3265 with SMTP id ffacd0b85a97d-39cb35b8c47mr4130816f8f.15.1743806153554; Fri, 04 Apr 2025 15:35:53 -0700 (PDT) Received: from localhost.localdomain (88-187-86-199.subs.proxad.net. [88.187.86.199]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-39c301a7064sm5495689f8f.34.2025.04.04.15.35.52 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Fri, 04 Apr 2025 15:35:53 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Peter Maydell , qemu-arm@nongnu.org, =?utf-8?q?Alex_Benn=C3=A9e?= , Gustavo Romero , Laurent Vivier , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Subject: [PATCH-for-10.1 6/9] target/arm/mte: Rename 'mte_helper.h' as generic 'mte.h' Date: Sat, 5 Apr 2025 00:35:18 +0200 Message-ID: <20250404223521.38781-7-philmd@linaro.org> X-Mailer: git-send-email 2.47.1 In-Reply-To: <20250404223521.38781-1-philmd@linaro.org> References: <20250404223521.38781-1-philmd@linaro.org> MIME-Version: 1.0 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+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org "tcg/mte_helper.h" header name is a bit misleading, since it isn't restricted to TCG helpers. Rename it as "tcg/mte.h" which is a bit more generic. Signed-off-by: Philippe Mathieu-Daudé --- target/arm/tcg/{mte_helper.h => mte.h} | 0 target/arm/gdbstub64.c | 2 +- target/arm/tcg/mte_helper.c | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename target/arm/tcg/{mte_helper.h => mte.h} (100%) diff --git a/target/arm/tcg/mte_helper.h b/target/arm/tcg/mte.h similarity index 100% rename from target/arm/tcg/mte_helper.h rename to target/arm/tcg/mte.h diff --git a/target/arm/gdbstub64.c b/target/arm/gdbstub64.c index 64ee9b3b567..65540cffd2c 100644 --- a/target/arm/gdbstub64.c +++ b/target/arm/gdbstub64.c @@ -22,7 +22,6 @@ #include "internals.h" #include "gdbstub/helpers.h" #include "gdbstub/commands.h" -#include "tcg/mte_helper.h" #if defined(CONFIG_USER_ONLY) && defined(CONFIG_LINUX) #include #include "mte_user_helper.h" @@ -30,6 +29,7 @@ #ifdef CONFIG_TCG #include "accel/tcg/cpu-mmu-index.h" #include "exec/target_page.h" +#include "tcg/mte.h" #endif int aarch64_cpu_gdb_read_register(CPUState *cs, GByteArray *mem_buf, int n) diff --git a/target/arm/tcg/mte_helper.c b/target/arm/tcg/mte_helper.c index 8a6e6e4719d..b70f23e2047 100644 --- a/target/arm/tcg/mte_helper.c +++ b/target/arm/tcg/mte_helper.c @@ -36,7 +36,7 @@ #include "accel/tcg/getpc.h" #include "qapi/error.h" #include "qemu/guest-random.h" -#include "mte_helper.h" +#include "mte.h" static int choose_nonexcluded_tag(int tag, int offset, uint16_t exclude)