summaryrefslogtreecommitdiffstats
path: root/arch/sparc/kernel/process_32.c
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2016-02-24 11:30:04 +0100
committerMichal Simek <michal.simek@xilinx.com>2017-06-22 15:37:00 +0200
commit14ef905bb2eecb02f7ce31b8fbedd4a75ddf0f57 (patch)
treeb430bea7ffb54f04d7fb72ed6e1bd17b5d99c7a2 /arch/sparc/kernel/process_32.c
parentfaf154cd49ba99b24f45a65b18b0deca0bfed8ee (diff)
downloadtalos-op-linux-14ef905bb2eecb02f7ce31b8fbedd4a75ddf0f57.tar.gz
talos-op-linux-14ef905bb2eecb02f7ce31b8fbedd4a75ddf0f57.zip
microblaze: Fix MSR flags when returning from exception
The issue was that the service routine was sometimes returning with the wrong flags set in the MSR. In this case, EIP bit was set while returning to User Mode which is an illegal combination since exceptions are always handled in privileged mode. In order for MicroBlaze to take an interrupt, the MSR must have IE=1, BIP=0 and EIP=0. Signed-off-by: Stefan Asserhall <stefana@xilinx.com> Signed-off-by: Goran Bilski <goran@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'arch/sparc/kernel/process_32.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud