Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp150537pxb; Mon, 13 Sep 2021 15:35:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxThxN5TQ5Vv7FsF/aW1+nt2GW3vhPxwgbnVRtY/bDanlzWxILzJYG5WmJQf+Reeo0qMjPY X-Received: by 2002:aa7:dc15:: with SMTP id b21mr1369920edu.221.1631572517417; Mon, 13 Sep 2021 15:35:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631572517; cv=none; d=google.com; s=arc-20160816; b=y299u00433kjApx8zzamizDQcxSpksU7lYcT/E05Eq8nChvSGUR1aJ80em/l0v9Mc0 Gl0K6pjuA+oKXSF7V3BgQt1tqoywhOUWM41wEQc051eba1MJtL7FB94t+Q7pm2B2nqxp HxoQ+79D1lQPnYtsYynvGDP+jr4nSfl+nu8E1UZs53Z7nkNQ4n0MDu9nLPX5igymSPmd XISSPizT/ANql1fR+NOud71z3ymh6QhgexmwOuHaSsQN8F2th2HO0R7bbp60MQn/QHTb 5xjF94RUyGW4fDlWlqbrcl/rnZcaH28YvW33TkUZ63cgQjwU423rsqKL4F8XQ2iBlNJ0 tQtA== 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=T1VG4lHQKUhmHeqG38Ds5naTUtXMER1yk95ngA/Tewc=; b=OLky189SMLdEpVy8CF2Z6AgcXa/TaNGYIVTSDF6CzYF4t7B9AA/pcfQI1scqbFQAhE aBKbxITz6b+2Rdw3DjI140t80NIOnyyjn6SG9pGzLiqCoziYzYRe1nTbxQ3/458XJNvK STnlGh5h0YGu4zIZlz0xkd5TPgg9zt66MEywst9M08HmMwxzDDjRfe9gxsLh8xWrB6aO JKqECBoRDMh4dB1xKmEOwrPWX0OcYvn+7Leg4Y86OnIJue3mIc6B15xVsOjHVdgD81hH HdU4ALMWtbn3b9OUIqOcsr5otSKN9XbeSNivBThCYzlkt+NxiJfWbVvB3pjwFP6kjwlj 4s8Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=Au8i8fhR; 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 16si9127387ejj.242.2021.09.13.15.34.52; Mon, 13 Sep 2021 15:35:17 -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=Au8i8fhR; 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 S242780AbhIMOAK (ORCPT + 99 others); Mon, 13 Sep 2021 10:00:10 -0400 Received: from mail.kernel.org ([198.145.29.99]:40464 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244467AbhIMN5m (ORCPT ); Mon, 13 Sep 2021 09:57:42 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 108C661A03; Mon, 13 Sep 2021 13:36:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1631540188; bh=1VXBVvNetuXlJk82OA7vs8pw7noTjRKAtVboEjdwNn0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Au8i8fhRcQYu7cKgE7a/Xe2Bwh2FrgeCZT+bWbUsppGHB60tEw5T2aFB2J3Y4Bdt5 GpQ0HPy2rdtF7l0/gGCgWM25DmqsQ/yejzL88rnMPDoIv/oEPmibfTjOuaOMJ9jLpY OIt2FlYJfi890r26ZziZ2InIRc2kgNe+JO40nagA= 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.13 087/300] soc: rockchip: ROCKCHIP_GRF should not default to y, unconditionally Date: Mon, 13 Sep 2021 15:12:28 +0200 Message-Id: <20210913131112.326946812@linuxfoundation.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210913131109.253835823@linuxfoundation.org> References: <20210913131109.253835823@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 2c13bf4dd5db..25eb2c1e31bb 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