[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1249973093.9841.107.camel@pasglop>
Date: Tue, 11 Aug 2009 16:44:53 +1000
From: Benjamin Herrenschmidt <benh@...nel.crashing.org>
To: Paul Mackerras <paulus@...ba.org>
Cc: linuxppc-dev@...abs.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] powerpc: Allow perf_counters to access user memory
at interrupt time
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, depending on the processor. This commit
> only deals with the classic/server processors that use an MMU hash
> table, not processors that have software-loaded TLBs.
.../...
> Signed-off-by: Paul Mackerras <paulus@...ba.org>
Acked-by: Benjamin Herrenschmidt <benh@...nel.crashing.org>
As discussed in the lab, you should also do a pre-req patch to pgtable.h
that changes ppc32 with 64-bit PTE without CONFIG_SMP to use the same
path as SMP to order the stores to the two halves of the PTEs though.
Cheers,
Ben.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists