gem5/src/arch
Nikos Nikoleris 3384caf0fe arm: Don't panic when checking coprocessor read/write permissions
Instructions that use the coprocessor interface check the current
program status to determine whether the current context has the
priviledges to read from/write to the coprocessor. Some modes allow
the execution of coprocessor instructions, some others do not allow it,
while some other modes are unexpected (e.g., executing an AArch32 
instruction while being in an AArch64 mode).

Previously we would unconditionally trigger a panic if we were in an 
unexpected mode. This change removes the panic and replaces it
with an Undefined Instruction fault that triggers if and when a 
coprocessor instruction commits in an unexpected mode. This allows
speculative coprocessor instructions from unexpected modes to execute 
but prevents them from gettting committed.

Change-Id: If2776d5bae2471cdbaf76d0e1ae655f501bfbf01
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-by: Rekai Gonzalez Alberquilla <rekai.gonzalezalberquilla@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/2281
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-by: Weiping Liao <weipingliao@google.com>
2017-04-03 16:39:47 +00:00
..
alpha syscall-emul: Move memState into its own file 2017-03-09 19:19:38 +00:00
arm arm: Don't panic when checking coprocessor read/write permissions 2017-04-03 16:39:47 +00:00
generic syscall_emul: [PATCH 15/22] add clone/execve for threading and multiprocess simulations 2017-02-27 14:10:15 -05:00
hsail gpu-compute: remove unnecessary member from class 2017-02-27 13:18:51 -05:00
mips syscall-emul: Move memState into its own file 2017-03-09 19:19:38 +00:00
null cpu,isa,mem: Add per-thread wakeup logic 2015-09-30 11:14:19 -05:00
power syscall-emul: Move memState into its own file 2017-03-09 19:19:38 +00:00
riscv syscall-emul: Rewrite system call exit code 2017-03-09 22:42:45 +00:00
sparc syscall-emul: Move memState into its own file 2017-03-09 19:19:38 +00:00
x86 syscall-emul: Ignore unimplemented system calls 2017-03-09 22:42:45 +00:00
isa_parser.py arch: Include generated decoder header after normal headers 2017-02-27 12:06:00 +00:00
micro_asm.py scons: add slicc and ply to sys.path and PYTHONPATH so everyone has access 2009-09-22 15:24:16 -07:00
micro_asm_test.py Add a second section to make sure the ROM is extended properly. 2007-05-31 22:21:21 +00:00
SConscript gpu-compute: add gpu_isa.hh to switch hdrs, add GPUISA to WF 2016-10-26 22:47:38 -04:00