summaryrefslogtreecommitdiffstats
path: root/src/arch
diff options
context:
space:
mode:
authorSubrata Banik <subrata.banik@intel.com>2021-09-02 13:17:18 +0530
committerTim Wawrzynczak <twawrzynczak@chromium.org>2021-09-03 19:14:49 +0000
commit5586c7997884b65762faafde50f17c2d9a85ee4e (patch)
tree44229750ac8373a93c94257bb9855766f5998110 /src/arch
parent6efc4aa4affd81b6c1cc54c99e8be0fb70051890 (diff)
downloadcoreboot-5586c7997884b65762faafde50f17c2d9a85ee4e.tar.gz
coreboot-5586c7997884b65762faafde50f17c2d9a85ee4e.tar.bz2
coreboot-5586c7997884b65762faafde50f17c2d9a85ee4e.zip
arch/x86: Update debug message to callout the reason for failure
This patch updates debug message to specifically the case when SMBIOS table 7 write would abort due to either `unknown` CPU or CPU `doesn't have support for deterministic cache cpuid leaf`. Change-Id: I288593b3f78ab858bf66c689e7cfb6ba2ff746d0 Signed-off-by: Subrata Banik <subrata.banik@intel.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/57337 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Diffstat (limited to 'src/arch')
-rw-r--r--src/arch/x86/smbios.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/arch/x86/smbios.c b/src/arch/x86/smbios.c
index 71b6a22e4c05..f09b2d640818 100644
--- a/src/arch/x86/smbios.c
+++ b/src/arch/x86/smbios.c
@@ -767,7 +767,8 @@ static int smbios_write_type7_cache_parameters(unsigned long *current,
enum cpu_type dcache_cpuid = cpu_check_deterministic_cache_cpuid_supported();
if (dcache_cpuid == CPUID_TYPE_INVALID || dcache_cpuid == CPUID_COMMAND_UNSUPPORTED) {
- printk(BIOS_DEBUG, "SMBIOS: Unknown CPU\n");
+ printk(BIOS_DEBUG, "SMBIOS: Unknown CPU or CPU doesn't support Deterministic "
+ "Cache CPUID leaf\n");
return len;
}