Received: by 2002:a19:771d:0:0:0:0:0 with SMTP id s29csp1276101lfc; Wed, 1 Jun 2022 13:56:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz3Hgx4O09k8IUhMqK1valLlneAja/6Nfdy2Vy5pKMrOZEhDjQkzqkyLbAjMpGlp3SFehIV X-Received: by 2002:a17:902:d481:b0:161:d49e:3015 with SMTP id c1-20020a170902d48100b00161d49e3015mr1241097plg.105.1654116969117; Wed, 01 Jun 2022 13:56:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654116969; cv=none; d=google.com; s=arc-20160816; b=XHj6njfwdrc8VpBzVGqMIUGl4vOicD/7DIPZsrqYhGHu1Tx0FKBfpk4oNMLkKUH89p Q82UC+BaAV0IkIY6vDk1LFgiHGqQlMo/gS5Dk8KFVr9WBHUSnBhLjkaHj7MubZmM3lWI C54m+McAWoXxtzVXbh61kjD8eX46OcIhp9i8fbKWoubP8Sj/sl5DpXQRw0s+d5tbQix8 YtdYt3y8swox5HkdEhWQZWfTpWjPAo/FuiyqCicq3v3w1Dmx3cyfYCf6JcTRSTUd9W/Z 90qltZq6BZEWNDCk025DYkHDS7MqEvFHdQ3g4J4XkALFs3acpZsUCeF+0EaHHIoitAv9 eGsg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=+2R1LpG4oiW2IdaWUzdKzc2TOkJ1+LYIEiHTV7b05oo=; b=JF/mpn0yGB+bf4hlZ2nz9TqjahylpYNQa+rwTq4XalRjpxkm9jt1iMTGiLC9JZtkCr 8W5Wttr4lsY8IuvQdN9IE+YYXbolxJOxEm5frh5s1EhyLSRcxasmjj+lzlO7MM9yPoJL ME4qGqCKRkvfdxWdckLyJmRWQyMGedvnYl5p7NXxM5KYNX5KYc2fnS585d17OmGM71WG cLQnZD1kE3r+BAN7Fb9S7FRt2BmHbT+yO1hNKfj+JccEj6ca7Qq43DVkp7j64IRwlG8s F4Hqe9e8JlI9YgU+pmEQbpJFCG/RQNRx+A2WRHVf890FekPYl/H0dJGyWQhD9P5kabpk YuXA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@xen0n.name header.s=mail header.b=ga7BVFJm; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id j10-20020a63fc0a000000b003fc6963aa0esi3493957pgi.826.2022.06.01.13.56.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Jun 2022 13:56:09 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@xen0n.name header.s=mail header.b=ga7BVFJm; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id AAAC829ADDA; Wed, 1 Jun 2022 12:57:19 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1352085AbiFAKga (ORCPT + 99 others); Wed, 1 Jun 2022 06:36:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59008 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1350938AbiFAKg1 (ORCPT ); Wed, 1 Jun 2022 06:36:27 -0400 Received: from mailbox.box.xen0n.name (mail.xen0n.name [115.28.160.31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0F2447CDD0; Wed, 1 Jun 2022 03:36:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=xen0n.name; s=mail; t=1654079782; bh=Az6LaeM91P9NnWYSF0KdOPJoEbnukU3RI4Bg3h7Zqyw=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=ga7BVFJmTmsYIwgEi5aRccQn30NZX/8mXfj2P/c5DHANWGC2v4PPgwG2IrBtENNN+ bpSnk3X/YTUHJm+lvvvZi+0tS9OdaE+wymM46SB5wGbo8qSJIkEwTngNdD31tnKiwa M7aLpoEiorGTgs/s5fuR7HYTCO40dLoSTmwW0Ea4= Received: from [192.168.9.172] (unknown [101.88.28.48]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mailbox.box.xen0n.name (Postfix) with ESMTPSA id 8F03C60104; Wed, 1 Jun 2022 18:36:22 +0800 (CST) Message-ID: <92cb9e21-b48d-bf74-af71-b180600ad792@xen0n.name> Date: Wed, 1 Jun 2022 18:36:22 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:103.0) Gecko/20100101 Thunderbird/103.0a1 Subject: Re: [PATCH V12 01/24] irqchip: Adjust Kconfig for Loongson Content-Language: en-US To: Huacai Chen , Arnd Bergmann , Andy Lutomirski , Thomas Gleixner , Peter Zijlstra , Andrew Morton , David Airlie , Jonathan Corbet , Linus Torvalds Cc: linux-arch@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, Xuefeng Li , Yanteng Si , Huacai Chen , Guo Ren , Xuerui Wang , Jiaxun Yang , Stephen Rothwell References: <20220601100005.2989022-1-chenhuacai@loongson.cn> <20220601100005.2989022-2-chenhuacai@loongson.cn> From: WANG Xuerui In-Reply-To: <20220601100005.2989022-2-chenhuacai@loongson.cn> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,RDNS_NONE,SPF_HELO_NONE, 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 lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 > --- > 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