Received: by 2002:ab2:620c:0:b0:1ef:ffd0:ce49 with SMTP id o12csp1407651lqt; Wed, 20 Mar 2024 03:08:02 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVu7JnP8bijnm1Qktn9dHPwAF0bbl4wquIA1ymjpjXokuSGB7gZpbEBgigWWfsESZ8xSqPty4dahX+bJDCaZxQb+9yLSN9drzQzovovFw== X-Google-Smtp-Source: AGHT+IFAIa048VMopgSngpsUm8H9Of2manYxS33+Oa12CsnVKUbKxXKgmFyoBETDWxVsaGGrGc0/ X-Received: by 2002:a05:6a20:da90:b0:1a1:2f18:22bc with SMTP id iy16-20020a056a20da9000b001a12f1822bcmr19016652pzb.12.1710929282126; Wed, 20 Mar 2024 03:08:02 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710929282; cv=pass; d=google.com; s=arc-20160816; b=AA/9gDEf3Vj7OuEl/4uQOnefYqAJ8IGKu+/K/3xTIh1hY1RgQShi3YzQtqPWU3oDzA SXxGxU1zmWUVbGA0nHIWVNcVTJjVr8gZPJLARamHFnif+dRS8of0anSQaVVdN4sAaBiq zeuZb7CT4FkC8TCLAT3C1JvGc/9hEm99xpWcn6i+ZKXk0ubZXNy9nQBdE6B5OjrNGhxM VHmZGq/NbgYyl+bRw1vSlbQHLrGsKVeS+5YskenaYY4/MAw4rithyST4v5dsCHYZy08P s8Yiv2ESEBRVKBMrTFOTni5Q+tYF+YBIzRlAMsBH+vUVsIvBFiAvUlp11GkTVujodAUl P7OA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=date:message-id:user-agent:cc:to:references:in-reply-to:from :subject:content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:dkim-signature; bh=EKLIAqUheFogCrXCx8BKFnK48rw5wEIY3ogivohqtlw=; fh=HOD3HNNZDrmBmiFRjnGCkuKfIMcuqHuBl/+zkZu1bXQ=; b=S6lp6k7fV2d5b0mnvkqb9dUWhsvjLxfrIANTZXRcMT5nBdBjgHsinns/1yqwTRnRU5 es2QjD6JLdN0/r7PIybkyn4iR4VEl64BplZfBqB8Pg4y/nMb5oadFNJY53jF3k1pcprL Z9dEO13Xs4ZRowpwedsBkNbmGhDM43VOafWkcesvH58dH9otOy/LISz5ZSndXR+vPYj8 kjoUnX/B5Qsaku8Of4Fsm9SvzhOxUdSwxnEfqKfZfnbKzJ+f+p5Vjp+V4AxJPzTxybNu NDJXn1iLOIgHKLMwd/DhsXCjrgMZ9tg0UxIO4enZuLlHtgKSRRxiOy0f0Vwgf5a13VmY zmEg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=fuot2mC3; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-wireless+bounces-4964-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-4964-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id m1-20020a170902f64100b001df846506f5si9292729plg.584.2024.03.20.03.08.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Mar 2024 03:08:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless+bounces-4964-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=fuot2mC3; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-wireless+bounces-4964-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-4964-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 705A9B2234B for ; Wed, 20 Mar 2024 10:07:36 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 41FE63D566; Wed, 20 Mar 2024 10:07:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="fuot2mC3" X-Original-To: linux-wireless@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1CF7A3D551 for ; Wed, 20 Mar 2024 10:07:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710929227; cv=none; b=ZV54LApaEMqAFl8IZNtZacy6h/IN6rCs/nLyQJl/nGW581SfxRljxrp3uxBkw+CJfMWYfllrNKlVQaL5w72FCYTPooN5OFr9QCXfqiTZHSaDk+DuXRvFCrT15WcRiamILOZL3Lhc//qEHj8nkaLD2XKEx/DN2733mzoHi45KDps= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710929227; c=relaxed/simple; bh=VE+Bn/r+0jrIyjgwGAHCLncsj+C7cRWTvnPM0hKnwfk=; h=Content-Type:MIME-Version:Subject:From:In-Reply-To:References:To: Cc:Message-ID:Date; b=Cn6t0S3Sb2FojwZh5g73Yi5yPLuZLtsW5mYUG1R8GaDZZfYw8VRbOMzWziPnf0dCHG0WiucDHeuySGAWBEu49OOylJtWfIVmFIokyRr0MgbTWJUdTg3hC4NFyw6bqbasYLTHCV8U0eBnP6m3bmPzs9l1LmMvnSUuh1wOLWTknpo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=fuot2mC3; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id BD2F4C433F1; Wed, 20 Mar 2024 10:07:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1710929226; bh=VE+Bn/r+0jrIyjgwGAHCLncsj+C7cRWTvnPM0hKnwfk=; h=Subject:From:In-Reply-To:References:To:Cc:Date:From; b=fuot2mC3mvly6w87G88zx7YZVWyjr5xzPcvSiVdPDVmxmzOHM+H2ccpXRzxmoNHCb OeTtRLyKtrI4H+NCQkpb+vWjT9yD7KQ96D+mFfM2tSwn3VWAVyaMOq/WSTDyyBvCCa gsVRa3rx+/7z1KO6IBU9Bp8NsuFclEONahIB9/QKqZfR3XSqqbMxfQkQkvpdIsGz/i 3tRTInZ1pL1gPOB/v+C4QvNolKX1JYPqvIiBtfIDy4uAYYXEpefBcztP2VGUpp0eEA NpZgyHC7JqBOr5m4MoIHaBX5srixbuyQRWiYyTtaUjIhbOxygYjfM0+IjFEJkNKfiY bEMR7aWOn7kgw== Content-Type: text/plain; charset="utf-8" Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [PATCH v2] wifi: ath12k: fix desc address calculation in wbm tx completion From: Kalle Valo In-Reply-To: <20240311180708.9334-1-quic_tmariyap@quicinc.com> References: <20240311180708.9334-1-quic_tmariyap@quicinc.com> To: quic_tmariyap@quicinc.com Cc: ath12k@lists.infradead.org, linux-wireless@vger.kernel.org User-Agent: pwcli/0.1.1-git (https://github.com/kvalo/pwcli/) Python/3.11.2 Message-ID: <171092922417.3054175.16453288096112928412.kvalo@kernel.org> Date: Wed, 20 Mar 2024 10:07:05 +0000 (UTC) quic_tmariyap@quicinc.com wrote: > In tx completion, status desc is obtained from offsetting the address > from wbm ring. Having HTT_TX_WBM_COMP_STATUS_OFFSET(8) and reserved 8 > bytes in status desc offsets the address twice and read the values > from the incorrect address. Hence, remove the > HTT_TX_WBM_COMP_STATUS_OFFSET from wbm completion address calculation. > > Also this patch is applicable for WCN7850. > > Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.0.1-00029-QCAHKSWPL_SILICONZ-1 > > Signed-off-by: Thiraviyam Mariyappan > Acked-by: Jeff Johnson > Signed-off-by: Kalle Valo Patch applied to ath-next branch of ath.git, thanks. a49732b1f1f8 wifi: ath12k: fix desc address calculation in wbm tx completion -- https://patchwork.kernel.org/project/linux-wireless/patch/20240311180708.9334-1-quic_tmariyap@quicinc.com/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches