From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7341B1DE2A1; Tue, 3 Dec 2024 14:53:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733237630; cv=none; b=oYyAiiVOszQdjz2ooP0pNfEuHXeqwbQMw9ZIQPBRnQnrzMydJb6IQW2iAGRQ9mp6zUJCo5g0tOtGoc9+E9FuRmPtJUPCm2fHmsPV88Q7Bcj3VXxKG1ycoG7e3YCQUONUrWivQE2+nfhw77JT2JRQxf5Hh+LM+jk9coL4kEH/2kU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733237630; c=relaxed/simple; bh=ONYW/Le1C/ghtFvB+LzWzA8auaFwb/46q4Rccn6SE4I=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=d1dd8/3VwgF8uc4HXrhtKV3CxlaUegmI90XAXj1r+xpxfDGkZyx4KHJbPCsb7KZs9yESYMcDtYLgRY9ABCDhLXC06DR+pU/aJX/HCtNWbnH6pvAJxkS4p50SPVfSfCx9fQ5Jfc7d6UqZMlOd5/kbeSYcbSHAcFIitP0Y/6GTQmg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=gTAs2CRm; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="gTAs2CRm" Received: by smtp.kernel.org (Postfix) with ESMTPSA id D20B3C4CECF; Tue, 3 Dec 2024 14:53:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1733237630; bh=ONYW/Le1C/ghtFvB+LzWzA8auaFwb/46q4Rccn6SE4I=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=gTAs2CRmgP4ljyX2HJ2gQtPiDeryXhFeciW2WHa+qzC07UbCIlnzdVTbmMtlRprDQ 39RaA6dfVpx4OeJHUWiuykzpsUl3Y0oVO4hratRj20ItivnjB/bROAry5AMpK5yMgg jTl41WqDVA37hFMrsI3oM7VJJ4uA9ZZqlS2EQiaM= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Kurt Borja , Mario Limonciello , =?UTF-8?q?Pali=20Roh=C3=A1r?= , Hans de Goede , Sasha Levin Subject: [PATCH 6.11 025/817] platform/x86: dell-smbios-base: Extends support to Alienware products Date: Tue, 3 Dec 2024 15:33:17 +0100 Message-ID: <20241203143956.626503479@linuxfoundation.org> X-Mailer: git-send-email 2.47.1 In-Reply-To: <20241203143955.605130076@linuxfoundation.org> References: <20241203143955.605130076@linuxfoundation.org> User-Agent: quilt/0.67 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 6.11-stable review patch. If anyone has any objections, please let me know. ------------------ From: Kurt Borja [ Upstream commit a36b8b84ac4327b90ef5a22bc97cc96a92073330 ] Fixes the following error: dell_smbios: Unable to run on non-Dell system Which is triggered after dell-wmi driver fails to initialize on Alienware systems, as it depends on dell-smbios. This effectively extends dell-wmi, dell-smbios and dcdbas support to Alienware devices, that might share some features of the SMBIOS intereface calling interface with other Dell products. Tested on an Alienware X15 R1. Signed-off-by: Kurt Borja Reviewed-by: Mario Limonciello Acked-by: Pali Rohár Link: https://lore.kernel.org/r/20241031154023.6149-2-kuurtb@gmail.com Reviewed-by: Hans de Goede Signed-off-by: Hans de Goede Signed-off-by: Sasha Levin --- drivers/platform/x86/dell/dell-smbios-base.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/platform/x86/dell/dell-smbios-base.c b/drivers/platform/x86/dell/dell-smbios-base.c index 73e41eb69cb57..01c72b91a50d4 100644 --- a/drivers/platform/x86/dell/dell-smbios-base.c +++ b/drivers/platform/x86/dell/dell-smbios-base.c @@ -576,6 +576,7 @@ static int __init dell_smbios_init(void) int ret, wmi, smm; if (!dmi_find_device(DMI_DEV_TYPE_OEM_STRING, "Dell System", NULL) && + !dmi_find_device(DMI_DEV_TYPE_OEM_STRING, "Alienware", NULL) && !dmi_find_device(DMI_DEV_TYPE_OEM_STRING, "www.dell.com", NULL)) { pr_err("Unable to run on non-Dell system\n"); return -ENODEV; -- 2.43.0