Received: by 2002:a05:6a10:6d25:0:0:0:0 with SMTP id gq37csp1885105pxb; Mon, 13 Sep 2021 07:31:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx5CNTAFSoLPcUR4t0nP7QqR105TCpCLMNcGmH6ls0DXhN4HLMpTW9uEZsUEgjytqeNgQfH X-Received: by 2002:aa7:ce14:: with SMTP id d20mr13343980edv.132.1631543489945; Mon, 13 Sep 2021 07:31:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631543489; cv=none; d=google.com; s=arc-20160816; b=v+FhIh/JKxc260i8eApBuorjZAIcm1V7lmKX9GVTJiLCi3Cgo//vRw8/rTfw7WvWbJ OYwDAdhk5tjXy+vJK2V3JYMxGdy9wtoj2zuIeFwzeWA7AU1PJUVzwWCe2o78iqEE9dSk DjBNPiofuArVkFS9zCsWbSPcMLBe/e4+pKSAA+2fbRBhDkfgiD2+Ii2BK+/SqyERnngJ V/4W0HTblfJsEqWFoQoKBW5i/ugX+/2zug1Xm9KT0UfXApvshIJ6b1F14xvv842qE63e rrsnjTSdocpT7r1CbeyZE0hWmfoZwSK7//PrejLJTDnXJEr66tgrMrnxYBV0/fNmfs0q KDeA== 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=HgS7V3HAiyphLYA/iMooY0qhwO01AQ9N7FCT3Lw12DSsAPdEw8WUxDLWzLJ3AkMbii hVohEatW6OnAxb9eS9yUnssIlUczVmo6gPpkH4zhBgtX1muxCsVekgwpllplqL6TI9XD wmuGvQpnC3+cFg2iLPPQmP+mWJAs+kUTuxTII+maczVkP9ngrNeL83nHuIwo571fi7eS hEIu1jF8txj+LTbg10mKJSnCCfBOUvN1XlfqmCb6OPg0x8h8Rlo+mkFGguhX0pPKWBk7 hyaGFl3qjdP8Kb34aH8ieu+rOeufwZ6EA+H61Z/Ydv8K094GClSZNQysdhqmzewI4WSz uXFw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=BSBC32eZ; 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 h14si9541856eje.410.2021.09.13.07.31.04; Mon, 13 Sep 2021 07:31:29 -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=BSBC32eZ; 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 S1346927AbhIMO35 (ORCPT + 99 others); Mon, 13 Sep 2021 10:29:57 -0400 Received: from mail.kernel.org ([198.145.29.99]:46196 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241021AbhIMOZX (ORCPT ); Mon, 13 Sep 2021 10:25:23 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 4420861B4C; Mon, 13 Sep 2021 13:48:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1631540926; bh=1VXBVvNetuXlJk82OA7vs8pw7noTjRKAtVboEjdwNn0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=BSBC32eZZInMnZW0UPEJboD83ZrMmlHzirSkssrn+sThVzcJyFW3mLCjvNOvrO3U3 ePfwG5BVU8mfj+2pdlDjizLiNj7X25Tgltbsw1/X68qnRc/oZcm//w9+V07V9PZMZL Mctf0oHITnaPaa1QGnv6cL3XwpAnSft0IK3c+7jE= 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.14 090/334] soc: rockchip: ROCKCHIP_GRF should not default to y, unconditionally Date: Mon, 13 Sep 2021 15:12:24 +0200 Message-Id: <20210913131116.428688751@linuxfoundation.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210913131113.390368911@linuxfoundation.org> References: <20210913131113.390368911@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