[Bug 283027] LinuxKPI PCI -- kernel panic: malloc(M_WAITOK) with sleeping prohibited

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 13 Mar 2025 23:38:23 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=283027

Bjoern A. Zeeb <bz@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|wireless@FreeBSD.org        |bz@FreeBSD.org
            Summary|kernel panic:               |LinuxKPI PCI -- kernel
                   |malloc(M_WAITOK) with       |panic: malloc(M_WAITOK)
                   |sleeping prohibited         |with sleeping prohibited
             Blocks|273620                      |273622

--- Comment #7 from Bjoern A. Zeeb <bz@FreeBSD.org> ---
(In reply to John Baldwin from comment #5)

I've hit this problem now on an iwlwifi 9xxx card in a different context;  I'll
have a look at this.

The bridge we already deal with btw.  It's indeed the root port it goes to a
few lines later:

        /* Print root port AER registers */
        pos = 0;
        pdev = pcie_find_root_port(pdev);


I'll re-title the problem to LinuxKPI as the problem itself has nothing to do
with wireless per-se and move the Block up the tree a bit (though that still is
wireless and not LinuxKPI but at least it is closer to the truth).


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273620
[Bug 273620] iwlwifi meta-bug
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273622
[Bug 273622] LinuxKPI based wireless drivers meta-bug
-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.