From nobody Mon Nov 25 09:23:15 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=1716255161; cv=none; d=zohomail.com; s=zohoarc; b=AxIgF39TynwuUQd2vwYfMAb64a1ZvC4tRmTdNo01AysjeO3dwhEA5iABh2+90wZrXTCOQmGJmDakcqClyw1EW4fm4DjHQMKmHnjIjmNgg46bQRRCz+FfRQe1sgRZ4teEne+VZSpMyHPMqHHgfEq5pw2ZDjkkx5AI1W2t/zG+gZE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1716255161; 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=DM7C9zYU/JYPQc+IpanR0zGx9fNeS+QDv9SFSyE3708=; b=H8ivsJk61D2X+MRcnXhfsd02SEF7gWwxnFRnl7Mbc0LasNaJWnmGm7CMPrDSf4ahw4FByN6cjTTfEVhKkAT8ah2T2tHMR7mxUSIPhg203O/wa5IaNFRmcXbg/B2zukdwKieS3Q6iLEyx27Ar5bdDZlCvsIElaoR+MlwVF9v8klQ= 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 1716255161364638.948098007383; Mon, 20 May 2024 18:32:41 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s9ELK-0007jh-BT; Mon, 20 May 2024 21:31: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 1s9ELC-0007hM-2H; Mon, 20 May 2024 21:31:01 -0400 Received: from mail-pl1-x636.google.com ([2607:f8b0:4864:20::636]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s9EL9-0005Jp-LA; Mon, 20 May 2024 21:30:57 -0400 Received: by mail-pl1-x636.google.com with SMTP id d9443c01a7336-1eca195a7c8so91608135ad.2; Mon, 20 May 2024 18:30:54 -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 98e67ed59e1d1-2bd7f0cd400sm2514953a91.31.2024.05.20.18.30.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 May 2024 18:30:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1716255053; x=1716859853; 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=DM7C9zYU/JYPQc+IpanR0zGx9fNeS+QDv9SFSyE3708=; b=k8g/0rQ+f9TAbI60bfRQW8+zIqivev2Dv/LnzVJJNDfYA2IwobbyfVaw7DR0nZenRF MVTMVXx9x3SYhpx6wbB6y0kbhmtngeF5lpBteGi8T29vpmidy+NL592xBNOm3YXuH9H+ lexWkG+zX6YYkYRHH+m1r3MiUF4oYFdUB7hkm1PqKIKuK3caaDswVkTzgEYVR/wl9Ii7 +QdWpEorGAq4NddNAgsuz9eL0VO0KFhIjUhqZNaoNBtyswutmwdez1VvjSkVtTNtNSYn JkYC0GrhvuyN174Q+yWq/m4IRxkwC+A7dyth+1WpaV48ylAf8mcBoUdFTkhnonCjXR04 GAnw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716255053; x=1716859853; 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=DM7C9zYU/JYPQc+IpanR0zGx9fNeS+QDv9SFSyE3708=; b=nJ6p63aNekbfmK71KjpY69CH+JYSahFuEEpYVe7zjMEAGTlrpZxHd7zbWtOeAKu7R+ rJU5HjAsbVKj4M5Ryph/XlBXUGnQDBwKfDtJQbAbg3dZ3/zM5ShGaetrZVvpJ2VV+PXg J72aXT0NNbvpOJlg9ecT9HJ+3iV5jmQs1EMFaRzdNJ8neycYEbINi83w+CS7FKjW8MdZ DNSAb2abMI3y4mTpYCW0WPkGq7SAJwAXc0dh4BfPL/Rf3BpXlY3CqXR5HjJQDylFfQgi ebzXVMp+AVzYH0vMvsOo4l/3ou+XIu+BLMU6bPjKA97RoTb22YZpzqQcN+kpYVgIPXPP aTAA== X-Forwarded-Encrypted: i=1; AJvYcCUJbImd13S0A+mBsFWlAfDRV75UmXgP76tqGd9nAYkjh37Rk2cyng1s7QbUT6WnlgWgjQ6E+coy9Ht+OWO6UjAsBi0gEb8= X-Gm-Message-State: AOJu0YyyrkViJS2SM6YqkbHQKwJC7w+I7lWeAGjz8NmfSnFjEEMMhXBX dUlshX6DNe2Flop41bV9EB5+MmZ3AfWjw8w9qKNth+aaSJetukoVyNeqJQ== X-Google-Smtp-Source: AGHT+IFdqgktDuzumxetQ6n515AaYMkRNijVtks8f5C9Yfhn3THLuqM4j1WUb6waCPz/9ngoCiHrkA== X-Received: by 2002:a17:90a:ad86:b0:2b6:22bd:f4b2 with SMTP id 98e67ed59e1d1-2b6cc03f435mr25384106a91.4.1716255053583; Mon, 20 May 2024 18:30:53 -0700 (PDT) From: Nicholas Piggin To: qemu-ppc@nongnu.org Cc: Nicholas Piggin , qemu-devel@nongnu.org, Daniel Henrique Barboza , Glenn Miles , Richard Henderson , Chinmay Rath Subject: [PATCH v2 04/12] target/ppc: BookE DECAR SPR is 32-bit Date: Tue, 21 May 2024 11:30:20 +1000 Message-ID: <20240521013029.30082-5-npiggin@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240521013029.30082-1-npiggin@gmail.com> References: <20240521013029.30082-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::636; envelope-from=npiggin@gmail.com; helo=mail-pl1-x636.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, 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+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @gmail.com) X-ZM-MESSAGEID: 1716255162114100001 Content-Type: text/plain; charset="utf-8" The DECAR SPR is 32-bits width. Signed-off-by: Nicholas Piggin Reviewed-by: Glenn Miles --- 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