Re: [PATCH 2/3 v3] powerpc: Allow perf_counters to access user memory at interrupt time

2009-08-17 Thread Benjamin Herrenschmidt
On Tue, 2009-08-18 at 09:00 +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 2/3 v3] powerpc: Allow perf_counters to access user memory at interrupt time

2009-08-17 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 64-bit classic/s