public inbox for linux-wireless@vger.kernel.org
 help / color / mirror / Atom feed
From: Ryder Lee <ryder.lee@mediatek.com>
To: Lorenzo Bianconi <lorenzo@kernel.org>
Cc: <nbd@nbd.name>, <linux-wireless@vger.kernel.org>,
	<lorenzo.bianconi@redhat.com>
Subject: Re: [PATCH] mt76: move de-amsdu buffer per-phy
Date: Wed, 17 Mar 2021 17:02:05 +0800	[thread overview]
Message-ID: <1615971725.19256.0.camel@mtkswgap22> (raw)
In-Reply-To: <3cebac3977b265fb6207baeaadd577a286548cb3.1615971393.git.lorenzo@kernel.org>

On Wed, 2021-03-17 at 09:57 +0100, Lorenzo Bianconi wrote:
> mt7615d users report the following crash running both phy concurrently:
> 
> [  147.273909] CPU 1 Unable to handle kernel paging request at virtual address 00000000, epc == 8e4f288c, ra == 8e58a968
> [  147.284570] Oops[#1]:
> [  147.286854] CPU: 1 PID: 3724 Comm: kworker/u9:3 Not tainted 5.4.105 #0
> [  147.293403] Workqueue: napi_workq napi_workfn
> [  147.297742] $ 0   : 00000000 00000001 8e595ec0 00000000
> [  147.302950] $ 4   : 8e595ec0 00000000 8e5ca600 00000000
> [  147.308161] $ 8   : 00000000 000004c1 80808080 fefefeff
> [  147.313370] $12   : 00000000 00000000 80704f1c 00000040
> [  147.323781] $20   : 00000050 00000044 00000011 01ce9502
> [  147.334195] $28   : 8e004000 8e005d18 8ddf2020 8e58a968
> [  147.342266] Lo    : 00000000
> [  147.350397] ra    : 8e58a968 mt7615_queue_rx_skb+0x94c/0xd0c [mt7615_common]
> [  147.361580] Cause : 4080000c (ExcCode 03)
> [  147.368434] PrId  : 0001992f (MIPS 1004Kc)
> [  147.456965] Process kworker/u9:3 (pid: 3724, threadinfo=9ece68d6, task=b16d155f, tls=00000000)
> [  147.473857]         0001ce95 00004188 00000000 00000080 00004c10 00000002 8074a2b8 80043dcc
> [  147.490505]         00000000 8e4f0110 8069ddf4 806ab148 8dfc0000 00001000 00000000 00000050
> [  147.507150]         ...
> [  147.512033] [<8e4f288c>] mt76_rx+0x124/0x320 [mt76]
> [  147.526633]
> [  147.528512] ---[ end trace 3d137e75bb109149 ]---
> 
> The issue has been introduce enabling hw rx de-amsdu since the hw can
> interleave amsdu frames from both phy. Fix the issue moving the de-amsdu
> buffer per-phy.
> 
> Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>

Acked-by: Ryder Lee <ryder.lee@mediatek.com>


      reply	other threads:[~2021-03-17  9:03 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-17  8:57 [PATCH] mt76: move de-amsdu buffer per-phy Lorenzo Bianconi
2021-03-17  9:02 ` Ryder Lee [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1615971725.19256.0.camel@mtkswgap22 \
    --to=ryder.lee@mediatek.com \
    --cc=linux-wireless@vger.kernel.org \
    --cc=lorenzo.bianconi@redhat.com \
    --cc=lorenzo@kernel.org \
    --cc=nbd@nbd.name \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox