Re: [PATCH v2 3/4] ARC: add support for DSP-enabled userspace applications
From: Vineet Gupta
Date: Wed Mar 11 2020 - 15:13:35 EST
On 3/5/20 12:02 PM, Eugeniy Paltsev wrote:
> To be able to run DSP-enabled userspace applications we need to
> save and restore following DSP-related registers:
> At IRQ/exception entry/exit:
> * DSP_CTRL (save it and reset to value suitable for kernel)
> * ACC0_LO, ACC0_HI (we already save them as r58, r59 pair)
> At context switch:
> * ACC0_GLO, ACC0_GHI
> * DSP_BFLY0, DSP_FFT_CTRL
>
> Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@xxxxxxxxxxxx>
Acked-by: Vineet Gupta <vgupta@xxxxxxxxxxxx>