direct-io.hg

changeset 12958:da882f0212d6

[XEN][POWERPC] Flush the ERAT very early on secondary processors.
This patch solves the problem with the "Synchronizing timebase hang"
that both SMP and "nosmp" users have experienced. It blows away the
ERAT but performing an SLBIA in the seconadry processor "spinup" code.
Signed-off-by: Amos Waterland <apw@us.ibm.com>
Signed-off-by: Jimi Xenidis <jimix@watson.ibm.com>
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
author Jimi Xenidis <jimix@watson.ibm.com>
date Sat Nov 11 12:04:45 2006 -0500 (2006-11-11)
parents 4d47f058fffd
children d6b44cb7d2c9
files xen/arch/powerpc/powerpc64/exceptions.S
line diff
     1.1 --- a/xen/arch/powerpc/powerpc64/exceptions.S	Sat Nov 11 10:30:07 2006 -0500
     1.2 +++ b/xen/arch/powerpc/powerpc64/exceptions.S	Sat Nov 11 12:04:45 2006 -0500
     1.3 @@ -564,7 +564,11 @@ 1:
     1.4   */	
     1.5      .globl spin_start
     1.6  spin_start:
     1.7 -
     1.8 +    /* We discovered by experiment that the ERAT must be flushed early.  */
     1.9 +    isync
    1.10 +    slbia
    1.11 +    isync
    1.12 +	
    1.13      /* Do a cache flush for our text, in case the loader didn't */
    1.14      LOADADDR(r9, _start)
    1.15      LOADADDR(r8, _etext)