[Bug 275255] iwlwifi: panic after iwlwifi0: lkpi_iv_newstate: error -5 during state transition 5 (RUN) -> 0 (INIT) (8xxx/9xxx chipsets)

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 12 Jun 2024 16:42:32 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275255

--- Comment #22 from commit-hook@FreeBSD.org ---
A commit in branch stable/14 references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=7ad7453748e2adafa1e1a3e44b02fc852d4c5301

commit 7ad7453748e2adafa1e1a3e44b02fc852d4c5301
Author:     Bjoern A. Zeeb <bz@FreeBSD.org>
AuthorDate: 2024-05-22 02:24:51 +0000
Commit:     Bjoern A. Zeeb <bz@FreeBSD.org>
CommitDate: 2024-06-12 13:58:36 +0000

    LinuxKPI: 802.11: change teardown order to avoid iwlwifi firmware crashes

    While the previous order worked well for iwlwifi 22000 and later chipsets
    (AXxxx, BE200), earlier chipsets had trouble and ran into firmware crashes.
    Change the teardown order to avoid these problems.  The inline comments
    in lkpi_sta_run_to_init() (and lkpi_disassoc()) try to document the new
    order and also the old problems we were seeing (too early sta removal or
    silent non-removal) leading to follow-up problems.

    There is a possible further problem still lingering but a lot harder to
    trigger (see comment in review) and likely related to some other doings
    so we'll track it separately.

    Sponsored by:   The FreeBSD Foundation
    PR:             275255
    Tested with:    AX210, 8265 (bz); 9260 (Bakul Shah)
    Differential Revision: https://reviews.freebsd.org/D45293

    (cherry picked from commit 5a4d24610fc6143ac1d570fe2b5160e8ae893c2c)

 sys/compat/linuxkpi/common/src/linux_80211.c | 84 ++++++++++++++++++----------
 1 file changed, 55 insertions(+), 29 deletions(-)

-- 
You are receiving this mail because:
You are on the CC list for the bug.