[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] [POWERPC][XEN] Better explane the larx/stcx issue with interrupts
# HG changeset patch # User Jimi Xenidis <jimix@xxxxxxxxxxxxxx> # Node ID a17aa5e65209d917bbb76ec6080d9541bda624e7 # Parent 0cdac06f1a9dfeec0ce16daac562c68669934033 [POWERPC][XEN] Better explane the larx/stcx issue with interrupts Signed-off-by: Jimi Xenidis <jimix@xxxxxxxxxxxxxx> Signed-off-by: Hollis Blanchard <hollisb@xxxxxxxxxx> --- xen/arch/powerpc/powerpc64/exceptions.S | 6 +++++- 1 files changed, 5 insertions(+), 1 deletion(-) diff -r 0cdac06f1a9d -r a17aa5e65209 xen/arch/powerpc/powerpc64/exceptions.S --- a/xen/arch/powerpc/powerpc64/exceptions.S Thu Sep 14 01:41:13 2006 -0400 +++ b/xen/arch/powerpc/powerpc64/exceptions.S Thu Sep 14 10:17:23 2006 -0400 @@ -118,7 +118,11 @@ 1: mfspr r0, SPRN_HSPRG1 std r0, UREGS_r13(r1) /* save R13 from HSPRG1 */ - /* Blow away any reservation according to 970 errata after saving CR */ + /* Only _one_ larx is allowed at a time. Any future use will be + * rejected until the earlier one (if any) completes. Since we + * may have interrupted a larx in the Domain, or Xen we need to + * clear any larx that may currently exist. We could probably + * skip which for hcalls */ ldx r0, 0, r1 stdcx. r0, 0, r1 _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |