Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp242564pxx; Thu, 29 Oct 2020 01:11:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzRVmTc+gowi+lMkd/JKQtN3sWeMy+lhAuRU2q+gcFHN4jj9d6I4Nt1QHjVEnNQFl5CB3nU X-Received: by 2002:a17:906:95c5:: with SMTP id n5mr2983290ejy.111.1603959086049; Thu, 29 Oct 2020 01:11:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603959086; cv=none; d=google.com; s=arc-20160816; b=JI/nTz0WXtVN8On5E9gvjMGqqLcZSlSFwDa2OteSSF8Etluy/AwHgND9NT515cppyv h1I1sp122/HqRg4uy1blGEIi87pYMJRsjOK1ORUonm3ciXczas+nsADJdlxepCYsPJ6O W+0nAqT8wHPBOAVi7QB99OX6RGVXMesNNIIHU24KBp329x+0H0Txjl0NOJpij54r80uK 0GiPg848woskRa8Ma1djFCcEIJ8bqBKx4AxbmAPR5tAq8jFx74XKK2q4XGcQVcArU7IQ 7QO6YitC0cvpqmYVlOU/sTPHy6B3xo0rkorNSdeCBhFN5HPt9l7DcQROBquZ31zwfJcp hozA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=tjZ0C47sBFE4E/dMNMwf9DAUHIodX8mtYvgDRoLI4EA=; b=OftXyYvvrz6Y96pg1nI/0Hbdek19KrACF+ESVGcaC6VaxtAUFLDLaASZEJyyodd02T EARz6u9cwDUdVZsr6TjRLcFSOFLiBljv/uqY2+XCsRdHMxahov0FTnIqSnsarvulYDYK hRcCe7Xxb5f8a9bJ81DCZ/MXuwGVZaEJJ2EOetjokLd984kv1iKgj0Xlr2PXuTUu+PXF Em79WZUjZNrwwMB8AINMc8l765rVd76iei6eC5nua6KAUa84Z8BEDjY+Y0f3R0wuHXOO eubwdT8tGKL6p+WSI0nho7+gFkHNtgKFZhz6pPd/DXglgFhiVf1+zjvm3/09CWAAYUPK V1AA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=YRSR+UuG; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y18si1499326edt.62.2020.10.29.01.10.50; Thu, 29 Oct 2020 01:11:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-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=@chromium.org header.s=google header.b=YRSR+UuG; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729259AbgJ2ANJ (ORCPT + 99 others); Wed, 28 Oct 2020 20:13:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44334 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390749AbgJ2ANI (ORCPT ); Wed, 28 Oct 2020 20:13:08 -0400 Received: from mail-lf1-x144.google.com (mail-lf1-x144.google.com [IPv6:2a00:1450:4864:20::144]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 07837C0613CF for ; Wed, 28 Oct 2020 17:13:08 -0700 (PDT) Received: by mail-lf1-x144.google.com with SMTP id v6so1018971lfa.13 for ; Wed, 28 Oct 2020 17:13:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=tjZ0C47sBFE4E/dMNMwf9DAUHIodX8mtYvgDRoLI4EA=; b=YRSR+UuG72ciMnSbkIKW71fwluhc008uXS+zCtS9AHDFnFwQEIMMgP/YxKO2Dy1307 WP7/iso+nlAS+anmA1lgk8lE/LiU6ECV1Z6zNFlM6NINwI35F0XF+CWuJQeINp59prgV jihocwVqHZpzzVYcqIAvrcvpd/gtQFCguDskE= 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=tjZ0C47sBFE4E/dMNMwf9DAUHIodX8mtYvgDRoLI4EA=; b=aet6K+b5jUsVjETw7dgK/nb8zQ2h9R4TwNt0O3DQ9/YtnVmjg1O0zMZBZCVjOhy2lH ZFIPbUyQDYm8KT7f+UrP3SW6tIqrHkC1RNaOdlatn9tM6YptI+vq47YLSGJAFKcZs0Z4 PgOva9OsbUXZGBeUp2T4OFFSSbIbGWyXKhhZaskDtkHZu9o6d5ieHmwcU7e+qczGxnW6 1917GVwGIGu7ExjqpJzoyb9R1qym6Eoxrkt8zGBZMNNGQPYnUr9TAany5/sOUVNbPVam /o38YK2lczvIkooXQa4uDVKGsVq8+1gO2zGrUXqqLptXsW1BR64P9Kd5tBbSM7NLG+no sivg== X-Gm-Message-State: AOAM531ElZTRztTnrY7tHDdK1Ei5F8ejzciamVy4STX0MZxwm+UCI5cK O78h9DbHpofSttDWKtwEZ8B8xCE87X6/PQ== X-Received: by 2002:ac2:5395:: with SMTP id g21mr523820lfh.330.1603930385227; Wed, 28 Oct 2020 17:13:05 -0700 (PDT) Received: from mail-lf1-f53.google.com (mail-lf1-f53.google.com. [209.85.167.53]) by smtp.gmail.com with ESMTPSA id f10sm124382ljn.87.2020.10.28.17.13.03 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 28 Oct 2020 17:13:03 -0700 (PDT) Received: by mail-lf1-f53.google.com with SMTP id l28so1043728lfp.10 for ; Wed, 28 Oct 2020 17:13:03 -0700 (PDT) X-Received: by 2002:a19:c703:: with SMTP id x3mr502126lff.105.1603930383060; Wed, 28 Oct 2020 17:13:03 -0700 (PDT) MIME-Version: 1.0 References: <20201028142625.18642-1-kitakar@gmail.com> In-Reply-To: <20201028142625.18642-1-kitakar@gmail.com> From: Brian Norris Date: Wed, 28 Oct 2020 17:12:51 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] mwifiex: pcie: add enable_device_dump module parameter To: Tsuchiya Yuto Cc: Amitkumar Karwar , Ganapathi Bhat , Xinming Hu , Kalle Valo , "David S. Miller" , Jakub Kicinski , linux-wireless , "" , Linux Kernel , Maximilian Luz , Andy Shevchenko , verdre@v0yd.nl Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On Wed, Oct 28, 2020 at 3:58 PM Tsuchiya Yuto wrote: > > The devicve_dump may take a little bit long time and users may want to > disable the dump for daily usage. > > This commit adds a new module parameter enable_device_dump and disables > the device_dump by default. As with one of your other patches, please don't change the defaults and hide them under a module parameter. If you're adding a module parameter, leave the default behavior alone. This also seems like something that might be nicer as a user-space knob in generic form (similar to "/sys/class/devcoredump/disabled", except on a per-device basis, and fed back to the driver so it doesn't waste time generating such dumps), but I suppose I can see why a module parameter (so you can just stick your configuration in /etc/modprobe.d/) might be easier to deal with in some cases. Brian