Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp4303430pxv; Mon, 5 Jul 2021 20:10:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJys96XEwbfbNJLLT0I9fEz2C9HErySZBaU5G4LUgj5zm1XJgALi6HOYwsFqPe6/4l5TNZUp X-Received: by 2002:a17:906:7953:: with SMTP id l19mr16548212ejo.158.1625541015768; Mon, 05 Jul 2021 20:10:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625541015; cv=none; d=google.com; s=arc-20160816; b=jaeqvvETC/gcxFrmxJ0jQdcopzv//7NG7j89rzfHAovV/sGAybSnCF6uJ+xVQC+6Re 0v1FYpyTf0W6gvK50YJoZ3z9zuDK7fmcEfuFBoyLbGnnu+MMIfmYjABdmfg/CakS+y8u y5VNWaiRlTJ5fKu86BcXPEfahGWdodpA7mHQpS/mQcrq4Yr/tJXuBA1RwGrSfuIqxez6 m0c0hviHckVmGOW8C1t3vgjwQ9bIZSu6lRdX0np4u17H9hS4S15rKmoFGf6wgGJ9g3oK SYLar/n4olBKYDDoer1Auln43JpUVJzpsFqCxGLJj1DtXYZzzLmGAS0r+Vfz/UQZ+uFF s8pg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=UCxI93hqU8D05+fhOaLQZjgCDn4tSQR6KYHOk8M7MbY=; b=Cb9rbq1EjfidNUcH4fx5Vjlpm7ZzZAOJmsqwbJakp8F5OCBd4Sn58pz8bIsYdXVEZb sjkEV9qelsXPSVw1kRWMW+SeLTWqZHaLmcRUdoKQXn0dEAj6Fv3PDMaw3HCrITZj63ZI XtYRuoo/na3N/HXTtKgOvvviRiwGpF6+oYZSbxSdIvwlfobkqjbqFDeX1jRb36vH5hJn qx2vfNqWurn1NKNST9NX5R6ZDW/WG1p4A9CyokWGiCOM/5Tq06EPK3DSOuoXietNa91s JRwJFYRd9yv3ud3yw8hM98mpMqgIO2ibV3AlkSTj6ap/T0TJ9N++Ezj031Apn/jzdS4f zqVg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l3si15484088ejd.313.2021.07.05.20.09.52; Mon, 05 Jul 2021 20:10:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229998AbhGFDLd (ORCPT + 99 others); Mon, 5 Jul 2021 23:11:33 -0400 Received: from mail.kernel.org ([198.145.29.99]:39604 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229953AbhGFDLd (ORCPT ); Mon, 5 Jul 2021 23:11:33 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id F06A76197F; Tue, 6 Jul 2021 03:08:52 +0000 (UTC) From: Huacai Chen To: Thomas Gleixner , Marc Zyngier Cc: linux-kernel@vger.kernel.org, Xuefeng Li , Huacai Chen , Jiaxun Yang , Huacai Chen Subject: [PATCH 1/9] irqchip: Adjust Kconfig for Loongson Date: Tue, 6 Jul 2021 11:08:56 +0800 Message-Id: <20210706030904.1411775-2-chenhuacai@loongson.cn> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210706030904.1411775-1-chenhuacai@loongson.cn> References: <20210706030904.1411775-1-chenhuacai@loongson.cn> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org We are preparing to add new Loongson (based on LoongArch, not MIPS) support. HTVEC will be used by more Loongson processors, so we adjust its description. HTPIC is bound to MIPS-based Loongson, so we add a MIPS dependency. PCH_PIC and PCH_MSI will have some arch-specific code, so remove COMPILE_TEST dependency to avoid build warnings. Signed-off-by: Huacai Chen --- drivers/irqchip/Kconfig | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/irqchip/Kconfig b/drivers/irqchip/Kconfig index 4d5924e9f766..084bc4c2eebd 100644 --- a/drivers/irqchip/Kconfig +++ b/drivers/irqchip/Kconfig @@ -539,7 +539,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 @@ -547,16 +547,16 @@ 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" - depends on MACH_LOONGSON64 || COMPILE_TEST + depends on MACH_LOONGSON64 default MACH_LOONGSON64 select IRQ_DOMAIN_HIERARCHY select IRQ_FASTEOI_HIERARCHY_HANDLERS @@ -565,7 +565,7 @@ config LOONGSON_PCH_PIC config LOONGSON_PCH_MSI bool "Loongson PCH MSI Controller" - depends on MACH_LOONGSON64 || COMPILE_TEST + depends on MACH_LOONGSON64 depends on PCI default MACH_LOONGSON64 select IRQ_DOMAIN_HIERARCHY -- 2.27.0