Print this page
    
10924 Need mitigation of L1TF (CVE-2018-3646)
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Peter Tribble <peter.tribble@gmail.com>
    
      
        | Split | Close | 
      | Expand all | 
      | Collapse all | 
    
    
          --- old/usr/src/uts/sun4u/sys/Makefile
          +++ new/usr/src/uts/sun4u/sys/Makefile
   1    1  #
   2    2  # CDDL HEADER START
   3    3  #
   4    4  # The contents of this file are subject to the terms of the
   5    5  # Common Development and Distribution License (the "License").
   6    6  # You may not use this file except in compliance with the License.
   7    7  #
   8    8  # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
   9    9  # or http://www.opensolaris.org/os/licensing.
  10   10  # See the License for the specific language governing permissions
  11   11  # and limitations under the License.
  12   12  #
  13   13  # When distributing Covered Code, include this CDDL HEADER in each
  14   14  # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  
    | ↓ open down ↓ | 14 lines elided | ↑ open up ↑ | 
  15   15  # If applicable, add the following below this CDDL HEADER, with the
  16   16  # fields enclosed by brackets "[]" replaced with your own identifying
  17   17  # information: Portions Copyright [yyyy] [name of copyright owner]
  18   18  #
  19   19  # CDDL HEADER END
  20   20  #
  21   21  # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  22   22  # Use is subject to license terms.
  23   23  # Copyright 2019 Peter Tribble.
  24   24  #
  25      -# uts/sun4u/sys/Makefile
       25 +# Copyright 2018 Joyent, Inc.
  26   26  #
  27   27  UTSBASE = ../..
  28   28  
  29   29  #
  30   30  # include global definitions
  31   31  #
  32   32  include ../Makefile.sun4u
  33   33  
  34   34  #
  35   35  # Override defaults.
  36   36  #
  37   37  FILEMODE         = 644
  38   38  
  39   39  SUN4_HDRS=                      \
  40   40          async.h                 \
  41   41          clock.h                 \
  42   42          cmp.h                   \
  43   43          cpc_ultra.h             \
  44      -        cpu_sgnblk_defs.h       \
       44 +        cpu_sgnblk_defs.h       \
  45   45          ddi_subrdefs.h          \
  46   46          dvma.h                  \
  47   47          eeprom.h                \
  48   48          errclassify.h           \
  49   49          fcode.h                 \
  50   50          fc_plat.h               \
       51 +        ht.h                    \
  51   52          idprom.h                \
  52   53          intr.h                  \
  53   54          intreg.h                \
  54   55          ivintr.h                \
  55      -        memlist_plat.h          \
       56 +        memlist_plat.h          \
  56   57          memnode.h               \
  57   58          nexusdebug.h            \
  58   59          prom_debug.h            \
  59   60          scb.h                   \
  60   61          sun4asi.h               \
  61   62          tod.h                   \
  62   63          trapstat.h              \
  63   64          vis.h                   \
  64   65          vm_machparam.h          \
  65   66          x_call.h                \
  66   67          xc_impl.h               \
  67   68          zsmach.h
  68   69  
  69   70  HDRS=   \
  70   71          cheetahregs.h           \
  71   72          cpr_impl.h              \
  72   73          cpu_impl.h              \
  73   74          ecc_kstat.h             \
  74   75          envctrl.h               \
  75   76          envctrl_gen.h           \
  76   77          envctrl_ue250.h         \
  77   78          envctrl_ue450.h         \
  78   79          gpio_87317.h            \
  79   80          iocache.h               \
  80   81          iommu.h                 \
  81   82          machasi.h               \
  82   83          machclock.h             \
  83   84          machcpuvar.h            \
  84   85          machparam.h             \
  85   86          machsystm.h             \
  86   87          machthread.h            \
  87   88          mem_cache.h             \
  88   89          mmu.h                   \
  89   90          opl_module.h            \
  90   91          prom_plat.h             \
  91   92          pte.h                   \
  92   93          sbd_ioctl.h             \
  93   94          spitregs.h              \
  94   95          sysioerr.h              \
  95   96          sysiosbus.h             \
  96   97          todmostek.h             \
  97   98          traptrace.h
  98   99  
  99  100  I2CHDRS =       clients/max1617.h misc/i2c_svc.h clients/i2c_client.h   \
 100  101                  clients/hpc3130.h clients/lm75.h        \
 101  102                  clients/pcf8591.h clients/ssc050.h
 102  103  
 103  104  I2C_DIRS=       clients misc
 104  105  USR_PSM_ISYS_I2C_ROOT=  $(USR_PSM_ISYS_DIR)/i2c
 105  106  USR_PSM_ISYS_I2C_DIRS=  $(USR_PSM_ISYS_I2C_ROOT) \
 106  107                          $(I2C_DIRS:%=$(USR_PSM_ISYS_I2C_ROOT)/%)
 107  108  
 108  109  ROOTI2CHDRS=            $(I2CHDRS:%=$(USR_PSM_ISYS_I2C_ROOT)/%)
 109  110  
 110  111  MONHDRS=
 111  112  #MONHDRS=       eeprom.h    idprom.h    keyboard.h  password.h
 112  113  
 113  114  USR_PSM_MON_DIR=        $(USR_PSM_ISYS_DIR)/mon
 114  115  
 115  116  ROOTHDRS=               $(HDRS:%=$(USR_PSM_ISYS_DIR)/%)
 116  117  
 117  118  SUN4_ROOTHDRS=          $(SUN4_HDRS:%=$(USR_PSM_ISYS_DIR)/%)
 118  119  
 119  120  ROOTMONHDRS=            $(MONHDRS:%=$(USR_PSM_MON_DIR)/%)
 120  121  
 121  122  ROOTDIR=                $(ROOT)/usr/share/src
 122  123  ROOTDIRS=               $(ROOTDIR)/uts $(ROOTDIR)/uts/$(PLATFORM)
 123  124  
 124  125  ROOTLINK=               $(ROOTDIR)/uts/$(PLATFORM)/sys
 125  126  LINKDEST=               ../../../../platform/$(PLATFORM)/include/sys
 126  127  
 127  128  CHECKHDRS=              $(HDRS:%.h=%.check) \
 128  129                          $(MONHDRS:%.h=mon/%.check) \
 129  130                          $(SUN4_HDRS:%.h=%.cmncheck)
 130  131  
 131  132  .KEEP_STATE:
 132  133  
 133  134  .PARALLEL: $(CHECKHDRS) $(ROOTHDRS) $(ROOTMONHDRS) $(SUN4_ROOTHDRS)
 134  135  
 135  136  install_h: $(ROOTDIRS) $(USR_PSM_ISYS_I2C_DIRS) .WAIT \
 136  137                  $(ROOTHDRS) $(ROOTI2CHDRS) \
 137  138                  $(ROOTMONHDRS) \
 138  139                  $(SUN4_ROOTHDRS) $(ROOTLINK)
 139  140  
 140  141  check:  $(CHECKHDRS)
 141  142  
 142  143  #
 143  144  # install rules
 144  145  #
 145  146  $(USR_PSM_MON_DIR):     $(USR_PSM_ISYS_DIR)
 146  147          $(INS.dir)
 147  148  
 148  149  $(USR_PSM_ISYS_I2C_DIRS):
 149  150          $(INS.dir)
 150  151  
 151  152  $(USR_PSM_ISYS_DIR)/%:  ../../sfmmu/sys/% $(USR_PSM_ISYS_DIR)
 152  153          $(INS.file)
 153  154  
 154  155  $(USR_PSM_ISYS_DIR)/%:  ../../sun4/sys/% $(USR_PSM_ISYS_DIR)
 155  156          $(INS.file)
 156  157  
 157  158  $(USR_PSM_MON_DIR)/%:   mon/% $(USR_PSM_MON_DIR)
 158  159          $(INS.file)
 159  160  
 160  161  $(ROOTDIRS):
 161  162          $(INS.dir)
 162  163  
 163  164  # -r because this used to be a directory and is now a link.
 164  165  $(ROOTLINK):    $(ROOTDIRS)
 165  166          -$(RM) -r $@; $(SYMLINK) $(LINKDEST) $@
 166  167  
 167  168  mon/%.check:    mon/%.h
 168  169          $(DOT_H_CHECK)
 169  170  
 170  171  %.check:        ../../sfmmu/sys/%.h
 171  172          $(DOT_H_CHECK)
 172  173  %.cmncheck:     ../../sun4/sys/%.h
 173  174          $(DOT_H_CHECK)
 174  175  
 175  176  FRC:
 176  177  
 177  178  include ../../Makefile.targ
  
    | ↓ open down ↓ | 112 lines elided | ↑ open up ↑ | 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX