Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp2224050imm; Thu, 18 Oct 2018 10:59:06 -0700 (PDT) X-Google-Smtp-Source: ACcGV63G8z7wv0mdrDVS+88Syb4Hd5VNkHMszBFUNDLle9Eng5XMkGbxKYAcQ2HXAf3uwERpvkPP X-Received: by 2002:a17:902:708a:: with SMTP id z10-v6mr2235050plk.330.1539885546212; Thu, 18 Oct 2018 10:59:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539885546; cv=none; d=google.com; s=arc-20160816; b=oORGmN/UhJ71T5zrfr6DB09CBN/zC1z1KCrzJEneUfApCWOByZeSjZ0H9bGeyt+HWI UNgfT5AQzcJqL30+LJbNvWy2lBqUrDgCX+/NhHiQN6xlaIyCdeUaY3Fwi8qxskBqML2m UG79AV6vj0FoEikhPeR0LeR5u72pBcmytumSd6xFB0NtYXWwDGvdeBrsDEV20AIqbIyl fEdtlIOknXK0ZAiW8aIkcUQuCV8rsCn25DW29pYD00DzamFDSCb4RyM2lV9tm8y3QaSC BguAHZXrAekIkMk+1wDaBmgiJ7mYoLcFqwff3tGNXxihR6R1ZVIdgtnWEWcH242VkeeS iDLw== 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=ucfkj0Rog5GNcmKFrYhBCilik80xvP3R6dn8G+TiBWs=; b=FU9U9ks37QlA+42EvVDRbS5/4wiuLu3q9PvwDn8gZaEyVILl/opyqbO2Wevcvs5pXq eO64JeG/aYV9Pl0Q5q0cEOqjD3c+Zb3FoxPO8s/qIjM0EBx+YPEq7KZrUkAiVydI1NaY lboKbVujq7T7zz2FOdW0qR+rJvyLUIHE/X3bMfwFJB4rPyYTPWLkndBjQjo7Y4ehEpXP cr+TvKc3anoK8IFHh/1k/xiVjmLGaJd9eJKGCcdMjwV2Cvbvz5Jzz4o3JoeK25uJGK3l lGSd2h3IQkgjpXGVBP7GF2YDU9b2ZbSw1r8Kx0YZPlju5Li3Ji5UH7X+mHfzA4fyB/D0 v3bg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=aTPPo5I4; 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 d38-v6si22476473pgb.30.2018.10.18.10.58.51; Thu, 18 Oct 2018 10:59:06 -0700 (PDT) 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=aTPPo5I4; 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 S1728643AbeJSB6o (ORCPT + 99 others); Thu, 18 Oct 2018 21:58:44 -0400 Received: from mail.kernel.org ([198.145.29.99]:46402 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728406AbeJSB6n (ORCPT ); Thu, 18 Oct 2018 21:58:43 -0400 Received: from localhost (ip-213-127-77-176.ip.prioritytelecom.net [213.127.77.176]) (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 9C31D204FD; Thu, 18 Oct 2018 17:56:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1539885399; bh=WZ5GsGRpLA0kbQNfE8MZ8Pbvz7wOXXfbAGhHrm0pGDM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=aTPPo5I4iQbEODpqGC9G3Ndy0M+k6I7MC7HjVbb6lSsWQL1JtgbxYdvjBzMrXAIRP i/XW9dCz1fIAo6jVwrzcK51xVFjRIF7Rgw8oWZODADBpbat+8qrC5+WvgPXriuGysu Dxm0rE4ydrpGt8vn8hku5iekYUVgDy3IObfQvrgw= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Tony Lindgren , Keerthy , Daniel Lezcano , Sasha Levin Subject: [PATCH 4.18 17/53] clocksource/drivers/ti-32k: Add CLOCK_SOURCE_SUSPEND_NONSTOP flag for non-am43 SoCs Date: Thu, 18 Oct 2018 19:54:10 +0200 Message-Id: <20181018175419.929379444@linuxfoundation.org> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181018175416.561567978@linuxfoundation.org> References: <20181018175416.561567978@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review 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 4.18-stable review patch. If anyone has any objections, please let me know. ------------------ From: Keerthy [ Upstream commit 3b7d96a0dbb6b630878597a1838fc39f808b761b ] The 32k clocksource is NONSTOP for non-am43 SoCs. Hence add the flag for all the other SoCs. Reported-by: Tony Lindgren Signed-off-by: Keerthy Acked-by: Tony Lindgren Signed-off-by: Daniel Lezcano Signed-off-by: Sasha Levin Signed-off-by: Greg Kroah-Hartman --- drivers/clocksource/timer-ti-32k.c | 3 +++ 1 file changed, 3 insertions(+) --- a/drivers/clocksource/timer-ti-32k.c +++ b/drivers/clocksource/timer-ti-32k.c @@ -98,6 +98,9 @@ static int __init ti_32k_timer_init(stru return -ENXIO; } + if (!of_machine_is_compatible("ti,am43")) + ti_32k_timer.cs.flags |= CLOCK_SOURCE_SUSPEND_NONSTOP; + ti_32k_timer.counter = ti_32k_timer.base; /*