direct-io.hg

changeset 11516:a17aa5e65209

[POWERPC][XEN] Better explane the larx/stcx issue with interrupts

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 Thu Sep 14 10:17:23 2006 -0400 (2006-09-14)
parents 0cdac06f1a9d
children 8ca32cdc9841
files xen/arch/powerpc/powerpc64/exceptions.S
line diff
     1.1 --- a/xen/arch/powerpc/powerpc64/exceptions.S	Thu Sep 14 01:41:13 2006 -0400
     1.2 +++ b/xen/arch/powerpc/powerpc64/exceptions.S	Thu Sep 14 10:17:23 2006 -0400
     1.3 @@ -118,7 +118,11 @@ 1:
     1.4      mfspr r0, SPRN_HSPRG1
     1.5      std r0, UREGS_r13(r1)           /* save R13 from HSPRG1 */
     1.6  
     1.7 -    /* Blow away any reservation according to 970 errata after saving CR */
     1.8 +    /* Only _one_ larx is allowed at a time.  Any future use will be
     1.9 +     * rejected until the earlier one (if any) completes.  Since we
    1.10 +     * may have interrupted a larx in the Domain, or Xen we need to
    1.11 +     * clear any larx that may currently exist.  We could probably
    1.12 +     * skip which for hcalls */
    1.13      ldx r0, 0, r1
    1.14      stdcx. r0, 0, r1
    1.15