Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4723543pxj; Tue, 8 Jun 2021 23:43:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzJf8QAzQnLhr7pVDlPEr3E3Lr/4Z0WOlCIKV3PjaaKFTKQrhyVI8Xqfi+IbjbdE4PfNn8b X-Received: by 2002:a05:6402:1153:: with SMTP id g19mr29021123edw.179.1623221007234; Tue, 08 Jun 2021 23:43:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623221007; cv=none; d=google.com; s=arc-20160816; b=yWFku74TD9aCOZDvYnxfL0d+qMWhlvyC35xW4Mm43H8+LPDohuhBVuuny3X2JaHSPD Valdts1RwFCxgxGUVHXogVKfQVRmFUkdZHDnMVD1vhB65qt1sIKUJsVs7saEVwFZZHUu V+OAidOpf+J9RBvGLjH/9I5Vv7lqcFbXA2TTqp5EyhZZGNdecMCpB8FAxxr9P416BqV8 RexfKsfbOAmDDZgnLEnN8kn2j77QWUbWW6FvSn0sT6ymSRwS3SSKbNLPe2ldXMuj3lGR yeQ6JuN5BV+ozNRP1vFpikGYOfeXGZ6PbLXdbVIDKKlHn/80D/JcdkSNES3KNT4yTdH4 lgWg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from; bh=CnQJ0MSbmHtCdWdzntmBj29jH9iNNEKj6dHwVj/EvWo=; b=Fh/BjOMF5d4nj//4RBPKtGWi3GqGI9Xum3zexIfBTv4s3RI5JgGLSztzVbUKfydORM +4qMr5Yn/MwuhWpuvWZDxMTrHAS66WjQBs6kWWbdecsUjHrvxvod4SWcPuRoGbZgR2Av HQLjW2pcrawPgGcM8yoSF8dsbXUsILrU/vm0LG6UYRVad23NYU4AGl7OqEodsXMFKHJK Lzi7YPHzcuWK4xxhsEwUX71+AkIxLL794Jb7+LLOPe9O+4UwTMbhT+1SK+7pTCJ9T1E6 rHX6zHolKEOZYQ+P2n5ijHNLHvyvru3bAyrTB3P0Q+bndHdUf6Iyo8N0461yKmhMa47Y 6WZw== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h19si1524803ede.378.2021.06.08.23.43.03; Tue, 08 Jun 2021 23:43:27 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233905AbhFHRye (ORCPT + 99 others); Tue, 8 Jun 2021 13:54:34 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:33261 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S233875AbhFHRye (ORCPT ); Tue, 8 Jun 2021 13:54:34 -0400 X-UUID: 486d4d675717480597efe5b0e4bf2965-20210609 X-UUID: 486d4d675717480597efe5b0e4bf2965-20210609 Received: from mtkexhb02.mediatek.inc [(172.21.101.103)] by mailgw02.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 1986328103; Wed, 09 Jun 2021 01:52:38 +0800 Received: from mtkcas07.mediatek.inc (172.21.101.84) by mtkmbs08n1.mediatek.inc (172.21.101.55) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 9 Jun 2021 01:52:36 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkcas07.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Wed, 9 Jun 2021 01:52:37 +0800 From: Mark-PK Tsai To: CC: , , , , , , Subject: Re: [PATCH] irqchip/irq-mst: Use ARCH_MSTARV7 as default value for MST_IRQ Date: Wed, 9 Jun 2021 01:52:37 +0800 Message-ID: <20210608175237.13596-1-mark-pk.tsai@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <90e2330d-4e7b-17ed-1c63-eafdf6db89fa@gmail.com> References: <90e2330d-4e7b-17ed-1c63-eafdf6db89fa@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > On 07/06/2021 05:59, Mark-PK Tsai wrote: > > Only TV SoCs of Mediatek products have this controller > > which inherit from MStar TV SoCs. > > Don't enable it by default if ARCH_MEDIATEK is selected. > > Instead, use ARCH_MSTARV7 as default value. > > > > Signed-off-by: Mark-PK Tsai > > --- > > drivers/irqchip/Kconfig | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/drivers/irqchip/Kconfig b/drivers/irqchip/Kconfig > > index 62543a4eccc0..30f578e18a11 100644 > > --- a/drivers/irqchip/Kconfig > > +++ b/drivers/irqchip/Kconfig > > @@ -576,7 +576,7 @@ config LOONGSON_PCH_MSI > > config MST_IRQ > > bool "MStar Interrupt Controller" > > depends on ARCH_MEDIATEK || ARCH_MSTARV7 || COMPILE_TEST > > We should also delete ARCH_MEDIATEK dependency. Actually what I want to do is decouple the MST_IRQ from ARCH_MEDIATEK, because there are only TV SoCs have this. But if I remove the ARCH_MEDIATEK dependency, then all the Mediatek TV SoCs kernel have to select ARCH_MSTARV7 too. It's kind of weird. Though it may ask some Mediatek users about MST_IRQ, I just change the default config to prevent that all the Mediatek kernel include this driver by default. What would you suggest for this? > > Regards, > Matthias > > > - default ARCH_MEDIATEK > > + default ARCH_MSTARV7 > > select IRQ_DOMAIN > > select IRQ_DOMAIN_HIERARCHY > > help > > >