[RFC PATCH 0/4] hwspinlock: refactor headers into public provider/consumer pair

Wolfram Sang wsa+renesas at sang-engineering.com
Tue Jan 27 03:41:27 PST 2026


Hi all,

> > > Providers need it, especially the 'priv' member. Consumers won't see it.
> > 
> > But can't we make it opaque?
> > 
> > We may have getters and setters for the priv member...
> 
> I think we could do that.
> 
> Two drivers use the bank member, but only for the device
> (lock->bank->dev). That can probably be refactored away, I'd guess.

I am willing to develop this series in the above direction. Before
though, I'd like to know from hwspinlock maintainers if they agree to
this refactoring in general.

Thanks and happy hacking,

   Wolfram




More information about the linux-arm-kernel mailing list