Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp1930978ybv; Fri, 14 Feb 2020 08:25:33 -0800 (PST) X-Google-Smtp-Source: APXvYqy8YuDxLPxg2vKBm5axtwMy61863Yct4YKtc7WhkFREtfoOnYya9oEsirZbVeRqTLmO71ov X-Received: by 2002:a9d:75cf:: with SMTP id c15mr2916887otl.332.1581697533328; Fri, 14 Feb 2020 08:25:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581697533; cv=none; d=google.com; s=arc-20160816; b=yMMpsoY7UTuupTI0yfJ+eMTfo9dcQpZYoHUiC5CDHhFloXMDl0S/9fwMVXFqLZ0KYG Eli4Kzg45DR8zbl1fV6x3gKsFocPpYW1pJaRnmCPAkuLUv1Z5rVqYgzw2ZqjBMNarVg4 wBPXYXFlCbzKdRGopJapUkAWALFEEgzNya/h09OEZqwmrgpz71PgFqeXPvzmHwrFnJFz n1IYdQ8IFLcXyVzS96oi5EJW+nPAelEWWcIg/kQm6dr3CYOkaVNpdBlA9KzAK9Zryzs1 YdJlt0rdbtojzZuwFhJEG118hFqksmkkBlyyPjaOkly1rol4ID55VjivxggoymvAZ/Mw loaw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=Q2uU2ek0d54ULpDH/8+5n8Zb8gnT+4ojRiaEFZeNqdM=; b=ApcHH5tXr61RV10IUioNSBvebp7TdOWt2bU2KD2L8SRIRfG04KbVARxR10nnv5s2Ex cko9RyV45hAxqOmqqmqLCs0H5JiM1NKxtQYwPOp6n35WSAMVFAQfZDfvbDvZpJO2vCTd xxSXHU05mXOc6+CXlD9gfGSq0ImGshW+p5rh1oAgDse66XE2M3/+tB7FE7H4FXem1Puf rjTSeK5/nD5ks06D/n+FYFPeJDmLrY3VTlXj5kXo8xyPFmbqcLMt/SA/fI2jF7RGx8qM 12knoQI9Dg0bZ9oX6HKSBSyVumFZ5efuHYIkPSVkpc7WVAP7W80up0EWuQGvaq30FBv5 KtUw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=lARSIb4s; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t184si3082507oig.184.2020.02.14.08.25.21; Fri, 14 Feb 2020 08:25:33 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=lARSIb4s; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2405972AbgBNQYq (ORCPT + 99 others); Fri, 14 Feb 2020 11:24:46 -0500 Received: from mail.kernel.org ([198.145.29.99]:58888 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2393289AbgBNQW5 (ORCPT ); Fri, 14 Feb 2020 11:22:57 -0500 Received: from sasha-vm.mshome.net (c-73-47-72-35.hsd1.nh.comcast.net [73.47.72.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id E646924768; Fri, 14 Feb 2020 16:22:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1581697376; bh=fsw8bX3AiW/+z9HUZPwx9bSyI1oArS/BAj87FAOnCEw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=lARSIb4sZG64xltn/HFUJ8kGIliT0RRtyqYe+o5oKSry326GcXTAP7SshGcgh9F72 QNfoundoHG7tggKOhkpe8eEKw3ctsWU1m1S7bPGf80DNoqBPbVhVNwVTu7gZmHMDl8 t+J8N/Y2Nr0I84zD3eWESKj+XH4d0evQJrxHaMMg= From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Chanwoo Choi , kbuild test robot , Sasha Levin , linux-pm@vger.kernel.org Subject: [PATCH AUTOSEL 4.9 074/141] PM / devfreq: rk3399_dmc: Add COMPILE_TEST and HAVE_ARM_SMCCC dependency Date: Fri, 14 Feb 2020 11:20:14 -0500 Message-Id: <20200214162122.19794-74-sashal@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200214162122.19794-1-sashal@kernel.org> References: <20200214162122.19794-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Chanwoo Choi [ Upstream commit eff5d31f7407fa9d31fb840106f1593399457298 ] To build test, add COMPILE_TEST depedency to both ARM_RK3399_DMC_DEVFREQ and DEVFREQ_EVENT_ROCKCHIP_DFI configuration. And ARM_RK3399_DMC_DEVFREQ used the SMCCC interface so that add HAVE_ARM_SMCCC dependency to prevent the build break. Reported-by: kbuild test robot Signed-off-by: Chanwoo Choi Signed-off-by: Sasha Levin --- drivers/devfreq/Kconfig | 3 ++- drivers/devfreq/event/Kconfig | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/devfreq/Kconfig b/drivers/devfreq/Kconfig index 41254e702f1e9..2ce7cc94d78b1 100644 --- a/drivers/devfreq/Kconfig +++ b/drivers/devfreq/Kconfig @@ -102,7 +102,8 @@ config ARM_TEGRA_DEVFREQ config ARM_RK3399_DMC_DEVFREQ tristate "ARM RK3399 DMC DEVFREQ Driver" - depends on ARCH_ROCKCHIP + depends on (ARCH_ROCKCHIP && HAVE_ARM_SMCCC) || \ + (COMPILE_TEST && HAVE_ARM_SMCCC) select DEVFREQ_EVENT_ROCKCHIP_DFI select DEVFREQ_GOV_SIMPLE_ONDEMAND select PM_DEVFREQ_EVENT diff --git a/drivers/devfreq/event/Kconfig b/drivers/devfreq/event/Kconfig index cd949800eed96..8851bc4e8e3e1 100644 --- a/drivers/devfreq/event/Kconfig +++ b/drivers/devfreq/event/Kconfig @@ -33,7 +33,7 @@ config DEVFREQ_EVENT_EXYNOS_PPMU config DEVFREQ_EVENT_ROCKCHIP_DFI tristate "ROCKCHIP DFI DEVFREQ event Driver" - depends on ARCH_ROCKCHIP + depends on ARCH_ROCKCHIP || COMPILE_TEST help This add the devfreq-event driver for Rockchip SoC. It provides DFI (DDR Monitor Module) driver to count ddr load. -- 2.20.1