From patchwork Tue Apr 1 08:32:30 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: 877474 Delivered-To: patch@linaro.org Received: by 2002:a5d:6dae:0:b0:38f:210b:807b with SMTP id u14csp2138550wrs; Tue, 1 Apr 2025 01:32:59 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCXNZ7yV3S0SOyzaINHoEcVJZZ3xf+DEIMe2gF++DZnSOhyj8YBa+l2AX7+ISOpVJWKZOcQgKg==@linaro.org X-Google-Smtp-Source: AGHT+IGm8SlORhB64JkgkFSJZGA6jgVb+q6Whts+KDycWHqlq489QkT6DB+I6UobnvuS2b50hdFI X-Received: by 2002:ac8:4a03:0:b0:478:f4bd:8b8e with SMTP id d75a77b69052e-478f4bd8c4cmr42243471cf.39.1743496379416; Tue, 01 Apr 2025 01:32:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1743496379; cv=none; d=google.com; s=arc-20240605; b=kkMCEtsgl5F/x0CRGFdPbEN/k1rgAIHR+of+RYx0/ErwdG2E2BwOyLyi4DwVU0ZlGo FhVQxIkP/bfq79VU6Hd0O1VhLrd3sw1xmrpbklcrQi0vcoftHqVWP8tHl7lyxrxOTYDu XRFT/bl6tVXK/8/UYGrD8mmyRro2/W5OfVLq912v987XquWVVwI/+OAv+7bmGJoBZPOZ nxK9a8u9zMlI48D0bh6HkVefm3ypwcql/WVGPlG0YrVnEo6ZAbW7eZAM3gGZdtUoMc5W hkyxshY3tZU0H0Lrw++C1NZTlC2jI5RLMNl+qZslEFN/sugv6I+rvL5fDdlzC0J5OP7c Dchw== 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=XS0/MV5U2fkQq7CgKOLpKd+Dfbe6P48Fmqa21p93QGc=; fh=pgRJImLGStw4JiZaQ8tZ6Gx4wEkoSwwNn1cV112GpBk=; b=B7i/kQVXqAwezzlRqSW1JRjJMHiYKnUGttT3g7raL9o8wGYxr7XV60Ywjps6AeEMIO UpHJwsnKtvXBDZvCzePpLcs5kuy920AeZpLP4L4GH0Vonns2PWquFJiULSCZYvODg/TM T+ZhtziLBVy32CwEtuTWwnf/Y6EuS9eJtsItSh+sPCnD0FW+MYxKF3gA0EkYHi3c/fGU evZWWQef8oXybYI3j0qmtUw4yNJssBwuVX2S7f+AUfNWcI/hPr/G4M+0EV1TmUX11wuZ ZyLNNXIjM78pJEEf/pj7tIxNg1TbzbE/0UWxq/xcd68ZJjp5SHk5oegDAPxdWUE/+r5S b8Ag==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=F54sy2eB; 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-7c5f778c47esi825367085a.340.2025.04.01.01.32.59 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 01 Apr 2025 01:32:59 -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=F54sy2eB; 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 1tzX39-0001Di-MK; Tue, 01 Apr 2025 04:32:47 -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 1tzX34-00019E-C7 for qemu-devel@nongnu.org; Tue, 01 Apr 2025 04:32:43 -0400 Received: from mail-wm1-x330.google.com ([2a00:1450:4864:20::330]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tzX32-00011l-L4 for qemu-devel@nongnu.org; Tue, 01 Apr 2025 04:32:42 -0400 Received: by mail-wm1-x330.google.com with SMTP id 5b1f17b1804b1-43cf0d787eeso49705035e9.3 for ; Tue, 01 Apr 2025 01:32:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1743496358; x=1744101158; 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=XS0/MV5U2fkQq7CgKOLpKd+Dfbe6P48Fmqa21p93QGc=; b=F54sy2eBBjeT9X/vSxM6qwm845q/lA1bc7T9ewGyTyhcPVeMVgqJ3R7FkCgmaE3ZTa +TEEBzIwsSXAuRaXXg3NiKjklq3hlEiQ4pnDbRnW5APnPVQ6ayQCC+pbUvPn4suqS5Vz B7Kp3e5wL0aShudB/Ybex6MpvqQPFGtHnruviK0okmepDMD4joPVSXvTuWja/ZNfK5th Mju9rj4SMfujCBJO0oF5s4h0yC2RB0VwTRyEG+CUPaw3WEv2M7QptMqpVDHfvGebezIU iZ16Y/Blil1dNa10Sl0NjahtAupvugA1gb/EuRDNjaCycw+hY+WzQcUkOumvPdvHASoN IRHg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1743496358; x=1744101158; 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=XS0/MV5U2fkQq7CgKOLpKd+Dfbe6P48Fmqa21p93QGc=; b=guf32UoxD1q9wRst4/vlZyhueNq3/mBe44Si+ubPbcowL2/oqqtrQ+VvBc1TJn4I1I 0boqmenVY1pJduSxtq7+uEvLtyvvPMG7M2qFBgCMpfK4AU+849rQOqcACHRA2pP/TRPd LP+X4LPy1qcXgfAHgfd1leEIbd0Xy+t110lvK0CBjLLhhBr0qXxej/qIJgyZ1z9EysQv 2Xfs7uyp4OTmwcjGtsWpSVmHSQ7CKCZBCZ0R59jbv9cNdrrP2RYizB9bDjF8nP94PIow 1K2oN0DHeC7OoahIznlLaiHegJ2ro234KCgRRunA5nUnwBssNg4yIaP1skWaZAlO4six M43A== X-Gm-Message-State: AOJu0YxF4q7K8vLJLW7I36+kSEzLf+X7NFwOUfFly0xrc5q53GvoG775 QgXCqAd2g2yVqOsWwz6L8uXQ1H8KFd3dpp87ECXr1ID3XHAdylUbFb9fviIN2eeUFYkQq2Rb79w F X-Gm-Gg: ASbGncvz1HPfbmSViWxJ5aV61+RTicMfY/zY/uFi0XwMCRCKObUPN3SiluY32g0egm4 fHkkKs0tZxcGkQaB9N57egLjb92udS4ldq3xASKd21/bU/H81wZfsZkHkpBhqNs41G/We6ngCtD 7YEkT27rp5iKhMt0ZQvGT4hvvdoS3EwEZE2+gUMHadTFzcZ68DXNfA5xXiGQuGnooANj5k719yg ozeGgSQwQvnb6cbEG2rMfgCOF8m6zpO+9klqg2Ltrg/v1iHHMAn0YT0iKzCMtjoysp5JU/yKqXV iA61OZAFLXH9ixiX8/pcA6BYvBXJeDg0gkhnbzbSQ4mk93DhlsNyvPVKc4Hlvi+TDDiNnzqhFhh 6NMpnoqhNuU6uYniZqwg= X-Received: by 2002:a05:6000:2910:b0:391:3d12:9afa with SMTP id ffacd0b85a97d-39c120dc50emr9963334f8f.21.1743496358204; Tue, 01 Apr 2025 01:32:38 -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-39c0b658a1csm13821863f8f.17.2025.04.01.01.32.37 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Tue, 01 Apr 2025 01:32:37 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Pierrick Bouvier , Richard Henderson , =?utf-8?q?Philippe_Mathie?= =?utf-8?q?u-Daud=C3=A9?= Subject: [PATCH-for-10.1 1/3] exec: Restrict 'cpu-ldst-common.h' to accel/tcg/ Date: Tue, 1 Apr 2025 10:32:30 +0200 Message-ID: <20250401083232.33773-2-philmd@linaro.org> X-Mailer: git-send-email 2.47.1 In-Reply-To: <20250401083232.33773-1-philmd@linaro.org> References: <20250401083232.33773-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::330; envelope-from=philmd@linaro.org; helo=mail-wm1-x330.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 Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Pierrick Bouvier --- include/{exec => accel/tcg}/cpu-ldst-common.h | 6 +++--- include/exec/cpu_ldst.h | 2 +- accel/tcg/translator.c | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) rename include/{exec => accel/tcg}/cpu-ldst-common.h (97%) diff --git a/include/exec/cpu-ldst-common.h b/include/accel/tcg/cpu-ldst-common.h similarity index 97% rename from include/exec/cpu-ldst-common.h rename to include/accel/tcg/cpu-ldst-common.h index c46a6ade5db..8bf17c2fab0 100644 --- a/include/exec/cpu-ldst-common.h +++ b/include/accel/tcg/cpu-ldst-common.h @@ -4,8 +4,8 @@ * SPDX-License-Identifier: LGPL-2.1-or-later */ -#ifndef CPU_LDST_COMMON_H -#define CPU_LDST_COMMON_H +#ifndef ACCEL_TCG_CPU_LDST_COMMON_H +#define ACCEL_TCG_CPU_LDST_COMMON_H #ifndef CONFIG_TCG #error Can only include this header with TCG @@ -119,4 +119,4 @@ uint32_t cpu_ldl_code_mmu(CPUArchState *env, vaddr addr, uint64_t cpu_ldq_code_mmu(CPUArchState *env, vaddr addr, MemOpIdx oi, uintptr_t ra); -#endif /* CPU_LDST_COMMON_H */ +#endif /* ACCEL_TCG_CPU_LDST_COMMON_H */ diff --git a/include/exec/cpu_ldst.h b/include/exec/cpu_ldst.h index 63847f6e618..74761ba5f30 100644 --- a/include/exec/cpu_ldst.h +++ b/include/exec/cpu_ldst.h @@ -67,7 +67,7 @@ #endif #include "exec/cpu-common.h" -#include "exec/cpu-ldst-common.h" +#include "accel/tcg/cpu-ldst-common.h" #include "accel/tcg/cpu-mmu-index.h" #include "exec/abi_ptr.h" diff --git a/accel/tcg/translator.c b/accel/tcg/translator.c index c53bbdef99f..034f2f359ef 100644 --- a/accel/tcg/translator.c +++ b/accel/tcg/translator.c @@ -11,7 +11,7 @@ #include "qemu/bswap.h" #include "qemu/log.h" #include "qemu/error-report.h" -#include "exec/cpu-ldst-common.h" +#include "accel/tcg/cpu-ldst-common.h" #include "accel/tcg/cpu-mmu-index.h" #include "exec/target_page.h" #include "exec/translator.h"