Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp2646944pxu; Mon, 7 Dec 2020 11:40:11 -0800 (PST) X-Google-Smtp-Source: ABdhPJylizNgD3K0C0nizZFE4TK7bBdf3uLG0jg6UxWx+JFcS0/OIWvfs20uyEmFM9rwSAEuPNwv X-Received: by 2002:aa7:cb49:: with SMTP id w9mr21664675edt.357.1607370011461; Mon, 07 Dec 2020 11:40:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607370011; cv=none; d=google.com; s=arc-20160816; b=Pr2kD8fOohJqh4kZDPyAft013LzwDTee4zv1XDGmJW5GalhsD1XWmamCQIYr/LsADK yrA1Yve2vEJhxrQ/NV00WTQMBSlLI5St/hysdugQ76QWWoq6hANDUhicqT87jj9+VQW9 9rDGjWp1/Z46bSZiBPd6EixDV/iUc1NirPmLuUYXr+oPpRQgyMRZXb8kAkC8v3YLMD26 0sM0KHlgpP5yTEGZI08JELLYmqKtlzi2RTClaTX+d21jMzvbN3myemqzdFdEin+Hv1JD p2Jpym5Vo9M1nXFrqg2Zd7nzyvlfHCSjdejX2Zz99VO7Mm4s3DYzGnqbv7ubbaQBn8vl jt0w== 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=5RceGSUFUjLEJW2/scx8HGaoDZct6NVCXjiTK9ixz94=; b=YISpVqCfmP/aG7Q3Z1iDH1/uvWPA9wz5wc2IhOvijFtUMXCTRooFRSxd7Q8JRIhzxL JI/SMPRkU9OoY3WJ0ZSFfQiOb5xtPmhP3AlvrmKWWWlhTOfDQRRC6SwSGNkNW7rJC+UI jW86SmvpX4cSlFj8BRUv1GrPpY4IyOdZguGtheDM8GTUlUoCmwHneIXJtd7lNMwtWrsY mwQ7C0p6BV1SnHrxTbuJwmaIf2eY/KdckhrVCnT7z5sAJzLa4mZkY9rZGiH6CvYjelvQ wcqDKnfMBf97scsbRHJBpv8hIHFnCI6rFzWQ/RrF96tYyM9Vr09fkRXFAWysOCbts4R7 n81g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=UqQDziRM; 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 gb14si6909273ejc.507.2020.12.07.11.39.37; Mon, 07 Dec 2020 11:40:11 -0800 (PST) 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=UqQDziRM; 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 S1726790AbgLGTgs (ORCPT + 99 others); Mon, 7 Dec 2020 14:36:48 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59916 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726777AbgLGTgr (ORCPT ); Mon, 7 Dec 2020 14:36:47 -0500 Received: from mail-oi1-x242.google.com (mail-oi1-x242.google.com [IPv6:2607:f8b0:4864:20::242]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6E4D4C061793 for ; Mon, 7 Dec 2020 11:36:07 -0800 (PST) Received: by mail-oi1-x242.google.com with SMTP id v85so6134060oia.6 for ; Mon, 07 Dec 2020 11:36:07 -0800 (PST) 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=5RceGSUFUjLEJW2/scx8HGaoDZct6NVCXjiTK9ixz94=; b=UqQDziRM06nUwkOqk9oocYn+WHozQc9sLlHnMvp+bs9W4+eRhAGuTj0f377FbXtgQ9 saT0UGQRIFbZPDSy6ite4iDUkUbydVukCwhEYfzEWOCSgBjrGqvaYlSEbnE7F0DjqqR0 q0eWqkt2F9y/LE+l9/PmIghjQstKsX5P9fSyE= 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=5RceGSUFUjLEJW2/scx8HGaoDZct6NVCXjiTK9ixz94=; b=IDCjOIwaEogepkwmHWOSy6by+XU1+NgblZtrxlhTuJJh1LcqP3rL3tBo8G7Oexxs4r KUKiT7zBMUDIToc17qsqP+K0nqtNl3j6fvtbiN8r3lq32EcY+QG8wLMO88hpIprzRWZW kwcGmMJ0LKVDsl/fo+iMTN8mrVbnMLpR3K1rUcRvSyLpMi8sJiuaD9ToJbBtgde6kSdO sbIKTMG36/AQWT8QGb1ng90e6ZrymvyPsRxwL70b/93AEzKWkfOlDf526kjY6QnPZ1kx KQHn+HOqxyWGe3XNdCl6X82y6LiNbVm7idaTQXcZxcngmeSHl6fvw84dxRJry+DB8htB rLEw== X-Gm-Message-State: AOAM5301Q3jqbOoKdFb0CPt35iPS0VYT/ZPSgdU5OXfkRAzyW/XyYels i/E4IYVeFaftcZgVqGwkItN4TTtJTZOb3g== X-Received: by 2002:aca:418b:: with SMTP id o133mr282850oia.67.1607369766247; Mon, 07 Dec 2020 11:36:06 -0800 (PST) Received: from mail-ot1-f43.google.com (mail-ot1-f43.google.com. [209.85.210.43]) by smtp.gmail.com with ESMTPSA id d62sm3118302oia.6.2020.12.07.11.36.05 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 07 Dec 2020 11:36:05 -0800 (PST) Received: by mail-ot1-f43.google.com with SMTP id 11so13600904oty.9 for ; Mon, 07 Dec 2020 11:36:05 -0800 (PST) X-Received: by 2002:a9d:744a:: with SMTP id p10mr3982059otk.203.1607369764576; Mon, 07 Dec 2020 11:36:04 -0800 (PST) MIME-Version: 1.0 References: <20201203185732.9CFA5C433ED@smtp.codeaurora.org> <20201204111715.04d5b198@kicinski-fedora-pc1c0hjn.DHCP.thefacebook.com> <87tusxgar5.fsf@codeaurora.org> In-Reply-To: <87tusxgar5.fsf@codeaurora.org> From: Brian Norris Date: Mon, 7 Dec 2020 11:35:53 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: pull-request: wireless-drivers-next-2020-12-03 To: Kalle Valo , Jakub Kicinski Cc: "" , linux-wireless Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On Mon, Dec 7, 2020 at 2:42 AM Kalle Valo wrote: > Jakub Kicinski writes: > > On Thu, 3 Dec 2020 18:57:32 +0000 (UTC) Kalle Valo wrote: > > There's also a patch which looks like it renames a module parameter. > > Module parameters are considered uAPI. > > Ah, I have been actually wondering that if they are part of user space > API or not, good to know that they are. I'll keep an eye of this in the > future so that we are not breaking the uAPI with module parameter > changes. Is there some reference for this rule (e.g., dictate from on high; or some explanation of reasons)? Or limitations on it? Because as-is, this sounds like one could never drop a module parameter, or remove obsolete features. It also suggests that debug-related knobs (which can benefit from some amount of flexibility over time) should go exclusively in debugfs (where ABI guarantees are explicitly not made), even at the expense of usability (dropping a line into /etc/modprobe.d/ is hard to beat). That's not to say I totally disagree with the original claim, but I'm just interested in knowing precisely what it means. And to put a precise spin on this: what would this rule say about the following? http://git.kernel.org/linus/f06021a18fcf8d8a1e79c5e0a8ec4eb2b038e153 iwlwifi: remove lar_disable module parameter Should that parameter have never been introduced in the first place, never be removed, or something else? I think I've seen this sort of pattern before, where features get phased in over time, with module parameters as either escape hatches or as opt-in mechanisms. Eventually, they stabilize, and there's no need (or sometimes, it's actively harmful) to keep the knob around. Or the one that might (?) be in question here: fc3ac64a3a28 rtw88: decide lps deep mode from firmware feature. The original module parameter was useful for enabling new power-saving features, because the driver didn't yet know which chip(s)/firmware(s) were stable with which power features. Now, the driver has learned how to figure out the optimal power settings, so it's dropping the old param and adding an "escape hatch", in case there are problems. I'd say this one is a bit more subtle than the lar_disable example, but I'm still not sure that really qualifies as a "user-visible" change. Brian