From: Greg KH <gregkh@linuxfoundation.org>
To: Zhao Ke <ke.zhao@shingroup.cn>
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
Subject: Re: [PATCH v1] powerpc: Add PVN support for HeXin C2000 processor
Date: Thu, 23 Nov 2023 09:43:33 +0000 [thread overview]
Message-ID: <2023112317-ebook-dreamless-0cfe@gregkh> (raw)
In-Reply-To: <20231123093611.98313-1-ke.zhao@shingroup.cn>
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 <ke.zhao@shingroup.cn>
> 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
next prev parent reply other threads:[~2023-11-23 9:44 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-23 9:36 [PATCH v1] powerpc: Add PVN support for HeXin C2000 processor Zhao Ke
2023-11-23 9:43 ` Greg KH [this message]
2023-11-23 11:02 ` Michael Ellerman
2023-11-24 8:39 ` Zhao Ke 赵 可
2023-11-24 23:35 ` Nicholas Piggin
2023-11-29 3:11 ` Qu Shenghui 瞿盛辉
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2023112317-ebook-dreamless-0cfe@gregkh \
--to=gregkh@linuxfoundation.org \
--cc=ajd@linux.ibm.com \
--cc=arnd@arndb.de \
--cc=dawei.li@shingroup.cn \
--cc=fbarrat@linux.ibm.com \
--cc=ke.zhao@shingroup.cn \
--cc=kvm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=luming.yu@shingroup.cn \
--cc=npiggin@gmail.com \
--cc=shenghui.qu@shingroup.cn \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).