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.