Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp773847rwb; Tue, 4 Oct 2022 10:24:25 -0700 (PDT) X-Google-Smtp-Source: AMsMyM52WaRQp0yVoK3PMY1v9qcTvfqcGtmP5NCindJH7jwH8740br1//A1rjo4N3/cPytFgvG0A X-Received: by 2002:a17:90a:988:b0:206:d3e8:cac6 with SMTP id 8-20020a17090a098800b00206d3e8cac6mr703476pjo.217.1664904264881; Tue, 04 Oct 2022 10:24:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664904264; cv=none; d=google.com; s=arc-20160816; b=pIJGIQbgqU+AnrrSwXc7kMDXJKc8GkV9SdNA+tBukNxBI1Zwdn0PF8v5xxxDb+Qi+6 BUO21zzOvUwvhFzghbcj+jwPOrH1DPa0Nx7ByBbJI5ZgvMNz0jOThnxbrBOy4JsEGOdt fTDs9U04r6sZNQhKZUv33ksEOncn4GYkBRMoTt+RjkVrTiuycONEzFhYb8be1WnLoyT/ ZT5o5yElCIG5UZEMJDlKqNycGOF5OeNKaao8kehBBFmt9dq5iGOEULOj/qX5gC/5I31L hZn099aGvHBnZPoEjDDziZNjQX7qTxLvfMP4f0LMOB8PorNuiiGU/SylnAz5pZxhXMO8 +qwA== 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 :message-id:date:subject:cc:to:from; bh=owvB4qGBCOPPG+OKwIxTbzGAjxPU4UhLgGmpblsNN7M=; b=fWfFW0BpEGi6Tv2fOQBRJNmtETXJRvLHcFrB+4Kfmrk0Soly71bRYCDUCf06oztw4g GH2YBYTg2IHjeCfGkOKvff3oBkcwpfaRKIMRAqXTmEbi9xT0sRoJwqJorKA8yPArMOIU PVnAoobJryLg90URXY4UoFHSN2PUPnZSW7XA7D4GXae1hq9p76g9a99TCvNHATZon/6E eDrX0qo7rIfW8Ze/Gf751E4NFMvEXii1C/qLxQofnH4Z0C88a98USg7+yt2AwAN3sCi5 MRmEYtOhUMhrx+NnyzehoYRX7MoW16z0YqlM+vdT0RXvQFml5C5C+LmE5HFZeDQmKT3c nPAA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j19-20020a632313000000b0043c9bcb71eesi14724657pgj.548.2022.10.04.10.24.12; Tue, 04 Oct 2022 10:24:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230074AbiJDQXC (ORCPT + 99 others); Tue, 4 Oct 2022 12:23:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59092 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230050AbiJDQWk (ORCPT ); Tue, 4 Oct 2022 12:22:40 -0400 Received: from michel.telenet-ops.be (michel.telenet-ops.be [IPv6:2a02:1800:110:4::f00:18]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4FC3E647F4 for ; Tue, 4 Oct 2022 09:22:36 -0700 (PDT) Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed50:e15b:43db:96f7:952f]) by michel.telenet-ops.be with bizsmtp id TsNY2800D2GKRF306sNYtA; Tue, 04 Oct 2022 18:22:35 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1ofkgi-000hG5-7o; Tue, 04 Oct 2022 18:22:32 +0200 Received: from geert by rox.of.borg with local (Exim 4.93) (envelope-from ) id 1ofkgh-007ycG-Q4; Tue, 04 Oct 2022 18:22:31 +0200 From: Geert Uytterhoeven To: Thomas Gleixner , Marc Zyngier , Frank Li Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH] irqchip: IMX_MU_MSI should depend on ARCH_MXC Date: Tue, 4 Oct 2022 18:22:30 +0200 Message-Id: <7f3bd932614ddbff46a1b750ef45b231130364ad.1664900434.git.geert+renesas@glider.be> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.3 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_NONE autolearn=ham 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 The Freescale/NXP i.MX Messaging Unit is only present on Freescale/NXP i.MX SoCs. Hence add a dependency on ARCH_MXC, to prevent asking the user about this driver when configuring a kernel without Freescale/NXP i.MX SoC family support. While at it, expand "MU" to "Messaging Unit" in the help text. Fixes: 70afdab904d2d1e6 ("irqchip: Add IMX MU MSI controller driver") Signed-off-by: Geert Uytterhoeven --- drivers/irqchip/Kconfig | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/irqchip/Kconfig b/drivers/irqchip/Kconfig index a0c30c86087d0e97..2ec500e12ab62cd8 100644 --- a/drivers/irqchip/Kconfig +++ b/drivers/irqchip/Kconfig @@ -484,14 +484,15 @@ config IMX_INTMUX config IMX_MU_MSI tristate "i.MX MU used as MSI controller" depends on OF && HAS_IOMEM + depends on ARCH_MXC || COMPILE_TEST default m if ARCH_MXC select IRQ_DOMAIN select IRQ_DOMAIN_HIERARCHY select GENERIC_MSI_IRQ_DOMAIN help - Provide a driver for the MU block used as a CPU-to-CPU MSI - controller. This requires a specially crafted DT to make use - of this driver. + Provide a driver for the i.MX Messaging Unit block used as a + CPU-to-CPU MSI controller. This requires a specially crafted DT + to make use of this driver. If unsure, say N -- 2.25.1