Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/arm32 Part of break-before-make is to dsb after...



details:   https://anonhg.NetBSD.org/src/rev/a19afa6e50bc
branches:  trunk
changeset: 803500:a19afa6e50bc
user:      skrll <skrll%NetBSD.org@localhost>
date:      Thu Oct 30 10:45:17 2014 +0000

description:
Part of break-before-make is to dsb after the TLB invalidation. Do it in
tlb_invalidate_addr

diffstat:

 sys/arch/arm/arm32/arm32_tlb.c |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r 8c64d5dfa561 -r a19afa6e50bc sys/arch/arm/arm32/arm32_tlb.c
--- a/sys/arch/arm/arm32/arm32_tlb.c    Thu Oct 30 10:38:57 2014 +0000
+++ b/sys/arch/arm/arm32/arm32_tlb.c    Thu Oct 30 10:45:17 2014 +0000
@@ -30,7 +30,7 @@
 #include "opt_multiprocessor.h"
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(1, "$NetBSD: arm32_tlb.c,v 1.6 2014/10/30 10:38:57 skrll Exp $");
+__KERNEL_RCSID(1, "$NetBSD: arm32_tlb.c,v 1.7 2014/10/30 10:45:17 skrll Exp $");
 
 #include <sys/param.h>
 #include <sys/types.h>
@@ -122,6 +122,7 @@
 #endif
                //armreg_tlbiall_write(asid);
        }
+       arm_dsb();
        arm_isb();
 }
 



Home | Main Index | Thread Index | Old Index