Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp2235585imm; Thu, 18 Oct 2018 11:09:09 -0700 (PDT) X-Google-Smtp-Source: ACcGV61bJkju+Q1WFvA+Z2Ndz4lV0hDHxyRY0gR4JvF6ih+lzd37ql+VBATdSkalpqXQYghRSuJZ X-Received: by 2002:a17:902:62:: with SMTP id 89-v6mr30843695pla.298.1539886149460; Thu, 18 Oct 2018 11:09:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539886149; cv=none; d=google.com; s=arc-20160816; b=efkPrRUgwQOv5Ime2j/wJgbSYfZckKPkCUjVQDIeXpNQefEbgO8wHxn5qAXGXEpl8l +GQB+ObNrJQ3jSJM53EZk7WhAS+LgVz1AvfvovUdhosyMH022kChDUWKIwG2TrboyhuW 0JNjzrIxwKj8nf1XU9PuruzF6NcnIX92/UF/fVTOPoUok3JP6c+E0YpyT1at2ttVKf+Y I5I+HhLd+3tePKpuAU3OyJ7FIXc5okkFECL0r+RBXR1Xv9jQvjRJqL/7eHKZhx7rmral BngcmKgr14/lkBV4QaerUUJdvCyEQj06ucL9hKbpEt/LBkK9k2/MUtT1IC80S4dGeUVk dHKQ== 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=3Vr+BNkg6CMmiIRgu2ujHuWCOLZnIcq4aGAO0QUkcH4=; b=yNntjmsCkkYOWmCL9ahZEGdiLbx9enul2YL+Rj0YHrLLZzJTOmJr1BuXjGYdaUOvbe 6iF8+aQNXlxg8F0Q/7492BIVPC40NICtmn9/BbETuPC3851x0jSAcM/yW4M6l2ZRYNiv mgEtuaPo1cu/kWuM0tYSpVdGZr+fkdxaPl3edr9NwJ3sWJ2RAgtpnfZWZHYUdwOeIubv fFQSKyatryE1oyL8Nh64F4A/Pt7uhWXXC9+JcGUJmUxoOQ4MnivXtOAhbgojAFy7VPjd M1YeUhuGBDJTXqmdjnMBl0XfNHnE7gd6pTbkLGjDcerku5MqbXEKg5/8UIerObeLK02h qkig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=AYrtSEAK; 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 m5-v6si20258051pgi.327.2018.10.18.11.08.54; Thu, 18 Oct 2018 11:09:09 -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=AYrtSEAK; 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 S1730629AbeJSCJO (ORCPT + 99 others); Thu, 18 Oct 2018 22:09:14 -0400 Received: from mail.kernel.org ([198.145.29.99]:58622 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729858AbeJSCJO (ORCPT ); Thu, 18 Oct 2018 22:09:14 -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 E0BBA204FD; Thu, 18 Oct 2018 18:07:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1539886026; bh=zQ4lYBtqQdUuGfvcsDTfJv1jDVnrrJ+rIEbg6UZnbaE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=AYrtSEAKmyvqDyCyu2+p65N098JLCEesWtQLW5syLEaEowTb2gDLsztdItDU40qgC uJAq39V0yePzdZVIi2grdJxjTfvCNT4tgK6D0otc2buR5yNQR6zEZ50CpgzeF1Z7kX clpw3K8r4DUu5muLf8CNkWk+RA/+WOVEDFDLD4so= 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.4 36/48] clocksource/drivers/ti-32k: Add CLOCK_SOURCE_SUSPEND_NONSTOP flag for non-am43 SoCs Date: Thu, 18 Oct 2018 19:55:11 +0200 Message-Id: <20181018175429.866847085@linuxfoundation.org> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181018175427.133690306@linuxfoundation.org> References: <20181018175427.133690306@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.4-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 void __init ti_32k_timer_init(str return; } + if (!of_machine_is_compatible("ti,am43")) + ti_32k_timer.cs.flags |= CLOCK_SOURCE_SUSPEND_NONSTOP; + ti_32k_timer.counter = ti_32k_timer.base; /*