Age | Commit message (Collapse) | Author | Files | Lines |
|
If access to user space failed we need to reconstruct
stack pointer and restore all register.
This patch fixed problem introduces by:
"microblaze: Add loop unrolling for PAGE in copy_tofrom_user"
(sha1: ebe211254bfa6295f4ab0b33c7c881bdfabbab60)
Signed-off-by: Michal Simek <monstr@monstr.eu>
|
|
Use delay slot to speedup if maxlen is zero.
Signed-off-by: Michal Simek <monstr@monstr.eu>
|
|
Increase performance by loop unrolling.
Signed-off-by: Michal Simek <monstr@monstr.eu>
|
|
Save jump instruction for unaligned byte copying.
Signed-off-by: Michal Simek <monstr@monstr.eu>
|
|
Change label name to be prepared for loop unrolling.
Signed-off-by: Michal Simek <monstr@monstr.eu>
|
|
Move fixups below appropriate code.
Signed-off-by: Michal Simek <monstr@monstr.eu>
|
|
Use label 0: for zero length copying and fixups.
Signed-off-by: Michal Simek <monstr@monstr.eu>
|
|
Word copying is used only for aligned addresses.
Here is space for improving to use any better copying technique.
Look at memcpy implementation.
Signed-off-by: Michal Simek <monstr@monstr.eu>
|
|
Cachegrind analysis need this fix to be able to log asm functions.
Signed-off-by: Michal Simek <monstr@monstr.eu>
|
|
Signed-off-by: Michal Simek <monstr@monstr.eu>
|