Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp2229485imm; Thu, 18 Oct 2018 11:03:47 -0700 (PDT) X-Google-Smtp-Source: ACcGV60EudPzTZbuRNZjFLLvxIfNi1i+iUpzFnAedNInw+NNSEvIPHflYyDzHAaCQtN6hcbvaRqd X-Received: by 2002:a17:902:369:: with SMTP id 96-v6mr30584068pld.36.1539885827016; Thu, 18 Oct 2018 11:03:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539885826; cv=none; d=google.com; s=arc-20160816; b=X6zL/I0ZTRuK3bTxj3sAJATMo4NJVeSLCgPKMJi6vKUyAUA/NZDIji9u50pCfMJuZe ERboS6j4AUg7GjBNvv1byCjdydEZPoVL1notamTeFGQS98+DrIiPqMo9JXwA6e8EwHCe 7+1+3Yc4p64ZJXB97E0z1MK2NuVpC6OchmJaoUk09C30nqeiqAJfAVyTBsZV3Ki/+tLm SVHKLAN90atEgEiy39LUlAg7puMcxFPV5ogr64uheh3f39XrJZqp5A6XBKzKtck84Gi+ nqGuGyEx+fhU1QI6xCz9jWgkM2ZiwPvrPFljOO0Wr6OvkEDdvdreoA54aen2PVQB6cRc oKQw== 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=cYKCmTI9jRFY4ZH6hhuaGQUuDKa/pDIupsGmiMRYNus=; b=bp7msf7BGa0aWalRb1qUi9MuRqnFxzbI1qh1tB7avHFf49HUqMaLiqil+RqKsDPzWO hywDQzvs2t8TSRrAcdyrwPbSb9U/I4vOj4evr/LEZ2x1TNgYHlWvJf7e1iCX3K9Z3hIh Yzlaxtc4feqPHsjCt9NytjPMuYTqNYB23iCjkDkIaAzlTNmf6Jzv13yrZnkIdTox+HXG Hwoj7ASCi0I9h0O1qPlvfGv9201waAsT8TsRzQj+mQs61gUOQfzmyy3xsAF6ea4lba0+ UzZ8M2Vneu7pU3Kc7KpBP/kiYJfMLTY0EgxkrrZjfR5hR8bZCyFCJyC3KNoauBTryD+g Vrvw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=bisSa7BM; 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 k24-v6si21725969pgj.28.2018.10.18.11.03.30; Thu, 18 Oct 2018 11:03:46 -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=bisSa7BM; 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 S1729770AbeJSCEa (ORCPT + 99 others); Thu, 18 Oct 2018 22:04:30 -0400 Received: from mail.kernel.org ([198.145.29.99]:52774 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729761AbeJSCEa (ORCPT ); Thu, 18 Oct 2018 22:04:30 -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 4BD8221479; Thu, 18 Oct 2018 18:02:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1539885743; bh=Sas7zr9qWMmRvDwpruvjF3CYrk2b4pkg4o2gAa9pDUQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=bisSa7BMaqhEUOuvq/8oWv0xQsdF5TPQnKnMefoACDcsUEybo2nEb4Zi6/rP1pepy 1Q9rx+d3JoeIv7cug2zJw3sfbpw3WWDi0HY7wZFmU9Cx4yREeoBW71SaMZ1WlLei6a 3+AZgcu9My5AKqlifCodw4VYoMx8ozKfNATvbacs= 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.9 10/35] clocksource/drivers/ti-32k: Add CLOCK_SOURCE_SUSPEND_NONSTOP flag for non-am43 SoCs Date: Thu, 18 Oct 2018 19:54:39 +0200 Message-Id: <20181018175424.085307188@linuxfoundation.org> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181018175422.506152522@linuxfoundation.org> References: <20181018175422.506152522@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.9-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; /*