Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/aarch64/aarch64 Use corrcet membar_exit barrier



details:   https://anonhg.NetBSD.org/src/rev/6802e01a51b7
branches:  trunk
changeset: 944852:6802e01a51b7
user:      skrll <skrll%NetBSD.org@localhost>
date:      Tue Oct 13 21:24:22 2020 +0000

description:
Use corrcet membar_exit barrier

diffstat:

 sys/arch/aarch64/aarch64/cpuswitch.S |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r e08b41771e0b -r 6802e01a51b7 sys/arch/aarch64/aarch64/cpuswitch.S
--- a/sys/arch/aarch64/aarch64/cpuswitch.S      Tue Oct 13 21:22:12 2020 +0000
+++ b/sys/arch/aarch64/aarch64/cpuswitch.S      Tue Oct 13 21:24:22 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cpuswitch.S,v 1.29 2020/10/06 06:26:46 skrll Exp $ */
+/* $NetBSD: cpuswitch.S,v 1.30 2020/10/13 21:24:22 skrll Exp $ */
 
 /*-
  * Copyright (c) 2014, 2020 The NetBSD Foundation, Inc.
@@ -38,7 +38,7 @@
 #include "opt_ddb.h"
 #include "opt_kasan.h"
 
-RCSID("$NetBSD: cpuswitch.S,v 1.29 2020/10/06 06:26:46 skrll Exp $")
+RCSID("$NetBSD: cpuswitch.S,v 1.30 2020/10/13 21:24:22 skrll Exp $")
 
        ARMV8_DEFINE_OPTIONS
 
@@ -119,7 +119,7 @@
        msr     tpidr_el1, x1           /* switch curlwp to new lwp */
        ldr     x3, [x1, #L_CPU]
        str     x1, [x3, #CI_CURLWP]    /* switch curlwp to new lwp */
-       dmb     st                      /* see comments in kern_mutex.c */
+       dmb     ishst                   /* see comments in kern_mutex.c */
        ENABLE_INTERRUPT
 
        /*



Home | Main Index | Thread Index | Old Index