Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753968AbbFRKXJ (ORCPT ); Thu, 18 Jun 2015 06:23:09 -0400 Received: from baptiste.telenet-ops.be ([195.130.132.51]:45100 "EHLO baptiste.telenet-ops.be" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754705AbbFRKWn (ORCPT ); Thu, 18 Jun 2015 06:22:43 -0400 From: Geert Uytterhoeven To: Daniel Lezcano , Thomas Gleixner , "Rafael J. Wysocki" , Kevin Hilman , Ulf Hansson Cc: Magnus Damm , Laurent Pinchart , linux-pm@vger.kernel.org, linux-sh@vger.kernel.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH 0/2] PM / Domains: Infinite loop during reboot Date: Thu, 18 Jun 2015 12:22:32 +0200 Message-Id: <1434622954-26747-1-git-send-email-geert+renesas@glider.be> X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1449 Lines: 44 Hi all, This patch series fixes an infinite loop during reboot after s2ram, as seen on r8a7791/koelsch with the CPG Clock Domain: - Patch 1 fixes the cause in the sh_cmt driver, - Patch 2 hardens the PM Domain core code against infinite loops. Both patches individually fix the symptom (lock up during reboot), but only the first one fixes the root cause. Patches are against next-20150618. The discussion thread where the problem was originally reported is "PM / Domains: Infinite loop during reboot" (http://permalink.gmane.org/gmane.linux.ports.sh.devel/45249). Thanks! Geert Uytterhoeven (2): clocksource: sh_cmt: Only perform clocksource suspend/resume if enabled PM / Domains: Avoid infinite loops in attach/detach code drivers/base/power/domain.c | 15 +++++++++++++-- drivers/clocksource/sh_cmt.c | 6 ++++++ 2 files changed, 19 insertions(+), 2 deletions(-) -- 1.9.1 Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/