Received: by 2002:a05:6a10:6d25:0:0:0:0 with SMTP id gq37csp1839456pxb; Mon, 13 Sep 2021 06:41:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxPOMQLbzRITDtYGIcHB+rjpuIhdEawHkQwTU8A/PlAieRD/2bKOxyPAts/GDbsuTlPYkWd X-Received: by 2002:a6b:b883:: with SMTP id i125mr9210255iof.144.1631540488359; Mon, 13 Sep 2021 06:41:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631540488; cv=none; d=google.com; s=arc-20160816; b=JUe3kFYpGSY44ywc7e7GeyBQq3R0NwXpLy4Oh9pkVjuenRTIVodjOSo6TAIzGN87kO qyD6Z9cKqepMlYgAj5v6Sk9G7fxtnCagZK1i6II56V9PMjkgFMDxxcahiv1YZZzhmDHw lU9og6fe+hH8K7Mc6YrAsmsHZ5ImbogU4+xnAQXWa921ortzQvs97sO0k0jSzJ9HfpPC zvDRMWLWyjH7bRrC2YrfwQDCyjk1GhsBlgonTpLCl036Q/Nqmq5uIxyqqjOdrTi2eYr5 OuWbMTDnaa8BNyIoYv0+s2oIjxUXt4yZD7mX67QqrroAVgBvbxOMAHlumwQdDk6Du8Jn KPlg== 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=U5407hgBmvfPdSeEQy3M3i1636okJftc9/kYcIKlGkpMHImXdX2TBdcmixbLRAI3hc +5r0Zf9AjktaXWVaMO+I0RhLUrFL4hR5tstVdmjFqDCr3MWHNSf2N/v1Qg+CzGvtaeBq CpYOFXYWF28AuOWjS5ZVGjE2rZg+LBd6S4u9trH9lwjS2u3fv1COANLuyAJhLfATKtyM yfQtlLW1qxdqKJSZNwYVlCRz+BcSfMuUps989X7momxOjMVRjGrPIUO7RnUJxv95MN0M /t1g2INkavSfLruC7wyvkyRVls0p88G96ZO8kXu84odWpc6M7vevzLKUVQu0OtpjvmNs R3ig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=wzGz31KK; 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 d7si25436jaf.9.2021.09.13.06.41.16; Mon, 13 Sep 2021 06:41:28 -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=wzGz31KK; 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 S243533AbhIMNjh (ORCPT + 99 others); Mon, 13 Sep 2021 09:39:37 -0400 Received: from mail.kernel.org ([198.145.29.99]:52252 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242136AbhIMNcu (ORCPT ); Mon, 13 Sep 2021 09:32:50 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id F1B2C6137B; Mon, 13 Sep 2021 13:26:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1631539565; bh=1VXBVvNetuXlJk82OA7vs8pw7noTjRKAtVboEjdwNn0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=wzGz31KKXavtVfmYG7yWlg2v4z+uaBMSOTPfAXh86lms/5H4aEIXOJCFD7Fqb0C78 wJcb949uBlp+ds1pLV8QHCWIkerkXKrs40PLOqJUQ1ssmrh3SN4zpx+PDS+tNf5E90 tuX0kbRB965D0ydr1/ogCsja8nH6WeQJzkPWLkwA= 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.10 074/236] soc: rockchip: ROCKCHIP_GRF should not default to y, unconditionally Date: Mon, 13 Sep 2021 15:12:59 +0200 Message-Id: <20210913131102.878076888@linuxfoundation.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210913131100.316353015@linuxfoundation.org> References: <20210913131100.316353015@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