From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 0278AC624B4 for ; Thu, 23 Nov 2023 11:03:39 +0000 (UTC) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=ellerman.id.au header.i=@ellerman.id.au header.a=rsa-sha256 header.s=201909 header.b=iyceZfyQ; dkim-atps=neutral Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4SbZwp4tWCz3dW9 for ; Thu, 23 Nov 2023 22:03:38 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=ellerman.id.au header.i=@ellerman.id.au header.a=rsa-sha256 header.s=201909 header.b=iyceZfyQ; dkim-atps=neutral Received: from gandalf.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4SbZvr1fN1z2ydW for ; Thu, 23 Nov 2023 22:02:48 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ellerman.id.au; s=201909; t=1700737362; bh=uqbk3lyeqSjwPRhuNVxLOm4uc+e6PUbNsNGKGUbeIeg=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=iyceZfyQVViQ82WYOcVcZ3y8up/cjELd3RnGCnxCtDVEh/Zdegj+Tdx+Q6R9CdMR2 ufdh6WYHbLsidP6MHaX27LNzygxAa4UQG3lxH0RJrtLXsxNggd3NFS67DNAra/5yzJ KtKZLWiLvuPFOaEQkqAZPXsfRceh7q/qS5GjjygijnLUR8AJgn++JFpcba1aH+Lp4x Kvgnz9wzcGN5Jff6NgAhZ/Gn2c1ZnP34y/764x88gSJC9YFj4o9kPHjN2KmXTmrpow HxbkjRbzEXlnzxSSvNVHJFxcL8aZ1mW9BoNz0iKYg0a1gnQBAoJv0ivTtNGxXgXByd 0dtv+xpjv7WHA== Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4SbZvh2jNPz4xRn; Thu, 23 Nov 2023 22:02:40 +1100 (AEDT) From: Michael Ellerman To: Greg KH , Zhao Ke Subject: Re: [PATCH v1] powerpc: Add PVN support for HeXin C2000 processor In-Reply-To: <2023112317-ebook-dreamless-0cfe@gregkh> References: <20231123093611.98313-1-ke.zhao@shingroup.cn> <2023112317-ebook-dreamless-0cfe@gregkh> Date: Thu, 23 Nov 2023 22:02:35 +1100 Message-ID: <871qcgspf8.fsf@mail.lhotse> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: luming.yu@shingroup.cn, ajd@linux.ibm.com, arnd@arndb.de, dawei.li@shingroup.cn, linux-kernel@vger.kernel.org, shenghui.qu@shingroup.cn, npiggin@gmail.com, kvm@vger.kernel.org, fbarrat@linux.ibm.com, linuxppc-dev@lists.ozlabs.org Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" Greg KH writes: > On Thu, Nov 23, 2023 at 05:36:11PM +0800, Zhao Ke wrote: >> HeXin Tech Co. has applied for a new PVN from the OpenPower Community >> for its new processor C2000. The OpenPower has assigned a new PVN >> and this newly assigned PVN is 0x0066, add pvr register related >> support for this PVN. >> >> Signed-off-by: Zhao Ke >> Link: https://discuss.openpower.foundation/t/how-to-get-a-new-pvr-for-processors-follow-power-isa/477/10 >> --- >> v0 -> v1: >> - Fix .cpu_name with the correct description >> --- >> --- >> arch/powerpc/include/asm/reg.h | 1 + >> arch/powerpc/kernel/cpu_specs_book3s_64.h | 15 +++++++++++++++ >> arch/powerpc/kvm/book3s_pr.c | 1 + >> arch/powerpc/mm/book3s64/pkeys.c | 3 ++- >> arch/powerpc/platforms/powernv/subcore.c | 3 ++- >> drivers/misc/cxl/cxl.h | 3 ++- >> 6 files changed, 23 insertions(+), 3 deletions(-) >> >> diff --git a/arch/powerpc/include/asm/reg.h b/arch/powerpc/include/asm/reg.h >> index 4ae4ab9090a2..7fd09f25452d 100644 >> --- a/arch/powerpc/include/asm/reg.h >> +++ b/arch/powerpc/include/asm/reg.h >> @@ -1361,6 +1361,7 @@ >> #define PVR_POWER8E 0x004B >> #define PVR_POWER8NVL 0x004C >> #define PVR_POWER8 0x004D >> +#define PVR_HX_C2000 0x0066 >> #define PVR_POWER9 0x004E >> #define PVR_POWER10 0x0080 >> #define PVR_BE 0x0070 > > Why is this not in sorted order? It's semantically sorted :D ie. HX_C2000 is most similar to POWER8, but is newer than it. PVR_BE is out of place, I'll fix that. cheers