Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp889091pxb; Wed, 3 Mar 2021 19:51:17 -0800 (PST) X-Google-Smtp-Source: ABdhPJxy3F+UNvUyiVy8xUzCYJCIQ1XfLEBJc89s1T+A+61+Bu8GP9JxEfjV9wL+265uVswfbEa6 X-Received: by 2002:a17:906:789:: with SMTP id l9mr1986642ejc.161.1614829877337; Wed, 03 Mar 2021 19:51:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614829877; cv=none; d=google.com; s=arc-20160816; b=RiGxqB5wVCKKKFp+7uxn3nQQUL0/ZfvA8e/S67wl2cogHPWB+f3tLIFe6SDU6HcInl k0twSRD8Pn3uRN7M2GXsX1WjeCJuPYCCgBTrNu7VdKZufCMagqfbUrO0dqUF/CzqC0j/ srf6oVkcg2Oy35Tpy2TKGo9AHHV5p8MNCAyiu1HPrhFaqKZDsDXR0+ULxaMMjco2xkuS EFkjhodX1C+ExoNyO/kGUGc9RCAKEHDdETjGWSAeCCnHENPG/XOnwn2gA9/ZsUbbmnB/ bA/92HMlGQDg48meBTJvq25Dgi7sV6TE5hcAIR5NIXYs4QGvqWHeAya6cFxMYDJoXwtk ubAg== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=7/nnCpYBDLzz7f+hAeXjjtYN3HW0U0yebpCedZZF2Ac=; b=zIOYcrq+CtZqxhtbN31aZWaDc56GySAAW05adpNsZi+ZmBKM9Fmhj83FUJSiT13mXG HFKHtpIKtCRg2KmNXp5PvMDIGJLIFOZA3/4t9+tWZHXUi8Yz23LOe7gWnCc4SC0XswIV MFrliVu6oPU+75fBbeOHLzZoLSgteg5XbwzR6HYH2i1LJVx2AFabU6FMDjj4Yj9EZJX2 Hk0BnBjpw7f9nG+ULdSvShrEVN2+MSnopWbJ7QjpQuh6CB3wpnVI4u/XPpHPVdu93WqY 62hVVWynseqJRm9VVKGUEzFF0dn9+NAiKLwrTaEf1kuQpW3qaa5TDYhn31JVyVxz9zwh 9SSQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=ec1CBlK5; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e23si16395930edu.203.2021.03.03.19.50.54; Wed, 03 Mar 2021 19:51:17 -0800 (PST) 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; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=ec1CBlK5; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1380219AbhCBBtY (ORCPT + 99 others); Mon, 1 Mar 2021 20:49:24 -0500 Received: from mail.kernel.org ([198.145.29.99]:48628 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241534AbhCAT0p (ORCPT ); Mon, 1 Mar 2021 14:26:45 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 2B80064F48; Mon, 1 Mar 2021 17:14:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1614618888; bh=v1qgq11IQiNc8b4IKEHQ3qeCbnn0O59oU4+m9UbuUIg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ec1CBlK5FoKpwnyymE9wFGmAAyuRR8tJu+lhLj7+gpKUpq/mjjczIhxZD5OoVLawb rwgpNLgtO6OrR6wQt987bZoRFymuPce8Jw9aUDBpWkUZoBN3361EQ1uNWgP7OpYlu9 SvS82rmoPKRk0QTmsQKpsoYh5erEJoD83DcNPgbk= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Geert Uytterhoeven , Marc Zyngier , Sasha Levin Subject: [PATCH 5.10 254/663] irqchip/imx: IMX_INTMUX should not default to y, unconditionally Date: Mon, 1 Mar 2021 17:08:22 +0100 Message-Id: <20210301161154.396226994@linuxfoundation.org> X-Mailer: git-send-email 2.30.1 In-Reply-To: <20210301161141.760350206@linuxfoundation.org> References: <20210301161141.760350206@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Geert Uytterhoeven [ Upstream commit a890caeb2ba40ca183969230e204ab144f258357 ] Merely enabling CONFIG_COMPILE_TEST should not enable additional code. To fix this, restrict the automatic enabling of IMX_INTMUX to ARCH_MXC, and ask the user in case of compile-testing. Fixes: 66968d7dfc3f5451 ("irqchip: Add COMPILE_TEST support for IMX_INTMUX") Signed-off-by: Geert Uytterhoeven Signed-off-by: Marc Zyngier Link: https://lore.kernel.org/r/20210208145605.422943-1-geert+renesas@glider.be Signed-off-by: Sasha Levin --- drivers/irqchip/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/irqchip/Kconfig b/drivers/irqchip/Kconfig index 2aa79c32ee228..6156a065681bc 100644 --- a/drivers/irqchip/Kconfig +++ b/drivers/irqchip/Kconfig @@ -464,7 +464,8 @@ config IMX_IRQSTEER Support for the i.MX IRQSTEER interrupt multiplexer/remapper. config IMX_INTMUX - def_bool y if ARCH_MXC || COMPILE_TEST + bool "i.MX INTMUX support" if COMPILE_TEST + default y if ARCH_MXC select IRQ_DOMAIN help Support for the i.MX INTMUX interrupt multiplexer. -- 2.27.0