From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758875Ab3LFV2z (ORCPT ); Fri, 6 Dec 2013 16:28:55 -0500 Received: from mail-pd0-f179.google.com ([209.85.192.179]:37098 "EHLO mail-pd0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754075Ab3LFV2x (ORCPT ); Fri, 6 Dec 2013 16:28:53 -0500 Date: Fri, 6 Dec 2013 13:28:48 -0800 From: Guenter Roeck To: Doug Anderson Cc: Wim Van Sebroeck , Leela Krishna Amudala , Olof Johansson , Tomasz Figa , Kukjin Kim , Ben Dooks , linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-watchdog@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3] watchdog: s3c2410_wdt: Report when the watchdog reset the system Message-ID: <20131206212848.GA12283@roeck-us.net> References: <1386267329-9941-2-git-send-email-dianders@chromium.org> <1386364088-6220-1-git-send-email-dianders@chromium.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1386364088-6220-1-git-send-email-dianders@chromium.org> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Dec 06, 2013 at 01:08:07PM -0800, Doug Anderson wrote: > A good watchdog driver is supposed to report when it was responsible > for resetting the system. Implement this for the s3c2410, at least on > exynos5250 and exynos5420 where we already have a pointer to the PMU > registers to read the information. > > Note that exynos4 SoCs also provide the reset status, but providing > that is left as an exercise for future changes and is not plumbed up > in this patch series. Also note the exynos4 SoCs don't appear to need > any PMU config, which is why this patch separates the concepts of > having PMU Registers vs. needing PMU Config. > > Signed-off-by: Doug Anderson Reviewed-by: Guenter Roeck