Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp7051161rwr; Tue, 25 Apr 2023 07:29:43 -0700 (PDT) X-Google-Smtp-Source: AKy350bgTLoHWNbT8Qrhpyug5aFvhHPq7qIg7lQZ2TNlIOv1rz9IMa2yNfyFAWjpDx8RNSQdmlUx X-Received: by 2002:a05:6a20:431c:b0:ef:ed72:779c with SMTP id h28-20020a056a20431c00b000efed72779cmr22935573pzk.8.1682432983196; Tue, 25 Apr 2023 07:29:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682432983; cv=none; d=google.com; s=arc-20160816; b=AywAk37fqWffd+nWA62M46hPAfoiSP6u9zaTQ59OoBQ/9ued/lhv7M4OEQP4JZQ4VK 8bIwvnoieJiJDTtvaMwEN37nO0Ulpfm6kDUm2F5YFOj4HTQWe7Qi+Vs1XCqJ3OD+auk+ FMMY8Z1PEfH4/Q6gWog6NDfXmCqzwTzI5tY8WS6iUFDqgreMzfOk+PG8h24i/KqV8vHy 6rI1AyU6NXFsDK7ktTDzausLNYAjfCe6Nczx3NYSzz6pao59azBD2qRp0UY6OsLngFkc IVAWs1y0KhUPgfA/43hX7NFl75Pr1+CNqBaMGwGzgZzCBlAm2CtpebvRYc6NppzSnn7U Ahlg== 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=616hylbH2Q9Uro5He0e9wVu5/l8+kS27AlpK0DGcQXk=; b=eRTAVbA8JCzM1XR1x+bNjmLqapF+etditwCTE++2Vr0ZK00vw0viPsiHOf6mvsh4z8 nQw49DRCO56WHyUIKc+SqvVKOL69ZCEFzn9EVUip3mZwwMu+Yd4WIdvA5FUOS1ijzEH6 wSnMpbUFG65irP1bvo1OGB0yDSEphfs1UCrXooA8RGb/dt4W4gm6YbCMb6XaUdAxlVrC lsNHfIfSVlHwwor5TN0tMDlTQ1LbcYKmnydmGgh4Ff9TwmArTsSNkrYZQHR7RhvOB1+h 66GyUUHyunM8EyHbVqyJ+R+Fw+azN8I45bB8efgqnGURsdgnTkBGiOIE/eZpvgzb2lZd J+7Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=EHFRAIEt; 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 e10-20020a63690a000000b00524ea64ba6esi9351803pgc.530.2023.04.25.07.29.31; Tue, 25 Apr 2023 07:29:43 -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=EHFRAIEt; 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 S234506AbjDYOTY (ORCPT + 63 others); Tue, 25 Apr 2023 10:19:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35906 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234513AbjDYOTO (ORCPT ); Tue, 25 Apr 2023 10:19:14 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5FA1B1618B; Tue, 25 Apr 2023 07:18:50 -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 EEB4062567; Tue, 25 Apr 2023 14:18:49 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 241F4C433EF; Tue, 25 Apr 2023 14:18:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1682432329; bh=616hylbH2Q9Uro5He0e9wVu5/l8+kS27AlpK0DGcQXk=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=EHFRAIEtfLrj9npAkf+KM1KDdGmX1JnpktfLDMjegQsKOw+cW26l2DsgSf7VT4jmx JF6wPp/uk3CROP2EAoaYIPl5JDjP0LAQXX03qglLZhQWciA54eTXEKt3kap8Kcpqym 5g78D02w09pIe+B1FcQKbNQ/+7NS0+uelLIqVGNWRGDYpWWxqN4Pw16PRUZIKMJpZ3 M6aFTE+QDrSBTTVt1kc/B7ApH7t3w7njusbey19kmbMUe36dso3wD9g1QvExaXqqBl s6Bx9vUUQYZ1kYjRCqAdZRwF+ud4gfj1CtSOrPdQCCnAFBmApcQGxrpUN6eH5dXR49 VFznn+CCYTlEA== Date: Tue, 25 Apr 2023 07:18:48 -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: <20230425071848.6156c0a0@kernel.org> In-Reply-To: <87leigr06u.fsf@kernel.org> References: <20230421104726.800BCC433D2@smtp.kernel.org> <20230421075404.63c04bca@kernel.org> <87leigr06u.fsf@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, 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 Tue, 25 Apr 2023 08:38:17 +0300 Kalle Valo wrote: > IIRC we discussed this back in initial rtw88 or rtw89 driver review (not > 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 but > is it worth all the extra effort and complexity to move them outside the > kernel? I'm starting to lean towards it's not worth all the extra work. 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. 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? > For me most important is that backwards compatibility is not broken, > that would be bad for the users. So whatever we decide let's keep that > in mind. Right, not for existing devices, only when new device is added.