Re: [PATCH] powerpc: Fix hcall tracepoint recursion

2010-11-10 Thread Subrata Modak
valid events (if we take an interrupt anywhere in the region where depth is elevated, then the entire interrupt will be blocked from calling hcall tracepoints. Thanks! Subrata, could you test the patch below? Anton -- Subject: [PATCH] powerpc: Fix hcall tracepoint recursion

Re: [PATCH] powerpc: Fix hcall tracepoint recursion

2010-10-22 Thread Li Zefan
] powerpc: Fix hcall tracepoint recursion Spinlocks on shared processor partitions use H_YIELD to notify the hypervisor we are waiting on another virtual CPU. Unfortunately this means the hcall tracepoints can recurse. The patch below adds a percpu depth and checks it on both the entry and exit

Re: [PATCH] powerpc: Fix hcall tracepoint recursion

2010-10-22 Thread Subrata Modak
! Subrata, could you test the patch below? Yes, definitely. Givmme some time. Regards-- Subrata Anton -- Subject: [PATCH] powerpc: Fix hcall tracepoint recursion Spinlocks on shared processor partitions use H_YIELD to notify the hypervisor we are waiting on another virtual CPU

Re: [PATCH] powerpc: Fix hcall tracepoint recursion

2010-10-22 Thread Steven Rostedt
On Thu, 2010-10-21 at 21:52 +1100, Anton Blanchard wrote: Anton -- Subject: [PATCH] powerpc: Fix hcall tracepoint recursion Spinlocks on shared processor partitions use H_YIELD to notify the hypervisor we are waiting on another virtual CPU. Unfortunately this means the hcall tracepoints

[PATCH] powerpc: Fix hcall tracepoint recursion

2010-10-21 Thread Anton Blanchard
we would sometimes drop valid events (if we take an interrupt anywhere in the region where depth is elevated, then the entire interrupt will be blocked from calling hcall tracepoints. Anton -- Subject: [PATCH] powerpc: Fix hcall tracepoint recursion Spinlocks on shared processor partitions use