Re: [PATCH] powerpc: POWER7 optimised copy_to_user/copy_from_user using VMX

2011-12-18 Thread Benjamin Herrenschmidt
On Thu, 2011-12-08 at 17:11 +1100, Anton Blanchard wrote: > Implement a POWER7 optimised copy_to_user/copy_from_user using VMX. > For large aligned copies this new loop is over 10% faster, and for > large unaligned copies it is over 200% faster. Breaks !CONFIG_ALTIVEC build an pops some WARN's wit

Re: [PATCH] powerpc: POWER7 optimised copy_to_user/copy_from_user using VMX

2011-12-18 Thread Benjamin Herrenschmidt
On Mon, 2011-12-19 at 14:00 +1100, Benjamin Herrenschmidt wrote: > On Thu, 2011-12-08 at 17:11 +1100, Anton Blanchard wrote: > > Implement a POWER7 optimised copy_to_user/copy_from_user using VMX. > > For large aligned copies this new loop is over 10% faster, and for > > large unaligned copies it i

Help needed with porting ether-net driver from ADS5121 to TWR-MPC5125

2011-12-18 Thread G . H . Lee
Hello, all I am a new user of the board TWR-MPC5125 made by freescale. Now I am trying to porting the new kernel, i.e. the version 3.0.4, to this board. I have porting the serial driver and the nand flash driver successfully. And I can also mount the root file system. But I can not use the ethe

[PATCH powerpc] fix unpaired probe_hcall_entry and probe_hcall_exit

2011-12-18 Thread Li Zhong
Unpaired calling of probe_hcall_entry and probe_hcall_exit might happen as following, which could cause incorrect preempt count. __trace_hcall_entry => trace_hcall_entry -> probe_hcall_entry => get_cpu_var => preempt_disable __trace_hcall_exit => trace_hcall_exit -> probe_hcall_exit => put_cpu_v

[PATCH powerpc] fix unpaired __trace_hcall_entry and __trace_hcall_exit

2011-12-18 Thread Li Zhong
Unpaired calling of __trace_hcall_entry and __trace_hcall_exit could cause incorrect preempt count. And it might happen as the global variable hcall_tracepoint_refcount is checked separately before calling them. I don't know much about the powerpc arch. But the idea here is to store the hcall_tra

RapidIO Direct I/O Support?

2011-12-18 Thread Daniel Ng
Hi, Is there RapidIO Direct Memory I/O Support in the latest kernel? I've seen these patches from Freescale, but it seems they were never integrated- http://kerneltrap.org/mailarchive/linux-netdev/2009/5/12/5686954 Does anyone know why these weren't integrated? What is the latest state of these