Re: [PATCH v2] powerpc: Allow perf_counters to access user memory at interrupt time

2009-08-10 Thread Benjamin Herrenschmidt
On Thu, 2009-08-06 at 14:57 +1000, Paul Mackerras wrote: > This provides a mechanism to allow the perf_counters code to access > user memory in a PMU interrupt routine. Such an access can cause > various kinds of interrupt: SLB miss, MMU hash table miss, segment > table miss, or TLB miss, dependin

[PATCH v2] powerpc: Allow perf_counters to access user memory at interrupt time

2009-08-05 Thread Paul Mackerras
This provides a mechanism to allow the perf_counters code to access user memory in a PMU interrupt routine. Such an access can cause various kinds of interrupt: SLB miss, MMU hash table miss, segment table miss, or TLB miss, depending on the processor. This commit only deals with the classic/serv