Source-Changes archive

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

CVS commit: [netbsd-8] src/sys/arch



Module Name:    src
Committed By:   martin
Date:           Mon Jul 31 14:26:26 UTC 2023

Modified Files:
        src/sys/arch/alpha/alpha [netbsd-8]: locore.s multiproc.s
        src/sys/arch/arm/cortex [netbsd-8]: a9_mpsubr.S cortex_init.S

Log Message:
Pull up following revision(s) (requested by riastradh in ticket #1859):

        sys/arch/ia64/ia64/vm_machdep.c: revision 1.18
        sys/arch/powerpc/powerpc/locore_subr.S: revision 1.67
        sys/arch/aarch64/aarch64/locore.S: revision 1.91
        sys/arch/mips/include/asm.h: revision 1.74
        sys/arch/hppa/include/cpu.h: revision 1.13
        sys/arch/arm/arm/armv6_start.S: revision 1.38
         (applied also to sys/arch/arm/cortex/a9_mpsubr.S,
         sys/arch/arm/cortex/a9_mpsubr.S,
         sys/arch/arm/cortex/cortex_init.S)
        sys/arch/evbmips/ingenic/cpu_startup.S: revision 1.2
        sys/arch/mips/mips/locore.S: revision 1.229
        sys/arch/alpha/include/asm.h: revision 1.45
         (applied to sys/arch/alpha/alpha/multiproc.s)
        sys/arch/sparc64/sparc64/locore.s: revision 1.432
        sys/arch/vax/vax/subr.S: revision 1.42
        sys/arch/mips/mips/locore_mips3.S: revision 1.116
        sys/arch/ia64/ia64/machdep.c: revision 1.44
        sys/arch/arm/arm32/cpuswitch.S: revision 1.106
        sys/arch/sparc/sparc/locore.s: revision 1.284
        (all via patch)

aarch64: Add missing barriers in cpu_switchto.
Details in comments.

Note: This is a conservative change that inserts a barrier where
there was a comment saying none is needed, which is probably correct.
The goal of this change is to systematically add barriers to be
confident in correctness; subsequent changes may remove some bariers,
as an optimization, with an explanation of why each barrier is not
needed.

PR kern/57240

alpha: Add missing barriers in cpu_switchto.
Details in comments.

arm32: Add missing barriers in cpu_switchto.
Details in comments.

hppa: Add missing barriers in cpu_switchto.
Not sure hppa has ever had working MULTIPROCESSOR, so maybe no
pullups needed?

ia64: Add missing barriers in cpu_switchto.
(ia64 has never really worked, so no pullups needed, right?)

mips: Add missing barriers in cpu_switchto.
Details in comments.

powerpc: Add missing barriers in cpu_switchto.
Details in comments.

sparc: Add missing barriers in cpu_switchto.

sparc64: Add missing barriers in cpu_switchto.
Details in comments.

vax: Note where cpu_switchto needs barriers.

Not sure vax has ever had working MULTIPROCESSOR, though, and I'm not
even sure how to spell store-before-load barriers on VAX, so no
functional change for now.


To generate a diff of this commit:
cvs rdiff -u -r1.122 -r1.122.32.1 src/sys/arch/alpha/alpha/locore.s
cvs rdiff -u -r1.13 -r1.13.80.1 src/sys/arch/alpha/alpha/multiproc.s
cvs rdiff -u -r1.47.8.2 -r1.47.8.3 src/sys/arch/arm/cortex/a9_mpsubr.S
cvs rdiff -u -r1.1 -r1.1.12.1 src/sys/arch/arm/cortex/cortex_init.S

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index