[RFC 0/5] ARC: handle DSP presence in HW

From: Eugeniy Paltsev
Date: Fri Dec 27 2019 - 13:04:02 EST


Arc processors may have DSP extension which is optional.
In this patch series we:
* Handle issues caused by DSP extension presence in HW
* Add optional support for DSP-enabled applications in
userspace (with optional AGU extension support)
* Do minor cleanups

Eugeniy Paltsev (5):
ARC: pt_regs: remove hardcoded registers offset
ARC: add helpers to sanitize config options
ARC: handle DSP presence in HW
ARC: add support for DSP-enabled userspace applications
ARC: allow userspace DSP applications to use AGU extensions

arch/arc/Kconfig | 39 +++++++-
arch/arc/include/asm/arcregs.h | 26 ++++++
arch/arc/include/asm/dsp-impl.h | 141 +++++++++++++++++++++++++++++
arch/arc/include/asm/dsp.h | 50 ++++++++++
arch/arc/include/asm/entry-arcv2.h | 14 ++-
arch/arc/include/asm/processor.h | 4 +
arch/arc/include/asm/ptrace.h | 4 +
arch/arc/include/asm/switch_to.h | 2 +
arch/arc/kernel/asm-offsets.c | 16 ++++
arch/arc/kernel/head.S | 4 +
arch/arc/kernel/setup.c | 47 +++++++---
11 files changed, 329 insertions(+), 18 deletions(-)
create mode 100644 arch/arc/include/asm/dsp-impl.h
create mode 100644 arch/arc/include/asm/dsp.h

--
2.21.0