Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp7265178rwr; Tue, 25 Apr 2023 10:17:23 -0700 (PDT) X-Google-Smtp-Source: AKy350Z6zopdwVEbSey8LB3WKX6A1u5/Q/wWjDuwvuJbK/hum2cgwt3SusgrK9S/1Uo12KEjdiLV X-Received: by 2002:a17:902:ce90:b0:1a5:206:4c88 with SMTP id f16-20020a170902ce9000b001a502064c88mr21321438plg.18.1682443043187; Tue, 25 Apr 2023 10:17:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682443043; cv=none; d=google.com; s=arc-20160816; b=G6HzHDokb34lWA6B5R8k0VFCqNWHrjUSAjM1YOtOXJgGO6+eX8b2eYgxfxCRKq6I+u ULrs698+BiMPR+9OUHKgIzuqT5xz5VVZU8+TKQVcofnRfs9Gqjb0HTukFw6lKErDd5At t9gmVGJDtNi7O53qebIjwGiMdSDY8/YnmM+AznNbokpoFc72F7bSbydBmyYa+3HXVAAI YNBqmugDquZi7T32JUw2Hu+Oc6K7Rz5MEWYx1r/mZAl0y7em/spybTfcT0KMaTovooy5 KCjpHy2SzR5bLgpJFaqq4CBcESztOzt2esYPUWfAQtaBk4Ll1oEyksjXIii6thNUkUwe Bhbg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent :content-transfer-encoding:references:in-reply-to:date:cc:to:from :subject:message-id:dkim-signature; bh=Ey4edF/oKk0cDDvnWhurm/KjAw6rCB2vlfX/3HZ5Yvo=; b=XZEyorYCkrBSCYQ1pf2HRm5ltw6jm2DT3QUYOvCFAdQpeEVH22RM5p/uKB+9sfq34m PZ5vfZR40DKXP4oT/Zpcyp7Bk1TUWf1FZ1pzr/xpoUZPubyEswtvZIxQnP0JRkXYS25a wBFjDMTb7mJuCLxtn2jnu3GfxXEAJJbSt8BUnScSbyhYpsRByWK4yx2u1f5j1CU38b7K upDYYRlPqnri+7KvYWRfBWdGwVI0WCvLNIX5WQ/675Yo7eFPvuIzD0YSNHXHcPnaOyH3 OiTpev1hJgbpX97Yqfyjfr+YtpeoYGhyjsiPa9TIzYjycVZBl5W7Sey2vCTTUjj+yvC9 xvdA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sipsolutions.net header.s=mail header.b="Tg/97dFM"; 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=REJECT dis=NONE) header.from=sipsolutions.net Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n9-20020a170902d2c900b001a6eba7583csi14786165plc.633.2023.04.25.10.17.11; Tue, 25 Apr 2023 10:17:23 -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=@sipsolutions.net header.s=mail header.b="Tg/97dFM"; 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=REJECT dis=NONE) header.from=sipsolutions.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234603AbjDYRJE (ORCPT + 63 others); Tue, 25 Apr 2023 13:09:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56580 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234365AbjDYRJD (ORCPT ); Tue, 25 Apr 2023 13:09:03 -0400 Received: from sipsolutions.net (s3.sipsolutions.net [IPv6:2a01:4f8:191:4433::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 85B5DE71; Tue, 25 Apr 2023 10:09:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sipsolutions.net; s=mail; h=MIME-Version:Content-Transfer-Encoding: Content-Type:References:In-Reply-To:Date:Cc:To:From:Subject:Message-ID:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-To: Resent-Cc:Resent-Message-ID; bh=Ey4edF/oKk0cDDvnWhurm/KjAw6rCB2vlfX/3HZ5Yvo=; t=1682442542; x=1683652142; b=Tg/97dFMkTTeh8ZnMnqtryEwhKU4w4Fis5SOxukX5kUSLOE X7aoxxyHwHROZ4dP1uR8sK5Ae4jZy2xfBja7lLTy/sG0ZG3mH0bLjFa1O6moE7vaHp8omNLP6DFTt VzBJVaOscUhcIERf5qpyXijfbyStHMNu7cd2CtYD4OHUZQPu154VpsH/8IHQFSwhda+kn04FLKHOX XTQIZlpRJsuPBXZ2eHXsJHuWKHZ7YTg5a53RXfnrMFdmZIPOce2KiFg1W4RDmnWf4IG1R7dspHsCA 6oj87PQ/iXeiTqi6/5YjOc3jqPsdjJwLiaapKiCBaB0UxnE8NIInOaLDmvIFvTeg==; Received: by sipsolutions.net with esmtpsa (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.96) (envelope-from ) id 1prM9r-008Hap-2T; Tue, 25 Apr 2023 19:08:51 +0200 Message-ID: <77cf7fa9de20be55d50f03ccbdd52e3c8682b2b3.camel@sipsolutions.net> Subject: Re: pull-request: wireless-next-2023-04-21 From: Johannes Berg To: Jakub Kicinski , Kalle Valo Cc: Ping-Ke Shih , "netdev@vger.kernel.org" , "linux-wireless@vger.kernel.org" Date: Tue, 25 Apr 2023 19:08:50 +0200 In-Reply-To: <20230425071848.6156c0a0@kernel.org> References: <20230421104726.800BCC433D2@smtp.kernel.org> <20230421075404.63c04bca@kernel.org> <87leigr06u.fsf@kernel.org> <20230425071848.6156c0a0@kernel.org> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.46.4 (3.46.4-1.fc37) MIME-Version: 1.0 X-malware-bazaar: not-scanned X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 Tue, 2023-04-25 at 07:18 -0700, Jakub Kicinski wrote: > On Tue, 25 Apr 2023 08:38:17 +0300 Kalle Valo wrote: > > IIRC we discussed this back in initial rtw88 or rtw89 driver review (no= t > > sure which one). At the time I pushed for the current solution to have > > the initvals in static variables just to avoid any backwards > > compatibility issues. I agree that the initvals in .c files are ugly bu= t > > is it worth all the extra effort and complexity to move them outside th= e > > kernel? I'm starting to lean towards it's not worth all the extra work. >=20 > I don't think it's that much extra work, the driver requires FW > according to modinfo, anyway, so /lib/firmware is already required. If the firmware is sufficiently unique to a device (which is likely) it could even just be appended to that same file, assuming the file format has any kind of container layout. But even that could be done fairly easily. johannes