[PATCH 8/8] platform: dell: pc: Don't load if SMBIOS calls are non-functional

From: Brian Mak

Date: Fri Nov 20 2026 - 19:08:26 EST


dell-pc relies on the SMBIOS calling interface for thermal modes. On
platforms where the interface returns all-zero buffers, dell-pc reads
no current thermal mode, and fails with "platform_profile probe failed".

Don't load dell-pc on these platforms.

Signed-off-by: Brian Mak <bmak@xxxxxxxxxx>
---
drivers/platform/dell/dell-pc.c | 3 +++
1 file changed, 3 insertions(+)

diff --git a/drivers/platform/dell/dell-pc.c b/drivers/platform/dell/dell-pc.c
index becdd9aaef29..4f361ec01b29 100644
--- a/drivers/platform/dell/dell-pc.c
+++ b/drivers/platform/dell/dell-pc.c
@@ -282,6 +282,9 @@ static int __init dell_init(void)
if (!dmi_check_system(dell_device_table))
return -ENODEV;

+ if (!dell_smbios_calls_functional())
+ return -ENODEV;
+
dell_pc_fdev = faux_device_create("dell-pc", NULL, &dell_pc_faux_ops);
if (!dell_pc_fdev)
return -ENODEV;
--
2.53.0