Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp767919pxv; Thu, 15 Jul 2021 15:46:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz8VtExc49GASd/5cOiqMtFKh+tmQ3IAtfq+QGR8S/15w2d6NIOUJ0CvxcHJrAru172InTh X-Received: by 2002:a6b:e016:: with SMTP id z22mr4829137iog.187.1626389218381; Thu, 15 Jul 2021 15:46:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626389218; cv=none; d=google.com; s=arc-20160816; b=wBfedCqsx04nFKyx8/3S6gaV51vkeIEm3DheX12u8doHZqju8f+v/N6njszhdSl5uq LVesK4MKwnN0IS92oLs3aNScjKfN8MF6HYBmvNg5rVbdvkdnDz0eMbIdzUL+keMO9hYb a3i1C9I+c0uqP2ThACNEh7sB9owF9U9n0F11n3Gt/KWFjHaGD97lPP1znnemz/ryMx6/ 3lil6CDDKBaOP2AB7F5uzBMxcT6JNrlyFBsBZ9tpN0i/jGAD2+EVWqB5i6+xyjOoSFja lQcWKzScAXfRTF5HIxvq4kPdX/ENKDa42J2cIkdGHNBML2R/NyLyBeUGXTITFsQVGTOV wgmg== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=Q7OBl7IrDXlYfwl/IQbQjcDRKcBsCAbuy4X+zVl9k/Q=; b=BFWRHaH6grQ2BLCKwaKAzSYTHj+W+/z32mxkpZb/IxEqgn8dwtYHxqhNUrU3wxYKKY CidLeFnC7ApHAWddShueWCCKl1Qk3vTEJWByNPRSg0BPY4lpAkFdpiWmAC+ln2UL8inD JfhXysg0EtLTvg7RDcVrEGrJcAPqg8FiRwHNqQFBMv2Qdxji1guDAfzRGPa/Qb8YAHap HlrLhtWsjvrylF/Dd1FKoLPI79hNAXTrO4y0zDZGyBK2fo2wWL4V/rnITooHGOJLwCeT dO6yelBlt7raja+2uDw/YByM4/YqxZl2ipiRmuGW9hJIy/ifCTKW548WN43po2Dlu/le n0nw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e24si7561910ios.25.2021.07.15.15.46.44; Thu, 15 Jul 2021 15:46:58 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231215AbhGOWsG (ORCPT + 99 others); Thu, 15 Jul 2021 18:48:06 -0400 Received: from gloria.sntech.de ([185.11.138.130]:53738 "EHLO gloria.sntech.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229803AbhGOWsF (ORCPT ); Thu, 15 Jul 2021 18:48:05 -0400 Received: from ip5f5aa64a.dynamic.kabel-deutschland.de ([95.90.166.74] helo=diego.localnet) by gloria.sntech.de with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m4A6Q-0005wd-VX; Fri, 16 Jul 2021 00:45:11 +0200 From: Heiko =?ISO-8859-1?Q?St=FCbner?= To: Douglas Anderson , Geert Uytterhoeven Cc: linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: Re: [PATCH resend] soc: rockchip: ROCKCHIP_GRF should not default to y, unconditionally Date: Fri, 16 Jul 2021 00:45:10 +0200 Message-ID: <6289896.mzcYPaeBD7@diego> In-Reply-To: <596ed544412bb45581e9fe42cc519ec5a29ce13b.1626256348.git.geert+renesas@glider.be> References: <596ed544412bb45581e9fe42cc519ec5a29ce13b.1626256348.git.geert+renesas@glider.be> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Geert, Am Mittwoch, 14. Juli 2021, 11:53:15 CEST schrieb Geert Uytterhoeven: > 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 I had the original patch picked already, just not pushed yet. So hopefully nothing changed between the sends. Heiko > --- > 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 2c13bf4dd5dbee76..25eb2c1e31bb2a08 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. >