summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Mustacchi <rm@joyent.com>2017-06-14 23:42:14 +0000
committerRobert Mustacchi <rm@joyent.com>2017-07-19 18:00:16 +0000
commit36ee0868e847bc76173d0402abf2d9df271ad623 (patch)
tree6d5f48c3e4517c857daf2998e28b95d2c2e54b02
parent267ae6c3a88d2fc39276af66caafa978b0935b82 (diff)
downloadillumos-gate-36ee0868e847bc76173d0402abf2d9df271ad623.tar.gz
8450 UCODE_MAX_SIZE is too small for modern microcode
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com> Reviewed by: Dillon Amburgey <dillona@dillona.com> Reviewed by: Dale Ghent <daleg@elemental.org> Approved by: Dan McDonald <danmcd@joyent.com>
-rw-r--r--usr/src/uts/common/sys/ucode.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/src/uts/common/sys/ucode.h b/usr/src/uts/common/sys/ucode.h
index d96c354c45..8bbace2b99 100644
--- a/usr/src/uts/common/sys/ucode.h
+++ b/usr/src/uts/common/sys/ucode.h
@@ -197,7 +197,7 @@ typedef union ucode_file {
#define UCODE_DEFAULT_BODY_SIZE (UCODE_KB(2) - UCODE_HEADER_SIZE_INTEL)
/*
- * For a single microcode file, the minimum size is 1K, maximum size is 16K.
+ * For a single microcode file, the minimum size is 1K, maximum size is 128K.
* Such limitations, while somewhat artificial, are not only to provide better
* sanity checks, but also avoid wasting precious memory at startup time as the
* microcode buffer for the first processor has to be statically allocated.
@@ -206,7 +206,7 @@ typedef union ucode_file {
* is 16M.
*/
#define UCODE_MIN_SIZE UCODE_KB(1)
-#define UCODE_MAX_SIZE UCODE_KB(16)
+#define UCODE_MAX_SIZE UCODE_KB(128)
#define UCODE_MAX_COMBINED_SIZE UCODE_MB(16)
#define UCODE_SIZE_CONVERT(size, default_size) \