[Bug 296946] nvme panics at boot: "received completion for unknown cmd" on 2016 MacBook Pro

[email protected]
Newsgroups gmane.os.freebsd.bugs
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=296946

--- Comment #3 from [email protected] ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=68323f0a0304d770b22ba1823920a52faa7cd4eb

commit 68323f0a0304d770b22ba1823920a52faa7cd4eb
Author:     Abdelkader Boudih <[email protected]>
AuthorDate: 2026-08-24 17:02:00 +0000
Commit:     Adrian Chadd <[email protected]>
CommitDate: 2026-08-24 17:02:27 +0000

    nvme: fix Apple S3X controller panic

    Serialize S3X I/O and cap dtransfers while keeping namespace handling.
    Select 64/128-byte submission queue entries explicitly and set
    CC.IOSQES from the same value used for the software queue stride.

    When fatal status is set, wait for pending PCIe transactions and then
    force FLR so a wedged controller doesn't panic or timeout.

    MFC: 1 week
    PR: 296946
    Fixes: 5e0ba47aa00e

    Reviewed by:    ngie, imp
    Differential Revision:  https://reviews.freebsd.org/D58821

 sys/dev/nvme/nvme_ctrlr.c   | 41 +++++++++++++++++++++++++++++++++++++++--
 sys/dev/nvme/nvme_pci.c     |  7 +++++--
 sys/dev/nvme/nvme_private.h | 12 ++++++++++--
 sys/dev/nvme/nvme_qpair.c   | 13 ++++++-------
 4 files changed, 60 insertions(+), 13 deletions(-)

-- 
You are receiving this mail because:
You are the assignee for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.