Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp216116rdh; Thu, 23 Nov 2023 01:46:50 -0800 (PST) X-Google-Smtp-Source: AGHT+IHhQ/SFwZG5IO2V3bx/F36b1Xukv5ycbvX5Ksc1TQxKx1bJGJNqqSYTUbWN2/llr4VmvLzm X-Received: by 2002:a17:903:41c1:b0:1cf:8dcb:8eac with SMTP id u1-20020a17090341c100b001cf8dcb8eacmr1184877ple.17.1700732810035; Thu, 23 Nov 2023 01:46:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700732810; cv=none; d=google.com; s=arc-20160816; b=0Vo3knjTE1AnhAeTw9WEdINAKdIKaoIlrDEjNM1WI9AqIhKMGfEZeyJ6ZfinTySLaz 09FeM87Vvfe9yuXIXOtjrrTVuNtqAKhh8EKhEMNK0CvSfAgY3BCOTNkoe+Av3sPMuSXt ih1E2PPR9uzJV5AgE1MxQuEhO1AwKufkiYzQft3J834DQ3Js2ffTcwchhHHlLcpPz+pi 0uc3EvUxLeK7w0BU5A59r0VE2cCyXPgRaMgZi1RZgyxltIV7VOMgaGTg8zo2H3sVi/pB UThyLsHQxi646LtWi3lrEQj+6/VmLMS/TmgYNQz/XugIUJus+HJHnbm2pVGUQNxxFnfN /pgw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=Bi1GajgN38ntckV9mUX+4OMQ2yzF7FwAZIn42oQQ+BA=; fh=PnmJWk/Ub+Eb2oOixZ4w/2YMTmpwKn6SCrNpOBdcnYo=; b=NOfkbKpOKaBvPQb7llM8kEHpUkSGWqam0TR/zswkeMGBlpHji7PlnuEOmNHeXIBR71 31PuCsuVeZrHkFjbvzUTSRv5VGhoNQUFd1DWkK1aFOD/rqgoOS+CsOaxLffNg48cYhBa Kt/f6bS7SDd9PyxY7nIEXvzLhWG/BQJ1DVsNrNKg+0TDpYblD/37Wk/RuKVwtPURJa5k PEUsFh2prtSYrwKa3BJ53XjVbV80OJLW3WPLEGwm7GxaI7q3OijaEZeWphlDuheWGVMH U/ymYZfj8lrKN3lXd8iQRpktTM7BGAKpYO5CIwXfHV74ewl2BJ3xWyqRUv38cua2NMbK t3og== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=b4vWsEzq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id iw12-20020a170903044c00b001c6182d7d43si810869plb.21.2023.11.23.01.46.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Nov 2023 01:46:49 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=b4vWsEzq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 1732A80947EF; Thu, 23 Nov 2023 01:46:05 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235343AbjKWJpk (ORCPT + 99 others); Thu, 23 Nov 2023 04:45:40 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38292 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234357AbjKWJpW (ORCPT ); Thu, 23 Nov 2023 04:45:22 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0EE1210CA for ; Thu, 23 Nov 2023 01:43:38 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E3DA5C433C7; Thu, 23 Nov 2023 09:43:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1700732617; bh=7AO36pcPwM7Yerei+BySWxe8GlzHgN7XBTJn/OJg4eU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=b4vWsEzqapyJvagQQ7JKCDgL9TwPHTZJ0qokp/EcABOred9x4CEyvwCDTTec4sNCA Mf2EXMgtJ6LMdFihLS0/YM55JQ0+Awdieq+gybvO3TeALrcA7YKehM2/eKv8oj+yAS I8Ok5q580ZHA6inF1VHacaiVjdhnBPC/nWQai1lY= Date: Thu, 23 Nov 2023 09:43:33 +0000 From: Greg KH To: Zhao Ke Cc: mpe@ellerman.id.au, npiggin@gmail.com, christophe.leroy@csgroup.eu, fbarrat@linux.ibm.com, ajd@linux.ibm.com, arnd@arndb.de, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, kvm@vger.kernel.org, shenghui.qu@shingroup.cn, luming.yu@shingroup.cn, dawei.li@shingroup.cn Subject: Re: [PATCH v1] powerpc: Add PVN support for HeXin C2000 processor Message-ID: <2023112317-ebook-dreamless-0cfe@gregkh> References: <20231123093611.98313-1-ke.zhao@shingroup.cn> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231123093611.98313-1-ke.zhao@shingroup.cn> X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Thu, 23 Nov 2023 01:46:05 -0800 (PST) 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? thanks, greg k-h