From 7463a5b63926db1dbbbae5829919d250c1b0f52c Mon Sep 17 00:00:00 2001 From: Andrew Cooper Date: Thu, 24 Oct 2024 13:47:20 +0100 Subject: [PATCH] x86/ucode: Drop the match_reg[] field from AMD's microcode_patch This was true in the K10 days, but even back then the match registers were really payload data rather than header data. But, it's really model specific data, and these days typically part of the signature, so is random data for all intents and purposes. No functional change. Signed-off-by: Andrew Cooper Reviewed-by: Jason Andryuk Reviewed-by: Jan Beulich --- xen/arch/x86/cpu/microcode/amd.c | 1 - 1 file changed, 1 deletion(-) diff --git a/xen/arch/x86/cpu/microcode/amd.c b/xen/arch/x86/cpu/microcode/amd.c index 210736f580..9ee455b007 100644 --- a/xen/arch/x86/cpu/microcode/amd.c +++ b/xen/arch/x86/cpu/microcode/amd.c @@ -48,7 +48,6 @@ struct microcode_patch { uint8_t sb_rev_id; uint8_t bios_api_rev; uint8_t reserved1[3]; - uint32_t match_reg[8]; }; #define UCODE_MAGIC 0x00414d44