From patchwork Tue Jun 13 13:33:40 2023 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: 691983 Delivered-To: patch@linaro.org Received: by 2002:a5d:4d91:0:0:0:0:0 with SMTP id b17csp423985wru; Tue, 13 Jun 2023 06:35:59 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4NsnNiTQ+8uRV7UDfM0hpW8/eAvKoOonyHg07eAO2dnBDUpW75wbv1gqhdI5e6am1p2mtd X-Received: by 2002:a05:622a:14c8:b0:3f7:f5d4:33af with SMTP id u8-20020a05622a14c800b003f7f5d433afmr15614204qtx.33.1686663359570; Tue, 13 Jun 2023 06:35:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686663359; cv=none; d=google.com; s=arc-20160816; b=M22srHQv7S6J1Q2roXyTnZYY3LcZ0MmP43J6jwT/hMQTEG7ry9r/qnrEQAJnSaJ2PS UY0ywVb86HOUz1dwH6j3xSmwnPVoP43tmyxIhzTq7yWP2L82GtlpuqDbIuh1+9q5M0sW cMZ7SuM27l02tlD5wVxBj2ihZysByFXvgh2JGbhV+SHvfLSHXATq5nQcWan0bEadU9Oi uM0ImmbQCbfCy1hxn+WU5vYtdnHJq0OqXBdEleu8FFN+ruyEzs3EICGLiVa1R8UsTlZb 6kx8+bVOrSfc3WEkQ28STsEn5o+AxAr7jgsOR7dIXePf1zCnR6bR5PLokOwKCP14zJuU /wCA== 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=HE4rMdwDzn7Z5hU0mldHp9um1gTSDI5fOpSWPoLYcO8=; b=jqOmIabgiiqKFVOyi0LjyIOgqxxFReep2HMdGR1QeQFkWkq91TQRctmwhgnUJvZWnV nSjvhlsW0rTaLCHShTuNPRLbwpfz+VAv6b4lYyv/ZaZFP/59oKlVAgCPlSTk+NymdZ8c G76wCnbFGLdA6/87WeXLlm/q7AD4Z/jv3SLHRfLQzyoC5wdO1JHdrmEpck+0cO2qxQ4y Nj1H0UoTqkpUvvq9S1G5iJ/otOSuKVjPvZnCaHsoZnML79izjAbMe0VerK3mIg16gH1M 3HvstyCsw28y8OMl/2/ozmHa5YCzVXwmHiN4OB9crrErtXMzS7RR9AZWd7L6k3+SE2Z5 U9lQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=qO0Wk4mI; 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 i9-20020ac85c09000000b003f830a6984dsi7638646qti.199.2023.06.13.06.35.59 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 13 Jun 2023 06:35: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=qO0Wk4mI; 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 1q94B5-0007jN-1a; Tue, 13 Jun 2023 09:35:19 -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 1q94B2-0007cd-NG for qemu-devel@nongnu.org; Tue, 13 Jun 2023 09:35:16 -0400 Received: from mail-ej1-x634.google.com ([2a00:1450:4864:20::634]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q94Az-0002QQ-Ug for qemu-devel@nongnu.org; Tue, 13 Jun 2023 09:35:15 -0400 Received: by mail-ej1-x634.google.com with SMTP id a640c23a62f3a-97460240863so889902766b.0 for ; Tue, 13 Jun 2023 06:35:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1686663312; x=1689255312; 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=HE4rMdwDzn7Z5hU0mldHp9um1gTSDI5fOpSWPoLYcO8=; b=qO0Wk4mIqHnzhNQNLP9LR5c32xCPrPUIGMAF7lcBLHHSnc0q9qbpBy8Jud/I1th9T8 3b4d/ZyOOK8PV+4yoRM1ngyTX7/uLTegjEsyWeBK3fHH9y4P/SBN05zziEY/WJqvqXc6 zhGxUtiMpb0pkwXKLJ8MYhwL3mqwczaBsgSjFC7NEGcDD4Gu2+t7sVCQFouKUPpXkmil ROCIaLgtxln9B5/HeGddUWuHC5O65NaTkuBmovEh1Fh4ES/cpO4MklBQZk0IXNuaSx5B hrZaPCAF5aootiuaDD8Gw1TMcnDv/dqVrfQRUfbq6CDEi6KsSdX0fTRP4HWeU3IMZjDj WZDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686663312; x=1689255312; 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=HE4rMdwDzn7Z5hU0mldHp9um1gTSDI5fOpSWPoLYcO8=; b=NtKbhnRvdIoVMg6BpQ/A+1SzikP2i+8kXClIEB7Gipr2YrJxdjzaKXXW/vxDMwdWD+ PNjUdYg2PIaAPp99We8rTz4Czs6gUrcSkDfF815KgAxe7Ex2RBTCYlguVrJ50SXikwni mZ6ennjhImrD4687ht8HT7LOT7mlE8KvPmFfUrvIJQDlAwqNCOpvEaViW4uJ2GuiLKwh bY3yTQbcU0GKzpEChN2rKW96mX4XYprLECrwfdpkQnAcAFUKGHX0Ns5trc3UZoQbtfsy hXvfUpqMcGn9WL7nstEcH9W4YdZQijekDU8HC0DRQS+r7wt29sAAZ0zANWuPZw9lA32D zvAg== X-Gm-Message-State: AC+VfDw3c/Qlq+CzcmhsT+aDVt6zfy5FT9x4fcRSjG3wGUigxJRaE9tw mYWr4S4TUFldlEXeYNGOnJgvFFVEqZ1RBxWRoQY= X-Received: by 2002:a17:907:7b9f:b0:982:25d1:bfd3 with SMTP id ne31-20020a1709077b9f00b0098225d1bfd3mr4198341ejc.15.1686663311927; Tue, 13 Jun 2023 06:35:11 -0700 (PDT) Received: from localhost.localdomain ([213.235.133.109]) by smtp.gmail.com with ESMTPSA id qt17-20020a170906ecf100b00968242f8c37sm6598096ejb.50.2023.06.13.06.35.04 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Tue, 13 Jun 2023 06:35:11 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: qemu-block@nongnu.org, Thomas Huth , qemu-s390x@nongnu.org, qemu-riscv@nongnu.org, qemu-arm@nongnu.org, Richard Henderson , qemu-ppc@nongnu.org, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Subject: [PATCH v3 2/9] target/tricore: Remove pointless CONFIG_SOFTMMU guard Date: Tue, 13 Jun 2023 15:33:40 +0200 Message-Id: <20230613133347.82210-3-philmd@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230613133347.82210-1-philmd@linaro.org> References: <20230613133347.82210-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::634; envelope-from=philmd@linaro.org; helo=mail-ej1-x634.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 We don't build any user emulation target for Tricore, only the system emulation. No need to check for it as it is always defined. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson Reviewed-by: Bastian Koppelmann --- target/tricore/helper.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/target/tricore/helper.c b/target/tricore/helper.c index 284a749e50..951024d491 100644 --- a/target/tricore/helper.c +++ b/target/tricore/helper.c @@ -31,7 +31,6 @@ enum { TLBRET_MATCH = 0 }; -#if defined(CONFIG_SOFTMMU) static int get_physical_address(CPUTriCoreState *env, hwaddr *physical, int *prot, target_ulong address, MMUAccessType access_type, int mmu_idx) @@ -57,7 +56,6 @@ hwaddr tricore_cpu_get_phys_page_debug(CPUState *cs, vaddr addr) } return phys_addr; } -#endif /* TODO: Add exeption support*/ static void raise_mmu_exception(CPUTriCoreState *env, target_ulong address,