Source-Changes archive

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

CVS commit: [netbsd-9] src/sys/arch/aarch64



Module Name:    src
Committed By:   martin
Date:           Tue Dec 24 17:30:28 UTC 2019

Modified Files:
        src/sys/arch/aarch64/aarch64 [netbsd-9]: cpuswitch.S
        src/sys/arch/aarch64/include [netbsd-9]: asm.h

Log Message:
Pull up following revision(s) (requested by ryo in ticket #574):

        sys/arch/aarch64/include/asm.h: revision 1.5
        sys/arch/aarch64/aarch64/cpuswitch.S: revision 1.13

Add a speculation barrier after the 'eret'.

Some aarch64 cpus speculatively execute instructions after 'eret',
and this potentiates side-channel attack.

from
 https://github.com/torvalds/linux/commit/679db70801da9fda91d26caf13bf5b5ccc74e8e8


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.11.4.1 src/sys/arch/aarch64/aarch64/cpuswitch.S
cvs rdiff -u -r1.3 -r1.3.4.1 src/sys/arch/aarch64/include/asm.h

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