svn commit: r275960 - head/sys/dev/cpuctl

Konstantin Belousov kib at FreeBSD.org
Sat Dec 20 16:40:50 UTC 2014


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);


More information about the svn-src-head mailing list