diff options
Diffstat (limited to 'usr/src/uts/intel/asm')
-rw-r--r-- | usr/src/uts/intel/asm/cpu.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/usr/src/uts/intel/asm/cpu.h b/usr/src/uts/intel/asm/cpu.h index a96d8ab6b6..faaaea7c8e 100644 --- a/usr/src/uts/intel/asm/cpu.h +++ b/usr/src/uts/intel/asm/cpu.h @@ -22,6 +22,9 @@ * Copyright 2009 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ +/* + * Copyright 2019 Joyent, Inc. + */ #ifndef _ASM_CPU_H #define _ASM_CPU_H @@ -114,6 +117,12 @@ sti(void) "sti"); } +/* + * Any newer callers of halt need to make sure that they consider calling + * x86_md_clear() before calling this to deal with any potential issues with + * MDS. Because this version of hlt is also used in panic context, we do not + * unconditionally call x86_md_clear() here and require callers to do so. + */ extern __GNU_INLINE void i86_halt(void) { |