Author: kib
Date: Sat Dec 20 16:40:49 2014
New Revision: 275960
URL: https://svnweb.freebsd.org/changeset/base/275960

Log:
  Increase allowed size of the microcode blob to 32KB.  Some Intel CPU's
  updates weight 28KB.
  
  PR:   179523
  MFC after:    1 week

Modified:
  head/sys/dev/cpuctl/cpuctl.c

Modified: head/sys/dev/cpuctl/cpuctl.c
==============================================================================
--- head/sys/dev/cpuctl/cpuctl.c        Sat Dec 20 16:39:56 2014        
(r275959)
+++ head/sys/dev/cpuctl/cpuctl.c        Sat Dec 20 16:40:49 2014        
(r275960)
@@ -63,7 +63,7 @@ static d_ioctl_t cpuctl_ioctl;
 # define       DPRINTF(...)
 #endif
 
-#define        UCODE_SIZE_MAX  (16 * 1024)
+#define        UCODE_SIZE_MAX  (32 * 1024)
 
 static int cpuctl_do_msr(int cpu, cpuctl_msr_args_t *data, u_long cmd,
     struct thread *td);
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to