audk/OvmfPkg/SmbiosPlatformDxe
Lee, Chun-Yi 2a0d4a2641 OvmfPkg/SmbiosPlatformDxe: tweak fallback release date again
In case PcdFirmwareReleaseDateString is not set use a valid date
as fallback. But the default valid date can _NOT_ pass the Microsoft
SVVP test "Check SMBIOS Table Specific Requirements". The test emitted
the error message:

BIOS Release Date string is unexpected length: 8. This string must be in
MM/DD/YYYY format. No other format is allowed and no additional information
may be included. See field description in the SMBIOS specification.

Base on SMBIOS spec v3.7.0:

08h     2.0+    BIOS Release Date       BYTE    STRING
String number of the BIOS release date. The date
string, if supplied, is in either mm/dd/yy or
mm/dd/yyyy format. If the year portion of the string
is two digits, the year is assumed to be 19yy.
NOTE: The mm/dd/yyyy format is required for SMBIOS
version 2.3 and later.

So, let's tweek the fallback release date again.

Fixes: a0f9628705 ("OvmfPkg/SmbiosPlatformDxe: tweak fallback release date") [edk2-stable202305~327]
Signed-off-by: "Lee, Chun-Yi" <jlee@suse.com>
Message-Id: <20240204092914.29813-1-jlee@suse.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Cc: Gerd Hoffmann <kraxel@redhat.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Jordan Justen <jordan.l.justen@intel.com>
Cc: Pawel Polawski <ppolawsk@redhat.com>
Cc: Oliver Steffen <osteffen@redhat.com>
Cc: Ard Biesheuvel <ardb+tianocore@kernel.org>
Cc: Ruifeng Gao <ruifeng.gao@intel.com>
Cc: "Lee, Chun-Yi" <jlee@suse.com>
[lersek@redhat.com: Turn the CC's from the list posting to commit message
 body tags, for placating "PatchCheck.py". Also work the
 "ruifeng.gao@intel.com" email address into a format that "PatchCheck.py"
 accepts.]
2024-03-05 08:49:19 +00:00
..
ArmXen.c OvmfPkg/SmbiosPlatformDxe: split GetXenSmbiosTables() decl. to new header 2021-06-04 16:01:50 +00:00
CloudHv.c OvmfPkg: Retrieve SMBIOS from Cloud Hypervisor 2021-12-11 14:26:05 +00:00
EntryPoint.c OvmfPkg: Retrieve SMBIOS from Cloud Hypervisor 2021-12-11 14:26:05 +00:00
Qemu.c OvmfPkg: Create global entry point for SMBIOS parsing 2021-12-11 14:26:05 +00:00
SmbiosPlatformDxe.c OvmfPkg/SmbiosPlatformDxe: tweak fallback release date again 2024-03-05 08:49:19 +00:00
SmbiosPlatformDxe.h OvmfPkg: Retrieve SMBIOS from Cloud Hypervisor 2021-12-11 14:26:05 +00:00
SmbiosPlatformDxe.inf OvmfPkg/SmbiosPlatformDxe: use PcdFirmware* 2022-12-10 15:59:43 +00:00
X86Xen.c OvmfPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
Xen.c OvmfPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
XenSmbiosPlatformDxe.h OvmfPkg/SmbiosPlatformDxe: split GetXenSmbiosTables() decl. to new header 2021-06-04 16:01:50 +00:00
XenSmbiosPlatformDxe.inf OvmfPkg/SmbiosPlatformDxe: use PcdFirmware* 2022-12-10 15:59:43 +00:00