Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp2321760rwb; Wed, 30 Nov 2022 05:21:56 -0800 (PST) X-Google-Smtp-Source: AA0mqf74PsTSqFrxUIdwvCZVUhEPAWf2diSLLucswZAGKKUpdSFRktsv7sGmaceajnLEic8y3ZN4 X-Received: by 2002:aa7:8bda:0:b0:574:f4bf:9387 with SMTP id s26-20020aa78bda000000b00574f4bf9387mr20638722pfd.72.1669814516238; Wed, 30 Nov 2022 05:21:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669814516; cv=none; d=google.com; s=arc-20160816; b=iC+7E3EnyWDFH5Wue6bJN/7s/IwY102/csgjg6m2XgZyezc8EgViCSACvaOXI/cxUn jANospFqUr2uQwbgONQy8m05Jv2+0urRKxIjyzMHG6dsk87bnNIceHYzy4UotNigT60K 3asR41+3h4+Ge7NfpSmkl94bThUz3ib33cmsRfNcN4W2fdDipTD1iSBlba5qh4sUnYmn zwwly8atO6oHXyQtfYuDEMNUve3LcpnKfgmeYJzqs3WGmxdRPFfq4fbzzTIQOyyNrTo2 IA8c6ZBYeVX2tNj9CIgRJNqO2uODx/h6GFJprap3pRPiKt/VEiSIW3SJBpyXFX5rKf+p sPOA== 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:message-id:in-reply-to :date:references:subject:cc:to:from:dkim-signature; bh=OF6JwjiyOpQxGD+z+D4HxLQsvv37pFAAQky89UkYq+0=; b=VsBQUxW1DzvTRzJoKTOKgIpH1yKaY3S+XVxCPc7FMt+8as+foWQ7luktk9CZ05gnGn mBS08ug5Oud6HTODKlxk/s+a0Hs5l74gCLvZ7+imV+9BzA3XM/OsRUqHY6VKIsrUm1Sy kRVMRCsw/DGqrYaJwuh8M92lvycVmloUNZKHXTKzBLjma/mrfuUKbZyDZvzvvrKlI+Dy v1+mLr/WfrQr3AsM9wMLWCgt3/RquDPHvd3WZcMXMkg0s+4ULKsh/Kpr6Kv3gwB5hjwc Hx9a40hrhd/9WG/cwYzX9/iruiJwTkIuNH87vJf3j6PbnOtb+m3X4wmLXnEjISd4dJBY 9QvQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=bAVcbl+z; 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 y17-20020a170903011100b00179c921918esi1234364plc.17.2022.11.30.05.21.42; Wed, 30 Nov 2022 05:21:56 -0800 (PST) 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=bAVcbl+z; 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 S233389AbiK3NMp (ORCPT + 67 others); Wed, 30 Nov 2022 08:12:45 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51606 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232979AbiK3NMn (ORCPT ); Wed, 30 Nov 2022 08:12:43 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 35A866386 for ; Wed, 30 Nov 2022 05:12:39 -0800 (PST) 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 5D64361AC1 for ; Wed, 30 Nov 2022 13:12:39 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E22E3C433C1; Wed, 30 Nov 2022 13:12:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1669813958; bh=ZWr9+FAS57bf6z+vP2CjDIujiiH62Huf8CkIkmu3W9M=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=bAVcbl+z0vk5KRpXDEbnZDykL57W2UPuXXt+9HJyaS3rwqSDgBR4drbI/jAK4syur jcC43u3+C+RdOkE9JDHAhvylFEE9ty7KozKVMxZ2nIwBj76lMbSTGLshI5qzNPWbNR qVFKxPJkx7a0kEXzc7KeyDR6+C/BCb9qRlP8+uEI3iHtkXzqLtJIY6mqUXLYh/QPN7 HvQEXM1SjACAg9t4qCgfOfO1KLadR/V694xONFe/DRnrLwpItGBpBSC5k42xX9BtJA m1jPzX3nA6yokZjNCKT674ZMtNK4wD+g5uJAgk7NBsKLY/PhBYMJMX8hQNYHQq0fgO IpG+ytCKZteZQ== From: Kalle Valo To: Christoph Hellwig Cc: ath11k@lists.infradead.org, linux-wireless@vger.kernel.org Subject: Re: ath11k vs ar_qrtr? References: <20221130122807.GA31720@lst.de> <87o7so4nr2.fsf@kernel.org> <20221130125236.GA865@lst.de> Date: Wed, 30 Nov 2022 15:12:32 +0200 In-Reply-To: <20221130125236.GA865@lst.de> (Christoph Hellwig's message of "Wed, 30 Nov 2022 13:52:36 +0100") Message-ID: <87k03c4mdb.fsf@kernel.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-7.1 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 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 + linux-wireless Christoph Hellwig writes: > On Wed, Nov 30, 2022 at 02:42:41PM +0200, Kalle Valo wrote: >> Sorry, not following you here. Are you saying that "select QRTR" is not >> enough and we should add something more? > > Yes, there is no runtime dependency right now. Something like using > MODULE_SOFTDEP should solve this. Untested for now, but I can send a > formal one after I make it past the initial installation: Heh, I'm learning something new here. But I wonder why nobody else has seen this? If you submit a patch, please remember to CC linux-wireless so that our patchwork sees it: https://wireless.wiki.kernel.org/en/users/drivers/ath11k/submittingpatches > diff --git a/drivers/net/wireless/ath/ath11k/core.c > b/drivers/net/wireless/ath/ath11k/core.c > index b99180bc81723b..72d043fc6b7c2c 100644 > --- a/drivers/net/wireless/ath/ath11k/core.c > +++ b/drivers/net/wireless/ath/ath11k/core.c > @@ -1945,3 +1945,5 @@ EXPORT_SYMBOL(ath11k_core_alloc); > > MODULE_DESCRIPTION("Core module for Qualcomm Atheros 802.11ax wireless LAN cards."); > MODULE_LICENSE("Dual BSD/GPL"); > +MODULE_SOFTDEP("pre: qrtr"); > +MODULE_SOFTDEP("pre: qrtr-mhi"); Would it be better to have these in one line? MODULE_SOFTDEP("pre: qrtr qrtr-mhi"); At least the documentation seems to suggest that. -- https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches