Re: [PATCH v2 3/4] ARC: add support for DSP-enabled userspace applications

2020-03-11 Thread Vineet Gupta
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

[PATCH v2 3/4] ARC: add support for DSP-enabled userspace applications

2020-03-05 Thread Eugeniy Paltsev
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, ACC