Re: [RFC PATCH v2 00/15] Arm Core Local Accelerator Driver

From: Linus Walleij

Date: Fri Nov 20 2026 - 04:25:22 EST


Hi Ryan,

please keep me on CC for future series for an SoC perspective
on this.

On Thu, Oct 15, 2026 at 4:26 PM Ryan Roberts <ryan.roberts@xxxxxxx> wrote:

> * The location of the driver: although most accelerators will likely be compute
> ones, CLA is a generic MMIO interface that could handle any kind of
> accelerator. It's currently implemented as a misc driver. accel is another
> potential option, but given the current SVA approach, we would not use any of
> the services (memory-management or otherwise) that accel provides.

Given the extremely ARM64-specific nature of the accelerator it has a
lot to do with arch/arm64 but then again it is a platform device + driver
associated with the cores and we don't want platform device drivers
under arch/*, so it kind of falls between the chairs.

My spontaneous placement would be to put this in drivers/soc/arm/*
what do you think about this option?

The argument would be that this is arm-specific, we do not expect
the code to be reused by other archs, and it is used on some specific
ARM SoCs, so it goes under drivers/soc/arm.

If a very similar feature arrives on other archs which use very similar
code we may have to rethink this but for now I believe this is the best
option.

Yours,
Linus Walleij