From patchwork Thu Feb 15 17:57:23 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 772963 Delivered-To: patch@linaro.org Received: by 2002:adf:9dc2:0:b0:33b:4db1:f5b3 with SMTP id q2csp965866wre; Thu, 15 Feb 2024 10:03:24 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCUHWbu8vKpcxmfC/reoArjKsBLwX0j/NQEPZ4e2Tj0RQBRQIeWAcVS31lobCrTmxt6QTB9Yk8nyPrNIPDbP9gmZ X-Google-Smtp-Source: AGHT+IH5xi6HUGMWRzrkZ5mSz+vR6bWe+5YgXTxk0mEWP8bgUjylG+eLgbME2IDNKoX6wGrKzz+Y X-Received: by 2002:a81:8d07:0:b0:604:aec0:70d with SMTP id d7-20020a818d07000000b00604aec0070dmr2163100ywg.52.1708020204529; Thu, 15 Feb 2024 10:03:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1708020204; cv=none; d=google.com; s=arc-20160816; b=1La1S+XvB3Fya8Wz8gXHgoTbK6T4lAeZOiA0gix1NXKQTVNGOBhwCv/hPJmMnOkI80 4s1pL/rlMYfZp9ODRc8YX0rNyAj/vxJBJfAyPdatqT/9z+p+duCkDN6GyLnf3SPF+h5A i3uA7hHjVxImSZFH8sMeMgg6eR2O4UFgDb1eDrZrr9Rguff/EDS2Vm4+uqiWrZp6WvlM FE++N/1xOx5T0Lv34gVeMQBUumjQMYCqIdVUfNKuXyT+S/ppUSJmbvetuHa2AKHyu3LL aR1Rm/EG8bMJAFrCTE7KMyf5YXZfOwGOyyZ8t0O1kNvA2AvA2MIsOE9d5fm5O9TouQWL 5onQ== 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=dKQRL6VpdheWarEt8u92abxs2j4nOpChsuFzwfI6A1Q=; fh=m+Vd/L8Fv4PFnOqZwtv66vpR6hGhdkN7t0zGF6cYI4Y=; b=xmu5HzaxAvYcop8XUr9Fcx2iJDK9w6paQBBwd/B80YpKEZLoL3CydFhMF9Polaqgsg J2UUeaYb48pDIiYwEV3UWK5PGm+722qPpZJFkeS2/IhhR7IU9yP0Duo0oxu3Ec1rYPjg GahpqUj+WyDJyLj3MTksRQcHT1BRkxYx5v3+aUw+BWBly73jvlAAcQy7vEVgRcQPpBH9 s/w0lPpl9zFAR8rhTIq90f7nkpGaucxHqfpKJl/uUOV74IY6ByhrBdii1iVyzV22ZS6D 2p3XmUAJLEsJwoZAi0Lzv23f9oXuMx/6AtwxOzUmn0df2rkdApraNyFnDb3dQc33Y+kR bpgA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=KDhse0g3; 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 Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id r198-20020a0de8cf000000b00607e3a672f9si573837ywe.90.2024.02.15.10.03.24 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 15 Feb 2024 10:03:24 -0800 (PST) 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=KDhse0g3; 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 Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rag3C-0002sJ-Hs; Thu, 15 Feb 2024 13:01:34 -0500 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 1rag2q-00029w-Er for qemu-devel@nongnu.org; Thu, 15 Feb 2024 13:01:13 -0500 Received: from mail-ed1-x52c.google.com ([2a00:1450:4864:20::52c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rag2o-0002QN-0s for qemu-devel@nongnu.org; Thu, 15 Feb 2024 13:01:12 -0500 Received: by mail-ed1-x52c.google.com with SMTP id 4fb4d7f45d1cf-55c2cf644f3so1427403a12.1 for ; Thu, 15 Feb 2024 10:01:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1708020068; x=1708624868; 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=dKQRL6VpdheWarEt8u92abxs2j4nOpChsuFzwfI6A1Q=; b=KDhse0g3JgeSjUdQJw8MPxW4aoQwbPXP0J7XwXN+ucVSEEygNJStez+0kP8aRDIcXZ ivAZmHL7mEy2IgaMN+Unh84p0RWN/7VMiApQUD6BOH0LKfCdA9xRRbJxY4mKCaenc0Jd hnvIQWajIwDxtEU5/vW6DXwPoTOaStMokhjC91208lWQI8OBpyiNcUPTXM2O3C/Alq+d lg9EZImac8WEg3D5TfK5xqnZfG2mspp3NcNnnCgVP/uHsaEO17MtXbXBpkYQRG61N9ZK ZQ2eZeBVVr8LGdWE4L8aG9ft2eSSzm+s1fSQ5WAwhZvpUy1Fdf+lorXUN/eTDc3wsrep 9ICg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708020068; x=1708624868; 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=dKQRL6VpdheWarEt8u92abxs2j4nOpChsuFzwfI6A1Q=; b=hA235Qqp+NTqgFRvLQF2a+2X60hwzWq93biGr/UfkhPYSgk3xM9rr0kfU10NATgZTK rVJrUtC7FkThjrBF4K3/d+2BG08EqrJCVJn9lw5d2dDEqb+IfugbO/xo2YIjVceNVvXM 2cMRGnAoTGR5hRbBYMCf9NbY+14KZyI92+WAjGlQtNHCJKHeUyl7MrzkD5qAZYAni0Z5 vA/iXPc/jvtggxGMajp13dJ3BGVM68rhjS3S5ZvoxHx5UgISazUyCIpEQJWV3qo7saZi BxyOyt+Cmjt8a61UryXgCFi9DFJCx7Ha9U2HuZqdsIs+jMiF1XppDcogbUhrhV4DXCcz dTXA== X-Gm-Message-State: AOJu0YzFzFpqP3bNgSSKfRGo4oTTwWjEELzoHkshhANOVjJYODR9VvZh XS9OgIJlH/MMoykd2+ODQs/2Jsn9nRlcbHLeUX1i2VOeuCY7sMRojnsTrMOUT/+9Ue4wAO9acLx rWt4= X-Received: by 2002:a17:907:20a5:b0:a3c:f576:5f0c with SMTP id pw5-20020a17090720a500b00a3cf5765f0cmr1731792ejb.30.1708020068450; Thu, 15 Feb 2024 10:01:08 -0800 (PST) Received: from m1x-phil.lan ([176.187.193.50]) by smtp.gmail.com with ESMTPSA id hu21-20020a170907a09500b00a3db6caba06sm302775ejc.1.2024.02.15.10.01.06 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Thu, 15 Feb 2024 10:01:08 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: qemu-ppc@nongnu.org, qemu-arm@nongnu.org, qemu-block@nongnu.org, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , =?utf-8?q?Cl?= =?utf-8?q?=C3=A9ment_Chigot?= , Mark Cave-Ayland , Artyom Tarasenko Subject: [PULL 29/56] target/sparc: Provide hint about CPUSPARCState::irq_manager member Date: Thu, 15 Feb 2024 18:57:23 +0100 Message-ID: <20240215175752.82828-30-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240215175752.82828-1-philmd@linaro.org> References: <20240215175752.82828-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::52c; envelope-from=philmd@linaro.org; helo=mail-ed1-x52c.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 CPUSPARCState::irq_manager holds a pointer to a QDev, so declare it as DeviceState instead of void. Move the comment about Leon3 fields. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Clément Chigot Message-Id: <20240130113102.6732-3-philmd@linaro.org> --- target/sparc/cpu.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/target/sparc/cpu.h b/target/sparc/cpu.h index edf46b387e..f3cdd17c62 100644 --- a/target/sparc/cpu.h +++ b/target/sparc/cpu.h @@ -545,10 +545,9 @@ struct CPUArchState { #endif sparc_def_t def; - void *irq_manager; + /* Leon3 */ + DeviceState *irq_manager; void (*qemu_irq_ack)(CPUSPARCState *env, int intno); - - /* Leon3 cache control */ uint32_t cache_control; };