Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp2247764ybg; Fri, 5 Jun 2020 09:07:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyz6W0bIsuUEc4wqWAJjDHeLTnPxRFar4638qTz/6D+56L2W9gUv3fsNmtriYU+fnihLNgs X-Received: by 2002:a17:906:6a0a:: with SMTP id o10mr2209000ejr.192.1591373235973; Fri, 05 Jun 2020 09:07:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591373235; cv=none; d=google.com; s=arc-20160816; b=mgmkIOZ8qP9NCck+z8IMP7YyrZpzrfueCtXhr14L2qJuTj2ZLZyW/m/tLs7pKvOiyt 8Y10OWK9TI5t5V6qhOUmoz1DCJDhOmsJSm+737k+bvPciIAWspRtDeOm1dqCLVA84p3o WBaRlAlr1xhXgPErCY1viuKWyoy/KFrBKhZ7MDF5YKgPniDE9n1TuOvcMsieyQvwCDQL fi6GxO5Pn2ftf5fLkFOkHBS7riwL9MTr9BGDReZglkOJBXsTUtiVRRVzodSAlqBmBnyS giTU9U1zCsfYLVi9jLWqMgNJv8woLZSP8ZY0IW4Yfc7AdgYmjoW0eQ5FVh72drgJwuMb oWcg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=73E7RcoyD6PaDcTNS+l4UhJfaffhxVQRNwIljXNBTnY=; b=mIdmtz1YjnIufA6OnPcR1CGxekueScWreLxR9ErUJ+KDNm4zk8M1knMdSppqRjsuGx MWZgtaoP1iCj539BZJksWTPh5K8ngq8IAVYJMl+Tq1lBWbXWlINj/zWeQSZJBpvqfX+/ Sr36mywjd8QfVTfGhKG4lNXoKvnkesc/qfC8f6xPqEM0LQX3tXfNdQbs16YwGdp842/Q 5ooR5ZVBysyMoBcBvFJhqHu6YhHGFXf/vitw54WUH0K3n1P3ml4E+ea9nSkPYU6zVhU0 +Zi65DkGmF55eYDCz7n3w4redbs3GBTUcRRBDWhi96Esx3xpsWZiqaQcG3uIQY65/o7b lfEw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=g39gSyKS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e1si3766921edn.68.2020.06.05.09.06.52; Fri, 05 Jun 2020 09:07:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=g39gSyKS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726027AbgFEQE6 (ORCPT + 99 others); Fri, 5 Jun 2020 12:04:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37442 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725954AbgFEQE6 (ORCPT ); Fri, 5 Jun 2020 12:04:58 -0400 Received: from mail-pj1-x1044.google.com (mail-pj1-x1044.google.com [IPv6:2607:f8b0:4864:20::1044]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 466ACC08C5C2; Fri, 5 Jun 2020 09:04:58 -0700 (PDT) Received: by mail-pj1-x1044.google.com with SMTP id q24so2907422pjd.1; Fri, 05 Jun 2020 09:04:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=73E7RcoyD6PaDcTNS+l4UhJfaffhxVQRNwIljXNBTnY=; b=g39gSyKSZ6nFdS355NhJxXV7kRDPp92lfjop20jdOKudJotgA9Ley+ZJhs/ANJc3uk pDCQVLIAa3R1hAHTcDHOkQVw60cQN9Ez9VJjAavkzRmNoiMdOQLPyY4Yjn4K/DTONTKD RYpMjFy9eNrbO9NyUCQgWrii1EJkZEVv7LB8hG9G8/vTy94NRCaXNplr42FN0BbFoyiN eEy0gT7M5xNAUK0eulmJqkSnqL/pT5dYN/TjacCb/49FFpdjtd1KSTS3mn7WOaYvKU4o pRXg2LkXyORq06y5fGWS0NLv0VFPeVDB77y3Q+7LdyS1tru4TjQ7nhL8PR+qo4VfKptJ BSwQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=73E7RcoyD6PaDcTNS+l4UhJfaffhxVQRNwIljXNBTnY=; b=mtene7sWzMnvCc54kfZayBCZAPHYQJZw1K7ZvcyOKuvkXTxpivBhrbhxaeoD6EiruA 2zgWDeyK8+dftriUWxNi4Q4y1FccrOFfPk3N2FgcFpjpr1xLkXr2uidU8h0lnaLou7gf uHrTleQ+tIgxouyvqfbt+ag2uUeKlZ6uNQjAS7gti3v97+3HArr0+RPSHaH56mbFjxFH xVMxIP90dkxVVEW44PeG+k5FmDheSkX+BNPgeRo4Cchdf3yA22MX/MimNVrrP9nfRFMM uoU/d/rayHBf1yfKZKwVnDOiOfY0iFsHY+BkNQc34m5Ii3q/q3XN8dt0ZHcIK+Jjk7u+ WugQ== X-Gm-Message-State: AOAM530mXgYskB7GiM4ReieDyKGN2MXhBtyAkTe0LZV9jAfW+zSMNgbL i481U2+UTbVHrU6FKDkiyiTGij4Btr85msIyDyQZ1CkRisY= X-Received: by 2002:a17:90a:ac05:: with SMTP id o5mr3950020pjq.228.1591373097587; Fri, 05 Jun 2020 09:04:57 -0700 (PDT) MIME-Version: 1.0 References: <20200604211039.12689-1-michael@walle.cc> <20200604211039.12689-5-michael@walle.cc> <8f042c2442852c29519c381833f3d289@walle.cc> <871a4990-5b94-3a17-01d4-74998375f08b@roeck-us.net> <20200605140911.GO2428291@smile.fi.intel.com> <20200605150542.GA254229@roeck-us.net> In-Reply-To: <20200605150542.GA254229@roeck-us.net> From: Andy Shevchenko Date: Fri, 5 Jun 2020 19:04:45 +0300 Message-ID: Subject: Re: [PATCH v4 04/11] watchdog: add support for sl28cpld watchdog To: Guenter Roeck Cc: Michael Walle , "open list:GPIO SUBSYSTEM" , devicetree , Linux Kernel Mailing List , linux-hwmon@vger.kernel.org, linux-pwm@vger.kernel.org, linux-watchdog@vger.kernel.org, linux-arm Mailing List , Linus Walleij , Bartosz Golaszewski , Rob Herring , Jean Delvare , Lee Jones , Thierry Reding , =?UTF-8?Q?Uwe_Kleine=2DK=C3=B6nig?= , Wim Van Sebroeck , Shawn Guo , Li Yang , Thomas Gleixner , Jason Cooper , Marc Zyngier , Mark Brown , Greg Kroah-Hartman Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jun 5, 2020 at 6:05 PM Guenter Roeck wrote: > On Fri, Jun 05, 2020 at 05:09:11PM +0300, Andy Shevchenko wrote: > > On Fri, Jun 05, 2020 at 06:52:00AM -0700, Guenter Roeck wrote: > > > On 6/5/20 3:50 AM, Andy Shevchenko wrote: > > > > On Fri, Jun 5, 2020 at 1:24 PM Michael Walle wrote: > > > >> Am 2020-06-05 10:14, schrieb Andy Shevchenko: > > > >>> On Fri, Jun 5, 2020 at 12:14 AM Michael Walle wrote: > > > > ... > > > > > >>>> +static bool nowayout = WATCHDOG_NOWAYOUT; > > > >>>> +module_param(nowayout, bool, 0); > > > >>>> +MODULE_PARM_DESC(nowayout, "Watchdog cannot be stopped once started > > > >>>> (default=" > > > >>>> + __MODULE_STRING(WATCHDOG_NOWAYOUT) > > > >>>> ")"); > > > >>>> + > > > >>>> +static int timeout; > > > >>>> +module_param(timeout, int, 0); > > > >>>> +MODULE_PARM_DESC(timeout, "Initial watchdog timeout in seconds"); > > > >>> > > > >>> Guenter ACKed this, but I'm wondering why we still need module > > > >>> parameters... > > > >> > > > >> How would a user change the nowayout or the timeout? For the latter > > > >> there is > > > >> a device tree entry, but thats not easy changable by the user. > > > > > > > > Yes, it's more question to VIm and Guenter than to you. > > > > > > > > > > Has support for providing module parameters with the kernel command line > > > been discontinued/deprecated, or did it run out of favor ? Sorry if I > > > missed that. > > > > Latter according to Greg KH. One of the (plenty) examples [1]. > > > > [1]: https://www.mail-archive.com/driverdev-devel@linuxdriverproject.org/msg96495.html > > > What is the suggested replacement ? In some mails he suggested to use sysfs. -- With Best Regards, Andy Shevchenko