Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp895761pxb; Tue, 1 Feb 2022 12:40:11 -0800 (PST) X-Google-Smtp-Source: ABdhPJyet3ym232LYprdjO6ROqGLdb5NpIWkrcv4/HyLnez5KCLPKBXISw1XA/eb3DI4gtbXIAkO X-Received: by 2002:a05:6a00:24d6:: with SMTP id d22mr26322799pfv.36.1643748011334; Tue, 01 Feb 2022 12:40:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643748011; cv=none; d=google.com; s=arc-20160816; b=V19emz5DPuM2NEuFrr5sGdgcdbFmxHr4wvVNvPhVrM2KYiZWWvVSokcCUuHKk7oRSA 7Q38Lmxf5/HEyz1/UeyNy3glh1oaLJ5t6H3/YWg4CJQ6oNWrGzbRLvu00+nIdoKYApnI ACFp1+shTHo+344MFQ1FCSZx9VwMhTMOJ+8IMHa9/Y89DgKsw0dwUuq9hGhG+N1wX+sx 0PuAOl371NPTTzkEDstM2JHXOoh1CROWBMPn4FmlJwmlFATSKQ2kdXfrjp1BrktNHGDO IVk/hVdErQacW0Qwn7a2vE0IjExOGdE8XnnGlRKekyoFtWxKKJKG5rbmc0VyNvhAoW6j +UaA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:date:message-id:user-agent:cc:to:references :in-reply-to:from:subject:content-transfer-encoding:mime-version :dkim-signature; bh=1OkdTm52MhGWQjFTvNUZs4bDsIBgXWzvomw7M+WwVtQ=; b=Empfa/5znBesYUmxRdp0VHisKXpXw/Xpqi1TWN7ZdRBGBuRvJcZIN1AzujeoFmuLc2 iCC9uGu0nnlFqX/qY1eT1ln8llkJXSzsxUJDWtikUkETPRdRGuRhh+CntXEsmbXSyQI8 ALDb87Wz2dg4k9GB4xv7APR2xG4tx49Whu32yx91Cud7QTNgiSZofouMwtZtCWJXTyZy KhDOquNZ9Kn+Kv+yO6V2hLYiddO28LGnG1dmR7bda8TOWdXyOb0L7OETaEXQiq9Rpl39 3l3dbqiOa/T1/Q3ZCcE6TJeafKsAypEXHWGkvuT/wWwFIpDNPgXOjA2fudKJWFHLUyLe wJiQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Wi1C0WZF; 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 w22si16992176pfu.333.2022.02.01.12.40.02; Tue, 01 Feb 2022 12:40:11 -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=Wi1C0WZF; 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 S241874AbiAaOGO (ORCPT + 70 others); Mon, 31 Jan 2022 09:06:14 -0500 Received: from dfw.source.kernel.org ([139.178.84.217]:48632 "EHLO dfw.source.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240723AbiAaOGN (ORCPT ); Mon, 31 Jan 2022 09:06:13 -0500 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 15431612B3 for ; Mon, 31 Jan 2022 14:06:13 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id BC58FC340E8; Mon, 31 Jan 2022 14:06:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1643637972; bh=RehkVb9GUDbdHgogqM4yC+GXYopkgh3U5EXoxsSSebQ=; h=Subject:From:In-Reply-To:References:To:Cc:Date:From; b=Wi1C0WZFy5AMrPfvg4I/PVV0ujo01T6smA37Qy9U1OUIPAIDgLqIw3uA6fz2oUJ7y TlgJ1qy7bKOGn/9C2VRZkMSwsdKoxrmxNC3tjNfaFrupfNvrBcJWk2z10TCU4EVVeT 9pZE6yWwl+6jctFpQPR6tGRpz7nU6XvDC9zOZ/F6FIaVklpyi9vCfGRUAK0fxncFxB CcrxxabMfMmD/xeUYUcyxifZJ4KGKp7+xHVrZ9KcSrzGh4IXmoH+MJnvfH8roZTghU RwkN4Rm/FtO88zPmbb7bgYoDaau7PUqJY94f8ep3QSudH+XQlc99tlPsdCCRzLcrkK KUlzDw0mwjx4w== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [PATCH] ath11k: Fix missing rx_desc_get_ldpc_support in wcn6855_ops From: Kalle Valo In-Reply-To: <20220126010144.2090-1-quic_bqiang@quicinc.com> References: <20220126010144.2090-1-quic_bqiang@quicinc.com> To: Baochen Qiang Cc: , User-Agent: pwcli/0.1.0-git (https://github.com/kvalo/pwcli/) Python/3.7.3 Message-ID: <164363796976.10147.12702596481318620970.kvalo@kernel.org> Date: Mon, 31 Jan 2022 14:06:11 +0000 (UTC) Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Baochen Qiang wrote: > rx_desc_get_ldpc_support is missing in wcn6855_ops, resulting on WCN6855 a > kernel crash after connecting to an AP and waiting for few minutes. Fix it by > implementing WCN6855's version of this field and adding it to wcn6855_ops. > > Crash stack: > [ 184.862605] BUG: kernel NULL pointer dereference, address: 0000000000000000 > [ 184.862615] #PF: supervisor instruction fetch in kernel mode > [ 184.862620] #PF: error_code(0x0010) - not-present page > [ 184.862626] PGD 0 P4D 0 > [ 184.862634] Oops: 0010 [#1] PREEMPT SMP PTI > [ 184.862642] CPU: 1 PID: 0 Comm: swapper/1 Kdump: loaded Not tainted 5.16.0-wt-ath+ #1 > [ 184.862651] Hardware name: Intel(R) Client Systems NUC8i7HVK/NUC8i7HVB, BIOS HNKBLi70.86A.0059.2019.1112.1124 11/12/2019 > [ 184.862656] RIP: 0010:0x0 > [ 184.862669] Code: Unable to access opcode bytes at RIP 0xffffffffffffffd6. > [ 184.862673] RSP: 0018:ffff9eedc003cca8 EFLAGS: 00010202 > [ 184.862680] RAX: 0000000000000000 RBX: ffff9eedc003cd30 RCX: 0000000000000002 > [ 184.862686] RDX: 0000000000000002 RSI: ffffffffc1773458 RDI: ffff8eb5843de240 > [ 184.862692] RBP: ffff8eb59685a0e0 R08: 0000000000000001 R09: ffff8eb6fef2b000 > [ 184.862700] R10: ffff9eedc003cd70 R11: ffff8eb5880a9ff0 R12: ffff8eb5843de240 > [ 184.862707] R13: 0000000000000000 R14: 0000000000000008 R15: 0000000000000003 > [ 184.862714] FS: 0000000000000000(0000) GS:ffff8eb6f6c40000(0000) knlGS:0000000000000000 > [ 184.862723] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 > [ 184.862733] CR2: ffffffffffffffd6 CR3: 000000002f60a001 CR4: 00000000003706e0 > [ 184.862743] Call Trace: > [ 184.862751] > [ 184.862759] ath11k_dp_rx_h_ppdu+0x210/0x350 [ath11k] > [ 184.862841] ath11k_dp_rx_process_received_packets+0x1e6/0x6b0 [ath11k] > [ 184.862891] ath11k_dp_process_rx+0x32d/0x3e0 [ath11k] > > Tested-on: WCN6855 hw2.0 PCI WLAN.HSP.1.1-01720.1-QCAHSPSWPL_V1_V2_SILICONZ_LITE-1 > > Fixes: b3febdccde3e ("ath11k: add LDPC FEC type in 802.11 radiotap header") > Signed-off-by: Baochen Qiang > Signed-off-by: Kalle Valo Patch applied to ath-next branch of ath.git, thanks. 648ab4720cb7 ath11k: Fix missing rx_desc_get_ldpc_support in wcn6855_ops -- https://patchwork.kernel.org/project/linux-wireless/patch/20220126010144.2090-1-quic_bqiang@quicinc.com/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches