On 01/04/2021 09:28, Jan Beulich wrote: > Like Intel, AMD also records the date in their blobs. The field was > merely misnamed as "data_code" so far; this was perhaps meant to be > "date_code". Split it into individual fields, just like we did for Intel > some time ago, and extend the message logged after a successful update. > > Signed-off-by: Jan Beulich <jbeul...@suse.com>
Acked-by: Andrew Cooper <andrew.coop...@citrix.com> This was on my todo list, but I'd not got around to it yet. There are several legitimate microcode blobs with incorrect dates. One has a date with a year earlier than its predecessor or successor, and two have day/month transpositions. One transposition is obvious, having a 13 in it, while the other is ambiguous and guessed based on when the ucode was available. I wasn't going to bother doing anything about this, but it is something to be aware of if we get queries of wonky looking dates. ~Andrew