summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan McDonald <danmcd@joyent.com>2022-02-09 16:31:05 -0500
committerDan McDonald <danmcd@joyent.com>2022-02-09 18:19:44 -0500
commit27c57c46550d6ff25e4454b21d73ca9e29f12d74 (patch)
tree4efddead85a0ead7681ad4b2cb14e8c66599b01d
parentcfe80fe3616624773746461f58f667b0c4141275 (diff)
downloadillumos-gate-27c57c46550d6ff25e4454b21d73ca9e29f12d74.tar.gz
14490 ucodeadm cannot handle latest Intel microcode (again)
Reviewed by: Peter Tribble <peter.tribble@gmail.com> Reviewed by: Yuri Pankov <ypankov@tintri.com> Approved by: Rich Lowe <richlowe@richlowe.net>
-rw-r--r--usr/src/uts/common/sys/ucode.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr/src/uts/common/sys/ucode.h b/usr/src/uts/common/sys/ucode.h
index 50db604b48..c770f14419 100644
--- a/usr/src/uts/common/sys/ucode.h
+++ b/usr/src/uts/common/sys/ucode.h
@@ -23,6 +23,7 @@
* Use is subject to license terms.
*
* Copyright 2021 OmniOS Community Edition (OmniOSce) Association.
+ * Copyright 2022 Joyent, Inc.
*/
#ifndef _SYS_UCODE_H
@@ -199,7 +200,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 280K.
+ * For a single microcode file, the minimum size is 1K, maximum size is 384K.
* 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.
@@ -208,7 +209,7 @@ typedef union ucode_file {
* is 16M.
*/
#define UCODE_MIN_SIZE UCODE_KB(1)
-#define UCODE_MAX_SIZE UCODE_KB(280)
+#define UCODE_MAX_SIZE UCODE_KB(384)
#define UCODE_MAX_COMBINED_SIZE UCODE_MB(16)
#define UCODE_SIZE_CONVERT(size, default_size) \