Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 May 2019 23:26:19 +0200
From:      Andreas Tobler <andreast-list@fgznet.ch>
To:        Mark Millard <marklmi@yahoo.com>, FreeBSD PowerPC ML <freebsd-ppc@freebsd.org>
Subject:   Re: 970/PowerMac G5 cpudep_ap_bootstrap slb-related hangup *solved* . . .
Message-ID:  <73ec1772-adeb-a501-a8ff-91b22cfbb1ff@fgznet.ch>
In-Reply-To: <C3272E01-41D8-4E4C-8F4B-CF9DC6E37B3D@yahoo.com>
References:  <2E7A0894-E5B0-4776-95F2-76B7EE0EE93C@yahoo.com> <C3272E01-41D8-4E4C-8F4B-CF9DC6E37B3D@yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?73ec1772-adeb-a501-a8ff-91b22cfbb1ff>