lkml.org 
[lkml]   [2021]   [Aug]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: "BUG: Invalid wait context" in ls_extirq_set_type
On Thu, Aug 26, 2021 at 11:01:31AM +0200, Rasmus Villemoes wrote:

> I don't know what the right fix is. Am I right when a say that for !RT,
> spinlock==raw_spinlock? If so, switching regmap's spinlock to
> raw_spinlock would be nop for !RT and fix this issue, but would of
> course have quite far-reaching effects on RT kernels.

Note that regmap doesn't have a fixed kind of locking used for all
regmaps, the individual regmaps can select which (if any) kind of lock
they want to use on a per-regmap basis. Adding raw_spinlock support
wouldn't affect any regmap that doesn't actively select raw spinlocks.
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2021-08-26 15:42    [W:0.154 / U:0.192 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site