From nobody Mon Nov 25 09:27:19 2024 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=gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1716506410; cv=none; d=zohomail.com; s=zohoarc; b=D/wJhKN8X5Pan/UjdFOaLw62P1MxEUKPjkI2bk1CH22JTE3Fk3yibalydzbAvOJvuI5qtarzKrcnLfr2cZCln7f4ptgvZIedRTYY15crGjd8/DR25YofVNP8Kj9qcqz77rIbGPARnyk5PVoh+Y68Ec5iUw785eWJBkg6pPa3k+c= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1716506410; h=Content-Transfer-Encoding:Cc:Cc: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; bh=leNP85nF0VhOqKR15AYi1UxMrPgTQvoAv1nRyxHoBYo=; b=YH9s8Gi5GBs/gKxe4/fpGFws1wgN31vCZWr0s/YQLkzlkxH2htUzEXnef+Uv8LiHCk7cus2n8+fGmZdSVlk59fhNe6E4yxsIlT30cdB3qYESDHzF8FzfAgrbSlj6vqQuNF8ZZX+MCMERKH+5KtkpNgodwFt8PA8Hs03AB19/zT4= 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 1716506410869229.81870827136947; Thu, 23 May 2024 16:20:10 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sAHZm-00039H-3w; Thu, 23 May 2024 19:10:22 -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 1sAHZL-0001g4-MP; Thu, 23 May 2024 19:09:56 -0400 Received: from mail-pf1-x42b.google.com ([2607:f8b0:4864:20::42b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sAHZ3-0005oz-A2; Thu, 23 May 2024 19:09:55 -0400 Received: by mail-pf1-x42b.google.com with SMTP id d2e1a72fcca58-6f8ecafd661so294877b3a.3; Thu, 23 May 2024 16:09:36 -0700 (PDT) Received: from wheely.local0.net (110-175-65-7.tpgi.com.au. [110.175.65.7]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-682227f1838sm87041a12.46.2024.05.23.16.09.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 May 2024 16:09:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1716505775; x=1717110575; 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=leNP85nF0VhOqKR15AYi1UxMrPgTQvoAv1nRyxHoBYo=; b=Wj4Xo5O1TZKLbA4pcDQaSynccUPmme34vLaerjC1RTv3DCq55Kmw+3qiz61wzm+1Xj U8efVRgmkZt+cNmc5aktpmVfN8tw0NkVbp+KFSrolqKbd7fSQaP1dwRBv2dfc/wP8GYi wVRNTPwVCNLYaGBRZwbnGRGFBiLWBKCfMKBT7vrfFDYfb+0jDNx7nI7ee9ycdqYSZ1zv ubO8Ql1wkc5jVDKFK+Ed9MPKhsS7erFbVBW5VufjsoCfZiOAIrZk6KOKqMD85jyLZyR2 g4seQrwOEKoD1hdmYNhTp+DSDsYMyfDXYbcLVd3Y95bGJc7U8/GzA4BZmiIqFASYH/Kw A0hQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716505775; x=1717110575; 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=leNP85nF0VhOqKR15AYi1UxMrPgTQvoAv1nRyxHoBYo=; b=jnKRrOpZIFfHqz2hu8Lhf3LVuXjdj6y9tcoCfhmIr0pY6kTTxzeN5B/4ohVMXpssTv 6vx5zk57tXU9lcAFJEG306TJjTuABRY3fqb4ZAREgYR32DxGlI4LhpoyVu5lGLJoB2Uv QWrKscuZBV+2Z5PVpl+GwlFKP2Iv9M87UHUlLv2Cj92EvQ55g9Acali6HXnrR8Lpsz+k AnfuFH6TP5dy8o4YIsICIvRvl5WWI+odEFaZgSD8H2pCABYoSY0R0keW/U0PwWgaEIoX zxE5cT44i8zHfLi4S4dQ8KY3xheDu/W1z86vLRoE57Oe9qsrZR2iv71Hj2Vlg0DoA6Ig kfuQ== X-Forwarded-Encrypted: i=1; AJvYcCVh/ySVGCnkvCi65q69GBZS27J9wtBg+DRTR+zpOCLm2iDntaCX4ewD/EzNYJJVU9DkfjXex19KB/5iF810xpINEBee X-Gm-Message-State: AOJu0Ywcyn0Ke46uJNN2Y8HpCab6CCSn7OF3ZxPXTMHhAOD6y/UfQp3q u52Th7iWuuztF1GcBFc4I2+NBt6IM3lo1zo2xXtHBimco+uCZNvtN9FT8g== X-Google-Smtp-Source: AGHT+IF5ty5lw46Bmv5nOj3/D7PNOt03VdveUSNOTzlHxZiYA52A2GE2gnemuHhTdnFyIGF4W4v9Aw== X-Received: by 2002:a05:6a20:d04c:b0:1b0:1be7:3705 with SMTP id adf61e73a8af0-1b212cc5089mr1217095637.7.1716505775408; Thu, 23 May 2024 16:09:35 -0700 (PDT) From: Nicholas Piggin To: qemu-devel@nongnu.org Cc: Nicholas Piggin , qemu-ppc@nongnu.org, Glenn Miles Subject: [PULL 31/72] target/ppc: BookE DECAR SPR is 32-bit Date: Fri, 24 May 2024 09:07:04 +1000 Message-ID: <20240523230747.45703-32-npiggin@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240523230747.45703-1-npiggin@gmail.com> References: <20240523230747.45703-1-npiggin@gmail.com> MIME-Version: 1.0 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=2607:f8b0:4864:20::42b; envelope-from=npiggin@gmail.com; helo=mail-pf1-x42b.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, FREEMAIL_FROM=0.001, 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 @gmail.com) X-ZM-MESSAGEID: 1716506412727100007 Content-Type: text/plain; charset="utf-8" The DECAR SPR is 32-bits width. Reviewed-by: Glenn Miles Signed-off-by: Nicholas Piggin --- target/ppc/cpu_init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/ppc/cpu_init.c b/target/ppc/cpu_init.c index ee01415c32..927721d49a 100644 --- a/target/ppc/cpu_init.c +++ b/target/ppc/cpu_init.c @@ -792,7 +792,7 @@ static void register_BookE_sprs(CPUPPCState *env, uint6= 4_t ivor_mask) 0x00000000); spr_register(env, SPR_BOOKE_DECAR, "DECAR", SPR_NOACCESS, SPR_NOACCESS, - SPR_NOACCESS, &spr_write_generic, + SPR_NOACCESS, &spr_write_generic32, 0x00000000); /* SPRGs */ spr_register(env, SPR_USPRG0, "USPRG0", --=20 2.43.0