From patchwork Wed May 3 07:06:07 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 678621 Delivered-To: patch@linaro.org Received: by 2002:a5d:4a41:0:0:0:0:0 with SMTP id v1csp904600wrs; Wed, 3 May 2023 00:11:55 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6iE6dTe+a3UuUEmn/rHsxWI/4ySNdjwpKQY+ly//rOffz+OzTqqZ6o2b4/kYQpmGzQYena X-Received: by 2002:ac8:5e0a:0:b0:3ef:3057:adc6 with SMTP id h10-20020ac85e0a000000b003ef3057adc6mr1421466qtx.6.1683097915555; Wed, 03 May 2023 00:11:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683097915; cv=none; d=google.com; s=arc-20160816; b=t6r7zwHbU3xiNU62bihCUqC8Owe1dLYXFGMMvRciTmzFzdZQVGwxjHtRrd8lzKFlXR x50PDFwugODV/vDfTfkNBB21Roxm22hBLbo94IRF5ykO9DT2noAlqrv84kONPkP7GyW8 cnEZKuOKEG4SgeuQKWx5K432LspBZUxL3/xoaSNjbUL3W8El4mhlSTdBFlf3GTO2hE+U ViuZuyak3aYxotOtePOsfkNrf4gvmq7xlHDH7uz9gmOKKCQBUSVviQiYbFtTRHQg/1fG QF0axXjknAie324CZ3Jjm78joqiMycsW2doQw7rKUmIoiqFSEjt56Q8ydnxgZ3l8nt46 0RUg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; 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=gvLKyw9z19puGl4906wWpsqbju3c3EHRrQAYILFihCI=; b=agtE1f/NFVQB2r0YsD/aczA4c33h7GbszmYi2l2I4S8hGPx/ryXQqXYcQlmnNbrO6r QHi4pHXyHqmOAXa4+fVGgN00mkZ1MDLfvM4C9TyA01uriX7axFW+0y2gOlS0GT9g8glI H3aBpNcY0v72ny9TCrss8VlvfrkCufGVkhe/L3cCSFJhajHksylR/yPmBZGCKPbUTz8I N2PQIQoVwNbBvhHDJil7qemjhBZs60oU79IGG62XchlfWDgZZ3ay5UoIvscF/SX0bt9n nYJLhlgrUtQSZuHC4M5mDiPYZ2BkCP0oMJkgPfbrRSZ8rCRb5uT0Y/BMtbHq11W4skFY S6xg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=MVnJ9l5s; 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 o4-20020a05622a008400b003e18051efdbsi3712151qtw.671.2023.05.03.00.11.55 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 03 May 2023 00:11:55 -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=MVnJ9l5s; 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] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pu6aR-0006dT-O1; Wed, 03 May 2023 03:07:39 -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 1pu6a5-0005C8-2D for qemu-devel@nongnu.org; Wed, 03 May 2023 03:07:18 -0400 Received: from mail-wm1-x32d.google.com ([2a00:1450:4864:20::32d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pu6Zt-0005cQ-Ep for qemu-devel@nongnu.org; Wed, 03 May 2023 03:07:16 -0400 Received: by mail-wm1-x32d.google.com with SMTP id 5b1f17b1804b1-3f315712406so11270545e9.0 for ; Wed, 03 May 2023 00:07:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1683097624; x=1685689624; 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=gvLKyw9z19puGl4906wWpsqbju3c3EHRrQAYILFihCI=; b=MVnJ9l5spUH5OFm1bTK3TIwf78cBpsOG1k6kxTpswzfl3DyjhdQr4kArGOuJjhQdDA 1DlOEpl3LJNFtRqHP+kNTI2uL07UEvPYEBkEXB3e6V4mYMEmxhdCgqQNPY9Ow7K2xN9m yi6QwmMbIWH9+UxMSqxkGhV3OXpce6tAi4zoNSbz0xBpdploJI531UaDUbBlrvHI3D4a 625Q9miYhpzhjtz9k+tt4LPSQGcy9yTUPvVr7gRfNbgEpg1cln20AhPpq9k3qIYJMTLT xvL5ih55+6dJukvhUoYxAP2a0YxVuXO9fnRKG/IBYpwhXU01ePwQnSXB+oiWcTocPb2x erfA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683097624; x=1685689624; 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=gvLKyw9z19puGl4906wWpsqbju3c3EHRrQAYILFihCI=; b=UKDBbqAtQSs/sbK+zY1wpcD84RAXKnzO8/cj1/qgyvEqFUCP+6YUw6nSOpUR2/UlN3 PpaEhZ1XynWO2IgQYiZn5cM91CyXt78/3f5ZxZ0nmFfR1lowx6dQvuqvXO4VPtMBHbsj /PPpqpZM75fkcKBmXXvInPULS0uhkFYizGgO+6z5b8ClFc0Xi9WtkrWA+vGis98o7c3e xoEadyvPyPZghvpwGP4uy6hFbzb8h/NoSW96t8PUZk6MlNRjWnxzA1O4Jq4YqnnctrhF j9sWNHEmrp2XefhfJ07q31lTfeISWRSCxclsVtTPP3E9krJP3zhxGUGK1bE58ZLKezu7 RcGA== X-Gm-Message-State: AC+VfDyLj/FYenpBFqn/XHTId3C8I3H7ImcY7MXY16R/JZLilTsMGD2L rzdLYyrmz2QOaCuOUPzHNmEcPoY8Zqq+vo3o8aaXHw== X-Received: by 2002:a1c:7c14:0:b0:3ed:3268:5f35 with SMTP id x20-20020a1c7c14000000b003ed32685f35mr645653wmc.18.1683097623838; Wed, 03 May 2023 00:07:03 -0700 (PDT) Received: from stoup.Home ([2a02:c7c:74db:8d00:c01d:9d74:b630:9087]) by smtp.gmail.com with ESMTPSA id q3-20020a1cf303000000b003f3157988f8sm921184wmq.26.2023.05.03.00.07.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 May 2023 00:07:03 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Cc: git@xen0n.name, gaosong@loongson.cn, philmd@linaro.org, qemu-arm@nongnu.org, qemu-riscv@nongnu.org, qemu-s390x@nongnu.org Subject: [PATCH v4 08/57] target/loongarch: Do not include tcg-ldst.h Date: Wed, 3 May 2023 08:06:07 +0100 Message-Id: <20230503070656.1746170-9-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230503070656.1746170-1-richard.henderson@linaro.org> References: <20230503070656.1746170-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::32d; envelope-from=richard.henderson@linaro.org; helo=mail-wm1-x32d.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, T_SCC_BODY_TEXT_LINE=-0.01 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: 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 This header is supposed to be private to tcg and in fact does not need to be included here at all. Reviewed-by: Song Gao Signed-off-by: Richard Henderson Reviewed-by: Peter Maydell --- target/loongarch/csr_helper.c | 1 - target/loongarch/iocsr_helper.c | 1 - 2 files changed, 2 deletions(-) diff --git a/target/loongarch/csr_helper.c b/target/loongarch/csr_helper.c index 7e02787895..6526367946 100644 --- a/target/loongarch/csr_helper.c +++ b/target/loongarch/csr_helper.c @@ -15,7 +15,6 @@ #include "exec/cpu_ldst.h" #include "hw/irq.h" #include "cpu-csr.h" -#include "tcg/tcg-ldst.h" target_ulong helper_csrrd_pgd(CPULoongArchState *env) { diff --git a/target/loongarch/iocsr_helper.c b/target/loongarch/iocsr_helper.c index 505853e17b..dda9845d6c 100644 --- a/target/loongarch/iocsr_helper.c +++ b/target/loongarch/iocsr_helper.c @@ -12,7 +12,6 @@ #include "exec/helper-proto.h" #include "exec/exec-all.h" #include "exec/cpu_ldst.h" -#include "tcg/tcg-ldst.h" #define GET_MEMTXATTRS(cas) \ ((MemTxAttrs){.requester_id = env_cpu(cas)->cpu_index})