Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Dec 2014 16:40:50 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r275960 - head/sys/dev/cpuctl
Message-ID:  <201412201640.sBKGeoXQ008385@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201412201640.sBKGeoXQ008385>