This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


[Xen-changelog] [xen-unstable] [POWERPC][XEN] Better explane the larx/st

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] [POWERPC][XEN] Better explane the larx/stcx issue with interrupts
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 19 Sep 2006 10:03:24 +0000
Delivery-date: Tue, 19 Sep 2006 03:05:49 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] [POWERPC][XEN] Better explane the larx/stcx issue with interrupts, Xen patchbot-unstable <=