Project

General

Profile

Actions

Feature #14996

closed

Restructure ucode data Makefiles

Added by Andy Fiddaman over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
system data
Start date:
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:
External Bug:

Description

The makefiles under usr/src/data/ucode assume that the only architecture for which microcode is relevant is i86pc.
We should restructure things a bit to make it easier to add a new architecture in the future.

(uts/common/sys/ucode.h also has i86pc hardcoded, but that's not being addressed with this change)

Actions #1

Updated by Andy Fiddaman over 1 year ago

  • Description updated (diff)
Actions #2

Updated by Electric Monk over 1 year ago

  • Gerrit CR set to 2387
Actions #3

Updated by Andy Fiddaman over 1 year ago

Tested via a full build - wsdiff was clean.
I also tested running the two helper update scripts which completed successfully but with no resulting changes in the tree (since there is no newer publicly available microcode for either Intel or AMD).

Actions #4

Updated by Electric Monk over 1 year ago

  • Status changed from In Progress to Closed
  • % Done changed from 0 to 100

git commit dd03b475cb030673a110ddade24162f09801d116

commit  dd03b475cb030673a110ddade24162f09801d116
Author: Andy Fiddaman <illumos@fiddaman.net>
Date:   2022-10-06T11:44:57.000Z

    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>

Actions

Also available in: Atom PDF