[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <92cb9e21-b48d-bf74-af71-b180600ad792@xen0n.name>
Date: Wed, 1 Jun 2022 18:36:22 +0800
From: WANG Xuerui <kernel@...0n.name>
To: Huacai Chen <chenhuacai@...ngson.cn>,
Arnd Bergmann <arnd@...db.de>,
Andy Lutomirski <luto@...nel.org>,
Thomas Gleixner <tglx@...utronix.de>,
Peter Zijlstra <peterz@...radead.org>,
Andrew Morton <akpm@...ux-foundation.org>,
David Airlie <airlied@...ux.ie>,
Jonathan Corbet <corbet@....net>,
Linus Torvalds <torvalds@...ux-foundation.org>
Cc: linux-arch@...r.kernel.org, linux-doc@...r.kernel.org,
linux-kernel@...r.kernel.org, Xuefeng Li <lixuefeng@...ngson.cn>,
Yanteng Si <siyanteng@...ngson.cn>,
Huacai Chen <chenhuacai@...il.com>,
Guo Ren <guoren@...nel.org>, Xuerui Wang <kernel@...0n.name>,
Jiaxun Yang <jiaxun.yang@...goat.com>,
Stephen Rothwell <sfr@...b.auug.org.au>
Subject: Re: [PATCH V12 01/24] irqchip: Adjust Kconfig for Loongson
On 6/1/22 17:59, Huacai Chen wrote:
> HTVEC will be shared by both MIPS-based and LoongArch-based Loongson
> processors (not only Loongson-3), so we adjust its description. HTPIC is
> only used by MIPS-based Loongson, so we add a MIPS dependency.
>
> Signed-off-by: Huacai Chen <chenhuacai@...ngson.cn>
> ---
> drivers/irqchip/Kconfig | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/irqchip/Kconfig b/drivers/irqchip/Kconfig
> index 44fb8843e80e..1cb3967fe798 100644
> --- a/drivers/irqchip/Kconfig
> +++ b/drivers/irqchip/Kconfig
> @@ -557,7 +557,7 @@ config LOONGSON_LIOINTC
>
> config LOONGSON_HTPIC
> bool "Loongson3 HyperTransport PIC Controller"
> - depends on MACH_LOONGSON64
> + depends on (MACH_LOONGSON64 && MIPS)
> default y
> select IRQ_DOMAIN
> select GENERIC_IRQ_CHIP
> @@ -565,12 +565,12 @@ config LOONGSON_HTPIC
> Support for the Loongson-3 HyperTransport PIC Controller.
>
> config LOONGSON_HTVEC
> - bool "Loongson3 HyperTransport Interrupt Vector Controller"
> + bool "Loongson HyperTransport Interrupt Vector Controller"
> depends on MACH_LOONGSON64
> default MACH_LOONGSON64
> select IRQ_DOMAIN_HIERARCHY
> help
> - Support for the Loongson3 HyperTransport Interrupt Vector Controller.
> + Support for the Loongson HyperTransport Interrupt Vector Controller.
>
> config LOONGSON_PCH_PIC
> bool "Loongson PCH PIC Controller"
The series passes allmodconfig build for ARCH={x86,mips,loongarch} with
this, it seems reasonable.
Reviewed-by: WANG Xuerui <git@...0n.name>
Powered by blists - more mailing lists