Re: [PATCH] powerpc: Fix hcall tracepoint recursion

2010-10-22 Thread Li Zefan
Anton Blanchard wrote: > Hi, > >> This is a dead loop: >> >> trace_hcall_entry() -> trace_clock_global() -> trace_hcall_entry() .. >> >> And this is a PPC specific bug. Hope some ppc guys will fix it? >> Or we kill trace_clock_global() if no one actually uses it.. > > Nasty! How does the patch be

Re: [2.6.36-rc7, Power6] LTP Ftrace Stress tests causes KERNEL PANIC and brings the system to xmon

2010-10-21 Thread Li Zefan
(I guess you didn't notice I've also forwarded the bug report to LKML? http://marc.info/?l=linux-kernel&m=128737193919500&w=2) Subrata Modak wrote: > Stefen, > > Can you please know your thoughts on this issue ? > Stefen? Steven? :) > Regards-- > Subrata > > On Thu, 2010-10-14 at 01:04 +0530

Re: BUG: dead loop in PowerPC hcall tracepoint (Was: [LTP] [PATCH v2] Add ftrace-stress-test to LTP)

2010-10-18 Thread Li Zefan
Steven Rostedt wrote: > On Mon, 2010-10-18 at 11:19 +0800, Li Zefan wrote: > >> This is a dead loop: >> >> trace_hcall_entry() -> trace_clock_global() -> trace_hcall_entry() .. >> >> And this is a PPC specific bug. Hope some ppc guys will fix it? &g

BUG: dead loop in PowerPC hcall tracepoint (Was: [LTP] [PATCH v2] Add ftrace-stress-test to LTP)

2010-10-17 Thread Li Zefan
213458 .trace_clock_global+0x11c/0x2a0 This is a dead loop: trace_hcall_entry() -> trace_clock_global() -> trace_hcall_entry() .. And this is a PPC specific bug. Hope some ppc guys will fix it? Or we kill trace_clock_global() if no one actually uses it.. -- Li Zefan > [c00

Re: [PATCH 1/3] POWERPC: don't cast a pointer to pointer of list_head

2007-12-06 Thread Li Zefan
Nick Piggin 写道: > On Thursday 06 December 2007 20:33, Li Zefan wrote: >> The casting is safe only when the list_head member is the >> first member of the structure. > > Even so, I don't think too safe :) It might technically work, > but it could break more easily. &g

[PATCH 1/3] POWERPC: don't cast a pointer to pointer of list_head

2007-12-06 Thread Li Zefan
The casting is safe only when the list_head member is the first member of the structure. Signed-off-by: Li Zefan <[EMAIL PROTECTED]> --- arch/ppc/syslib/ocp.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/ppc/syslib/ocp.c b/arch/ppc/syslib/ocp.c index 3

[PATCH 3/6]] POWERPC: fix memset size error

2007-11-04 Thread Li Zefan
The size passing to memset is wrong. Signed-off-by Li Zefan <[EMAIL PROTECTED]> --- arch/powerpc/kernel/prom_init.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/powerpc/kernel/prom_init.c b/arch/powerpc/kernel/prom_init.c index 1db10f7..1add6ef 100644