Re: [PATCH] powerpc: do not use kprobe section to exempt exception handlers

2016-09-16 Thread Michael Ellerman
Nicholas Piggin writes: > Use the blacklist macros instead. This allows the linker to move > exception handler functions close to callers and avoids trampolines in > larger kernels. Nice, that's been on my todo list for eva. Can you do the asm ones too? See _KPROBE() in misc_32/64.S. cheers

[PATCH] powerpc: do not use kprobe section to exempt exception handlers

2016-09-15 Thread Nicholas Piggin
Use the blacklist macros instead. This allows the linker to move exception handler functions close to callers and avoids trampolines in larger kernels. Signed-off-by: Nicholas Piggin --- arch/powerpc/include/asm/asm-prototypes.h | 6 +++--- arch/powerpc/kernel/hw_breakpoint.c | 9 ++-