From patchwork Tue Jun 20 08:26:00 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 694448 Delivered-To: patch@linaro.org Received: by 2002:adf:e885:0:0:0:0:0 with SMTP id d5csp186532wrm; Tue, 20 Jun 2023 01:28:43 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4kH3W1BchWgUbAROHhUFBvRWfa+nRlN/l5eQ+ovN+8/ZXX15UfOnG+TVeRqc7ZO26KQbuR X-Received: by 2002:ac8:5b4c:0:b0:3ef:2fbd:90cd with SMTP id n12-20020ac85b4c000000b003ef2fbd90cdmr16657843qtw.46.1687249723556; Tue, 20 Jun 2023 01:28:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687249723; cv=none; d=google.com; s=arc-20160816; b=Uoqlk+CyEgIYBpqLFqvCe03q5vm2lgH95YrJtOJmVQmU/ltsEaR45uzE+bpd4Z4nKY pSo083nHfceNViFNPV+Rx2iRuSfVElxKsiyRBrvy8MXYPyfF6C4Bk7i5/iHjY9JRmTaY j6jTJxEXe7bqfe6abWjxH7gIYgyIizQqYCCju6UywsRCboLe4c0JcFbAWST2LnoR16Pz xpvPs4cLD/foDCm0QF2EYBEEwif70H6s6BqypcG85GPPz3Q2e+b2+AgOurO3uverBpxL 1PyjYyh3brRvVIWootBcgUPHDMLbGtqkerMQJbTDcXzKfykF9+FbVhtwU1sFn/JSpa9j IbCA== 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=o556aRlWUn3yc4y7x5nkfxHpEejIwC832DOVIUZc2bk=; b=LZ9sa/gH7LPYotfTiE9G2nvzs/aIU4tQ/PJ9absfGNV8NH0dvaOJF+xBiOob+1JYOT uXOJQcwa75+1l2MaYBbiVjkjkfdgBIWeRsYUXAtzHfXLNwnI6XcfFD20qNs+nx/WTyNZ dBLlJdG6LXkUPIbhEymFuqE74jPhNyvyjVpnDCEijgpaUMlYRxqfUC39PzYWzJHLp+Aj sfWFldutKzSE6k1h42t5iUzQXUAcCoTZAf7FEzINxkck7jmECRNfGWhHni73KPwCVjBG XClaF+LuUiPZiKOF5pNte27vTMcUR7BkB8bEjplb04sxD9ptfiA5wLPn7dUibc/AFczQ W42Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=rD4XSDoh; 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 d13-20020ac85d8d000000b003fdecc72a19si565822qtx.151.2023.06.20.01.28.43 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 20 Jun 2023 01:28:43 -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=rD4XSDoh; 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 1qBWh5-0003pR-V7; Tue, 20 Jun 2023 04:26:32 -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 1qBWgw-0003nA-GC for qemu-devel@nongnu.org; Tue, 20 Jun 2023 04:26:26 -0400 Received: from mail-ej1-x635.google.com ([2a00:1450:4864:20::635]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qBWgu-000665-Bk for qemu-devel@nongnu.org; Tue, 20 Jun 2023 04:26:21 -0400 Received: by mail-ej1-x635.google.com with SMTP id a640c23a62f3a-988e6fc41ccso171861666b.3 for ; Tue, 20 Jun 2023 01:26:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1687249578; x=1689841578; 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=o556aRlWUn3yc4y7x5nkfxHpEejIwC832DOVIUZc2bk=; b=rD4XSDohMWLDU340eivhZMPod0cgBC+TemU2LUdqhsZ0+vOwFRe/EbFYarU2t2Q1tY vBFRszJBIg5sA1mj4W72tQWiN6wEE+Kz/LFZq8abfSkubG4ecU/lwaDQaUc0zyJvuSop Za5HR0TmvdfMN4KLznEG0jtrllr8WbxED+KpJt5ZAUaKo2juTM1UPlUV33UYr4hSwmJp 3vWjPwaZZZ51O+UzZjmEAfSSOvLlXqXOqBEaz0GkYLJOstP+DcWJ4tsq0ecgALABvN06 Hwfv51H0TARxBSwYaQb+LxJvR9QjlLI9jd2213T7IEHlKgYzUysExjTUMbo35cQmIhr8 ityQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687249578; x=1689841578; 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=o556aRlWUn3yc4y7x5nkfxHpEejIwC832DOVIUZc2bk=; b=Hf1IhxJdXOLD0g+EW6mDKv8O6p6IblEKQH9qDZN5CtAdkQWBprJVa8Xi66AjNYW7xN rEGFLK1EUBmpZT6wXZHQyRUK/8EK5S656/L2st4XojHJQn1iCtm6DSkWnihBpnMBS8Cf F6I9frYTrkhZvsA1nTUE1lqTdq1dPIaVZAiqhGzYKbxpeTZa2+OmA3Wz91eGjqznHXIo 40RUWGLKihGRp9YpWIYYW2z2FheHkb+BGqHEWVSlwkLSKXjc/AjwkC+MXnKmtHL7i+kp rMU/BgE1Hl+grK0lmKm45Sd0GChOAsPrZD88MbsaTBG5H6jn+FK6tNoRR4w+7rBQXRy3 vIyg== X-Gm-Message-State: AC+VfDzV9E5artl7j4oLrTFZHd60G3ppAs7RUppIr1M4HntAmfPdTtVY ViSP9lXJ7gh02TIG59DIr7Lk5K8j/QYi0jQcAL6LIHJC X-Received: by 2002:a17:907:6d8a:b0:988:9621:d855 with SMTP id sb10-20020a1709076d8a00b009889621d855mr4540252ejc.61.1687249578613; Tue, 20 Jun 2023 01:26:18 -0700 (PDT) Received: from stoup.lan ([176.176.183.29]) by smtp.gmail.com with ESMTPSA id z19-20020a170906669300b00977c7566ccbsm935901ejo.164.2023.06.20.01.26.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Jun 2023 01:26:18 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Cc: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Bastian Koppelmann Subject: [PULL 05/16] target/tricore: Remove pointless CONFIG_SOFTMMU guard Date: Tue, 20 Jun 2023 10:26:00 +0200 Message-Id: <20230620082611.770620-6-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230620082611.770620-1-richard.henderson@linaro.org> References: <20230620082611.770620-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::635; envelope-from=richard.henderson@linaro.org; helo=mail-ej1-x635.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=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 From: Philippe Mathieu-Daudé 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 Message-Id: <20230613133347.82210-3-philmd@linaro.org> Signed-off-by: Richard Henderson --- 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,