Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp1617926ybv; Fri, 21 Feb 2020 00:23:07 -0800 (PST) X-Google-Smtp-Source: APXvYqzAdvK6FugegpSAeV2ZEMxbYi4ctr6Yy2q3JUPlO//pmNTkvAwV6Mr/bfiOJNKuz8tXmlq3 X-Received: by 2002:a05:6830:11c8:: with SMTP id v8mr24946885otq.330.1582273386913; Fri, 21 Feb 2020 00:23:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582273386; cv=none; d=google.com; s=arc-20160816; b=dlgZZWnm++UWTMuATqzvH4c44PKtv6vawh8QTwY6DkDsAIVcNK/C0P4qeaSp30SlEa kcwsyD1pti9DDFr4uoDqeqj4J2kv25M/aPb6lSaxMdKXmnKrKTMOgbocTxiqrnGEpPst R+wySpTPad+VvHkdZ36prm015k7pKQ21P4jvwWESpsO6QZXvHf0hKMiBTbPSdwLi7gE8 ouSlClr9nUMCmQfxU12KZSL83/LVEJsv/WuoU5GnlQmjkSAPNSVCrnoYZAtXUM8uvg2x GhK/xjIcfh8LVsj5/FZx9Zxb2ZHXKP/7C4mbbzmo9G+I8D2hbs/5EY4GoUac1arsmxL2 XHEQ== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=HnQa65RWuFK07rCT+ezsufMTlRAHIbBajZClbY0uWKs=; b=Ixf9wOu948H6ng3HfQ66VnKbd8ctgrXaMxJ9c0Khr00tjnn3tP0y0QxCXBipaDy69d AYgfu1GrpntpNCZgnpDpmg1NrB4nBx0fmBfhHAuGxYneix04eXvvRHxzGWeiLKPHiCx6 0d6hzKo/ODg+dpt2Q74a4c1BkW/a1WBJj14QCqAnc0Es6cXc9dOs47LGGq1LOhezRBdz irUbQCojAQDJismRvnau8HoINpaEAsC4cGdkuy7OhdvWItgsAPW8wi9iL0Plh8X/9LJJ rDnmGk52Rwghhjh9Eym3UjNVf85I8Gv+gtTRDufcqjgRWLLzfz3ccLSBthTqHxvpokAk qzGg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=PtgyoEgD; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t7si1129486otl.133.2020.02.21.00.22.55; Fri, 21 Feb 2020 00:23:06 -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=PtgyoEgD; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387811AbgBUIWI (ORCPT + 99 others); Fri, 21 Feb 2020 03:22:08 -0500 Received: from mail.kernel.org ([198.145.29.99]:33560 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731128AbgBUIWF (ORCPT ); Fri, 21 Feb 2020 03:22:05 -0500 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id C8AC024672; Fri, 21 Feb 2020 08:22:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1582273325; bh=MoUzBAvRtBWq8Ndubur4hy59jRiTGFG7/mRJIg9KZ+E=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=PtgyoEgDYvdTvLRAp89duVZV1LTw1K3IUucPKKb6CQyOACubHKcujvBMRCRZLKxgb 7aUFyR5Vo1XepiN8LpzpjGerN7qu8qMI6KvG2qaj2Na7ldlh34HziHfnYxdGRO3VFj t4aMQB1OFuF30Bv1vtHaIbj6A5fe27glFdCG0qd0= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, kbuild test robot , Chanwoo Choi , Sasha Levin Subject: [PATCH 4.19 090/191] PM / devfreq: rk3399_dmc: Add COMPILE_TEST and HAVE_ARM_SMCCC dependency Date: Fri, 21 Feb 2020 08:41:03 +0100 Message-Id: <20200221072301.876392760@linuxfoundation.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200221072250.732482588@linuxfoundation.org> References: <20200221072250.732482588@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 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 6a172d338f6dc..4c4ec68b0566d 100644 --- a/drivers/devfreq/Kconfig +++ b/drivers/devfreq/Kconfig @@ -103,7 +103,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