Re: [PATCH 0/3] Enable hwlock on Allwinner A64

From: Wilken Gottwalt
Date: Wed Feb 15 2023 - 00:01:38 EST


On Tue, 14 Feb 2023 22:55:45 +0100
Bastian Germann <bage@xxxxxxxxxx> wrote:

> Am 14.02.23 um 01:18 schrieb Andre Przywara:
> > So are there Linux/Crust patches out there that use this device?
>
> I do not know of any. I was just investigating the chip and checked the parts that I could easily
> use in Linux.

Easily using it is, well, a bit questionable. The only reason to use this is
for syncing access to hardware between the ARM and the embedded OpenRISC core.
Like Andre wrote, it only makes sense if you want to etablish some form of
shared access between Linux and the Crust firmware. Using this in Linux only
instead of the common spinlocks won't be fun, that hwspinlock unit is slower.

greetings,
Will