Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp466638ybg; Mon, 1 Jun 2020 06:14:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwHHky0T5ogMO3mceOJEUdFlFHV979rXwA9huVTus1EJ221A3kiug1zxkc5fSYHu7juEkbf X-Received: by 2002:aa7:de08:: with SMTP id h8mr21080945edv.164.1591017267419; Mon, 01 Jun 2020 06:14:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591017267; cv=none; d=google.com; s=arc-20160816; b=QohkFipMRGPRgVucuGgRcZqK7FVvm42kg6y8+iFD2stbFirjhC2rW6AjhFq27dqxuW vg0R1YveQbQUdXI03n22w6kC95Wl/tW2es/5bLbElwlMD7jDLIGEiCfDJUyvQ/tgxElk iQH3dc6yQyAnYi1kAEw2ZXaIqTUQDrpo/Pr6ht3APJnF2fXN+xUZh2k7JOMg1E29qPuK NN+wZ5tQgZwDVB5s52kURWZsbqv227GTUVXxi8vsCiviYK7xZ306e/lrmS5HPJB0lFBJ h5oKdQYc6frNUXA63TxPYAxbb9KjX2NPMlkThwnvNTnLS6etShpH4kWIg7fyohhAAUs7 vfwg== 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 :robot-unsubscribe:robot-id:message-id:mime-version:references :in-reply-to:cc:subject:to:reply-to:from:date; bh=SqADZiS0gS+Q/kC8QmQ8YEDU2mX1YTcdUbLO8Hxn0Vc=; b=W78isEWacHn8qaw0iM4567bFxVKTS65e1gqGyEkpB1fGeas3xLGl9w4ik3gkL5Oni2 5jakrWb8a5gCY2qaL6acu+CmaF31lyPcmd3XnM8OGgsusjZDF152E95negh9NlutopDc jQ2BNPIWoza0yURZIpxDQf2XAy/9iOXrbuN4lNC9THM7iYrVb6bQhUn1CwAM3gI5Lhfg fgmKdbSbgS1j/8/NGRAJn0R3/KBINGDaWYdgnq29Fg0IhW8Rx+DjG5/h4E6ag0lIpMDJ SehY+pgQeHA7yqR71OTD+O3gk86weiy6eCdwlxJcusCW+w0cm4wFjT51AFn6s7q+Gd+o uDjA== 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 n21si4872615edy.133.2020.06.01.06.14.04; Mon, 01 Jun 2020 06:14:27 -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 S1728097AbgFANMH (ORCPT + 99 others); Mon, 1 Jun 2020 09:12:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48238 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726232AbgFANLv (ORCPT ); Mon, 1 Jun 2020 09:11:51 -0400 Received: from Galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B862AC061A0E; Mon, 1 Jun 2020 06:11:50 -0700 (PDT) Received: from [5.158.153.53] (helo=tip-bot2.lab.linutronix.de) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1jfkEG-00078v-Iw; Mon, 01 Jun 2020 15:11:48 +0200 Received: from [127.0.1.1] (localhost [IPv6:::1]) by tip-bot2.lab.linutronix.de (Postfix) with ESMTP id 35C8E1C04CE; Mon, 1 Jun 2020 15:11:48 +0200 (CEST) Date: Mon, 01 Jun 2020 13:11:48 -0000 From: "tip-bot2 for Rob Herring" Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: timers/core] clocksource/drivers/versatile: Allow CONFIG_CLKSRC_VERSATILE to be disabled Cc: Daniel Lezcano , Thomas Gleixner , Linus Walleij , Rob Herring , x86 , LKML In-Reply-To: <20200417212045.16917-1-robh@kernel.org> References: <20200417212045.16917-1-robh@kernel.org> MIME-Version: 1.0 Message-ID: <159101710808.17951.219389445205607645.tip-bot2@tip-bot2> X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The following commit has been merged into the timers/core branch of tip: Commit-ID: bfed0eded1ce00bda5cc2d2939b017f88e6b1fd0 Gitweb: https://git.kernel.org/tip/bfed0eded1ce00bda5cc2d2939b017f88e6b1fd0 Author: Rob Herring AuthorDate: Fri, 17 Apr 2020 16:20:45 -05:00 Committer: Daniel Lezcano CommitterDate: Mon, 27 Apr 2020 11:33:44 +02:00 clocksource/drivers/versatile: Allow CONFIG_CLKSRC_VERSATILE to be disabled The timer-versatile driver provides a sched_clock for certain Arm Ltd. reference platforms. Specifically, it is used on Versatile and 32-bit VExpress. It is not needed for those platforms with an arch timer (all the 64-bit ones) yet CONFIG_MFD_VEXPRESS_SYSREG does still need to be enabled. In that case, the timer-versatile can only be disabled when COMPILE_TEST is enabled which is not desirable. Let's use the sub-arch kconfig symbols instead. Realview platforms don't have the sysregs that this driver uses so correct the help text. Cc: Daniel Lezcano Cc: Thomas Gleixner Cc: Linus Walleij Signed-off-by: Rob Herring Reviewed-by: Linus Walleij Signed-off-by: Daniel Lezcano Link: https://lore.kernel.org/r/20200417212045.16917-1-robh@kernel.org --- drivers/clocksource/Kconfig | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig index f225c27..9c2d72b 100644 --- a/drivers/clocksource/Kconfig +++ b/drivers/clocksource/Kconfig @@ -562,12 +562,11 @@ config CLKSRC_VERSATILE bool "ARM Versatile (Express) reference platforms clock source" if COMPILE_TEST depends on GENERIC_SCHED_CLOCK && !ARCH_USES_GETTIMEOFFSET select TIMER_OF - default y if MFD_VEXPRESS_SYSREG + default y if (ARCH_VEXPRESS || ARCH_VERSATILE) && ARM help This option enables clock source based on free running counter available in the "System Registers" block of - ARM Versatile, RealView and Versatile Express reference - platforms. + ARM Versatile and Versatile Express reference platforms. config CLKSRC_MIPS_GIC bool