Author: nwhitehorn Date: Sun Dec 31 05:38:19 2017 New Revision: 327417 URL: https://svnweb.freebsd.org/changeset/base/327417
Log: Make sure the first instruction of the low-memory spinloop is in the cacheline being invalidated. MFC after: 1 month Modified: head/sys/powerpc/aim/locore64.S Modified: head/sys/powerpc/aim/locore64.S ============================================================================== --- head/sys/powerpc/aim/locore64.S Sun Dec 31 05:22:26 2017 (r327416) +++ head/sys/powerpc/aim/locore64.S Sun Dec 31 05:38:19 2017 (r327417) @@ -85,8 +85,9 @@ ap_kexec_start: /* At 0x60 past start, copied to 0x60 sync icbi 0,%r0 isync - ba 0x78 /* Absolute branch to next inst */ + ba 0x80 /* Absolute branch to next inst */ +. = kbootentry + 0x80 /* Aligned to cache line */ 1: or 31,31,31 /* yield */ sync lwz %r1,0x40(0) /* Spin on ap_kexec_spin_sem */ _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"