Message ID | 20250402210328.52897-26-philmd@linaro.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a5d:6dae:0:b0:38f:210b:807b with SMTP id u14csp2963145wrs; Wed, 2 Apr 2025 14:12:28 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCUZBf3hTaLRD2kQteNwuGvtZ4J0DM9KbyQcJmt6JzzOoOO226GQbRF2nw5djA+K3Odg01hkiQ==@linaro.org X-Google-Smtp-Source: AGHT+IE/+hCBR9VHkK4dEcF7WHjE7zwHwLbJJAS+Nt0LnmaBY40V990NccH+FHMfTsjbGAXkjZud X-Received: by 2002:a05:620a:44c8:b0:7c5:562d:cd02 with SMTP id af79cd13be357-7c75bc6ace1mr1214866385a.41.1743628348651; Wed, 02 Apr 2025 14:12:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1743628348; cv=none; d=google.com; s=arc-20240605; b=cqpHhg10XE1Y/7vqc2ntVMKktUuWLNuG7vAOa9yLAETZTgqbWIZvbmUAi/hspg+7BB zDNOBiPDJcXBm7D8dGGA0cGrLE/hwNE3lJM5ARgYhNJlAYodxjx3I14INsVqZ65puGWj iSvhna4ssBBZf+SQw6r2EjIvpABN3ASQk7FjVXqKQ7vmmDtMhqx4ijn3YfLTtIN41bT7 Xi9XQBuyLEdAdW+QeTLgJqePo5/0S9xehv5O3nwusV+OcPZ4yLmd5YFrPX8qHPHZ6Egz /65tudLp5kzmEzofBXZjBx4GVZVzCm1bUuX8qTNtx2w9dvEjB/ng+YWbvoiheJ6aJ0R3 4MYg== 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:to:from :dkim-signature; bh=Zpc094T3sbl+v7Fp0FXsAbkLtO1MTd0oi1OcLdP5b2Q=; fh=EeQcx6NodpR2/R3j1iQpEox+7P7q1963GouwlgPKvj0=; b=eAlZbisaSkLSHt6VMvE3UayEBF1TCW4/OWRugY0812BA+slPaYsdv+vOIDmZ1rfi4j Z49AFD7MdB7WIM1jh8SRXTjCc39cMh6OGqn1acm1v4ilxDPk8dMQJ8CRQX/orDTsLFtj WfLj0binPyeYC1V2FPVxqfUn6TSEnqE54lM06/8oRCPKelQ+ojfs1timPIS8BskCpwiM D1dyQ9zNyDBAjMlbWInzviu+Dumy7tAYSJViWeOn6+7BZJ1cu/9ZHnNjaMm0FAPdrW2I VghMVCfUzuryZ/3e/elUi7Idcv/QFwkMBILGQzix2sbXU8yQsoI7I9Y6zgwGxXacF05r fCfQ==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="cfI/N1iV"; 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 af79cd13be357-7c5f76acd9asi1217584985a.195.2025.04.02.14.12.28 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 02 Apr 2025 14:12:28 -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="cfI/N1iV"; 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 1u05Ht-00083c-Fs; Wed, 02 Apr 2025 17:06:17 -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 <philmd@linaro.org>) id 1u05HF-0006UP-HT for qemu-devel@nongnu.org; Wed, 02 Apr 2025 17:05:38 -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 <philmd@linaro.org>) id 1u05HD-0006Vp-0F for qemu-devel@nongnu.org; Wed, 02 Apr 2025 17:05:36 -0400 Received: by mail-wr1-x42e.google.com with SMTP id ffacd0b85a97d-399749152b4so157414f8f.3 for <qemu-devel@nongnu.org>; Wed, 02 Apr 2025 14:05:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1743627933; x=1744232733; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=Zpc094T3sbl+v7Fp0FXsAbkLtO1MTd0oi1OcLdP5b2Q=; b=cfI/N1iVenCYZCzEDui9Zhy5gCo6TvbgXaG3KXzDNM2f+hxMfPWPIkobvO7jpe4D3O nShgxJ+JefWxqbyTGyZNugagedoLgW02QSq6EFfXE9QqSmAoB7FmZiyjZ30wPM/sngYs cZ6AQVYmxJddtXcy6dlZYf6i8F96uJPUN6wcEOFMfhrDvYeetHH9MpV63XeOvC/Vq+e/ 3bE7jHgLSExJVOGpI/BxtFekVfaX35Nx3FLNKgVi5NiYE04Say8iSU5rJ577lnk1RWMl zNlkv+gSPCN/vAol7ALDalexYjZ8VlkelJiWSw90bAWjyKudde6pZWliuSUQ1+HqQyya AErw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1743627933; x=1744232733; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Zpc094T3sbl+v7Fp0FXsAbkLtO1MTd0oi1OcLdP5b2Q=; b=VT8R7qWIpKhZNVzvvsGEaikv4F8x8reGagVzFH43LsMdmqjtPMIV6KLGUSASVBOtsT qku+yiyPQE6UAR78pwVQfUqfs7oCCkqRyfJJhjgaz1srwMTx4sNVJ7+rUz4r49PO9Ju+ rtRyRVggQu4BAu1JMnc4WfLt2bB8/Az9LBm+1EHDiC6W8/dw4li3BpT4JKWgxY0RNbt3 XnnCbtoW6W1jqB2725d0ywtJBzGA0YBt10nSdnF9C9BO4tbwEf/93ar59OJcxN5iw8iL qywPa1CSMpfw77vDJU3Q9dSNeny7K/mekM8L9NRZB17R2F9LK4FHTtBi9NNe3CgKFLaL 6XpQ== X-Forwarded-Encrypted: i=1; AJvYcCVItYM/RUDtLNG99Ie7kPQanGKsXkuAPQzu4aqnb/+fBRg9lNkbvROkPLpSWS4KCVqXaNiEx1OA+tZr@nongnu.org X-Gm-Message-State: AOJu0Yy4Jcs2nM6p5DyfduU8HxrbEqnV1jIaEJD+NCWd7PlrXkGE0rVL 57BTaG+rlhMlyuFI2fPxshR15OJBdUKdTu+MUHgsm+WKfSayP/M/pxVY34h/xCs= X-Gm-Gg: ASbGncvS/p83UlyT5H2JkjlXB+bcOxdtKmYJHrorbOx1n5ED3nTRm5JcjpCMwKGMuLx hK7Dbp8zY4TNSHUZOjauPJgNEPq7EnXqFb17VguPv2iVa/JZ7ncFKf32w6a5cHYydvbvpl6XIm0 ZMgCCPQm2Ulp+zUDREsJG5Or+4ajyQri0jtdwTcI5aMI4M+LCxUaEKPnaLlhN17f5GmGfb04ftL GFWz2vAwXXrdFxY+8kfVth0L09KatEHnR/xOopt5TdfxV8IyF2Aj6TxnmNGov/uHcFrgPrUd+y2 ZCPha8PbmhBS81o2RP9CajF+0MRhLKyGoNjY5wAa57xq1ny70Pg9+1ChPn9ZMMQQEDh2IavuKxD KroC8PZkUYc4QuiVcejc= X-Received: by 2002:a05:6000:4285:b0:390:fdba:ac7 with SMTP id ffacd0b85a97d-39c236747eemr7447573f8f.51.1743627933178; Wed, 02 Apr 2025 14:05:33 -0700 (PDT) Received: from localhost.localdomain (88-187-86-199.subs.proxad.net. [88.187.86.199]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-43eb613a283sm31632255e9.37.2025.04.02.14.05.32 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Wed, 02 Apr 2025 14:05:32 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= <philmd@linaro.org> To: Richard Henderson <richard.henderson@linaro.org>, qemu-devel@nongnu.org Subject: [PATCH-for-10.1 25/43] target/xtensa: Restrict SoftMMU mmu_index() to TCG Date: Wed, 2 Apr 2025 23:03:10 +0200 Message-ID: <20250402210328.52897-26-philmd@linaro.org> X-Mailer: git-send-email 2.47.1 In-Reply-To: <20250402210328.52897-1-philmd@linaro.org> References: <20250402210328.52897-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::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: <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 |
tcg: philmd's queue
|
expand
|
diff --git a/target/xtensa/cpu.c b/target/xtensa/cpu.c index ec6a0a8b662..51f9ee9e89a 100644 --- a/target/xtensa/cpu.c +++ b/target/xtensa/cpu.c @@ -236,6 +236,7 @@ static const TCGCPUOps xtensa_tcg_ops = { .translate_code = xtensa_translate_code, .debug_excp_handler = xtensa_breakpoint_handler, .restore_state_to_opc = xtensa_restore_state_to_opc, + .mmu_index = xtensa_cpu_mmu_index, #ifndef CONFIG_USER_ONLY .tlb_fill = xtensa_cpu_tlb_fill, @@ -262,7 +263,6 @@ static void xtensa_cpu_class_init(ObjectClass *oc, void *data) &xcc->parent_phases); cc->class_by_name = xtensa_cpu_class_by_name; - cc->mmu_index = xtensa_cpu_mmu_index; cc->dump_state = xtensa_cpu_dump_state; cc->set_pc = xtensa_cpu_set_pc; cc->get_pc = xtensa_cpu_get_pc;