Received: by 2002:a05:6a10:6d25:0:0:0:0 with SMTP id gq37csp1823396pxb; Mon, 13 Sep 2021 06:22:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyLbEm6wSwZVbmpTGTX1pza+G9jZoDSiHO9LKOqOuo88czdGmxYpGcHVISpvH84/Thi9Ytz X-Received: by 2002:a92:c8c3:: with SMTP id c3mr7507552ilq.43.1631539328035; Mon, 13 Sep 2021 06:22:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631539328; cv=none; d=google.com; s=arc-20160816; b=r4GOcq7KBH84qHAFwzoxxdNaXmxf3Mg366Hkca1hZzW4miP7RlRwEmcXeycXCrNNDa Y30xeHi8IsAYqQTwDWwJ3F7AOnYYDMLayBTxXEw6jIZGXhWAHzl85lPzz8Mi5II45Csu NG9DiQe4LmLEqXvq2Ei6hLOvTj4dCP8uoJ777CEIFicGQbPip9UiijR/SabAGr9zzHfR nb6S/O0xZ6NmVzfcjEQ0Zex8+Gucx7GEOL1CvRCXLOQKn+mWLC5I061/+UoL/Z6QfJ1S /M7TdQ1oxseKu+Hk84MRwgvq1jH0t/G3Fz1OrBsN8dbQlRwMeyQMO7tIdcBPagIpiOe/ LCag== 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=ketCe3fWntR/LkrXbYlxLU4ySO2suWzBxWj11iV5Nvk=; b=zfEI9HbGzKWRugzTWghAD74XUiNnBf8H4LMXvy6OypKRZcF7GgimWx/znYPAX4Ul+D VbvaSfExv+KWhWAWuoovjyX4d76cSEJWd424osQUllo3oHuNadhXh+yj3v/qtMRfRqNc 0ZIH6FgkFOqelKW/wXIxSxHRhq31tywubIGLam67gg47rT82P1PrV7PxyuWEp3CLYNN2 NRBZPb8Nd4LxdGvFg8Vg2rD8zuYCNe/Z8VzrCxvlRSphV+LxVrGvatnqvFkcwO2neSNa PRhBgVnGgaORYmZr0q3xKqBDX+EHscwwBuiR2dIIULbke/Wics2MeDb9NuOX0jtzwUFw S7HQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=KqlebcFC; 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 j11si6003732ile.34.2021.09.13.06.21.55; Mon, 13 Sep 2021 06:22:08 -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; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=KqlebcFC; 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 S240798AbhIMNVi (ORCPT + 99 others); Mon, 13 Sep 2021 09:21:38 -0400 Received: from mail.kernel.org ([198.145.29.99]:35046 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240354AbhIMNU2 (ORCPT ); Mon, 13 Sep 2021 09:20:28 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 323BF60724; Mon, 13 Sep 2021 13:18:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1631539119; bh=UO0f66ZVfx4umBUMe1TbHGW7Eyus0SHop3q2Y/7rM2Y=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=KqlebcFC9siaH7l2w/qCCdBtTqwIHf+FOCHdlfN/ZEkjvg0KxyLe7uMXyW9FjrmR9 BC74zOcB//JZ4Br5NUDeyW4sCCWxLUJhIYeS0ZvetOLxkQi0CHldpN1WJ3c/wK0LgF ZcLCLRjJ3qc78oyEM7Ptj9MdW1ItTcWOWlCIW81Y= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Geert Uytterhoeven , Heiko Stuebner , Sasha Levin Subject: [PATCH 5.4 048/144] soc: rockchip: ROCKCHIP_GRF should not default to y, unconditionally Date: Mon, 13 Sep 2021 15:13:49 +0200 Message-Id: <20210913131049.549252957@linuxfoundation.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210913131047.974309396@linuxfoundation.org> References: <20210913131047.974309396@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 2a1c55d4762dd34a8b0f2e36fb01b7b16b60735b ] Merely enabling CONFIG_COMPILE_TEST should not enable additional code. To fix this, restrict the automatic enabling of ROCKCHIP_GRF to ARCH_ROCKCHIP, and ask the user in case of compile-testing. Fixes: 4c58063d4258f6be ("soc: rockchip: add driver handling grf setup") Signed-off-by: Geert Uytterhoeven Link: https://lore.kernel.org/r/20210208143855.418374-1-geert+renesas@glider.be Signed-off-by: Heiko Stuebner Signed-off-by: Sasha Levin --- drivers/soc/rockchip/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/soc/rockchip/Kconfig b/drivers/soc/rockchip/Kconfig index b71b73bf5fc5..785990720479 100644 --- a/drivers/soc/rockchip/Kconfig +++ b/drivers/soc/rockchip/Kconfig @@ -6,8 +6,8 @@ if ARCH_ROCKCHIP || COMPILE_TEST # config ROCKCHIP_GRF - bool - default y + bool "Rockchip General Register Files support" if COMPILE_TEST + default y if ARCH_ROCKCHIP help The General Register Files are a central component providing special additional settings registers for a lot of soc-components. -- 2.30.2