Make sure the first instruction of the low-memory spinloop is in the

cacheline being invalidated.

MFC after:	1 month
This commit is contained in:
Nathan Whitehorn 2017-12-31 05:38:19 +00:00
parent 24888292cd
commit a891d21aac

View File

@ -85,8 +85,9 @@ ap_kexec_start: /* At 0x60 past start, copied to 0x60 by kexec */
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 */