From nobody Fri Dec 19 19:17:35 2025 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; 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=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1747305091; cv=none; d=zohomail.com; s=zohoarc; b=j5qR0OS2MMz7fMcj+rRM/Tx12qIHd7x+42/TVi/DcEZGEl5RjyqPWrjvCwbf/76j/ySGjpRmUp+p/Sb0YERLiojnW/EE/qU0QX+yga//z/mq8nneSHf78V4mCYusJZ6/UeBQNGgXig1FCscXumwnoB6xoNcfW/icLb/C+QoTW/g= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1747305091; h=Content-Type:Content-Transfer-Encoding:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To:Cc; bh=X3sKaOriNp2h2IwJgF6fYokuc0VVHT+FQQSKLvZf+Go=; b=I8WFXrAtyZutS1jGj/V9Tw0AmAnRPQXiMNnynZOs4yCntn99BkqUMi1tKTyuqxze0nnvjK4YYz9dc/9etKMLeZF8cmCo1hGSH16WvF0o4uxTzIr0rp6B533+u3HSDVYo4N2InlEAKrcs5w2yEcRnhQOHdREqZ9EzeyqVRkAJg78= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; 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=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1747305091364339.79834097672915; Thu, 15 May 2025 03:31:31 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1uFVop-0007fl-M3; Thu, 15 May 2025 06:28:03 -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 1uFVnV-0005Ie-78 for qemu-devel@nongnu.org; Thu, 15 May 2025 06:26:44 -0400 Received: from mail-wm1-x32b.google.com ([2a00:1450:4864:20::32b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1uFVnS-0008Ee-3h for qemu-devel@nongnu.org; Thu, 15 May 2025 06:26:40 -0400 Received: by mail-wm1-x32b.google.com with SMTP id 5b1f17b1804b1-442ea95f738so5531175e9.3 for ; Thu, 15 May 2025 03:26:35 -0700 (PDT) Received: from orth.archaic.org.uk (orth.archaic.org.uk. [2001:8b0:1d0::2]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-442f396c3a4sm65657855e9.26.2025.05.15.03.26.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 May 2025 03:26:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1747304795; x=1747909595; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=X3sKaOriNp2h2IwJgF6fYokuc0VVHT+FQQSKLvZf+Go=; b=h94PPpNmJgdLq6d8m3Irwdvo2W7PmxxhuE1EspynIBM86sylhckxLYAd5NbguyXH7p xnqA6Zsm3FmYYkWkrBb7ybFyCrxbVIXZUxhw9Lal4T9dWk138k5+f9UGwXnjMDS5B4l5 Qhz4gA+h8JPL4qevKebZXSE5Xi9F2ag3aUuuH/kwSqPtzqZe1WExfLyDRToPNbm6TKb0 OOZG96wYWqZtGj5+XOPRdUQKa8lyAQPBWkPCeHzKHAhwiSzC/Ho1oegh0YxffRqCLLkU Mtj+VZuvWx/rZD2FykoRttskKa0f0eOL2HINAs8ej7tbLgNEypGXfmvai4R6S4LJITJa gaVQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1747304795; x=1747909595; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=X3sKaOriNp2h2IwJgF6fYokuc0VVHT+FQQSKLvZf+Go=; b=hbksqzauFYy9ExSgc0TCmhoeFwyl4e/6vfY9C4zMGUTYMpfRXme3x6o4BnoHIXISX/ ypYFuzf3SUCLoyonvN2+HTDqlTEpujK67eQQyPQmxcaDrOENMv24HqnBXFKkelx5Q8nN VGkE3GpY5vgmrJKEHbbGMHnRcIL3ur1BGVYNTS3xg8SUV2nTUOsPA4SgA5IqBthjsr4L y6MV/HzUlqCrw1QyIgjlL3aBfkHI3Dyz10gg3aj7JIllw1DZr/Q1bIO2ZVYiwruwqInP hRIJFYXnegTWN7vxOX3ZpbIlg+BRWcZngXfVruq02G5oZKyV7/2BDv2XsdFOAyxt36Wn gAfA== X-Gm-Message-State: AOJu0YxA+1jRZGGlvmH/hMiL1yYV2btPin3mQucs7MIlC9j1L0xBdiHU 0STD36BNlCaEeKT5WIN20DPx9huuKADBsALDNSb45Ee/TYke208K243PqO60BOOakz2Dc0fXPQV NXEs= X-Gm-Gg: ASbGncssrepYLzbSwnxIY0NqxK5wr7Pivy3vkbJTcFjMErgaMfGTnW7zJvEZ6yLKwap iej/qao/79kILJUHg9paww3siefQXniyb4dd9DaLF+BO6JlMMqy4aTkbnPSVaPLhkrdfBCSatAy 8Is/zRuTTPfWVU4FAvL8kBbDIZHJcVxnQ3dJDSLwJEZn761Zzek9iF8crx0allKrrE9RRgoK8Ay fTfi/ZZ/T5MI8OiMD/MpE9Djp9AVytqMNie/gCsSQOaKl5Hl0wby8TRBCqxa7pChWTiznH66ip6 Vayaj/tksgaVoOGtZJ3F/9OS5GBc55ZrtFy7wbJ1Thjlxij8f2KZNqOj1g== X-Google-Smtp-Source: AGHT+IEudtdh1A9BekdzJS6Ien7VHT/jOYWeaKpXD42/i95Ldz00bI5u31E67L9ESM9gocXauVfZvQ== X-Received: by 2002:a05:600c:1e84:b0:43d:2313:7b4a with SMTP id 5b1f17b1804b1-442f20b91cemr72082485e9.3.1747304794595; Thu, 15 May 2025 03:26:34 -0700 (PDT) From: Peter Maydell To: qemu-devel@nongnu.org Subject: [PULL 35/58] target/arm/arch_dump: remove TARGET_AARCH64 conditionals Date: Thu, 15 May 2025 11:25:23 +0100 Message-ID: <20250515102546.2149601-36-peter.maydell@linaro.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250515102546.2149601-1-peter.maydell@linaro.org> References: <20250515102546.2149601-1-peter.maydell@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::32b; envelope-from=peter.maydell@linaro.org; helo=mail-wm1-x32b.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.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @linaro.org) X-ZM-MESSAGEID: 1747305091823116600 From: Pierrick Bouvier Associated code is protected by cpu_isar_feature(aa64*) Reviewed-by: Richard Henderson Reviewed-by: Philippe Mathieu-Daud=C3=A9 Signed-off-by: Pierrick Bouvier Message-id: 20250512180502.2395029-26-pierrick.bouvier@linaro.org Signed-off-by: Peter Maydell --- target/arm/arch_dump.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/target/arm/arch_dump.c b/target/arm/arch_dump.c index c40df4e7fd7..1dd79849c13 100644 --- a/target/arm/arch_dump.c +++ b/target/arm/arch_dump.c @@ -143,7 +143,6 @@ static int aarch64_write_elf64_prfpreg(WriteCoreDumpFun= ction f, return 0; } =20 -#ifdef TARGET_AARCH64 static off_t sve_zreg_offset(uint32_t vq, int n) { off_t off =3D sizeof(struct aarch64_user_sve_header); @@ -231,7 +230,6 @@ static int aarch64_write_elf64_sve(WriteCoreDumpFunctio= n f, =20 return 0; } -#endif =20 int arm_cpu_write_elf64_note(WriteCoreDumpFunction f, CPUState *cs, int cpuid, DumpState *s) @@ -273,11 +271,9 @@ int arm_cpu_write_elf64_note(WriteCoreDumpFunction f, = CPUState *cs, return ret; } =20 -#ifdef TARGET_AARCH64 if (cpu_isar_feature(aa64_sve, cpu)) { ret =3D aarch64_write_elf64_sve(f, env, cpuid, s); } -#endif =20 return ret; } @@ -451,11 +447,9 @@ ssize_t cpu_get_note_size(int class, int machine, int = nr_cpus) if (class =3D=3D ELFCLASS64) { note_size =3D AARCH64_PRSTATUS_NOTE_SIZE; note_size +=3D AARCH64_PRFPREG_NOTE_SIZE; -#ifdef TARGET_AARCH64 if (cpu_isar_feature(aa64_sve, cpu)) { note_size +=3D AARCH64_SVE_NOTE_SIZE(&cpu->env); } -#endif } else { note_size =3D ARM_PRSTATUS_NOTE_SIZE; if (cpu_isar_feature(aa32_vfp_simd, cpu)) { --=20 2.43.0