diff options
| author | Andy Fiddaman <illumos@fiddaman.net> | 2022-09-20 23:48:35 +0000 |
|---|---|---|
| committer | Andy Fiddaman <illumos@fiddaman.net> | 2022-10-06 11:44:57 +0000 |
| commit | dd03b475cb030673a110ddade24162f09801d116 (patch) | |
| tree | 748712f85bbde1337dfdf0fb686cf8a00c150c59 /usr/src/uts/common | |
| parent | 857c33c4a4bcde4bcde111ad59066aff44fb3f51 (diff) | |
| download | illumos-joyent-dd03b475cb030673a110ddade24162f09801d116.tar.gz | |
14991 Large AMD microcode does not load at boot
14994 Panic on microcode update with UFS boot archive
14995 misleading messages on microcode update failure
14996 Restructure ucode data Makefiles
15003 Corrupt AMD microcode equivalence-table not properly handled
Reviewed by: Keith M Wesolowski <wesolows@oxide.computer>
Reviewed by: Marco van Wieringen <mvw@planets.elm.net>
Approved by: Dan McDonald <danmcd@mnx.io>
Diffstat (limited to 'usr/src/uts/common')
| -rw-r--r-- | usr/src/uts/common/sys/ucode.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/usr/src/uts/common/sys/ucode.h b/usr/src/uts/common/sys/ucode.h index 7d2af4711a..3c5dd6e989 100644 --- a/usr/src/uts/common/sys/ucode.h +++ b/usr/src/uts/common/sys/ucode.h @@ -24,6 +24,7 @@ * * Copyright 2021 OmniOS Community Edition (OmniOSce) Association. * Copyright 2022 Joyent, Inc. + * Copyright 2022 Oxide Computer Company */ #ifndef _SYS_UCODE_H @@ -114,12 +115,17 @@ typedef struct ucode_header_amd { typedef struct ucode_file_amd { #ifndef __xpv + /* + * The combined size of these fields adds up to 8KiB (8192 bytes). + * If support is needed for larger update files, increase the size of + * the uf_encr element. + */ ucode_header_amd_t uf_header; uint8_t uf_data[896]; uint8_t uf_resv[896]; uint8_t uf_code_present; uint8_t uf_code[191]; - uint8_t uf_encr[2048]; + uint8_t uf_encr[6144]; #else uint8_t *ucodep; uint32_t usize; |
