Re: [RFC PATCH] powerpc/6xx: Don't set back MSR_RI before reenabling MMU

2019-02-12 Thread Christophe Leroy
Le 01/02/2019 à 12:51, Christophe Leroy a écrit : Le 01/02/2019 à 12:10, Michael Ellerman a écrit : Christophe Leroy writes: By delaying the setting of MSR_RI, a 1% improvment is optained on null_syscall selftest on an mpc8321. Without this patch: root@vgoippro:~# ./null_syscall     11

Re: [RFC PATCH] powerpc/6xx: Don't set back MSR_RI before reenabling MMU

2019-02-01 Thread Christophe Leroy
Le 01/02/2019 à 12:10, Michael Ellerman a écrit : Christophe Leroy writes: By delaying the setting of MSR_RI, a 1% improvment is optained on null_syscall selftest on an mpc8321. Without this patch: root@vgoippro:~# ./null_syscall 1134.33 ns 378.11 cycles With this patch: root@vg

Re: [RFC PATCH] powerpc/6xx: Don't set back MSR_RI before reenabling MMU

2019-02-01 Thread Michael Ellerman
Christophe Leroy writes: > By delaying the setting of MSR_RI, a 1% improvment is optained on > null_syscall selftest on an mpc8321. > > Without this patch: > > root@vgoippro:~# ./null_syscall >1134.33 ns 378.11 cycles > > With this patch: > > root@vgoippro:~# ./null_syscall >1121.85 n

[RFC PATCH] powerpc/6xx: Don't set back MSR_RI before reenabling MMU

2019-01-31 Thread Christophe Leroy
By delaying the setting of MSR_RI, a 1% improvment is optained on null_syscall selftest on an mpc8321. Without this patch: root@vgoippro:~# ./null_syscall 1134.33 ns 378.11 cycles With this patch: root@vgoippro:~# ./null_syscall 1121.85 ns 373.95 cycles The drawback is that a mac