Re: [PATCH] add icswx support v2

2010-10-14 Thread Tseng-Hui (Frank) Lin
On Wed, 2010-10-13 at 11:52 +1100, Michael Neuling wrote: In message 1286855108.14049.8.ca...@flin.austin.ibm.com you wrote: icswx is a PowerPC co-processor instruction to send data to a co-processor. On Book-S processors the LPAR_ID and process ID (PID) of the owning process are registered

Re: [PATCH] add icswx support v2

2010-10-12 Thread Michael Neuling
In message 1286855108.14049.8.ca...@flin.austin.ibm.com you wrote: icswx is a PowerPC co-processor instruction to send data to a co-processor. On Book-S processors the LPAR_ID and process ID (PID) of the owning process are registered in the window context of the co-processor at initial time.

[PATCH] add icswx support v2

2010-10-11 Thread Tseng-Hui (Frank) Lin
icswx is a PowerPC co-processor instruction to send data to a co-processor. On Book-S processors the LPAR_ID and process ID (PID) of the owning process are registered in the window context of the co-processor at initial time. When the icswx instruction is executed, the L2 generates a cop-reg

Re: [PATCH] add icswx support

2010-05-02 Thread Olof Johansson
On Fri, Apr 23, 2010 at 05:04:35PM -0500, Tseng-Hui (Frank) Lin wrote: Add Power7 icswx co-processor instruction support. Signed-off-by: Sonny Rao sonny...@linux.vnet.ibm.com Signed-off-by: Tseng-Hui (Frank) Lin th...@linux.vnet.ibm.com --- arch/powerpc/include/asm/mmu-hash64.h |3 +

Re: [PATCH] add icswx support

2010-04-30 Thread Michael Ellerman
On Tue, 2010-04-27 at 16:56 -0500, Tseng-Hui (Frank) Lin wrote: On Sat, 2010-04-24 at 10:55 +1000, Benjamin Herrenschmidt wrote: On Fri, 2010-04-23 at 17:04 -0500, Tseng-Hui (Frank) Lin wrote: Add Power7 icswx co-processor instruction support. Please provide a -much- more detailed

Re: [PATCH] add icswx support

2010-04-29 Thread Mike Kravetz
On Fri, Apr 23, 2010 at 05:04:35PM -0500, Tseng-Hui (Frank) Lin wrote: Add Power7 icswx co-processor instruction support. Silly question perhaps, but Do we want this code to be enabled/exist for all processors? I don't see any checks for Power7 processors. Or, will it be the responsibility of

Re: [PATCH] add icswx support

2010-04-29 Thread Benjamin Herrenschmidt
On Thu, 2010-04-29 at 10:11 -0700, Mike Kravetz wrote: On Fri, Apr 23, 2010 at 05:04:35PM -0500, Tseng-Hui (Frank) Lin wrote: Add Power7 icswx co-processor instruction support. Silly question perhaps, but Do we want this code to be enabled/exist for all processors? I don't see any

Re: [PATCH] add icswx support

2010-04-27 Thread Tseng-Hui (Frank) Lin
On Sat, 2010-04-24 at 10:55 +1000, Benjamin Herrenschmidt wrote: On Fri, 2010-04-23 at 17:04 -0500, Tseng-Hui (Frank) Lin wrote: Add Power7 icswx co-processor instruction support. Please provide a -much- more detailed explanation of what it is, what it does and why it requires hooking into

Re: [PATCH] add icswx support

2010-04-27 Thread Benjamin Herrenschmidt
On Tue, 2010-04-27 at 16:56 -0500, Tseng-Hui (Frank) Lin wrote: icswx is a PowerPC co-processor instruction to send data to a co-processor. On Book-S processors the LPAR_ID and process ID (PID) of the owning process are registered in the window context of the co-processor at initial time.

[PATCH] add icswx support

2010-04-23 Thread Tseng-Hui (Frank) Lin
Add Power7 icswx co-processor instruction support. Signed-off-by: Sonny Rao sonny...@linux.vnet.ibm.com Signed-off-by: Tseng-Hui (Frank) Lin th...@linux.vnet.ibm.com --- arch/powerpc/include/asm/mmu-hash64.h |3 + arch/powerpc/include/asm/mmu_context.h |4 ++

Re: [PATCH] add icswx support

2010-04-23 Thread Benjamin Herrenschmidt
On Fri, 2010-04-23 at 17:04 -0500, Tseng-Hui (Frank) Lin wrote: Add Power7 icswx co-processor instruction support. Please provide a -much- more detailed explanation of what it is, what it does and why it requires hooking into the MMU context switch code. _I_ know these things but nobody else on