From 27c57c46550d6ff25e4454b21d73ca9e29f12d74 Mon Sep 17 00:00:00 2001 From: Dan McDonald Date: Wed, 9 Feb 2022 16:31:05 -0500 Subject: 14490 ucodeadm cannot handle latest Intel microcode (again) Reviewed by: Peter Tribble Reviewed by: Yuri Pankov Approved by: Rich Lowe --- usr/src/uts/common/sys/ucode.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'usr/src/uts/common/sys/ucode.h') 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) \ -- cgit v1.2.3