Print this page
OS-7125 Need mitigation of L1TF (CVE-2018-3646)
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/intel/sys/x86_archext.h
          +++ new/usr/src/uts/intel/sys/x86_archext.h
↓ open down ↓ 943 lines elided ↑ open up ↑
 944  944  
 945  945  
 946  946  extern uint_t x86_type;
 947  947  extern uint_t x86_vendor;
 948  948  extern uint_t x86_clflush_size;
 949  949  
 950  950  extern uint_t pentiumpro_bug4046376;
 951  951  
 952  952  extern const char CyrixInstead[];
 953  953  
      954 +extern void (*spec_l1d_flush)(void);
      955 +
 954  956  #endif
 955  957  
 956  958  #if defined(_KERNEL)
 957  959  
 958  960  /*
 959  961   * This structure is used to pass arguments and get return values back
 960  962   * from the CPUID instruction in __cpuid_insn() routine.
 961  963   */
 962  964  struct cpuid_regs {
 963  965          uint32_t        cp_eax;
↓ open down ↓ 204 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX