Messages in this thread | | | From | Arnd Bergmann <> | Date | Fri, 1 Apr 2022 16:08:09 +0200 | Subject | Re: [PATCH] Add Altera hardware mutex driver |
| |
On Thu, Mar 31, 2022 at 11:49 PM <niravkumar.l.rabara@intel.com> wrote: > > From: Niravkumar L Rabara <niravkumar.l.rabara@intel.com> > > Altera hardware mutex soft IP provides hardware assistance for > synchronization and mutual exclusion between processors in > asymmetric/symmetric multiprocessing (AMP/SMP) system or > multi processes/threads in uniprocessor system. > > Signed-off-by: Niravkumar L Rabara <niravkumar.l.rabara@intel.com> > --- > .../bindings/misc/altera-hwmutex.yaml | 47 +++ > drivers/misc/Kconfig | 6 + > drivers/misc/Makefile | 1 + > drivers/misc/altera_hwmutex.c | 321 ++++++++++++++++++ > include/linux/altera_hwmutex.h | 42 +++
Why does this use a custom interface rather than the generic drivers/hwspinlock/ subsystem?
Arnd
| |