linux-hardened/arch/microblaze
Michal Simek 14ef905bb2 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>
2017-06-22 15:37:00 +02:00
..
boot microblaze: Remove *.dtb files in make clean 2015-02-10 16:24:39 +01:00
configs microblaze: Enabling CONFIG_BRIDGE in mmu_defconfig 2017-06-22 15:36:59 +02:00
include microblaze: remove asm-generic wrapper headers 2017-05-29 11:06:10 +02:00
kernel microblaze: Fix MSR flags when returning from exception 2017-06-22 15:37:00 +02:00
lib microblaze: Change libgcc-style functions from lib-y to obj-y 2014-07-18 14:26:09 +02:00
mm microblaze: mm: Flush TLB to ensure correct mapping when higmem ON 2017-06-22 15:36:52 +02:00
oprofile microblaze: Core oprofile configs and hooks 2009-12-14 08:45:07 +01:00
pci PCI: Add BAR index argument to pci_mmap_page_range() 2017-04-20 08:47:47 -05:00
Kconfig CONFIG_ARCH_HAS_RAW_COPY_USER is unconditional now 2017-04-26 12:11:01 -04:00
Kconfig.debug microblaze: remove obsolete DEBUG_BOOTMEM 2011-01-10 09:29:51 +01:00
Kconfig.platform microblaze: Remove platform folder 2014-04-07 13:45:21 +02:00
Makefile microblaze: Remove platform folder 2014-04-07 13:45:21 +02:00