Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp989310pxb; Fri, 22 Apr 2022 16:06:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzyAd1+zyUvvIKVm5G5k9Vr0YQmz2+sVeTqXmNqv/mQ7vxFTRoWq+5YBGxKjCDroCuu/36t X-Received: by 2002:a65:6a56:0:b0:3aa:49b8:ee77 with SMTP id o22-20020a656a56000000b003aa49b8ee77mr5760596pgu.19.1650668774988; Fri, 22 Apr 2022 16:06:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650668774; cv=none; d=google.com; s=arc-20160816; b=HcETEMV3aNmDW7eTNYcZSlk3cn8DUdNTIEB30c/pNEHnex8Due95siuKT6FvaROFBv o2uFkmycQshWirDbyYuwsYSftME85nx94NwKusICzdNLNy2MIYJ9H54yCsMwlAB0efLg Adx+ZTSEx5eSNZ0p9Wnz/9FjgAG8Son0kCtbnJ63Mau/u0y/0JrawT+IC3YYKAFe34Ct 4CwU7ujQ7TK2f3FjGG4h8h/rfwhYz0XGMt+B7DEXjFdn5ZSlehfhSLeRtsj0pSsr9UtS vcB8FNk8ux5YgBnauAhkRxMu2XFcirSY0ZrSOw5FTZCO/LVNkdWENZoTcXxGU46rT2qK 6daw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=5Va7zl8QNTsKGU08qRBBUZy3id1B8+h2IoZQ/fT0eGY=; b=UYVjuwXER5Kg/l5BeTbXLiR0a7r9RAiEQgCUPXpMeaYUNqNBYH+4N+ryS7NqTo7Rl+ DsFNZeWo5eIfid5Vz9Agkue08cyQnvE0F88aIsmyCXu6QBBTqVQnAhR5yWQkwK0DxqDh ALulo9wyvdc9kB6C164//2GFl6g99jXw6wF2gCXnM45N4qVNmIrKYqojhnmXxkCR8poD BT+zArc/MbzuZLA1nQXRbjQsfp3yeo3JQ5XA1FUqulfT3mSthCcufh9gWfKJRRQvBhso G2GYIU9xamkULxmPyv6vXja/FYl3ikPSkCFIo2IXHEUPSTIzNplDLf83uLpkA7qX8VgX 010w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ncbmxN3D; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id k24-20020a63d858000000b003aa45e26305si9741834pgj.858.2022.04.22.16.06.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Apr 2022 16:06:14 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ncbmxN3D; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 1A4052D4A55; Fri, 22 Apr 2022 14:36:06 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230064AbiDVVix (ORCPT + 99 others); Fri, 22 Apr 2022 17:38:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40622 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230062AbiDVVit (ORCPT ); Fri, 22 Apr 2022 17:38:49 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3DCFE29DF15; Fri, 22 Apr 2022 13:44:10 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id C8204B8325D; Fri, 22 Apr 2022 20:44:08 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DAD2DC385A0; Fri, 22 Apr 2022 20:44:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1650660247; bh=HnbkQVOtfa7+/56LQ5INga98V0wHs2i7oJ/vI85Yrbo=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=ncbmxN3DmsIJneYRy5/ENYjoC5IpODUGNtoqIcYvp/kNhyNvjtlhNgLsf6F+yjb1g jVstrDggPk3uYKOKKFux0FNjQg3bs96RfiXaseCMLwErKmAc8oBTYrAdPRplYUgsCr QYNI4YeEOzSnE32G+XYQ8zz4EfY8tkrhGUEPj68EpOas+hjCUvS65aUIip7ajutCsd +gdiDnVGG5UwdRzvLF6aiIWhUeiNmoIpEkflQamA1hjzkDrTzh8s4lIvT10OyyMXKF AaV6d/p07sO4C8+ML8hhojkVpFX7fBRXEmpsgecLOiAB2R/yWEnqoAlV1bTEkyIF0K ZJXv69B6gizkw== Date: Fri, 22 Apr 2022 13:44:05 -0700 From: Jakub Kicinski To: Kalle Valo Cc: Jani Nikula , Greg Kroah-Hartman , linux-kernel@vger.kernel.org, intel-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, Andrew Morton , Lucas De Marchi , linux-wireless@vger.kernel.org, netdev@vger.kernel.org Subject: Re: [PATCH 0/1] add support for enum module parameters Message-ID: <20220422134405.7a519a0f@kernel.org> In-Reply-To: <87sfq8qqus.fsf@tynnyri.adurom.net> References: <20220414123033.654198-1-jani.nikula@intel.com> <87a6cneoco.fsf@intel.com> <87sfq8qqus.fsf@tynnyri.adurom.net> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RDNS_NONE,SPF_HELO_NONE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 20 Apr 2022 08:13:47 +0300 Kalle Valo wrote: > Wireless drivers would also desperately need to pass device specific > parameters at (or before) probe time. And not only debug parameters but > also configuration parameters, for example firmware memory allocations > schemes (optimise for features vs number of clients etc) and whatnot. > > Any ideas how to implement that? Is there any prior work for anything > like this? This is pretty hard limiting usability of upstream wireless > drivers and I really want to find a proper solution. In netdev we have devlink which is used for all sort of device configuration. devlink-resource sounds like what you need, but it'd have to be extended to support configuration which requires reload/re-probe. Currently only devlink-params support that but params were a mistake so don't use that.