Skip to contentSkip to conversation

Package microcode for the x86 hardware runners

PATCH In review Andrew Cooper 2 participants 2 messages Apr 11, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Package microcode for the x86 hardware runners

They are all out of date, to different degrees.

Install jq into the x86_64 build container so we can parse the Github latest release information in an acceptable way.

The resulting archive must be uncompressed, in order to work during early boot.

---
CC: Anthony PERARD <[email protected]>
CC: Stefano Stabellini <[email protected]>
CC: Michal Orzel <[email protected]>
CC: Doug Goldstein <[email protected]>
CC: Marek Marczykowski-Górecki <[email protected]>

Example working in Xen:
https://gitlab.com/xen-project/hardware/xen-staging/-/jobs/9700756054#L206

---
 .gitlab-ci.yml                             |  4 +++
 images/alpine/3.18-x86_64-build.dockerfile |  3 ++
 scripts/x86-microcode.sh                   | 42 ++++++++++++++++++++++
 3 files changed, 49 insertions(+)
 create mode 100755 scripts/x86-microcode.sh
.gitlab-ci.yml +4 -0
index 3587d660aa62..63722233dc6f 100644
@@ -64,6 +64,10 @@ linux-6.6.56-x86_64:
     ARGO_SHA: "ca5473a56f62e2b4d59697c8552d151391d3fec1"
     ARGOEXEC_SHA: "d900429f6640acc6f68a3d3a4c945d7da60625d8"
 
+microcode-x86:
+  extends: .x86_64-artifacts
+  script: ./scripts/x86-microcode.sh
+
 #
 # The jobs below here are legacy and being phased out.
 #
images/alpine/3.18-x86_64-build.dockerfile +3 -0
index eac0cda4fed3..c4ff30e1f138 100644
@@ -27,6 +27,9 @@ RUN <<EOF
             openssl-dev
             perl
 
+            # Microcode
+            jq
+
             # Argo build deps
             autoconf
             automake
scripts/x86-microcode.sh new file +42 -0

42 lines not on this page · raw message

Signature · 1 line
2.39.5