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

2020-03-04 Thread Vineet Gupta
On 3/4/20 3:51 AM, Eugeniy Paltsev wrote: >>> +"r" (_saveto), \ >>> +"r" (_readfrom), \ >>> +"I" (_aux), \ >>> +"I" (_of

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

2020-03-04 Thread Eugeniy Paltsev
Hi Vineet, >From: Vineet Gupta >Sent: Tuesday, January 7, 2020 21:25 >To: Eugeniy Paltsev; linux-snps-arc@lists.infradead.org >Cc: linux-ker...@vger.kernel.org; Alexey Brodkin >Subject: Re: [PATCH 4/5] ARC: add support for DSP-enabled userspace >applications >> +/* &

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

2020-01-09 Thread Vineet Gupta
On 1/9/20 11:01 AM, Eugeniy Paltsev wrote: > Hi Vineet, > >> From: Vineet Gupta >> On 12/27/19 10:03 AM, 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: >>> * ACC0_GLO

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

2020-01-09 Thread Eugeniy Paltsev
Hi Vineet, >From: Vineet Gupta >On 12/27/19 10:03 AM, 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: >> * ACC0_GLO, ACC0_GHI, DSP_CTRL >> * ACC0_LO, ACC0_HI (we alread

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

2020-01-07 Thread Vineet Gupta
On 12/27/19 10:03 AM, 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: > * ACC0_GLO, ACC0_GHI, DSP_CTRL > * ACC0_LO, ACC0_HI (we already save them as r58, r59 pair) > At cont

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

2019-12-27 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: * ACC0_GLO, ACC0_GHI, DSP_CTRL * ACC0_LO, ACC0_HI (we already save them as r58, r59 pair) At context switch: * DSP_BFLY0, DSP_FFT_CTRL Signed-off-by: Eu