Re: [v2][PATCH 1/2] powerpc/kgdb: Fix a single stgep case of lazy IRQ

2012-10-23 Thread tiejun.chen
Please ignore v2 temporarily since I have to correct something lately. Sorry for any inconvenience. Tiejun On 10/18/2012 10:47 AM, Tiejun Chen wrote: When we're in kgdb_singlestep(), we have to work around to get thread_info by copying from the kernel stack before calling kgdb_handle_exceptio

[v2][PATCH 1/2] powerpc/kgdb: Fix a single stgep case of lazy IRQ

2012-10-17 Thread Tiejun Chen
When we're in kgdb_singlestep(), we have to work around to get thread_info by copying from the kernel stack before calling kgdb_handle_exception(), then copying it back afterwards. But for PPC64, we have a lazy interrupt implementation. So after copying thread info frome kernle stack, if we need t