From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Stultz Subject: Re: [RFC][PATCH] misc: Introduce reboot_reason driver Date: Thu, 10 Dec 2015 13:43:16 -0800 Message-ID: References: <1449610162-30543-1-git-send-email-john.stultz@linaro.org> <10759786.VG6jMebqAj@wuerfel> <1721197.gFcIQMjGvs@wuerfel> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from mail-vk0-f45.google.com ([209.85.213.45]:34122 "EHLO mail-vk0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753501AbbLJVnR (ORCPT ); Thu, 10 Dec 2015 16:43:17 -0500 Received: by vkgj66 with SMTP id j66so6608733vkg.1 for ; Thu, 10 Dec 2015 13:43:16 -0800 (PST) In-Reply-To: Sender: linux-arm-msm-owner@vger.kernel.org List-Id: linux-arm-msm@vger.kernel.org To: Rob Herring Cc: Arnd Bergmann , Bjorn Andersson , lkml , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Vinay Simha BN , Haojian Zhuang , "devicetree@vger.kernel.org" , Android Kernel Team , Andy Gross , "linux-arm-msm@vger.kernel.org" On Thu, Dec 10, 2015 at 12:24 PM, Rob Herring wrote: > The fact that we are using notifiers for reset reason and triggering > is probably some indication that some infrastructure is needed. But I > don't think you need to do that here as long as it is all kernel > internals. We'll make the 2nd guy do it. ;) :) Though, just so I understand better, what is problematic w/ the reset notifiers? They provide the reboot command argument, which is the core of what is needed. It actually seemed like it was almost designed with this problem in mind. thanks -john