Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp2206353ybg; Fri, 5 Jun 2020 08:10:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxstlXar9q638PKvbpzqvdv4rCQseio0vgTxjG2x+OjAfcU8zwXdcoefzgUk+qGQiSXFODk X-Received: by 2002:a05:6402:144e:: with SMTP id d14mr9641776edx.14.1591369806357; Fri, 05 Jun 2020 08:10:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591369806; cv=none; d=google.com; s=arc-20160816; b=pygM6HSz453JU4BpnZbLOsyANegGDuBFNCqA3BxApoxjyG+fIy2x8ahszCw9p0Zd01 zcKI5D7mCaFyjw5EapDgQzK+C/wEq7GBH2eZk9NR6zDZqGE8nUaiWFPxFixPoaQ6lWeA dw2GNF5Mp46Hxd7M/UDrKQQnvwjpYNIjiMu6RmfmaxiiA0GfvaYZa/xiTNkoW63F896Q SX/UooTxS7ooiVoOORRnk3CWGqGNp15nKc/IGI3X/eaPcnuQ7586faNeRBQkHdgcCPjc UE3MkY+WpFktXXxfpRuoKJ8kaRLxiYQ/S5Yp+eldlBOt5tJT6+KmoHuX1ubntuMMxrKq dpfg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=zl3uXlckh/ILLSJmP4ICOMWaZeDZ9A0z1FTiwzLjSyw=; b=dSVoJyMBwHJAyKv4odbSuZHzcbwUr5Vv7UKJ74Nubu8KaY6N6TEtYZUueIP7YAqXbU XqOsAtcE8FyDgH/Wrq0TTeVYu6hAXTQ+6VEq7iTpMZwnp1o9vCUwT0fvAU78wYDprrKT EQFs7sBo7XSImkwsADV5nj6eZchl4lR/ghBPd0UgxqNbpNPBfk4wNZ0W2iyFArIn1zgv ZdcsoI6TMCBdi6OZ3iRdmu7nwOk2kxxmjmtlWSc5hGZHoaBJyOJAne94of2qxNnpw/Om 4T4w2sXUMTpAIK63b65n22z+TReRiVEOfKHIDT3tefThl5l2+I/SbtEO+7ESrt0WcQzi 3nGA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=FhMZXa0p; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i12si4115855edq.423.2020.06.05.08.09.42; Fri, 05 Jun 2020 08:10:06 -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=fail header.i=@gmail.com header.s=20161025 header.b=FhMZXa0p; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728143AbgFEPFu (ORCPT + 99 others); Fri, 5 Jun 2020 11:05:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56484 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726551AbgFEPFt (ORCPT ); Fri, 5 Jun 2020 11:05:49 -0400 Received: from mail-pl1-x641.google.com (mail-pl1-x641.google.com [IPv6:2607:f8b0:4864:20::641]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2FB72C08C5C2; Fri, 5 Jun 2020 08:05:49 -0700 (PDT) Received: by mail-pl1-x641.google.com with SMTP id t16so3732862plo.7; Fri, 05 Jun 2020 08:05:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=zl3uXlckh/ILLSJmP4ICOMWaZeDZ9A0z1FTiwzLjSyw=; b=FhMZXa0pqbczzolzAxUWZ6l/cPlMoh4ca88ZnP72F5OYEn3zDPmaVkLsEhS4wZ+pb0 OpUlPrw60Tua/44wX2E7hmR3oq/UIlBkX6MCzdidGL3xYk4Tk8eeCL6xZHOKj9vNCrAg guhsG/zT5eSHPtpXuIhpIMM6uloPsYE3bXwLAHewQdvx6qHVnWyuxAWjQ1fz3ckzVPDS 5pUVso6Z2RoHxEz39lci25KPw6abx1Zkuq+KXgPKXiTANRvNBOou8K8pTFA0bYezdf9z TzKSMnbwvC/WXnzd6T9MMZ40cgzcmMVsVtAsAsviiHakm4fgNulNY9awZsOEFrTAdlAl USFw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to:user-agent; bh=zl3uXlckh/ILLSJmP4ICOMWaZeDZ9A0z1FTiwzLjSyw=; b=GYqrFKMRkcEr+7RxNGLOOaliePFgZZ290Cdps9ZB2RwODWNybrQSVi6FsyZGg+mZmY K06mCvHU0pKZnAJ/FBQWZdfL94q5u7WYqT0UrfDSdzWRU5oybw2wqJBhjM3aB4CzxExa TJ8xt4mXWqIliUTd4dHLsVpgmZoSPh/ZlExuAcminVi853uBiTkGBCZ3ByLcWQDGLuu8 FSc5FD3Fjg4ML1My/jyybmxgopnI1F5Lj7u8+c0z8rgGifUTULUd9uVEopNAbQiSAIEK 7KqEQhUMVvYq60+7XAalmVMO1AXGd1QsiujKI6haXaLhFCw585oH/nJwaLPbQO7vwTuk dwxQ== X-Gm-Message-State: AOAM530mhzap1oNr+mugY+h/BrK5zjli+L9Gz4OQUdLKrrI/yG/6P6gH z1uKFszoU3VZneBVENeveBw= X-Received: by 2002:a17:90a:20c2:: with SMTP id f60mr3704149pjg.29.1591369548704; Fri, 05 Jun 2020 08:05:48 -0700 (PDT) Received: from localhost ([2600:1700:e321:62f0:329c:23ff:fee3:9d7c]) by smtp.gmail.com with ESMTPSA id 5sm3155367pfc.143.2020.06.05.08.05.43 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 05 Jun 2020 08:05:44 -0700 (PDT) Date: Fri, 5 Jun 2020 08:05:42 -0700 From: Guenter Roeck To: Andy Shevchenko 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 , Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= , Wim Van Sebroeck , Shawn Guo , Li Yang , Thomas Gleixner , Jason Cooper , Marc Zyngier , Mark Brown , Greg Kroah-Hartman Subject: Re: [PATCH v4 04/11] watchdog: add support for sl28cpld watchdog Message-ID: <20200605150542.GA254229@roeck-us.net> 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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200605140911.GO2428291@smile.fi.intel.com> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 ? Guenter