Message ID | 20250121142341.17001-4-philmd@linaro.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:adf:fb47:0:b0:385:e875:8a9e with SMTP id c7csp221499wrs; Tue, 21 Jan 2025 06:25:49 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCViVAaspFdNCxq7dXtHjt0SgXWdx4D+0i6zM2m/MyzDIIjOauM539o+vyacHHjpZieElLoI7Q==@linaro.org X-Google-Smtp-Source: AGHT+IG7ATqi5sEhMXEKTpTxebzYe9JFxLGn75nK8ydGaszGhnEim4dH2NUIckzF/TOHuH9AZe4h X-Received: by 2002:a05:622a:1985:b0:464:c8d3:30c0 with SMTP id d75a77b69052e-46e12b689b9mr288132151cf.35.1737469549228; Tue, 21 Jan 2025 06:25:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1737469549; cv=none; d=google.com; s=arc-20240605; b=MqfRHnS12C0NOSyXJLMRpGSd+/dbzpxyzpWIdCo+ETKAPV5ImVw8GOSkQrlVl1cyXF 0Tbs6mRcsu+3Y5hEixCTf2s2Pq2jOYaZ95FXCW0uCK1qHto03+t0aSmkwCfIALb6vKhZ R09eh4qwbd4w8Ipe1y+/LFIGvXYZDpF3OYLj4BSl7jjX0Soki8H61VhKL/7GBi+o5LqS UTdXdrvVfkm6SvCBSsIuxTavgKO4x9grc7BT1jBavAcCb4/fM/8SqJEpwJZwTZ0zuP4t FLDpJlzJCYn+F/qMXS48dI7N/DtgdAXqeRF328M29uj5kaEkRG/CZgLHqubivp0MLIeL SPBg== 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=R8Fp3sEVk5tNH2xc5e8sHq21AAMknUb1MPMoentFoZ4=; fh=T9nLPmYdz8kSl8qI33evWuh/VVTqN+U2Q3T/ETy8raQ=; b=Oa1LL8TG2zZmjoYbVqCCfJ0RQgm/9uVBbi6OzHlRwveRlKrYH9uWENA6dRDjHRgMcF S4L6Gz0WnKkXhhWCoWrSOcVEOCnyxYduaFlMtD5wejdqxd3Mnj8L4R7IeGe2ppbVZW+w feiTbG+SRVbTwIKx5thu5eJ3nwYBkNimPObz2FisssGQb2Jp5Ey4XrSookuvjUbdXHAI m8PFY9RJFgKKgg/ocNFci9AkA/Et9X1OXvKMD53IatuVtHdj4W71CY9tcR46VBdzsHtG JGiPYhT0UdVuOfybI0qOMWVjpXsQRGUNAxs5Fc5XfFOkv44aItYDmlzaBHk55a25Dja/ +ApA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="rAh/6Mik"; 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 d75a77b69052e-46e102f17c6si137303701cf.40.2025.01.21.06.25.49 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 21 Jan 2025 06:25:49 -0800 (PST) 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="rAh/6Mik"; 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 1taFAl-0000SU-8t; Tue, 21 Jan 2025 09:24:07 -0500 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 1taFAh-0000Pu-03 for qemu-devel@nongnu.org; Tue, 21 Jan 2025 09:24:03 -0500 Received: from mail-wm1-x329.google.com ([2a00:1450:4864:20::329]) 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 1taFAe-00030N-0F for qemu-devel@nongnu.org; Tue, 21 Jan 2025 09:24:02 -0500 Received: by mail-wm1-x329.google.com with SMTP id 5b1f17b1804b1-4362f61757fso58476565e9.2 for <qemu-devel@nongnu.org>; Tue, 21 Jan 2025 06:23:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1737469438; x=1738074238; 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=R8Fp3sEVk5tNH2xc5e8sHq21AAMknUb1MPMoentFoZ4=; b=rAh/6Mikcxxi5oc4GjunUU/9Cw1iL7gTIBpM68n/k5sw/RodEzS/pgFcUDv1ZRDFCH WxQEVfVw9JHduRVJ0PR4mXtBOSa89ngwPEEv3GMRWcsIWnKGe+9/1g+rCaMD9tYx38MO 3zYWnE7jZjynmmd2n1clWWZg0kx+ipPlADysxETNUAbLULu3V7SHaNtY7xe6oURJggRo BdR1nw0N/9lWOEBrnL5f6LhrX30w5I3zZ07julFpfa5X6LkadDPSQ9mhlVfOtXFxY41p YaGCGARcdT4uEyznjEmtOVTt3fpryimpJEU2fgviQp0DBmV35KmI9foebYnkrHWSnoMk bYJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737469438; x=1738074238; 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=R8Fp3sEVk5tNH2xc5e8sHq21AAMknUb1MPMoentFoZ4=; b=mcxaxk5LhOdqAPhBTICnVipSASgvyhiXkOeNImE2+eJTfps5SJadJ7Qov6kmKdHMXe fpYwizSAnk9COqlZmNqAS4DWw5ucfqgOzPnFtDPRGeH2qFcH/8j+bU1fHMFeby0Y6VlW nb3d/I2QVi90W9K9beI0MkNbkwR0+eFaWt1E/CeXWJVzRJFibcHAcX6Gaa40Mnhip+p2 cCFSpOx+Snei0lu9bKSkNkN/guDQCX9XnMolcFlC/B3rfZfI+++mC7Ou9zwr2w1AB6Gd YadCLz7ms4w831nDC9VH+QHub4WD33RpdDpb4UV1oeCrcBdzOW5Jmsl4R07f8V6WiCQk n8ZA== X-Gm-Message-State: AOJu0Yxh3Hxn/1hKorH3MjaNIeWc2fffpw2va/Eopmxq8OvFUjYC6KHp 0VZ4u/AaJYK9inrzWP7m8GvApMufqFPCtyHVompXvYAvyKZo/Y8qZrNcfUJ+29r2PncROR6XZCQ zbA8= X-Gm-Gg: ASbGncsgmK6pMdQg7l39R/sjChIX9AKsV0gWtYit67cq5/0OJqWhlaEWYUGHkHRTq1T JjugvjsClIOi8qSkgBhG/Q1JneaCumvOAj7zyrh6SOdlPB33ap0/5NUn4F1BQSr7UsidBDheP0D tpYLyusfCZmgqCNgxNY6XzNY0dyQSKVsLHkETmhDRbFfSFJal/Z7NTos6iM/8ArIwEBzkSxRj9M c/EkowvQiTlbBalVapSGLQViYbjJ5YHqFuuMG5IYKoqZ5jcT+s4EqR9/fP3Jwu66eeke7+pVwGa CRbWIQr/UVRhwILr5rjtwzaXWWWg2lRUr9YeOvtnR9sV X-Received: by 2002:a05:600c:1c83:b0:434:a746:9c82 with SMTP id 5b1f17b1804b1-438913be56bmr168297705e9.5.1737469437897; Tue, 21 Jan 2025 06:23:57 -0800 (PST) Received: from localhost.localdomain (88-187-86-199.subs.proxad.net. [88.187.86.199]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4389041fec5sm184313625e9.19.2025.01.21.06.23.57 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Tue, 21 Jan 2025 06:23:57 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= <philmd@linaro.org> To: qemu-devel@nongnu.org Cc: qemu-arm@nongnu.org, qemu-s390x@nongnu.org, qemu-riscv@nongnu.org, qemu-ppc@nongnu.org, Paolo Bonzini <pbonzini@redhat.com>, Richard Henderson <richard.henderson@linaro.org>, =?utf-8?q?Philippe_Mathie?= =?utf-8?q?u-Daud=C3=A9?= <philmd@linaro.org> Subject: [PATCH 03/28] target/tricore: Ensure not being build on user emulation Date: Tue, 21 Jan 2025 15:23:16 +0100 Message-ID: <20250121142341.17001-4-philmd@linaro.org> X-Mailer: git-send-email 2.47.1 In-Reply-To: <20250121142341.17001-1-philmd@linaro.org> References: <20250121142341.17001-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::329; envelope-from=philmd@linaro.org; helo=mail-wm1-x329.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=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: <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 |
cpus: Restrict CPU has_work() handlers to system emulation
|
expand
|
diff --git a/target/tricore/cpu.h b/target/tricore/cpu.h index 8e431d79222..cf9dbc6df8e 100644 --- a/target/tricore/cpu.h +++ b/target/tricore/cpu.h @@ -26,6 +26,10 @@ #include "qemu/cpu-float.h" #include "tricore-defs.h" +#ifdef CONFIG_USER_ONLY +#error "TriCore does not support user mode emulation" +#endif + typedef struct CPUArchState { /* GPR Register */ uint32_t gpr_a[16];
Currently only system emulation is supported. Assert no target code is built for user emulation. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> --- target/tricore/cpu.h | 4 ++++ 1 file changed, 4 insertions(+)