Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp6040202rwr; Mon, 1 May 2023 15:27:21 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6ErLdQ4JmfJhjUYFzU6Uc+maV/LJxnM0P6DoOCAXQsGcF6rxmPX953GQWcZ0yhnkPeX88B X-Received: by 2002:a17:903:1c9:b0:1a6:f5d5:b7f6 with SMTP id e9-20020a17090301c900b001a6f5d5b7f6mr24324073plh.10.1682980041545; Mon, 01 May 2023 15:27:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682980041; cv=none; d=google.com; s=arc-20160816; b=egOa62346zB66Ij6ChbZYGhLBszjBxAnapsEnc92tFoGINoNWKWNNkMxirKgzJK+yW BkYLkAeWlT1nl3JcLVLFOOSZAi9zyczr76/1azZ9w2Gn43hezu5PNwyaMxJlR0TR4inp UC0ekK8Alri1OLzyNUIVHeGdNYfJrLZqm901pC4B+M1bS3aHr2smdcrs7Qs7gD8EO8Nf igr8rS7WFy+6+JXB+3c0Rf4/p+1IPAnuU8UFRjh7g19/JbkvsaQsGmvWrjBtD93gbXcA s6uF1TdLRkS+nnLa67sCfY0yGFcua4WtuBZMwySxtbgcQP4rh7jCB0Jij+dh9o/eOE+Q JfKA== 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=dXobGBv2EZkww6nsciRzZsG82Cq3BP6Ufp7fAYHzYfY=; b=pIBzjebqKlfVh1tMH3x0MTyZMFtnSG+Zb0rz8rDsBWPRMTpdqd9y+3SSIqYvUbKknN 2qAIm0QuZ8cY77h+8u4fKQC0QIB2RES5RRfdZ7+Ns7vb87PW7JnCE/WRr/d5y06fO1LV DKK93SwqqTDRc4+eAXozuPAGTUwzEkxhmuOFZvz+gHkahQw+FMXctFeyesXlv0oUIBiG mZ07EBQ08lBcXmc8pPh5k83Hhe1MFOD05o4ym2aihtfiTdzUS/yMLVrcnA7xwnqvg9ln Fzkqg/U84J2pBMIkoVwwiz64sigJEITnpbN1zMJ4XoKhUBchdJGvrfgcd3UuSUiadNI+ kI7Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=YQpOou+1; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d11-20020a170903230b00b001a977aa4979si22038696plh.497.2023.05.01.15.27.08; Mon, 01 May 2023 15:27:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=YQpOou+1; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231397AbjEAWIH (ORCPT + 61 others); Mon, 1 May 2023 18:08:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54772 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229664AbjEAWIG (ORCPT ); Mon, 1 May 2023 18:08:06 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 58DD91FEB; Mon, 1 May 2023 15:08:05 -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 dfw.source.kernel.org (Postfix) with ESMTPS id E82A861B86; Mon, 1 May 2023 22:08:04 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1D666C433D2; Mon, 1 May 2023 22:08:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1682978884; bh=3uBwTs+BjArlbFvziWqGDytvQf6gMzzJgKqFXYdheCk=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=YQpOou+14UAIaCscm+mUCjVZbXxUbmOAKvePCkuWBmZjgs1Zvi0EZx1NkwX9A+Rva BZ89W8/pI/hPbyzKtLXfnwUJmVWjETdO40VG1GY2hcRpTvHK7BDyJjb6CqHGC3uRY0 dDuPqTh5Ibr5ToPJFx7O+yqur4Qdh0fW08ciBwBKpTSbhjJSZG1T0OAxVmNB2IDg8t K2Nnq6xl36Ft9ilY4Dgl1aTcAPTctq5B14peSV8tXeikdKcTembfPSQTzkw71axk9p 39SbYZeXaK7839peBfUBOBuhCSS+qPPMV1OlsUot8+NqrzELKtd9boPBG/B0AHfzR4 X9HPkvJ+s8UxA== Date: Mon, 1 May 2023 15:08:03 -0700 From: Jakub Kicinski To: Kalle Valo Cc: Ping-Ke Shih , netdev@vger.kernel.org, linux-wireless@vger.kernel.org Subject: Re: pull-request: wireless-next-2023-04-21 Message-ID: <20230501150803.6c4963ac@kernel.org> In-Reply-To: <87cz3os2wr.fsf@kernel.org> References: <20230421104726.800BCC433D2@smtp.kernel.org> <20230421075404.63c04bca@kernel.org> <87leigr06u.fsf@kernel.org> <20230425071848.6156c0a0@kernel.org> <87cz3os2wr.fsf@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-7.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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-wireless@vger.kernel.org On Fri, 28 Apr 2023 13:43:16 +0300 Kalle Valo wrote: > > I don't think it's that much extra work, the driver requires FW > > according to modinfo, anyway, so /lib/firmware is already required. > > And on smaller systems with few hundred MB of RAM it'd be nice to not > > hold all the stuff in kernel memory, I'd think. > > Later in this thread Ping explained pretty well the challenges here, > that sums exactly what I'm worried about. > > > We have a rule against putting FW as a static table in the driver > > source, right? Or did we abandon that? Isn't this fundamentally similar? > > My understanding is that these are just initialisation values for > hardware, not executable code. (Ping, please correct me if I > misunderstood.) So that's why I thought these are ok to have in kernel. > So I took practicality over elegance here. Alright, I'll try to make someone else do this outside of wireless, and come back with real life experience disproving the concerns :)