From patchwork Fri Aug 30 14:58:06 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 824017 Delivered-To: patch@linaro.org Received: by 2002:a5d:48c1:0:b0:367:895a:4699 with SMTP id p1csp824513wrs; Fri, 30 Aug 2024 08:01:00 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCXqXwTEjxQH6MJRjG6O4tsHUgcIPFxSdhXolblicMcBoHQFBKd/BiEhK9ubo1pWa65v08q7UA==@linaro.org X-Google-Smtp-Source: AGHT+IGb5EKSYvGwIsCuGq092eHhHc8ffh1tfDvZ2jY/EOkJnU5wDKYCIPlpC+HAHrqSmHql66ii X-Received: by 2002:a05:6402:51c7:b0:5be:dd2d:83 with SMTP id 4fb4d7f45d1cf-5c21ed313a8mr7102062a12.6.1725030060263; Fri, 30 Aug 2024 08:01:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1725030060; cv=none; d=google.com; s=arc-20240605; b=ByBbC4sm6W6otT8BIQiB9XTU5mci0TJGjSoHfSqzFT5yEJL+WLPrhLM7IDitzOp40x Gj29qtmojgtVNUP44ppdNcsRrGrX/dHZLZCBXnLQH/6tFa1XKlpuUPumVq6BrIFeRBrX HXOLtKdEFmY05vU9+m8+oasJjXsvNgnEAq2fnG/7LFm1QSIZgCFUNZuVK9tk69gLOlcb 8CQKY5yoh86rsQswC79UgiGuPBhG6kYkKMrPZFEVJDjWKEozpZkgz/NQqFCSaewjksYi ukbB83yg/LQf/f6rIHtGKnb/WtcdVUDZ+49imbPA4G3I/sWPVjqSsseku4W2hyEj+4np TmBg== 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=DWQjPb3i634Zotb7v4ULsj+3Isgg5EVUzD8LzfKdeFM=; fh=aZP5QcqmVCTfLe93cJ47kfqkp9RGJPPxVVJ3kRoWYP4=; b=Wlm0AMlMqC+xG+xRp/G4A+CWfJxttJYSPfmphm6P+Sr0cHQI3A/SE5HciZNdmCJCoS SZaq85wvRBhunxlmGaCQAJoPveVzEo8xH0XHcDrzW+exSAWn1y5Xq3TDMg7xNDDiuLuw YZS/3ecy/TQ2dzGR22mFo3Hzz0eaIb6JS2WQRPKDGM41W/Ij4TrcVwegfiW4swMRIB1h dAaY+vZbwlR7jmQv9nFfiKOce1Dgo4nShR+uO14ai1qf2g/pYu1GfYfeWI3hRQiH2ZcZ wAIdf55pwnK+V6TeG/f2N0glkNhhnrf8mve+4/HR6gv3CN0B6+gYHk3bdBInIw0x7WDC gwbg==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=lGjxQNAE; 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 4fb4d7f45d1cf-5c2356a7ccfsi982662a12.282.2024.08.30.08.01.00 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 30 Aug 2024 08:01:00 -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=lGjxQNAE; 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 1sk34x-00051J-MU; Fri, 30 Aug 2024 10:58:23 -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 1sk34w-0004va-2S for qemu-devel@nongnu.org; Fri, 30 Aug 2024 10:58:22 -0400 Received: from mail-wm1-x329.google.com ([2a00:1450:4864:20::329]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sk34t-0004aS-0i for qemu-devel@nongnu.org; Fri, 30 Aug 2024 10:58:21 -0400 Received: by mail-wm1-x329.google.com with SMTP id 5b1f17b1804b1-4281d812d3eso21542675e9.3 for ; Fri, 30 Aug 2024 07:58:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1725029897; x=1725634697; 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=DWQjPb3i634Zotb7v4ULsj+3Isgg5EVUzD8LzfKdeFM=; b=lGjxQNAEW+L52VbTAe/vAJ+xjSvHlaTBsKB8ZNAK4NsoGOwhkbLHsMIAjUfpUGjWs2 e5MrL//iuQevDYCNEGEESzt9vvImf+s1+9aXLBf9mlHF+hdPioR22qQrxUsVzxVcmnoQ M0aodLg+5TnG4IM9uOjBa3mJYTQHZsJw3K7D5789QfZU31QAhhu5p3XKhgVukcRj315P zcKkKfmyuGLTRWTgtWblOeHr0gmqTcSTh8p5mOVt3CM91E7YQN7k2eQpVaC35CgGfFF8 1fFO6H8xpQaw21RAQABkpZB+q3FnHsMrVTaqmXTgSaXATIxy50WeUjGwB1uSGfqQK+GI mkRg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725029897; x=1725634697; 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=DWQjPb3i634Zotb7v4ULsj+3Isgg5EVUzD8LzfKdeFM=; b=Tr6CcsvXvz81/j1gmh5yuw4D8sVfRN5ogTH4zJJBLmCiNC7QQodMoDuLbJ31QcRWwd +Lseci25qpSQGriA1ttPK4bOPRq+GD4Be8zt/9LVUIC5uj1Xd0aNg/SwGiLpqjKYYUi1 IUyHGdrDEABQ3VqvHmlOpWxDtrIMlJLMTAeUwciAAWh175hpifLB0aqdEHs1KJZgikhZ BrgnwoO1AHYT5O/CWwDQBjKKCN+R4IClaoG0r/P56EZkCLbeUAoKF6bItHkNtaB/Mq3p bBCSAtauuKOxsnNHxSvnexsTZ9eixi5MKXRbJwYKpL+qhbly/W4NDpPI06oyKsHFchY0 0AIA== X-Gm-Message-State: AOJu0Yx+/P9Gpmlp0RQxKqADyw+NcnwWWa0v6YGKV8S5NJQAE9eq1gAU VG3pgjM8PNYk9su+fh554vDN0C3/pbBRe3IdoRjB/VGHAizVOBzAoDfAWYFJT/u2UUPC4JmBmwt c X-Received: by 2002:a05:6000:c8e:b0:367:9903:a91 with SMTP id ffacd0b85a97d-3749b526808mr5610257f8f.11.1725029897304; Fri, 30 Aug 2024 07:58:17 -0700 (PDT) Received: from orth.archaic.org.uk (orth.archaic.org.uk. [2001:8b0:1d0::2]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-42bb6da24bbsm49022345e9.0.2024.08.30.07.58.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 30 Aug 2024 07:58:17 -0700 (PDT) From: Peter Maydell To: qemu-devel@nongnu.org Cc: qemu-s390x@nongnu.org, Thomas Huth , 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 , Nico Boehr , Nina Schoetterl-Glausch Subject: [PATCH v2 05/11] target/alpha, hppa: Remove unused parent_reset fields Date: Fri, 30 Aug 2024 15:58:06 +0100 Message-Id: <20240830145812.1967042-6-peter.maydell@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240830145812.1967042-1-peter.maydell@linaro.org> References: <20240830145812.1967042-1-peter.maydell@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::329; envelope-from=peter.maydell@linaro.org; helo=mail-wm1-x329.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=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: 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 Reviewed-by: Philippe Mathieu-Daudé --- 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"