Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp3731830imm; Mon, 8 Oct 2018 08:39:16 -0700 (PDT) X-Google-Smtp-Source: ACcGV60L8AJPUa0t55rmujZtM+7Pbx0nGQlCUlQjjBtKDtunPKhFGiKz82K2/ytNfRA8xfpEV+z9 X-Received: by 2002:a63:501:: with SMTP id 1-v6mr21416155pgf.205.1539013156554; Mon, 08 Oct 2018 08:39:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539013156; cv=none; d=google.com; s=arc-20160816; b=nvGNiB2gQ8pIGY4Sxg0aLE/1OxA/wvQ7EC48Bk7FsAvI3Dby0jKP6obP8nvYQCA6d8 ugh8Wp5ECtvEp0OsgOj7DDM/wdi4HCZv19gtGBr3FuLJpPSV0HEFzZSZ759T3EOTyks3 C852pgOIvCA1SHRn8yTokmY/DzHegBIV0PW1Rvlo3mIlTHW/gTCvaJu7RcRupX0NXKiw IbFe+Kq6kGrhb4axyxmgTg2xGJX0T/MXBz16eqAibvchI87KKEruBgJTUdqVPl7cMAGu XZ0XNU9AAALwV4pzEKBUcOxAAlIgtbNIHUdIpX6d5Fn4WHG0vGI2URo8IzRlUDcNhbSW urBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=L4cUGRQ/K785ckzr50mpmr8uUZzc8B8ut3veAskrZ0A=; b=IIXTWQI6yKdgIMSszYhR+d7nI163pFqMNFSYWkucqZBCPSMiSpOZzlwcPW5S7T+yxV 4LKHAq7Wqx/vhjtIy1u7zyFpEt1mK0TNtT4W8Qtzk+A5pvM05WWCZeZMfmgh8vxlTNiY AFkh8nv0YMSOzfmTGveBjnUs/r1IgZm9MlZH7A+DPjVsRi8bP6etBRwtPk6cSS8qaqrJ ycixB0ruVVlnTzFNZvqMf3+C3JfnK2/Xw62tNc2P03mrGBM34We7o35+PNjOghexhICY UDt/sHM5e3pYmzXZfSTQgEQ+fxX42U0KU9rnefPD6DIjDzhJjuBNRJPZ6nZ9d71KpaDt Agcg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=eQb9DU8g; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r68-v6si19274963pfa.15.2018.10.08.08.39.01; Mon, 08 Oct 2018 08:39:16 -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=eQb9DU8g; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727127AbeJHWh6 (ORCPT + 99 others); Mon, 8 Oct 2018 18:37:58 -0400 Received: from mail.kernel.org ([198.145.29.99]:56084 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726977AbeJHWh6 (ORCPT ); Mon, 8 Oct 2018 18:37:58 -0400 Received: from sasha-vm.mshome.net (c-73-47-72-35.hsd1.nh.comcast.net [73.47.72.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 93152214DC; Mon, 8 Oct 2018 15:25:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1539012343; bh=RVAmHk9Al6VFl9SGyDwm5XsP85W1t+yimPrHXXCCyuc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=eQb9DU8ga+8MDFL106jIpENph9sV66d0UPUKUEwYMWQ/h9VyZ9rLriOQXOy9h240u WIW1Rm0uWehYVS6zzd06Zo9EmP8aRsDd+/fNG0QvJflub0nZ5n+r1xC6Br157V63pI lsvIfWgWRyrgwg8+lo3N5AkvrnIXtz8Xia1sQyRo= From: Sasha Levin To: stable@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Keerthy , Daniel Lezcano , Sasha Levin Subject: [PATCH AUTOSEL 4.18 17/58] clocksource/drivers/ti-32k: Add CLOCK_SOURCE_SUSPEND_NONSTOP flag for non-am43 SoCs Date: Mon, 8 Oct 2018 11:24:42 -0400 Message-Id: <20181008152523.70705-17-sashal@kernel.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181008152523.70705-1-sashal@kernel.org> References: <20181008152523.70705-1-sashal@kernel.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- drivers/clocksource/timer-ti-32k.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/clocksource/timer-ti-32k.c b/drivers/clocksource/timer-ti-32k.c index 880a861ab3c8..713214d085e0 100644 --- 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(struct device_node *np) 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; /* -- 2.17.1