From: Paul Cercueil <paul@crapouillou.net>
To: 周琰杰 <zhouyanjie@wanyeetech.com>
Cc: paulburton@kernel.org, tsbogend@alpha.franken.de,
linux-kernel@vger.kernel.org, linux-mips@vger.kernel.org,
jiaxun.yang@flygoat.com, rppt@kernel.org,
Sergey.Semin@baikalelectronics.ru,
Alexey.Malahov@baikalelectronics.ru, akpm@linux-foundation.org,
dongsheng.qiu@ingenic.com, aric.pzqi@ingenic.com,
rick.tyliu@ingenic.com, yanfei.li@ingenic.com,
sernia.zhou@foxmail.com, zhenwenjin@gmail.com
Subject: Re: [PATCH 1/2] MIPS: X1000E: Add X1000E system type.
Date: Mon, 21 Sep 2020 14:31:41 +0200 [thread overview]
Message-ID: <TGD0HQ.UUVW551D0QG01@crapouillou.net> (raw)
In-Reply-To: <20200919124437.89576-2-zhouyanjie@wanyeetech.com>
Le sam. 19 sept. 2020 à 20:44, 周琰杰 (Zhou Yanjie)
<zhouyanjie@wanyeetech.com> a écrit :
> Add X1000 system type for cat /proc/cpuinfo to give out X1000E.
>
> Signed-off-by: 周琰杰 (Zhou Yanjie) <zhouyanjie@wanyeetech.com>
For the 2 patches:
Reviewed-by: Paul Cercueil <paul@crapouillou.net>
Cheers,
-Paul
> ---
> arch/mips/generic/board-ingenic.c | 3 +++
> arch/mips/include/asm/bootinfo.h | 1 +
> 2 files changed, 4 insertions(+)
>
> diff --git a/arch/mips/generic/board-ingenic.c
> b/arch/mips/generic/board-ingenic.c
> index 0d7de8f9713d..c634ee35a6cd 100644
> --- a/arch/mips/generic/board-ingenic.c
> +++ b/arch/mips/generic/board-ingenic.c
> @@ -23,6 +23,8 @@ static __init char
> *ingenic_get_system_type(unsigned long machtype)
> switch (machtype) {
> case MACH_INGENIC_X1830:
> return "X1830";
> + case MACH_INGENIC_X1000E:
> + return "X1000E";
> case MACH_INGENIC_X1000:
> return "X1000";
> case MACH_INGENIC_JZ4780:
> @@ -58,6 +60,7 @@ static const struct of_device_id ingenic_of_match[]
> __initconst = {
> { .compatible = "ingenic,jz4770", .data = (void
> *)MACH_INGENIC_JZ4770 },
> { .compatible = "ingenic,jz4780", .data = (void
> *)MACH_INGENIC_JZ4780 },
> { .compatible = "ingenic,x1000", .data = (void *)MACH_INGENIC_X1000
> },
> + { .compatible = "ingenic,x1000e", .data = (void
> *)MACH_INGENIC_X1000E },
> { .compatible = "ingenic,x1830", .data = (void *)MACH_INGENIC_X1830
> },
> {}
> };
> diff --git a/arch/mips/include/asm/bootinfo.h
> b/arch/mips/include/asm/bootinfo.h
> index 147c9327ce04..b6fdfbec1f07 100644
> --- a/arch/mips/include/asm/bootinfo.h
> +++ b/arch/mips/include/asm/bootinfo.h
> @@ -79,6 +79,7 @@ enum ingenic_machine_type {
> MACH_INGENIC_JZ4775,
> MACH_INGENIC_JZ4780,
> MACH_INGENIC_X1000,
> + MACH_INGENIC_X1000E,
> MACH_INGENIC_X1830,
> MACH_INGENIC_X2000,
> };
> --
> 2.11.0
>
next prev parent reply other threads:[~2020-09-21 12:31 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-19 12:44 [PATCH 0/2] Repair X1000E SoC L2 cache capacity detection 周琰杰 (Zhou Yanjie)
2020-09-19 12:44 ` [PATCH 1/2] MIPS: X1000E: Add X1000E system type 周琰杰 (Zhou Yanjie)
2020-09-21 12:31 ` Paul Cercueil [this message]
2020-09-19 12:44 ` [PATCH 2/2] MIPS: Ingenic: Fix bugs when detecting X1000E's L2 cache 周琰杰 (Zhou Yanjie)
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=TGD0HQ.UUVW551D0QG01@crapouillou.net \
--to=paul@crapouillou.net \
--cc=Alexey.Malahov@baikalelectronics.ru \
--cc=Sergey.Semin@baikalelectronics.ru \
--cc=akpm@linux-foundation.org \
--cc=aric.pzqi@ingenic.com \
--cc=dongsheng.qiu@ingenic.com \
--cc=jiaxun.yang@flygoat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mips@vger.kernel.org \
--cc=paulburton@kernel.org \
--cc=rick.tyliu@ingenic.com \
--cc=rppt@kernel.org \
--cc=sernia.zhou@foxmail.com \
--cc=tsbogend@alpha.franken.de \
--cc=yanfei.li@ingenic.com \
--cc=zhenwenjin@gmail.com \
--cc=zhouyanjie@wanyeetech.com \
/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
all inboxes | Powered by JetHome®