summaryrefslogtreecommitdiffstats
path: root/arch/microblaze/kernel/hw_exception_handler.S
Commit message (Collapse)AuthorAgeFilesLines
* microblaze: Add DEBUG optionMichal Simek2010-04-011-0/+2
| | | | | | Disable debug option in asm code. Signed-off-by: Michal Simek <monstr@monstr.eu>
* microblaze: Clear sticky FSR register after saving it to func parametrMichal Simek2009-10-051-1/+1
| | | | | | | | | Previous patch d63678d607d0e37ec7abe5ceb545d7e8aab956a4 clear it for noMMU kernel. This one do it for MMU. Correct noMMU version Signed-off-by: Michal Simek <monstr@monstr.eu>
* microblaze: Clear sticky FSR register after generating exception signalsJohn Williams2009-09-221-0/+2
| | | | | | | FSR is sticky, so after the userspace exception/signal generation, clear it ready for next time. Signed-off-by: John Williams <john.williams@petalogix.com>
* microblaze: Save and restore msr in hw exceptionMichal Simek2009-09-221-2/+6
| | | | | | | | | | I thought that this part of code could be removed because just save and restore MSR but any code can't change it. But seems to that any part of code works with this information. This patch solved problem with allocation. Signed-off-by: Michal Simek <monstr@monstr.eu>
* microblaze: Support unaligned address for put/get_user macrosMichal Simek2009-07-271-63/+46
| | | | | | | | | | | | | | | This patch add support for cases where load/store instruction in put/get_user macro gets unaligned pointer to data and this address is not valid. I prevent all cases which can failed. I had to disable first stage of unaligned handler which is used only for noMMU kernel and the whole work is done when interrupt is enabled. You have enable HW support for detect unaligned access in Microblaze. This patch fixed three LTP tests: getpeername01, getsockname01, socketpair01 Signed-off-by: Michal Simek <monstr@monstr.eu>
* microblaze_mmu_v2: Update exception handling - MMU exceptionMichal Simek2009-05-261-7/+739
| | | | Signed-off-by: Michal Simek <monstr@monstr.eu>
* microblaze_v8: exception handlingMichal Simek2009-03-271-0/+458
Reviewed-by: Ingo Molnar <mingo@elte.hu> Acked-by: Stephen Neuendorffer <stephen.neuendorffer@xilinx.com> Acked-by: John Linn <john.linn@xilinx.com> Acked-by: John Williams <john.williams@petalogix.com> Signed-off-by: Michal Simek <monstr@monstr.eu>
OpenPOWER on IntegriCloud