Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Nov 2016 09:03:31 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r308802 - stable/10/sys/dev/cpuctl
Message-ID:  <201611180903.uAI93VTV099107@repo.freebsd.org>

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



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