From nobody Mon Feb 9 20:31:37 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1622825642; cv=none; d=zohomail.com; s=zohoarc; b=dXUOWuCodw1R5QhIwzW9x4jhdjocvWwxddmMWEmvlvXmtsQu7ZjyRb+5Bj3+MMdonfxhGgKKButUFtFoZ4kQfH/iMGdMrTmxE+R2SLZz89ZQaNfMbZd6RNn1V8CMtrIsX2hyN6dYVfGpX2spt9nTC/3brfFNZJfHeRl1fImRH5Q= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1622825642; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=jHTHPK7EVjgaDIrR0C18cgN5rIwMNuNIJkwhJ0GA1a8=; b=Q3vxwN9caEgxmSCgOs4gebJLYYfXhkUkF9ylhz6KAucjQvL0c7WY+MW9xjHTa2wOsxKucV2UiYkcjE1PluKBozouCz7NxFAMnw4V9B4IUPL2kOoK4IS4qq5e14Z+dr49dfGOsBFeVbNBeLqZkmXP7NpDhCt7hOx/fNRpGKIyU1I= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1622825642773356.5251639889949; Fri, 4 Jun 2021 09:54:02 -0700 (PDT) Received: from localhost ([::1]:42430 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lpD57-0004E1-GF for importer@patchew.org; Fri, 04 Jun 2021 12:54:01 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52156) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lpCRZ-0003Sp-Ul for qemu-devel@nongnu.org; Fri, 04 Jun 2021 12:13:09 -0400 Received: from mail-wr1-x435.google.com ([2a00:1450:4864:20::435]:40624) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lpCRQ-0003tH-U7 for qemu-devel@nongnu.org; Fri, 04 Jun 2021 12:13:09 -0400 Received: by mail-wr1-x435.google.com with SMTP id y7so5220350wrh.7 for ; Fri, 04 Jun 2021 09:12:59 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id c12sm8185315wrr.90.2021.06.04.09.12.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Jun 2021 09:12:53 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id C61851FFB7; Fri, 4 Jun 2021 16:53:16 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=jHTHPK7EVjgaDIrR0C18cgN5rIwMNuNIJkwhJ0GA1a8=; b=adNs06f9qKR686LUipzpgnO+ktPDZyAZz6BNdqaxK+SMqnDN7ZKkXPaZY9cc5aLNvL eccy7qRHtop8bTWC3TEF1cdc5OLXmDj4EoQ3b736zv0F2YFWRcHwb1UogNMLagnLGrXf INh7lnm+32pIVeZF+GGxN+RxD1/BnMMwbAlXiBpqnqIaCgfepnFC15pziSyKfJ6Cq7GT eYdG3GVdDGQqTCEn/643ailO5lRD7kdBHAwkyWh0gd1LG9ro1hcprFvMOycpxacRs4nN jRy678TwxR+h35AkoFBywm0oK/zoFwlprsSPoNt9r0xaPBUWjxfgojhCX6vYNgLRZFvO FEMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=jHTHPK7EVjgaDIrR0C18cgN5rIwMNuNIJkwhJ0GA1a8=; b=G4ajDCoEkZSJi7QmutXpBq0hGHsRIRq1m3lY4lroOUBMLGFIbHu4Ljl9PJNZ5i/9uz Qc6JgSZjBD7UTPJmXcnpqgtSa4mp3xwrQZ3NvghqqmRPNsAib0S++6gnVNN8UqRRzzeP aS+92hhWl1xU5f4Nr5G0f7ksPi0Oyqf9Pb6a4DpvkEcyokufeOBtzdZy4goqMJRqdIfo DAJngBJ9TtrCn4L9bbtCRbOYX0eJlZTCJ0jXjYRjmrjkxwASFnZreTiKCU/KO7hkn7Th X0zeX5tmhfTABqoAm8KRmFA0xxDPxpFc6jF7qBLxekainoTeEmCanBAMBv75QAHCesa1 CnDw== X-Gm-Message-State: AOAM531oBHSO/pOdryZGXpl+ZTAOEDjh5d3zcJfAMpmWRju4FXzriG96 TtT7brjv7TNUVyNKc1mJ3NfEtw== X-Google-Smtp-Source: ABdhPJw8JKdOgVEzNPYzlOp1VdPwfqBZPzYztvQfZx+o+A2q3L13WcoxfUg9D1tQvEeDTG9Vnfx67Q== X-Received: by 2002:a5d:4fc6:: with SMTP id h6mr4820531wrw.1.1622823178645; Fri, 04 Jun 2021 09:12:58 -0700 (PDT) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v16 31/99] target/arm: tcg: add stubs for some helpers for non-tcg builds Date: Fri, 4 Jun 2021 16:52:04 +0100 Message-Id: <20210604155312.15902-32-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210604155312.15902-1-alex.bennee@linaro.org> References: <20210604155312.15902-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::435; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x435.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.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?UTF-8?q?Alex=20Benn=C3=A9e?= , qemu-arm@nongnu.org, Richard Henderson , Claudio Fontana , Peter Maydell Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) From: Claudio Fontana this first armv7m one should go away with proper configuration changes (only enabling possible boards for KVM). Signed-off-by: Claudio Fontana Reviewed-by: Richard Henderson Signed-off-by: Alex Benn=C3=A9e --- target/arm/tcg/tcg-stubs.c | 16 ++++++++++++++++ target/arm/tcg/meson.build | 3 +++ 2 files changed, 19 insertions(+) create mode 100644 target/arm/tcg/tcg-stubs.c diff --git a/target/arm/tcg/tcg-stubs.c b/target/arm/tcg/tcg-stubs.c new file mode 100644 index 0000000000..14220d59a1 --- /dev/null +++ b/target/arm/tcg/tcg-stubs.c @@ -0,0 +1,16 @@ +/* + * QEMU ARM stubs for some TCG helper functions + * + * Copyright 2021 SUSE LLC + * + * This work is licensed under the terms of the GNU GPL, version 2 or late= r. + * See the COPYING file in the top-level directory. + */ + +#include "qemu/osdep.h" +#include "cpu.h" + +void write_v7m_exception(CPUARMState *env, uint32_t new_exc) +{ + g_assert_not_reached(); +} diff --git a/target/arm/tcg/meson.build b/target/arm/tcg/meson.build index 3d34723eee..78c34742ec 100644 --- a/target/arm/tcg/meson.build +++ b/target/arm/tcg/meson.build @@ -30,6 +30,9 @@ arm_ss.add(when: 'CONFIG_TCG', if_true: files( 'vfp_helper.c', 'crypto_helper.c', 'debug_helper.c', + +), if_false: files( + 'tcg-stubs.c', )) =20 arm_ss.add(when: ['TARGET_AARCH64','CONFIG_TCG'], if_true: files( --=20 2.20.1