summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2016-11-18 09:03:31 +0000
committerkib <kib@FreeBSD.org>2016-11-18 09:03:31 +0000
commit1109e24137a7c364db3a0f48cfa7ed09c082be18 (patch)
tree6861b56a6b27695daf72b8651b81cc53c5a0bd2c
parentb351baaa015f7600f00c62a699c890b8eb4da433 (diff)
downloadFreeBSD-src-1109e24137a7c364db3a0f48cfa7ed09c082be18.zip
FreeBSD-src-1109e24137a7c364db3a0f48cfa7ed09c082be18.tar.gz
MFC r308538:
Increase the max allowed size of the microcode update blob for x86.
-rw-r--r--sys/dev/cpuctl/cpuctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/cpuctl/cpuctl.c b/sys/dev/cpuctl/cpuctl.c
index 3a5d789..b3aedfb 100644
--- a/sys/dev/cpuctl/cpuctl.c
+++ b/sys/dev/cpuctl/cpuctl.c
@@ -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);
OpenPOWER on IntegriCloud