From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751501AbdJVQWJ (ORCPT ); Sun, 22 Oct 2017 12:22:09 -0400 Received: from mail-pg0-f65.google.com ([74.125.83.65]:54832 "EHLO mail-pg0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751061AbdJVQWI (ORCPT ); Sun, 22 Oct 2017 12:22:08 -0400 X-Google-Smtp-Source: ABhQp+TpY49czupj4s8KNP+DMepaX5QPqCRUinVF4NVki+r13FxR5EHh5EccVvOoBnFhzkfFf1s5Uw== Subject: Re: [PATCH v2 4/4] watchdog: aspeed: Move init to arch_initcall To: Andrew Jeffery , Joel Stanley Cc: linux-watchdog@vger.kernel.org, Wim Van Sebroeck , Linux Kernel Mailing List , OpenBMC Maillist , linux-aspeed@lists.ozlabs.org, Ryan Chen References: <20170920053020.6860-1-andrew@aj.id.au> <20170920053020.6860-5-andrew@aj.id.au> <1508240158.24322.16.camel@aj.id.au> From: Guenter Roeck Message-ID: Date: Sun, 22 Oct 2017 09:22:05 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <1508240158.24322.16.camel@aj.id.au> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/17/2017 04:35 AM, Andrew Jeffery wrote: > On Wed, 2017-09-20 at 15:43 +0930, Joel Stanley wrote: >>> On Wed, Sep 20, 2017 at 3:00 PM, Andrew Jeffery wrote: >>> Probing at device_initcall time lead to perverse cases where the >>> watchdog was probed after, say, I2C devices, which then leaves a >>> potentially running watchdog at the mercy of I2C device behaviour and >>> bus conditions. >>> >>> Load the watchdog driver early to ensure that the kernel is patting it >>> well before initialising peripherals. >>> >>> Signed-off-by: Andrew Jeffery >> >> I agree that we need to make sure the watchdog driver is loaded >> earlier. I think this is the correct method, but I'll defer to Guenter >> on this one. > > Just following up on Joel's comments: Is there anything else I need to > address? > No. Sorry, I have been terribly busy. Digging through patch backlog today. Guenter