summaryrefslogtreecommitdiff
path: root/arch/mips/include/asm/asm-eva.h
AgeCommit message (Collapse)AuthorFilesLines
2018-10-16MIPS: Add kernel_pref & user_pref helpersPaul Burton1-0/+6
Add kernel_pref & user_pref macros to asm/asm-eva.h, providing an abstraction around EVA & non-EVA pref instructions consistent with the existing macros we have for cache & load/store instructions. Signed-off-by: Paul Burton <paul.burton@mips.com> Patchwork: https://patchwork.linux-mips.org/patch/20906/ Cc: linux-mips@linux-mips.org
2015-04-10MIPS: asm: asm-eva: Introduce kernel load/store variantsMarkos Chandras1-44/+93
Introduce new macros for kernel load/store variants which will be used to perform regular kernel space load/store operations in EVA mode. Signed-off-by: Markos Chandras <markos.chandras@imgtec.com> Cc: <stable@vger.kernel.org> # v3.15+ Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/9500/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2014-03-27MIPS: asm: Add wrappers for EVA/non-EVA instructionsMarkos Chandras1-0/+135
EVA uses specific instructions for accessing user memory. Instead of polluting the kernel with numerous #ifdef CONFIG_EVA we add wrappers for all the instructions that need special handling when EVA is enabled. Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>