Author: kib
Date: Fri Nov 18 09:03:31 2016
New Revision: 308802
URL: https://svnweb.freebsd.org/changeset/base/308802

Log:
  MFC r308538:
  Increase the max allowed size of the microcode update blob for x86.

Modified:
  stable/10/sys/dev/cpuctl/cpuctl.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/dev/cpuctl/cpuctl.c
==============================================================================
--- stable/10/sys/dev/cpuctl/cpuctl.c   Fri Nov 18 09:01:44 2016        
(r308801)
+++ stable/10/sys/dev/cpuctl/cpuctl.c   Fri Nov 18 09:03:31 2016        
(r308802)
@@ -63,7 +63,7 @@ static d_ioctl_t cpuctl_ioctl;
 # define       DPRINTF(...)
 #endif
 
-#define        UCODE_SIZE_MAX  (32 * 1024)
+#define        UCODE_SIZE_MAX  (4 * 1024 * 1024)
 
 static int cpuctl_do_msr(int cpu, cpuctl_msr_args_t *data, u_long cmd,
     struct thread *td);
_______________________________________________
svn-src-stable-10@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-stable-10
To unsubscribe, send any mail to "svn-src-stable-10-unsubscr...@freebsd.org"

Reply via email to