[PATCH] powerpc: Enable VMX copy on PPC970 (G5)
Subsystems:
linux for powerpc (32-bit and 64-bit) , the rest
STALE3850d
5 messages,
3 authors,
2016-01-22 · open the first message on its own page
There's no reason I'm aware of that the VMX copy loop shouldn't work on
PPC970. And in fact it seems to boot and generally be happy.
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
---
arch/powerpc/include/asm/cputable.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/powerpc/include/asm/cputable.h b/arch/powerpc/include/asm/cputable.h
index b118072670fb..f412666fafe2 100644
--- a/arch/powerpc/include/asm/cputable.h
+++ b/arch/powerpc/include/asm/cputable.h @@ -411,7 +411,7 @@ enum {
CPU_FTR_PPCAS_ARCH_V2 | CPU_FTR_CTRL | CPU_FTR_ARCH_201 | \
CPU_FTR_ALTIVEC_COMP | CPU_FTR_CAN_NAP | CPU_FTR_MMCRA | \
CPU_FTR_CP_USE_DCBTZ | CPU_FTR_STCX_CHECKS_ADDRESS | \
- CPU_FTR_HVMODE | CPU_FTR_DABRX )
+ CPU_FTR_HVMODE | CPU_FTR_DABRX | CPU_FTR_VMX_COPY )
#define CPU_FTRS_POWER5 (CPU_FTR_USE_TB | CPU_FTR_LWSYNC | \
CPU_FTR_PPCAS_ARCH_V2 | CPU_FTR_CTRL | \
CPU_FTR_MMCRA | CPU_FTR_SMT | \ --
2.5.0
Am Donnerstag, 21. Januar 2016, 11:25:27 schrieb Michael Ellerman: There's no reason I'm aware of that the VMX copy loop shouldn't work on
PPC970. And in fact it seems to boot and generally be happy.
does the same also hold for Cell? Maybe there are even more optimizations
which can be copied from PPC970.
Marc
quoted hunk Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
---
arch/powerpc/include/asm/cputable.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/powerpc/include/asm/cputable.h b/arch/powerpc/include/asm/cputable.h index b118072670fb..f412666fafe2
100644 --- a/arch/powerpc/include/asm/cputable.h
+++ b/arch/powerpc/include/asm/cputable.h @@ -411,7 +411,7 @@ enum {
CPU_FTR_PPCAS_ARCH_V2 | CPU_FTR_CTRL | CPU_FTR_ARCH_201 | \
CPU_FTR_ALTIVEC_COMP | CPU_FTR_CAN_NAP | CPU_FTR_MMCRA | \
CPU_FTR_CP_USE_DCBTZ | CPU_FTR_STCX_CHECKS_ADDRESS | \
- CPU_FTR_HVMODE | CPU_FTR_DABRX )
+ CPU_FTR_HVMODE | CPU_FTR_DABRX | CPU_FTR_VMX_COPY )
#define CPU_FTRS_POWER5 (CPU_FTR_USE_TB | CPU_FTR_LWSYNC | \
CPU_FTR_PPCAS_ARCH_V2 | CPU_FTR_CTRL | \
CPU_FTR_MMCRA | CPU_FTR_SMT | \
On Thu, 2016-01-21 at 10:51 +0100, Marc Dietrich wrote:
Am Donnerstag, 21. Januar 2016, 11:25:27 schrieb Michael Ellerman: quoted There's no reason I'm aware of that the VMX copy loop shouldn't work on
PPC970. And in fact it seems to boot and generally be happy.
does the same also hold for Cell? Maybe there are even more optimizations
which can be copied from PPC970.
Yeah in theory the PPE has VMX, I'll try it.
cheers
On Thu, Jan 21, 2016 at 11:25:27AM +1100, Michael Ellerman wrote: There's no reason I'm aware of that the VMX copy loop shouldn't work on
PPC970. And in fact it seems to boot and generally be happy.
But is it faster?
Segher
On Fri, 2016-01-22 at 02:08 -0600, Segher Boessenkool wrote: On Thu, Jan 21, 2016 at 11:25:27AM +1100, Michael Ellerman wrote: quoted There's no reason I'm aware of that the VMX copy loop shouldn't work on
PPC970. And in fact it seems to boot and generally be happy.
But is it faster?
Well Anton wrote it, so of course it is. ;)
Will try and get some numbers.
cheers