ARC: allow userspace DSP applications to use AGU extensions
authorEugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
Thu, 5 Mar 2020 20:02:52 +0000 (23:02 +0300)
committerVineet Gupta <vgupta@synopsys.com>
Mon, 16 Mar 2020 17:30:49 +0000 (10:30 -0700)
commitf09d3174f002ee2cf15623d5a0f68f7393536ce7
tree26089da5142b45f5498d71dce04e1f0be210f296
parent7321e2ea0d6aece516a9c0827028ecda2ccaeae9
ARC: allow userspace DSP applications to use AGU extensions

To be able to run DSP-enabled userspace applications with AGU
(address generation unit) extensions we additionally need to
save and restore following registers at context switch:
 * AGU_AP*
 * AGU_OS*
 * AGU_MOD*

Reviewed-by: Vineet Gupta <vgupta@synopsys.com>
Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
arch/arc/Kconfig
arch/arc/include/asm/arcregs.h
arch/arc/include/asm/asserts.h
arch/arc/include/asm/dsp-impl.h
arch/arc/include/asm/dsp.h
arch/arc/kernel/setup.c