]> git.karo-electronics.de Git - mv-sheeva.git/commit
microblaze: Optimize SAVE_STATE macro
authorMichal Simek <monstr@monstr.eu>
Thu, 17 Jun 2010 14:03:05 +0000 (16:03 +0200)
committerMichal Simek <monstr@monstr.eu>
Wed, 4 Aug 2010 08:22:48 +0000 (10:22 +0200)
commit8b110d157c82f3818fc578b633f0cf7ace9efc22
tree1db5254c8b5bc2327170202355c6a3054409e8ac
parentb9ea77e2d37013a4e66c9dad2e629998ff300608
microblaze: Optimize SAVE_STATE macro

It is necessary to setup BIP and EE and clear EIP
only for unaligned exception handler. The rest of
hw exception handlers don't require it.
HW exception occured and we are not in virtual mode.
That's why we can do operations protected by EIP.
Interrupt, next hw exception or syscall can't occur.

EIP is cleared by rted.

This change speedup page_fault hw exception handler
which is critical path.

There is also necessary to save R11 content before
flag setup for unaligned exception.

Signed-off-by: Michal Simek <monstr@monstr.eu>
arch/microblaze/kernel/entry.S