Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp72191iob; Mon, 2 May 2022 13:23:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxGKZ1OKKPWcEMVjB9KEGdmlorvltViu/XUX+fXiol2Ro2ic5/C/LDnQi+xu6FiFdW1XsgD X-Received: by 2002:a17:902:e947:b0:14f:43ba:55fc with SMTP id b7-20020a170902e94700b0014f43ba55fcmr2906414pll.3.1651522986505; Mon, 02 May 2022 13:23:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651522986; cv=none; d=google.com; s=arc-20160816; b=N7uASoiN8lqVaM6/kqB8e4I1SymbM04AuZCjxy7MYX7tD3iO2bfF12tR3v4hHA4btR yeWqgdaTN8ZmdErlyLBfXuHPfYjkb6/RcRPwTi6FCflbrM6hNgrkj2dfaZo5bMOshkO7 dlGrncwzJYiR8VuGQg2MpdIt+Zo3LyY8hXCSu55OBgAJbAClofU21xiRDpxFFaSrwVa/ SqQvbIdigOhjzwr3hpMIqYFY/qYlO4+6GxAzh4XWmq6jrWiomm3llEjq1UzOLBkE6hsx DcK9ACROkvNqhDkRhUu/1hNYnjulBJCKOyiZKNwZkdE7Ci5J+ZC7xcd6sr8MuYtq5Tnu KF+w== 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=dTATsB2HvPDdwHddKH+DFcIf1FCtBHSzb+zH3Z042CM=; b=O1llxFZQe5Vln92E6IQ4s/em31eH5aSSSfM+y5b8y3Sl0emEQlyFhyjO9ZFyetjebe 83gp6JbXgureyUvxvWmTYTHeTtAVwUc/+8GM1k9ayFCl9sGcUD9IG0eNIiqjjT3qMBfW 3BuY/9nTpcGsgsNV1a+MosxbUGl1QXrERw/yvahEd4GH6iUF5/yCQ+2jnet6ypNSBc6E cWS3tTjyezy6rv1kveUkRLhmt8oE4QXVT9b4TslQEHnU+iV90agc5/an+7GYhWh5nZQz IFkaCtgWMyFmqaIzJsxW8zBN0rR5mM4uzzG5OaKPuObPZ4zNtx3VsaokDOifyIGNpMom 6TIQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=nm2I33v4; 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 j4-20020a636e04000000b003c257a83201si1957181pgc.770.2022.05.02.13.22.50; Mon, 02 May 2022 13:23:06 -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=nm2I33v4; 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 S237665AbiEBO2q (ORCPT + 68 others); Mon, 2 May 2022 10:28:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36178 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237585AbiEBO2j (ORCPT ); Mon, 2 May 2022 10:28:39 -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 A68F2BF6B for ; Mon, 2 May 2022 07:25:10 -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 4140F60B6B for ; Mon, 2 May 2022 14:25:10 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D918AC385A4; Mon, 2 May 2022 14:25:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1651501509; bh=rYy4mpAx6EyxzNfDAK8Zp5xCShNoIUSIErNAxKOZE1o=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=nm2I33v4dmGau/a2WmCkzYyxbFqRIfac0f719qLFowSTDqcyF64cGKUuSfqTTcXB8 beIm6Bsu9XCy3C8++HhKWK1+LotmtWbqLBqDVMSnEkJfd+WBOYicpgCzQ16y2//8ps SCi+MIp/+V/c8N6W6C7MuIqf3ipxKr366T78bcKrHoOwf9wv0IxqsVHiUiV9MtwDtl lBVJCoP5p71ZL5dax+wtIRqYDlPpIfhxKLKLPE2iKRyvXTf0xm5hNK5wF4sVEn04u6 a3gubEOs+iFljmb9pbhy0OtBkoziszXxzk84h7u9e9e6GUf27E34hni5DW+o5seplq gyzTrVWPthD2w== From: Kalle Valo To: Manikanta Pubbisetty Cc: , Subject: Re: [PATCH v3] ath11k: Fix RX de-fragmentation issue on WCN6750 References: <20220328061947.28813-1-quic_mpubbise@quicinc.com> Date: Mon, 02 May 2022 17:25:04 +0300 In-Reply-To: <20220328061947.28813-1-quic_mpubbise@quicinc.com> (Manikanta Pubbisetty's message of "Mon, 28 Mar 2022 11:49:47 +0530") Message-ID: <87bkwgau67.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.7 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 Manikanta Pubbisetty writes: > The offset of REO register where the RX fragment destination ring > is configured is different in WCN6750 as compared to WCN6855. > Due to this differnce in offsets, on WCN6750, fragment destination > ring will be configured incorrectly, leading to RX fragments not > getting delivered to the driver. Fix this by defining HW specific > offset for the REO MISC CTL register. > > 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 > > Signed-off-by: Manikanta Pubbisetty [...] > @@ -2229,6 +2229,9 @@ const struct ath11k_hw_regs wcn6855_regs = { > > /* Shadow register area */ > .hal_shadow_base_addr = 0x000008fc, > + > + /* REO MISC CTRL */ > + .hal_reo1_misc_ctl = 0x00000630, > }; I don't really see the benefit from the comment, it doesn't bring any extra information. > const struct ath11k_hw_regs wcn6750_regs = { > @@ -2311,6 +2314,9 @@ const struct ath11k_hw_regs wcn6750_regs = { > > /* Shadow register area */ > .hal_shadow_base_addr = 0x00000504, > + > + /* REO MISC CTRL */ > + .hal_reo1_misc_ctl = 0x000005d8, Ditto. What about other ath11k_hw_regs tables: [1906] const struct ath11k_hw_regs ipq8074_regs = { [1988] const struct ath11k_hw_regs qca6390_regs = { [2070] const struct ath11k_hw_regs qcn9074_regs = { You don't mention anything about those in the commit log. If they don't use this register (didn't check) we should at least initialise the fields to zero, deadbeef or something to make it clear they are unused. -- https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches