svn commit: r308802 - stable/10/sys/dev/cpuctl

Konstantin Belousov kib at FreeBSD.org
Fri Nov 18 09:03:32 UTC 2016


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


More information about the svn-src-all mailing list