[Bug 261166] LinuxKPI kernel panics: mi _switch: switch in a critical section – 14. 0-CURRENT main-n252381-75d20a5e386 (2022-01-1 1)

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 19 Jan 2022 07:12:17 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261166

--- Comment #13 from Graham Perrin <grahamperrin@gmail.com> ---
Another commit in branch main references this bug:

<https://github.com/freebsd/freebsd-src/commit/02ea6033020e11afec6472bf560b0ddebd0fa97a>

<https://cgit.freebsd.org/src/commit/?id=02ea6033020e11afec6472bf560b0ddebd0fa97a>

author    Vladimir Kondratyev <wulf@𡀦…> 2022-01-18 20:14:12 +0000
committer Vladimir Kondratyev <wulf@…>  2022-01-18 20:14:12 +0000
commit    02ea6033020e11afec6472bf560b0ddebd0fa97a 

LinuxKPI: Allow spin_lock_irqsave to be called within a critical section with
spinning on spin_trylock. dma-buf part of drm-kmod depends on this property and
absence of it support results in "mi_switch: switch in a critical section"
assertions [1][2].

[1] https://github.com/freebsd/drm-kmod/issues/116
[2] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261166

MFC after:      1 week
Reviewed by:    manu
Differential Revision:  https://reviews.freebsd.org/D33887

-- 
You are receiving this mail because:
You are the assignee for the bug.