Message ID | 20250504052914.3525365-11-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 h15csp1494437wrq; Sat, 3 May 2025 22:46:18 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCW+KK0l7MT5e2Ovd2MTm7G6GABtrMUwCRBjEQR/Rz/F93BL53EptZ8NuDgCaGM4rNyJRHajIg==@linaro.org X-Google-Smtp-Source: AGHT+IGOJhYCZWeohZvwuUuM+DFMtVyGaFeuw+LCglbnoF/wKVeclfyHsAgmWg9dSx9HEpq/Eiqf X-Received: by 2002:a05:620a:3949:b0:7ca:cb02:7942 with SMTP id af79cd13be357-7cae3a8e0b0mr455667685a.1.1746337578328; Sat, 03 May 2025 22:46:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1746337578; cv=none; d=google.com; s=arc-20240605; b=HxLVRPyEneBvVqQ9nZWx7JPBbmYu/U9gbgMHfk4Yiw6DCB7RlNgFGDJOlNvkRAx+lb KvVCseSIOrKPVycLtN5w4L18jd4Srdyao5ovKNF1WvnVy3t7OAon/YaTmDSoZhCuf82M lCOA+Eq3iuPYUvT6MYHg/zoURQmxp6QI/0EHIq0EkUi7zblQxxijyns5NbKPnXGC5Ps1 Y9YaaNQTfd9Rl9s8pBRaOKe9wgI2MuYowiPl4g0GDWalpoTd4jjvdjhULQ8lzbKR9Vq9 rBce3wJRInZno7XVAfVZDFlFzCfgQRxeHPg/KtinpGIaH5+0xsFxy58U94e3BlCFnk3+ yAdA== 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=8+98FJCPUkZxLytRMJNRmc7jhTB2VJSy0tbuhiYCP08=; fh=02AUoSaH/mYMQTzo2+A6j8m/qDfXAxVzTrBZ7wPvRqc=; b=d1wizOba/ndADQFmlDM4mj40NxqmJvMWxrUqw1QR+MQHudwL50ZCXV9j3faanmsQWu ZVZ/Wbc6ddZtIIW/a7Ie1Axg1SxZnKyOYngnrhRjWtW3PV1iNe6AE/IXzd7Sjj0sBncr 7IKOw2sRV01uBi2nuDZmUHI9G0n5ke3PavieYGsA+hUR7m1EbRUqpusNW25zvwkY50Wz IZGs+sGP4TWVTJdedDyWCFGk43HWW+5Jf76SwfyGGqE0hqWP/Sxc7VP/KLRC4bJSqxHw dT8WNNZizTVXJdJg9gGkCRmE0LYFaqFEX7DpTivL2jsvCR9wUlDBOxKf3FWBwwu6kS/5 1bJA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=JRXjs6qy; 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-7cad244bb7fsi679413885a.574.2025.05.03.22.46.18 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sat, 03 May 2025 22:46:18 -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=JRXjs6qy; 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 1uBRv2-00027F-1V; Sun, 04 May 2025 01:29:40 -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 1uBRuu-00022Q-8h for qemu-devel@nongnu.org; Sun, 04 May 2025 01:29:32 -0400 Received: from mail-pl1-x62c.google.com ([2607:f8b0:4864:20::62c]) 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 1uBRus-0004J9-K6 for qemu-devel@nongnu.org; Sun, 04 May 2025 01:29:31 -0400 Received: by mail-pl1-x62c.google.com with SMTP id d9443c01a7336-22c33ac23edso38002255ad.0 for <qemu-devel@nongnu.org>; Sat, 03 May 2025 22:29:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1746336569; x=1746941369; 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=8+98FJCPUkZxLytRMJNRmc7jhTB2VJSy0tbuhiYCP08=; b=JRXjs6qyoFZyCZK5RWRnRra+eQ7T/xXBHsg4+FsV/Dwt52NYoF6vOZpu2WBk+mUjzv NwlMUjb9ZsCyn39c3H5drBJbL5gMMH9H5LGyvDDvNdVceOzjKgdx1M4BnGPrej0esR+W 90QZztaIdISRHltmhgDruh0j+zUrCr5hlS6B1BF8BpOEUrSqUQc0c5fD+zWU208C9yWD L8IqdbI4e1YghObhNY0V0RuTJvxAK9Cj9EL8EvdjxPUwHh0BXDnBahoTiRQTWHansdBG eZgnRSeE8TgEr31nx433cB1uqHdDzqvw182TQ+KPpsY0tmHMkMPe1BfbRDB8oGd4mBzH QdfA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1746336569; x=1746941369; 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=8+98FJCPUkZxLytRMJNRmc7jhTB2VJSy0tbuhiYCP08=; b=sElluGpjUHLfHSaHXZifFgyp6g5+1+szps4vqS6csEHwrB1G2l5Biu16LkwKI31NTv GesTBMArlr9zeAsDRWhLfjHNDLnsWk+lSHoRDI/zRXi8bCZjpX/CiIWuqkLljwRqSIsu mpyVK2QMB+thdPEUWYCfuMxyeqhwAJ9RujBEn5YiurC7kfT0YX/sLaEe5a8G3Kij6Vk8 za5TGTHFMWx8rnmQNLBMvM5MIKpiBgIyJPm88tIWBNAqsBIKsd3fGX8nSXqe7Pcxi34x /PHZBuZnIA1lbhdsM0VgjR5y/CiWyVr3NUcWGLR+uBrG8tz5N61embmcdu5CzHEQrSrk N+Eg== X-Gm-Message-State: AOJu0YzRdkKW91LhrPU3n9HWW754gKhfqGYKF/hCFHJZQ1RQUNz74WwK 9nn+0oULC79DN01qJozS/yf8g3Mn4rQEknlHHkPR218WPH83iycvg7yddLWalQyAzZx+CB5IrMp RiOQ= X-Gm-Gg: ASbGncvOGqPyDvwuI4AF1uQamEm+fdyrDdZfJR3jQtu72brGrDSTbIUbXSsu+0cuF2n cd2o3NtGThKRwnkzeC7DZXuXAP4BPJHDhCPMvuSBE/sOSdRex4T176Y0OkjXpy8c3oIbGDz/0Tc R0EVkY0tU+FLjOeJ3OTWotvNtODKUNCcPJkW3tP+EhENB+Us/OdhFokX5rWhyKWb2WKGumU6ngZ GLKLhhZk2mm2jkEzMwLAfQDTrsGm+KuazOLPC4z5GKwdVKOaT4gbPynMSy8+otyedgL/yx9hf3h CscZccXi7b4w7sxn8X+OvHRvenmu1Lxxdg8RIIWz X-Received: by 2002:a17:902:ce05:b0:224:1005:7280 with SMTP id d9443c01a7336-22e1ea67d6amr53346185ad.38.1746336569135; Sat, 03 May 2025 22:29:29 -0700 (PDT) Received: from pc.. ([38.41.223.211]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-740590207e3sm4400511b3a.94.2025.05.03.22.29.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 03 May 2025 22:29:28 -0700 (PDT) From: Pierrick Bouvier <pierrick.bouvier@linaro.org> To: qemu-devel@nongnu.org Cc: Paolo Bonzini <pbonzini@redhat.com>, qemu-arm@nongnu.org, anjo@rev.ng, kvm@vger.kernel.org, richard.henderson@linaro.org, Peter Maydell <peter.maydell@linaro.org>, =?utf-8?q?Philippe_Mathieu-Daud?= =?utf-8?q?=C3=A9?= <philmd@linaro.org>, alex.bennee@linaro.org, Pierrick Bouvier <pierrick.bouvier@linaro.org> Subject: [PATCH v4 10/40] target/arm/cpu: remove TARGET_AARCH64 around aarch64_cpu_dump_state common Date: Sat, 3 May 2025 22:28:44 -0700 Message-ID: <20250504052914.3525365-11-pierrick.bouvier@linaro.org> X-Mailer: git-send-email 2.47.2 In-Reply-To: <20250504052914.3525365-1-pierrick.bouvier@linaro.org> References: <20250504052914.3525365-1-pierrick.bouvier@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::62c; envelope-from=pierrick.bouvier@linaro.org; helo=mail-pl1-x62c.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
|
diff --git a/target/arm/cpu.c b/target/arm/cpu.c index 37b11e8866f..00ae2778058 100644 --- a/target/arm/cpu.c +++ b/target/arm/cpu.c @@ -1183,8 +1183,6 @@ static void arm_disas_set_info(CPUState *cpu, disassemble_info *info) #endif } -#ifdef TARGET_AARCH64 - static void aarch64_cpu_dump_state(CPUState *cs, FILE *f, int flags) { ARMCPU *cpu = ARM_CPU(cs); @@ -1342,15 +1340,6 @@ static void aarch64_cpu_dump_state(CPUState *cs, FILE *f, int flags) } } -#else - -static inline void aarch64_cpu_dump_state(CPUState *cs, FILE *f, int flags) -{ - g_assert_not_reached(); -} - -#endif - static void arm_cpu_dump_state(CPUState *cs, FILE *f, int flags) { ARMCPU *cpu = ARM_CPU(cs);