Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp2356356pxb; Sun, 30 Jan 2022 13:26:01 -0800 (PST) X-Google-Smtp-Source: ABdhPJzXTcu7ON1uops/rqqZhWy7h4cbngapobPGkf4ZkmOsV6iO4Y0CnDqsnpdKcWAa4bWdL4LK X-Received: by 2002:a17:902:d4ca:: with SMTP id o10mr18478769plg.28.1643577961245; Sun, 30 Jan 2022 13:26:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643577961; cv=none; d=google.com; s=arc-20160816; b=Ss35NY6nislpwkVBcxq1dD+zIn7U0SayiD7TVAuDLgg8geWlTVaU46B91I6eTsv7VY 1tr6rrJErAA6wmIIoHSu02IiNaFZoiuoJ7hupHgzqRcr3Np+0AuBgbJZxF3pifCk8jYd LqEHFWJ4hfAVnzo7RAtXOrYVWP+0Ktl8k0SMgO1TVJtGeUAW8JczHHatqovTn0+jm0Gm zdXXG8oA4D5UQmj4/E9pxTakVV0Z/Z8ydGeYJaqf5fiCx4kXTmHxJqxYewkQzuTzp+ef SSZVXKnzjWiaKj8d3ps01iNfEB7HQVxkEAKktdYWUTizrkfBV57iAMYT+jFPMulu32gy 121w== 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=flcZjpQjBoHbrME3cBSOnvbnWup0ykQM5wOnQme0e5c=; b=J6EwdjRVld+bi6kSI84SrDX1UJiNeDTfZaJfAbo0r/+dkOh0YumtGMut2GGuQ0CjwI lbI283XG2ljz+bAOGmtLpVhQwU5XaHTxcxUP670lgMQPqr9lyi/Cql9Yzj7svftxFmlF iiWcEda9YWUfju7t9lvYqKGqiyGP3qRKKwU7S1wZZa/+ZdgoLJXZfV542Zk8/raA+Qu7 pz0wHE442U4OQlPj6rnYl62skIGDlVYmzkPGBvWLJV3X9ymecqbiP4kKKzNNpf4wwCfo yOrDJKhdQxtkcfigdk5MCSn5EivgDG9x2GQxbZdJ4YKA2Ex56XOzQBQdAHkUAch0IeNQ p0AQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=BxXiOoMb; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e19si14473500pgl.870.2022.01.30.13.25.45; Sun, 30 Jan 2022 13:26:01 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=BxXiOoMb; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 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 S242623AbiA1KHa (ORCPT + 72 others); Fri, 28 Jan 2022 05:07:30 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37882 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234425AbiA1KH3 (ORCPT ); Fri, 28 Jan 2022 05:07:29 -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 DCA55C061714; Fri, 28 Jan 2022 02:07:28 -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 DF8F761E1B; Fri, 28 Jan 2022 10:07:26 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E4B13C340E6; Fri, 28 Jan 2022 10:07:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1643364446; bh=f6PBkZrbiXplSyJ9SctAtOlwopu9lunMvBAUlYg6D7g=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=BxXiOoMbcRuJmnVWD08edF4mMqvedPC7E0EuIxK0D5sTwf2JXOMtHgd8BG9wGFdGX 0pEZrtdYyrsnhw69G9Bv5jw+A1mv1Z5QnN3ysjbfrJQquqqrYN4pQ0a8aAtI8i6On3 RSRwZRpIxWJ+XQWL3qY8gJvHY4snzRfEY0kFos898pBXR9oVz/4/BD2E7NyFU06aZs /Tgg/hxG0666i3CY53idv7Sosaz5nxO6SiCGeJDdy6nq7z6mxPfUvd7pnjo7VhH0cO hMHrW4Op5D+xXfdqlBiSmMYMO3GUjF6PLP2tPmzWzCZGgFIm7lxIOwQMkiTZSG2pWO vJksRwr+x3f/w== From: Kalle Valo To: Manikanta Pubbisetty Cc: , , , Subject: Re: [PATCH v2 00/19] add support for WCN6750 References: <1642337235-8618-1-git-send-email-quic_mpubbise@quicinc.com> Date: Fri, 28 Jan 2022 12:07:22 +0200 In-Reply-To: <1642337235-8618-1-git-send-email-quic_mpubbise@quicinc.com> (Manikanta Pubbisetty's message of "Sun, 16 Jan 2022 18:16:56 +0530") Message-ID: <87ilu4gomd.fsf@kernel.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Manikanta Pubbisetty writes: > WCN6750 is non-DBS 2x2 11AX chipset. Unlike QCA6390/WCN6855 which > are DBS (dual band simultaneous) solutions (2 LMACs), WCN6750 has a > single LMAC supporting 2G, 5G and 6G bands. It can be operated only > on one band at any given point. > > WCN6750 is a PCIe device. Unlike other supported ATH11K PCIe devices > which are directly attached to APSS (Application Processor SubSystem), > WCN6750 is not attached to APSS, it is attached to the WPSS > (Wireless Processor SubSystem) Q6 processor, the FW which runs on the > Q6 processor will enumerate the PCIe device. Since APSS is unaware of > such a device, it has to be registered as a platform device(AHB) to the > kernel for device probing. Like other AHB devices, remoteproc APIs are > used to boot up or shutdown of WCN6750. > > WCN6750 uses both AHB and PCIe ATH11K APIs for it's operation. > It uses AHB APIs for device probe and booting of the remote processor. > Once device is booted up, it uses ATH11K PCIe APIs for initialization > and register access. Hence, it is referred as hybrid bus device in > the rest of this series. > > Since the chip is enumerated by WPSS Q6, device information like > BAR and BAR size is not known to the APSS processor. A new QMI message > called device info QMI request will be sent to the target for fetching > these details. > > STA and AP modes are supported; Basic connectivity and ping are > verified in both the modes. > > Tested-on: WCN6750 hw1.0 AHB WLAN.MSL.1.0.1-00573-QCAMSLSWPLZ-1 > Tested-on: WCN6855 hw2.0 PCI WLAN.HSP.1.1-01720.1-QCAHSPSWPL_V1_V2_SILICONZ_LITE-1 > Tested-on: QCN9074 hw1.0 PCI WLAN.HK.2.5.0.1-01100-QCAHKSWPL_SILICONZ-1 > Tested-on: IPQ8074 hw2.0 AHB WLAN.HK.2.4.0.1-00192-QCAHKSWPL_SILICONZ-1 > > Note: > * Remoteproc driver changes for WCN6750 which takes care of > downloading the FW and booting of Q6 processor are under > upstream review. > Link: https://patchwork.kernel.org/project/linux-remoteproc/list/?series=582475 This is a very good overview, thanks for that. But I think something which is not clearly mentioned here is that this only works on Qualcomm Snapdragon SoC, right? So even though WCN6750 is a PCI device, it cannot be attached to any platform. It would be good to emphasise that. > Manikanta Pubbisetty (19): > ath11k: PCI changes to support WCN6750 > ath11k: Refactor PCI code to support hybrid bus devices > ath11k: Choose MSI config based on HW revision > ath11k: Refactor MSI logic > ath11k: Remove core PCI references from PCI common code > ath11k: Add HW params for WCN6750 > ath11k: Add bus params for WCN6750 > ath11k: Add register access logic for WCN6750 > ath11k: Fetch device information via QMI for WCN6750 > ath11k: Add QMI changes for WCN6750 > ath11k: HAL changes to support WCN6750 > ath11k: Datapath changes to support WCN6750 > ath11k: Fix RX de-fragmentation issue on WCN6750 > ath11k: Do not put HW in DBS mode for WCN6750 > ath11k: WMI changes to support WCN6750 > ath11k: Update WBM idle ring HP after FW mode on > ath11k: Add support for WCN6750 device > ath11k: Add support for targets without trustzone > dt: bindings: net: add bindings of WCN6750 for ath11k 19 patches is a lot to chew on in one go, my recommendation is to have max 10-12 patches per set. In this case having three patchsets would make it a lot easier for reviewers, but not sure how to split them. Maybe you could submit these patches separate for preparing WCN6750 support, after a quick look they seem pretty independent: ath11k: Fetch device information via QMI for WCN6750 ath11k: HAL changes to support WCN6750 ath11k: Fix RX de-fragmentation issue on WCN6750 ath11k: Do not put HW in DBS mode for WCN6750 ath11k: WMI changes to support WCN6750 -- https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches