Linux wireless drivers development
 help / color / mirror / Atom feed
From: Arend van Spriel <arend.vanspriel@broadcom.com>
To: Soeren Coremans <sorencoremans@gmail.com>
Cc: linux-wireless@vger.kernel.org, arend.vanspriel@broadcom.com,
	brcm80211@lists.linux.dev, brcm80211-dev-list.pdl@broadcom.com
Subject: Re: [PATCH wireless-next 0/3] wifi: brcmfmac: pcie: recover from fatal PCIe errors
Date: Thu, 26 Nov 2026 15:29:30 +0100	[thread overview]
Message-ID: <20261126142933.875175-1-arend.vanspriel@broadcom.com> (raw)
In-Reply-To: <20261105215954.184290-1-sorencoremans@gmail.com>

On Thu,  5 Nov 2026 22:59:51 +0100, Soeren Coremans <sorencoremans@gmail.com> wrote:
> Open points
> -----------

[...]

> 3. brcmf_pcie_reset() and brcmf_pcie_remove() free the DMA rings before
>    brcmf_pcie_reset_device() stops the chip. In one of those unloads, the
>    device wrote into freed buffers first (8 AMD-Vi IO_PAGE_FAULTs). The
>    other real errors showed no such faults, so this looks separate. This
>    series does not touch the order; you may know whether it is deliberate.

I see no reason for that order. Freeing the DMA memory while the chip may
still be running looks wrong. A separate patch that stops the chip before the
buffers are released, in both brcmf_pcie_reset() and brcmf_pcie_remove(), would
be welcome.

Regards,
Arend

      parent reply	other threads:[~2026-11-26 14:29 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-05 21:59 [PATCH wireless-next 0/3] wifi: brcmfmac: pcie: recover from fatal PCIe errors Soeren Coremans
2026-11-05 21:59 ` [PATCH wireless-next 1/3] wifi: brcmfmac: pcie: stop console read on invalid write index Soeren Coremans
2026-11-26 14:29   ` Arend van Spriel
2026-11-05 21:59 ` [PATCH wireless-next 2/3] wifi: brcmfmac: pcie: bound memdump to the mapped TCM window Soeren Coremans
2026-11-26 14:29   ` Arend van Spriel
2026-11-05 21:59 ` [PATCH wireless-next 3/3] wifi: brcmfmac: pcie: recover from fatal PCIe errors Soeren Coremans
2026-11-26 14:29   ` Arend van Spriel
2026-11-26 14:29 ` Arend van Spriel [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=20261126142933.875175-1-arend.vanspriel@broadcom.com \
    --to=arend.vanspriel@broadcom.com \
    --cc=brcm80211-dev-list.pdl@broadcom.com \
    --cc=brcm80211@lists.linux.dev \
    --cc=linux-wireless@vger.kernel.org \
    --cc=sorencoremans@gmail.com \
    /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