From patchwork Mon Feb 10 10:25:56 2025 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: 863753 Delivered-To: patch@linaro.org Received: by 2002:a5d:4e42:0:b0:385:e875:8a9e with SMTP id r2csp1518432wrt; Mon, 10 Feb 2025 02:27:21 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCXcgLgBi/r8Eqkx9C8zc1RN7ASSccp/X5XF5smxwZigPETHJdsdDDBdFA+K/vptjGb1a528Rw==@linaro.org X-Google-Smtp-Source: AGHT+IEYVcJeZRGVsLZEmVUmNfTkj9vD8xdA4ulqOwkAmb6kIWXuO5CigCvt/jxfXBBvPYut0iuE X-Received: by 2002:a05:620a:4629:b0:7c0:625d:928a with SMTP id af79cd13be357-7c0625d954bmr172131385a.42.1739183241188; Mon, 10 Feb 2025 02:27:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1739183241; cv=none; d=google.com; s=arc-20240605; b=YZMjUJwKAQ7HImD2lGeffPpRGmGP7FuFVvunpoJQCaBPodOkILCT3qe/Am2zQLM2/W H2nUGjGPvH71vjSmCP1FXxuluWnPwFZ2kPlOM1eZIoUzjCFyQKkWff5YdE4+CTddTJqX +llnVcsBQlixtE/LJKNgxm4HANmIWcRmZPhVaQOcWkxQ2CxYWaKP2wtb82kmNlPsy4bv 1r5y7iiZ170gnIn4e/4+wMT10s91A/ZYuo9XDpURoAG5hS7FBLBNns7kZd+YCSkFqkgf 5dRiUhwynFc56RZQvH1DgEY6bXZ0WMNjhk3il11QYNl7sGxhvue79sBt2XYWxiNjOONO m3Jw== 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=MMveWtKIlfL6uuWpVkSZWRAB3s97sFlGFregYh5GkmE=; fh=5gGtEWbs/bc4ZS50ZuMZZ2I/Jn5oaYqe3uWxuR8fBxU=; b=Bruqg0azSAEEr1SKNb1IV7plyGOEPsFWeySEhahm+zee4UtxHbLumBpHXBqJjUtUeJ D8PPg8Du5D/IEKBtQxgDcYVeQ0ytFezdeAJUY8G4vnMYpPRiyiKrLW5WnyIAvAfGbjaQ LT/mvoQi/qJ3bFYRbdd0zSYOIQO7v8YwT3XunuvblJgsrEUKvS/0sRV5VXlCwgNdvn8P c0QcRkPEqueUN+Xdr16glMvdlenYdfJcTAZN7z0DISCFfAzbdLMg+Jx00fomsc6/uDBq 247dyRJrz+CFcz+bOMQ8u/YDQafacDoLkLLbg1XsaqMpAIqp7kNenFH3uGegHZ4BHgnr AGhQ==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=jKEufxgW; 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 af79cd13be357-7c05e08cb3esi197445385a.202.2025.02.10.02.27.21 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 10 Feb 2025 02:27:21 -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=jKEufxgW; 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 1thQzk-00016P-06; Mon, 10 Feb 2025 05:26:28 -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 1thQzd-0000x6-Bb for qemu-devel@nongnu.org; Mon, 10 Feb 2025 05:26:21 -0500 Received: from mail-wr1-x42f.google.com ([2a00:1450:4864:20::42f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1thQza-0001fK-C9 for qemu-devel@nongnu.org; Mon, 10 Feb 2025 05:26:20 -0500 Received: by mail-wr1-x42f.google.com with SMTP id ffacd0b85a97d-38dc1dfd9f2so2658386f8f.3 for ; Mon, 10 Feb 2025 02:26:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1739183176; x=1739787976; 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=MMveWtKIlfL6uuWpVkSZWRAB3s97sFlGFregYh5GkmE=; b=jKEufxgWLKDojuqVzpE9POnoSUePUhnsSWiUb7URJSwR4zv0GZrmq0ISa2Tq/+sKvB D7w7kEl+tskIyGFmtP7JrE0gD8Ze1ihyOzvpS0b7mDEv4zl39aN5N4nrQyiEKFIKQqax k3p/Ma/ZRvp2G4qgFemhX52736Jvv6sLE3YLc+olHFcAwPpOSDFxf8Y472t1lQu3cEfV BI5GqpoW7TjLjrto51aE3yl7mfFwiHCBfN0cHKrT3f7OmooqFGrIa46kTuGWis3ogqc6 i1Rlv3iSiV0yOraX1lOXaEWv9gsgdRpLvn+FSPDuHAjVt/74ZwRTEBjPLh5zlWLiZ9CS OZBQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1739183176; x=1739787976; 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=MMveWtKIlfL6uuWpVkSZWRAB3s97sFlGFregYh5GkmE=; b=FUcq2fqlKFn3547ToWiapPmAWIjYLsGrgt/mO7uwqP5FDCbpCjfBfM/jjQrr6Qy6XG XHuiqml71he0OrJL0dom9XEp2NDyP/+6zy/xIOV/Lz/aYcfSqU/3CgizVvH5Pm/a5AUt D9REgUHz2svnWIZsUzHVT8l0uUxHat8hLNZsfFmYn86HiuNlH0RRoi2HmFT0ty+EgFbL 4FctvHXn0o3cUY5EUiChp08XZbxKTLZOb2yq5YDqvBLNxcODLXAMDp7z3oYM82knXtQ4 Ro+quo+Pe8BISSuQXS/pAxR2+E/qTjkkUlZJH631LRjf+aa1mioX57mRDh6HFU7409Wo 5Y6A== X-Gm-Message-State: AOJu0YwbN6e0t96v24G0aDvJu4CrzmvNl/Xj8k0i29VwccWqt0mmRmJW n5RRlh3n7iTVy4HoKCzZ2FYD3ZKX+4P/QKFeqLayqPJXsG70ba8dC9nqEtmWZnJ/AEhUbFLH521 xfgg= X-Gm-Gg: ASbGnctgD3whWHugojC3LTLoin86C5qINQCDFz9t81MtE2rBPInz152yo18bMeeM3lw SRsjHZx0oYwpX2biesA/SWh9OcAPFO0R0BmSbBMPR9VHqhn5Dzu0US+gyaj/kwDNeAp8MIQSR0k HsBXRP70cBI5L8Ln3SUtaCgf9qGC6SId5DvLYcmQkpB7xz05anm1LoGS6w7zeaaOT0+Yvx0G7rI OZH07LX4BpN2NepRM6O7SUEV5F/rRTb0H+gtw+WnGz2nefCFn6Gmn2UcINwjZbTN6NSv7WGz7yh j5aIeNuVY7L0ChSFOjoQsL69sEJ3ahys9xegrfia03tlh1QLRRcI++c91zYJxRBfsENQ/jM= X-Received: by 2002:a05:6000:2cf:b0:38d:e02d:5f4e with SMTP id ffacd0b85a97d-38de02d5fdemr1304313f8f.5.1739183176360; Mon, 10 Feb 2025 02:26:16 -0800 (PST) Received: from localhost.localdomain (88-187-86-199.subs.proxad.net. [88.187.86.199]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4390daf44f3sm179880375e9.29.2025.02.10.02.26.15 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Mon, 10 Feb 2025 02:26:15 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Richard Henderson , Paolo Bonzini , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Subject: [PATCH 02/10] target/sparc: Constify SPARCCPUClass::cpu_def Date: Mon, 10 Feb 2025 11:25:56 +0100 Message-ID: <20250210102604.34284-3-philmd@linaro.org> X-Mailer: git-send-email 2.47.1 In-Reply-To: <20250210102604.34284-1-philmd@linaro.org> References: <20250210102604.34284-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::42f; envelope-from=philmd@linaro.org; helo=mail-wr1-x42f.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+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org Signed-off-by: Philippe Mathieu-Daudé --- target/sparc/cpu.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/sparc/cpu.h b/target/sparc/cpu.h index dda811503b5..462bcb6c0e6 100644 --- a/target/sparc/cpu.h +++ b/target/sparc/cpu.h @@ -574,7 +574,7 @@ struct SPARCCPUClass { DeviceRealize parent_realize; ResettablePhases parent_phases; - sparc_def_t *cpu_def; + const sparc_def_t *cpu_def; }; #ifndef CONFIG_USER_ONLY