From patchwork Mon Mar 7 06:55:25 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicholas Piggin X-Patchwork-Id: 1601904 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=pgnb8pHK; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4KBq5719pqz9sFk for ; Mon, 7 Mar 2022 17:56:59 +1100 (AEDT) Received: from localhost ([::1]:38670 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nR7If-00073A-6m for incoming@patchwork.ozlabs.org; Mon, 07 Mar 2022 01:56:57 -0500 Received: from eggs.gnu.org ([209.51.188.92]:58370) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nR7HU-0006Rd-D1; Mon, 07 Mar 2022 01:55:45 -0500 Received: from [2607:f8b0:4864:20::42b] (port=45776 helo=mail-pf1-x42b.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nR7HS-0007kj-Mr; Mon, 07 Mar 2022 01:55:43 -0500 Received: by mail-pf1-x42b.google.com with SMTP id s8so8846907pfk.12; Sun, 06 Mar 2022 22:55:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=b93chAdBgu04CLd1Y4nffuj2enoiMljuIQeQ3NfisD8=; b=pgnb8pHKTJ877XxIVUd4at4SiECi9NR+VIHSDf7yIu9d5HLWueMXiRTziMaUfFiQei o5EgqkSTwY5j2Djs7iblKaN8o6U8t8vxyICG9NykL47Bur+JJAC/4NBFumz5CuhfwQIt 9ZtvsQTxTK8eoBZmWBaEh9YDkdL5sT7D2bdbYYAxV355z/WmZ2mRJTU0XEqbccoAbFsM YvbY2BR2DrojhGztv8RrmX6lUi96DizHGHniAvx36dDWjqRnuQqei2zG/c7WWb9tuMww VHlIIiiXhXMVQpdSGwxAzh8d49WH/Gt+UGw67JLyA5pFy+g9d2FGDEy69WWKtY4QqHJz NFOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=b93chAdBgu04CLd1Y4nffuj2enoiMljuIQeQ3NfisD8=; b=2ekcwoz91867RwqKRAjpooLEtYtUWcErsVRUVIqGcsZOgW031m7aQuU1ymkYSpPpNg FJqlgCS3wQOkeJ9fzEGY2AB9MY8ggC6pMPDNMwekl/2UbeNkye3aYakZSoq7ZVoSPpNx iqd1UmecA2nZ/NUspMGrUGMukyGOYvn46605Agxhk+2z/lzEE6Q5LmFhA097qXNxuyZK hNX/ZX0npljEjg0LsAf1rwwakqK5pIIDFww7FZu6gGdSTBqeE3HGWnGsc/A78xNvQqhI fFgpYQLXQLrG+p3nPlKPQ7C9X6CFRYtIAPtArpkc/ZMsGns84BGIedU8mFRZCYGVPskz 8osw== X-Gm-Message-State: AOAM533WZY5slMROR2unxAzAsACBwbGZI61iVd1J51OxBHqzaSjvJg1E 61m7PoZV+MBdeSdlFJzoIPYnND3aKak= X-Google-Smtp-Source: ABdhPJzg81aLJHcL1zIf/V65UURSTYNY2MotVlzqrlU5amrAobbMXQqxzEWQ5NsaE/3jT+g6gFI+1w== X-Received: by 2002:a63:e84b:0:b0:372:a079:302 with SMTP id a11-20020a63e84b000000b00372a0790302mr8666178pgk.272.1646636141059; Sun, 06 Mar 2022 22:55:41 -0800 (PST) Received: from bobo.ibm.com (61-68-211-196.tpgi.com.au. [61.68.211.196]) by smtp.gmail.com with ESMTPSA id o1-20020a637e41000000b003804d0e2c9esm1902477pgn.35.2022.03.06.22.55.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 06 Mar 2022 22:55:40 -0800 (PST) From: Nicholas Piggin To: qemu-ppc@nongnu.org Subject: [PATCH v3 2/4] target/ppc: Remove chip type field from POWER9 DD2.0 PVR Date: Mon, 7 Mar 2022 16:55:25 +1000 Message-Id: <20220307065527.156132-3-npiggin@gmail.com> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20220307065527.156132-1-npiggin@gmail.com> References: <20220307065527.156132-1-npiggin@gmail.com> MIME-Version: 1.0 X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::42b (failed) 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: -6 X-Spam_score: -0.7 X-Spam_bar: / X-Spam_report: (-0.7 / 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, PDS_HP_HELO_NORDNS=0.659, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no 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: , Cc: Alexey Kardashevskiy , =?utf-8?q?C=C3=A9dric_Le_Goater?= , qemu-devel@nongnu.org, Nicholas Piggin , David Gibson Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" The POWER9 DD2.0 PVR does not follow the same format as the other POWER9/10 PVRs, it includes a non-zero value in the "chip type" field. This does not cause problems because the pvr check is masks it out and matches against the base, but it's a small inconsistency. Zero the field. Signed-off-by: Nicholas Piggin --- target/ppc/cpu-models.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/ppc/cpu-models.h b/target/ppc/cpu-models.h index 76775a74a9..b42f2ab162 100644 --- a/target/ppc/cpu-models.h +++ b/target/ppc/cpu-models.h @@ -349,7 +349,7 @@ enum { CPU_POWERPC_POWER8NVL_v10 = 0x004C0100, CPU_POWERPC_POWER9_BASE = 0x004E0000, CPU_POWERPC_POWER9_DD1 = 0x004E0100, - CPU_POWERPC_POWER9_DD20 = 0x004E1200, + CPU_POWERPC_POWER9_DD20 = 0x004E0200, CPU_POWERPC_POWER10_BASE = 0x00800000, CPU_POWERPC_POWER10_DD1 = 0x00800100, CPU_POWERPC_POWER10_DD20 = 0x00800200,