Re: [RFC] [PATCH] PowerPC: Workaround for the 440EP(x)/GR(x) processors identical PVR issue.

2007-10-26 Thread Valentine Barshak
Benjamin Herrenschmidt wrote: > On Fri, 2007-10-26 at 15:05 +0400, Valentine Barshak wrote: >> It's not enough. We need to enable APU instruction broadcast for >> EP(x) >> (call __init_fpu_44x in arch/powerpc/kernel/cpu_setup_44x.S). >> Or do you suggest to or-in FPU feature bit and enable APUIB l

Re: [RFC] [PATCH] PowerPC: Workaround for the 440EP(x)/GR(x) processors identical PVR issue.

2007-10-26 Thread Benjamin Herrenschmidt
On Fri, 2007-10-26 at 15:05 +0400, Valentine Barshak wrote: > > It's not enough. We need to enable APU instruction broadcast for > EP(x) > (call __init_fpu_44x in arch/powerpc/kernel/cpu_setup_44x.S). > Or do you suggest to or-in FPU feature bit and enable APUIB later, > not > in the cpu_setup

Re: [RFC] [PATCH] PowerPC: Workaround for the 440EP(x)/GR(x) processors identical PVR issue.

2007-10-26 Thread Valentine Barshak
Benjamin Herrenschmidt wrote: > On Thu, 2007-10-25 at 22:16 +0400, Valentine Barshak wrote: >> PowerPC 440EP(x) 440GR(x) processors have the same PVR values, since >> they have identical cores. However, FPU is not supported on GR(x) and >> enabling APU instruction broadcast in the CCR0 register (to

Re: [RFC] [PATCH] PowerPC: Workaround for the 440EP(x)/GR(x) processors identical PVR issue.

2007-10-25 Thread Benjamin Herrenschmidt
On Thu, 2007-10-25 at 22:16 +0400, Valentine Barshak wrote: > PowerPC 440EP(x) 440GR(x) processors have the same PVR values, since > they have identical cores. However, FPU is not supported on GR(x) and > enabling APU instruction broadcast in the CCR0 register (to enable FPU) > may cause unpredict

[RFC] [PATCH] PowerPC: Workaround for the 440EP(x)/GR(x) processors identical PVR issue.

2007-10-25 Thread Valentine Barshak
PowerPC 440EP(x) 440GR(x) processors have the same PVR values, since they have identical cores. However, FPU is not supported on GR(x) and enabling APU instruction broadcast in the CCR0 register (to enable FPU) may cause unpredictable results. There's no safe way to detect FPU support at runtime. T