lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Thu, 2 Aug 2018 04:39:52 -0700
From:   tip-bot for Keerthy <tipbot@...or.com>
To:     linux-tip-commits@...r.kernel.org
Cc:     j-keerthy@...com, hpa@...or.com, linux-omap@...r.kernel.org,
        t-kristo@...com, daniel.lezcano@...aro.org, d-gerlach@...com,
        grygorii.strashko@...com, tglx@...utronix.de, tony@...mide.com,
        linux-kernel@...r.kernel.org, baolin.wang@...aro.org,
        mingo@...nel.org
Subject: [tip:timers/core] clocksource: ti-32k: Remove
 CLOCK_SOURCE_SUSPEND_NONSTOP flag

Commit-ID:  c77aee71bbc67c4b0e56f4ce10406b85d4c929c1
Gitweb:     https://git.kernel.org/tip/c77aee71bbc67c4b0e56f4ce10406b85d4c929c1
Author:     Keerthy <j-keerthy@...com>
AuthorDate: Thu, 2 Aug 2018 12:05:16 +0530
Committer:  Thomas Gleixner <tglx@...utronix.de>
CommitDate: Thu, 2 Aug 2018 13:35:08 +0200

clocksource: ti-32k: Remove CLOCK_SOURCE_SUSPEND_NONSTOP flag

Since commit 39232ed5a179 ("time: Introduce one suspend clocksource to
compensate the suspend time") suspend/resume fails on AM437x platforms as
the clocksource actually stops in suspend.

Hence remove the CLOCK_SOURCE_SUSPEND_NONSTOP flag.

Suggested-by: Grygorii Strashko <grygorii.strashko@...com>
Signed-off-by: Keerthy <j-keerthy@...com>
Signed-off-by: Thomas Gleixner <tglx@...utronix.de>
Cc: <daniel.lezcano@...aro.org>
Cc: <linux-omap@...r.kernel.org>
Cc: <baolin.wang@...aro.org>
Cc: <d-gerlach@...com>
Cc: <tony@...mide.com>
Cc: <t-kristo@...com>
Link: https://lkml.kernel.org/r/1533191716-20476-1-git-send-email-j-keerthy@ti.com

---
 drivers/clocksource/timer-ti-32k.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/clocksource/timer-ti-32k.c b/drivers/clocksource/timer-ti-32k.c
index 880a861ab3c8..29e2e1a78a43 100644
--- a/drivers/clocksource/timer-ti-32k.c
+++ b/drivers/clocksource/timer-ti-32k.c
@@ -78,8 +78,7 @@ static struct ti_32k ti_32k_timer = {
 		.rating		= 250,
 		.read		= ti_32k_read_cycles,
 		.mask		= CLOCKSOURCE_MASK(32),
-		.flags		= CLOCK_SOURCE_IS_CONTINUOUS |
-				CLOCK_SOURCE_SUSPEND_NONSTOP,
+		.flags		= CLOCK_SOURCE_IS_CONTINUOUS,
 	},
 };
 

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ