970/PowerMac G5 cpudep_ap_bootstrap slb-related hangup *solved* . . .

Andreas Tobler andreast-list at fgznet.ch
Sat May 11 21:26:29 UTC 2019


On 10.05.19 12:23, Mark Millard via freebsd-ppc wrote:

> 
> Of course, whitespace details, may not be well preserved
> below. (The commenting out of the two #if/#endif lines
> was unnecessary and is not done in the below.)
> 
> # svnlite diff /mnt/usr/src/sys/ | more
> Index: /mnt/usr/src/sys/powerpc/aim/mp_cpudep.c
> ===================================================================
> --- /mnt/usr/src/sys/powerpc/aim/mp_cpudep.c    (revision 347003)
> +++ /mnt/usr/src/sys/powerpc/aim/mp_cpudep.c    (working copy)
> @@ -68,6 +68,46 @@
>          case IBM970:
>          case IBM970FX:
>          case IBM970MP:
> +               /* Set HIOR to 0 */
> +               __asm __volatile("mtspr 311,%0" :: "r"(0));
> +               powerpc_sync();

Thank you for this incredible investigation! My quad is now under heavy 
load and behaves as expected.

Andreas



More information about the freebsd-ppc mailing list