From patchwork Tue Aug 13 16:52:44 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 818840 Delivered-To: patch@linaro.org Received: by 2002:adf:cd01:0:b0:367:895a:4699 with SMTP id w1csp358365wrm; Tue, 13 Aug 2024 09:55:13 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCWeYOe55ZCHEs6MtsNpdbhlwO2D3vDXoK+8r4MMEXD7RvPindRZi4l84+HVrqi/jLm2syVnm512lJ9rvt+StBdp X-Google-Smtp-Source: AGHT+IG4oJVjeup5rd0CClnlzZ13wRT6mpeaEKnKKW3J5D3CD8XqfTgPGmuT9auj5KvsHX2tf22L X-Received: by 2002:a05:6358:33a3:b0:1aa:d5c8:ec94 with SMTP id e5c5f4694b2df-1b1aad55ff8mr2782855d.26.1723568113524; Tue, 13 Aug 2024 09:55:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1723568113; cv=none; d=google.com; s=arc-20160816; b=sLBWbQjOGUwebTKtip9jgOQY0tfPX5gkgPH6GNcbLWMRZXLhpuze/Nyf7zBGv1Ox5I mD/wSk3zbljzDIqp5C9S/r6jg6xDlxOkMCcWZbCxwTbn4L8jicNwAh9IQK4qWoN0Wl9o vRyPjxeGS4PTRTa+fGzEt5qX4HpBWODPjFS5PcbgmgJG81+6RxPHfHn84Y/nxl+NRpHc dK8SgbGC1p/icxKRM+urrDVMae+2vSs0QwLBMiV/dAFsQPVgFwLtBVYLclI3nQziGM44 mxZvgSf6vxS8cIdKxLAVcCSpTQ78XGJ5G7OFXNe5/oeoR3wSzp18ztwLNr8v5PMb6Rkv TDHA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; 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=bcli30XoP28wm47c8WADhprJ+6f5OQ2N6n8H2nSEE5o=; fh=PDIsXZw44mkelYbulZxc+mNRoIrKCS+0dYZTfUcAsFs=; b=fDIM9+ebLAOYr9Q7jAkV88WzddD0dnZFlEQOXbpu+SYtzp4y6obO4M6b5/Javgeh7A 8MhI7sm2N6oIB2AdH+GMlXh2tnKOdf9fikVE+TIynuihi/SaAjUvQLHrPStvAUXo/TDf X1LjFNOIn8BRtD2z04qXU67dyyngugmxjCf2mVC1KIeTGyS4tFL9/Y6EvqiqAsuRuzjz wTTJIMCicJcgbbTX1A9xDZkl3B6zcoqjJniB3yzAc7msQH72/NgwE+Tt4ZPCP8mDVCqi 5q/W2dtwYoR2nixE4+1hWAgBPW7dgd7WG++uBbT10s4AFYVabzumKvuu3ASAiUg1wnsU nfIQ==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=h0gsFBKq; 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: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id d75a77b69052e-4531c1aebe3si85523691cf.96.2024.08.13.09.55.13 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 13 Aug 2024 09:55:13 -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=h0gsFBKq; 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 ) id 1sdule-0005Ax-JB; Tue, 13 Aug 2024 12:53:06 -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 1sdulX-0004jK-Ty for qemu-devel@nongnu.org; Tue, 13 Aug 2024 12:52:59 -0400 Received: from mail-wm1-x333.google.com ([2a00:1450:4864:20::333]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sdulV-0001AJ-CD for qemu-devel@nongnu.org; Tue, 13 Aug 2024 12:52:59 -0400 Received: by mail-wm1-x333.google.com with SMTP id 5b1f17b1804b1-42809d6e719so44051265e9.3 for ; Tue, 13 Aug 2024 09:52:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1723567975; x=1724172775; 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=bcli30XoP28wm47c8WADhprJ+6f5OQ2N6n8H2nSEE5o=; b=h0gsFBKqd2+tEItQ6TLBdS/rL+9nUBIfXDKQBeo8A1NGFC9yeg92CTo0DJuFeD5oAI NPteMnQuq6/lrqpY+aJx6FB23nhfbyimDKCHyLA5VVnuBOwVB/ZTUcO2PzOJQ3KUowXO ut6HxiBP+yz5qnJhOCMQk3NsFTH2QxPCBtmkAPVKLuLkSLYdTCzfaPO/tEquAisYHQHe 3hXBtyBaeA1O+7XgK8H/6vUfhmJ0nyyJml2OzqSBF9Ac0qWstJimt5yVZ+N3zEl1ODzB 4p9diSpyGc8YGu/PHNtEsTptyRalz2zseLYmPCsgB0VyXBXraqZLComC3c4+/X+fT0+m wX0w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723567975; x=1724172775; 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=bcli30XoP28wm47c8WADhprJ+6f5OQ2N6n8H2nSEE5o=; b=YjGcH7kQAgfd3WWk2hObZKIaHlUR480MotAat9hiXAr+VPFFrHP1fOfTCXia2QkLt8 RseYoOirU6o5Qh6SPBDujbO1RrSrevbZNuFGdpKR901j1EDfwQOpNFNYUogFOgEQYMvQ mti0Jn7gWWttATTujX1Dhbm2JYAL0UuA6MSeHaOsjgyyagRYl+Cpht4V+xiK9WB41sVb baYAW5kVjSYUgFKMGvFtixxnu7oNRO677fi3C6mmXM3uEhP7RIRsPnSCK2zPFCAZWZ3D L3sHSS/JGB//q7sGhoWOCG1uFDvZ0LEnZah7NJooiTTUcl22/wIuJFI4wuIxmd72jUyQ RIXw== X-Gm-Message-State: AOJu0YzJvf/I1ZVeP7/F3t82a5Rv6ErpUlq4R028Q90tG57XZDVhnnMz KGQPXGMrque9XGUJAAXYFphA2iT0kGnU+ybfyllRQ/rVybhJOErl1oGwGmSZ3fMx9/ILMjaYz85 + X-Received: by 2002:a05:600c:3103:b0:426:5ee3:728b with SMTP id 5b1f17b1804b1-429dd236442mr1184085e9.13.1723567975235; Tue, 13 Aug 2024 09:52:55 -0700 (PDT) Received: from orth.archaic.org.uk (orth.archaic.org.uk. [2001:8b0:1d0::2]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-429c77374a5sm147347015e9.30.2024.08.13.09.52.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Aug 2024 09:52:54 -0700 (PDT) From: Peter Maydell To: qemu-devel@nongnu.org Cc: Thomas Huth , qemu-s390x@nongnu.org, Richard Henderson , =?utf-8?q?Philippe_Mathie?= =?utf-8?q?u-Daud=C3=A9?= , David Hildenbrand , Ilya Leoshkevich , Cornelia Huck , Halil Pasic , Eric Farman , Christian Borntraeger Subject: [PATCH for-9.2 04/10] target/alpha, hppa: Remove unused parent_reset fields Date: Tue, 13 Aug 2024 17:52:44 +0100 Message-Id: <20240813165250.2717650-5-peter.maydell@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240813165250.2717650-1-peter.maydell@linaro.org> References: <20240813165250.2717650-1-peter.maydell@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::333; envelope-from=peter.maydell@linaro.org; helo=mail-wm1-x333.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, T_SCC_BODY_TEXT_LINE=-0.01 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+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org The Alpha and HPPA CPU class structs include a 'parent_reset' field which is never used; delete them. (These targets don't seem to implement reset at all; if they did they should do it using the three-phase reset mechanism, which uses a 'ResettablePhases parent_phases' field instead of the old 'DeviceReset parent_reset' field.) Signed-off-by: Peter Maydell Reviewed-by: Richard Henderson --- target/alpha/cpu.h | 2 -- target/hppa/cpu.h | 2 -- 2 files changed, 4 deletions(-) diff --git a/target/alpha/cpu.h b/target/alpha/cpu.h index f9e2ecb90ab..3556d3227f8 100644 --- a/target/alpha/cpu.h +++ b/target/alpha/cpu.h @@ -267,7 +267,6 @@ struct ArchCPU { /** * AlphaCPUClass: * @parent_realize: The parent class' realize handler. - * @parent_reset: The parent class' reset handler. * * An Alpha CPU model. */ @@ -275,7 +274,6 @@ struct AlphaCPUClass { CPUClass parent_class; DeviceRealize parent_realize; - DeviceReset parent_reset; }; #ifndef CONFIG_USER_ONLY diff --git a/target/hppa/cpu.h b/target/hppa/cpu.h index 2bcb3b602b8..d34710f0aa9 100644 --- a/target/hppa/cpu.h +++ b/target/hppa/cpu.h @@ -281,7 +281,6 @@ struct ArchCPU { /** * HPPACPUClass: * @parent_realize: The parent class' realize handler. - * @parent_reset: The parent class' reset handler. * * An HPPA CPU model. */ @@ -289,7 +288,6 @@ struct HPPACPUClass { CPUClass parent_class; DeviceRealize parent_realize; - DeviceReset parent_reset; }; #include "exec/cpu-all.h"