Message ID | 20250501062344.2526061-17-pierrick.bouvier@linaro.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a5d:430f:0:b0:38f:210b:807b with SMTP id h15csp174472wrq; Wed, 30 Apr 2025 23:27:11 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCWhMMObc8+nTPqQo2AQdEou1U429rzFPIWP0vrEBj+jnGdqNRRsnoZs0ZN3veDSW1SqGvv0pQ==@linaro.org X-Google-Smtp-Source: AGHT+IFg2h5e8Wfet/WdN6c1I/+XKSsc6ZgUihwCkCCuSzDLfnuWKmFOn9Rk4a1WmlHL+uy4QrNy X-Received: by 2002:a05:620a:c47:b0:7c5:96f6:c9e6 with SMTP id af79cd13be357-7cacd741b45mr284903885a.15.1746080831110; Wed, 30 Apr 2025 23:27:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1746080831; cv=none; d=google.com; s=arc-20240605; b=VFihDcb6AqfKBTuoWkjeGS8DkyISnJy+MvgJNMKngYUC9b5Rh1m4X5E0BQOpFwy3TS sZws2RhFfyTzJ5X1T4+w032WegGwCb6a14L1ZhfrCIANp0scDEwRejlRAmP9QZ/FTGIs WvmnYHIbevgpnhRzXEOJZmKfjljMTnHnDL33WorYyXB3/X7z6JxXjw0Y+Q+aJk99+QP1 LiKz4VYJrEMMoPfvE33Q+Q1Z9lbfel6mP94yuJPMvgpVf79EdBeFe+fqeZna18nyn++u 5UDrldWjevK7IieyanYqNAjp3DROnQJts6FeO6TNWMN6sddEelormcW7mCn6sIE3XCu2 +Ucw== 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=PFwygMkwhCb1ZWcyfCzBjn8oVpD1D7KxEaoA5Pyvsy0=; fh=Fszn0PKjr1lTJ9agfldZI0BguDyTJI4MYSL4G/fcmsE=; b=QMVAb6xOt6+oYY0MDj/b5n9mcK1kM9SfOoM26f9LEDo+4ypYLB9J6hdkaxvt1wyOvH g7r+71NLXwzkE0MPQjLDmCAhTlVA8z3IgN32OYXtMmXNR+WLUwYMVJ3cREsHFesGXEcD TDOWziHR7CIpgRXrGvi+3isrrICXWEKu41Lb5qQtyjpWpDEchexw6IevGgK8eUpS2Xny 61xoAkUxehhuOAXrk8ZmTsdI9izuihlSy6m9FIGlVtYpRzgRxmAy3plChEb/gLdVkZv9 xab0GoVwHVEaRkwkWXKzKLuWcHQCbTq/ZQPGeJU/mF9eTGdknTAVZenhepNFvdA2BOcn hADQ==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=F8AGLvo9; 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-7cad24499b0si5730285a.576.2025.04.30.23.27.10 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 30 Apr 2025 23:27:11 -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=F8AGLvo9; 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 1uANLf-0005aN-Jk; Thu, 01 May 2025 02:24:43 -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 <pierrick.bouvier@linaro.org>) id 1uANLA-0005D1-8L for qemu-devel@nongnu.org; Thu, 01 May 2025 02:24:14 -0400 Received: from mail-pf1-x429.google.com ([2607:f8b0:4864:20::429]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <pierrick.bouvier@linaro.org>) id 1uANL5-0007Cc-5k for qemu-devel@nongnu.org; Thu, 01 May 2025 02:24:08 -0400 Received: by mail-pf1-x429.google.com with SMTP id d2e1a72fcca58-7376dd56f8fso874757b3a.2 for <qemu-devel@nongnu.org>; Wed, 30 Apr 2025 23:24:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1746080646; x=1746685446; 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=PFwygMkwhCb1ZWcyfCzBjn8oVpD1D7KxEaoA5Pyvsy0=; b=F8AGLvo970U0hTldPL4TwHqKRgDkhgD9UOLMkZnPY8ZBVstiKdVzJzznD+tXhM3TrM Sk80h4SvDMX/Ssw2CqGpq+Sux8VmE415k3Xf8pFnpl9ChWSM2QUd22sHwlFxiSKKFDr5 +YaRxGPHmVOI3mr/Y4gQpnBc7UFqSRx3nhYp75wfIlCl+lrFfq9Xr1q0SmRUbXafEBSj KD/sKJrMKn84kuAsDmLMtYge6lH+dVYTbwZt9eKPpRB1R4uCjk6fFyN4wIJ3hjoe3IIC PflPBKhfshg2c4JkRQGw2aLb/I38Tw7ULGJ26GLFToTgF6RTRfcjq23zhawU7ODz2ASf 8Phg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1746080646; x=1746685446; 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=PFwygMkwhCb1ZWcyfCzBjn8oVpD1D7KxEaoA5Pyvsy0=; b=nqtxw1CwD1XLiPdqEb897Nb0brp/Gl9QZ+9ta45a7vlPku+74CvEoIiLw5TNHnS5ik 2AvXKDyeffcSMLVMQBwxTv2gU5rrWtuwjG9e6IpHsaDQ/zZLxMREAuG+x1Ob+FwO3lU+ oQmEUAscinQXFij/UqiOx8FtxUu/jgCWDEUa1KGyT/CVl+eB+SqlVbS/P9dK6SXw09YU 76ii8kFAGhCdPV03o8EEEIN35xSPoSv7tBSgUOUJgsft2PToKSPSr9cyxeKi8ebZ74Kc pcWegGsFk5K+85+36UjjNQDBONTheARvKjmXVefKO3U7UDdUW4HSihcMTygKFUUOUkc5 WUXg== X-Gm-Message-State: AOJu0YxMmcgUUoTy+jJLp5a8SutJTIgSURqxWItmD1oN0YaH8wAHj1d3 6+LjY3wQLCK7KCASJDE/cHqEaAvKupSfJEYL/8rzyJFPfEIGrV+DrdtNyCfquS60n+durvzrgoH X X-Gm-Gg: ASbGnctD837UgmMAVoIeTB24+seXqcSFDtkO6cFEz9Pi13F7d/dWLZWBWzHW49avvE1 gi80CAIzQWd5IvwwbIm1b+eyr1N9hA9IyTBQjcryyGxDSd4Yfs29vrOJkzJPcsGMJNcP4SlSypN 9rjFn4C/UO80kn+kYlgCi+k2QfH87peZRs+RxncAOvjFOIZUKzA8N8HfdggE/9cP7WII6+/8Z3V NAg9VA8szZStM7cduS7bv9NQyJCF5tg1QmjMwEjJFZTK3VbqomRmk2LFbIsgp7nqQLgd2Q1hWY3 8qbkjzqzzzN+Ygb+noNKo89ci30RK6xMN0r8bYW+ X-Received: by 2002:a05:6a20:7f8d:b0:1ee:d8c8:4b7f with SMTP id adf61e73a8af0-20ba75f00f2mr2951744637.25.1746080645877; Wed, 30 Apr 2025 23:24:05 -0700 (PDT) Received: from pc.. ([38.41.223.211]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-7404f9fed21sm108134b3a.93.2025.04.30.23.24.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 30 Apr 2025 23:24:05 -0700 (PDT) From: Pierrick Bouvier <pierrick.bouvier@linaro.org> To: qemu-devel@nongnu.org Cc: Peter Maydell <peter.maydell@linaro.org>, qemu-arm@nongnu.org, richard.henderson@linaro.org, alex.bennee@linaro.org, Paolo Bonzini <pbonzini@redhat.com>, anjo@rev.ng, =?utf-8?q?Philippe_Mathie?= =?utf-8?q?u-Daud=C3=A9?= <philmd@linaro.org>, kvm@vger.kernel.org, Pierrick Bouvier <pierrick.bouvier@linaro.org> Subject: [PATCH v3 16/33] target/arm/debug_helper: only include common helpers Date: Wed, 30 Apr 2025 23:23:27 -0700 Message-ID: <20250501062344.2526061-17-pierrick.bouvier@linaro.org> X-Mailer: git-send-email 2.47.2 In-Reply-To: <20250501062344.2526061-1-pierrick.bouvier@linaro.org> References: <20250501062344.2526061-1-pierrick.bouvier@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::429; envelope-from=pierrick.bouvier@linaro.org; helo=mail-pf1-x429.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 |
single-binary: compile target/arm twice
|
expand
|
On 4/30/25 23:23, Pierrick Bouvier wrote: > Avoid pulling helper.h which contains TARGET_AARCH64. > > Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> > --- > target/arm/debug_helper.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/target/arm/debug_helper.c b/target/arm/debug_helper.c > index 473ee2af38e..357bc2141ae 100644 > --- a/target/arm/debug_helper.c > +++ b/target/arm/debug_helper.c > @@ -12,10 +12,12 @@ > #include "cpu-features.h" > #include "cpregs.h" > #include "exec/exec-all.h" > -#include "exec/helper-proto.h" > #include "exec/watchpoint.h" > #include "system/tcg.h" > > +#define HELPER_H "tcg/helper.h" > +#include "exec/helper-proto.h.inc" > + > #ifdef CONFIG_TCG > /* Return the Exception Level targeted by debug exceptions. */ > static int arm_debug_target_el(CPUARMState *env) Oh, I see. Reviewed-by: Richard Henderson <richard.henderson@linaro.org> r~
diff --git a/target/arm/debug_helper.c b/target/arm/debug_helper.c index 473ee2af38e..357bc2141ae 100644 --- a/target/arm/debug_helper.c +++ b/target/arm/debug_helper.c @@ -12,10 +12,12 @@ #include "cpu-features.h" #include "cpregs.h" #include "exec/exec-all.h" -#include "exec/helper-proto.h" #include "exec/watchpoint.h" #include "system/tcg.h" +#define HELPER_H "tcg/helper.h" +#include "exec/helper-proto.h.inc" + #ifdef CONFIG_TCG /* Return the Exception Level targeted by debug exceptions. */ static int arm_debug_target_el(CPUARMState *env)
Avoid pulling helper.h which contains TARGET_AARCH64. Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> --- target/arm/debug_helper.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)