From patchwork Thu Oct 17 13:19:17 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: En-Wei Wu X-Patchwork-Id: 1998590 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ubuntu.com (client-ip=185.125.189.65; helo=lists.ubuntu.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=patchwork.ozlabs.org) Received: from lists.ubuntu.com (lists.ubuntu.com [185.125.189.65]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4XTpMx1gJmz1xw2 for ; Fri, 18 Oct 2024 00:19:41 +1100 (AEDT) Received: from localhost ([127.0.0.1] helo=lists.ubuntu.com) by lists.ubuntu.com with esmtp (Exim 4.86_2) (envelope-from ) id 1t1QPd-0007kF-0K; Thu, 17 Oct 2024 13:19:33 +0000 Received: from smtp-relay-internal-1.internal ([10.131.114.114] helo=smtp-relay-internal-1.canonical.com) by lists.ubuntu.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1t1QPS-0007ip-S3 for kernel-team@lists.ubuntu.com; Thu, 17 Oct 2024 13:19:22 +0000 Received: from mail-wm1-f72.google.com (mail-wm1-f72.google.com [209.85.128.72]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-1.canonical.com (Postfix) with ESMTPS id 5450C3F28A for ; Thu, 17 Oct 2024 13:19:22 +0000 (UTC) Received: by mail-wm1-f72.google.com with SMTP id 5b1f17b1804b1-4314f1e0f2bso5942875e9.1 for ; Thu, 17 Oct 2024 06:19:22 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729171159; x=1729775959; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=UOuSvy2biUrDpcR5ok4AMoHpYQ86Gsd4ErkePlf2wls=; b=jAtz221aspsT/AKNWCb6UJsYRZ7zKvQaXnoUqeS5cHLtl8bNGuH9QitTOm4HNTCVTv nMQP0zl6koT1SBTJzrbJkeCyHFG/wjpUREseRAmHeA7ria6G+/QAgkSNOF+7kqE9EFZ6 Gs/DJsi1eZD0sHAqKfrkmg4FQcGt23GpZ86t4rFTimqJs6MsdeG1IP+8Na44b9IYJuWg uGm3oNvCjQDdrOi0pYCYulD1VNHOziHhYN1YvErRMf4cRVHAbJ2gxiO2n52hsOXFhlyI OCoB2YLXVhGY6lOacdCJkJlWnrvDHz+q1tnkXdghsWKXEqcaZpWtaScKWVOQtT2U+Bon aESQ== X-Gm-Message-State: AOJu0YxJGOKoThpM0UZHHv9MZmW8Dzb8KfyylYQz1aLOtQm0iJOLfuip VpF1VvZO+jvYrCdDcBpPTPxomm85fsLeGQ35WGy+30U4ypAZ77uhR4TWdVaGMCFZ+Tsfoy76sP5 u5kfsqAiGVE69aQShBuNlkLHn1MHK6j1DVxfpWIqYh6Rhhf6oaFSi+pFscCPoOhoW/rAws9vyUf +BSVGrjnvOIyS2 X-Received: by 2002:a05:600c:3d89:b0:42c:b2fa:1c15 with SMTP id 5b1f17b1804b1-431255e2cafmr150288505e9.15.1729171159072; Thu, 17 Oct 2024 06:19:19 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEi9Ilcbk9ZUbwISoDw8/jSiSRMKaPGxeuVT4tbuP5eFHvtn/NOx7t0IdFQYMpLay3EDMp9/w== X-Received: by 2002:a05:600c:3d89:b0:42c:b2fa:1c15 with SMTP id 5b1f17b1804b1-431255e2cafmr150288195e9.15.1729171158521; Thu, 17 Oct 2024 06:19:18 -0700 (PDT) Received: from rickywu0421-ThinkPad-X1-Carbon-Gen-11.. (dhcp-138-246-3-198.dynamic.eduroam.mwn.de. [138.246.3.198]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-43158c3e001sm26026005e9.28.2024.10.17.06.19.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Oct 2024 06:19:18 -0700 (PDT) From: En-Wei Wu To: kernel-team@lists.ubuntu.com Subject: [SRU][O][PATCH 1/1] platform/x86: dell-sysman: add support for alienware products Date: Thu, 17 Oct 2024 15:19:17 +0200 Message-ID: <20241017131917.207319-2-en-wei.wu@canonical.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20241017131917.207319-1-en-wei.wu@canonical.com> References: <20241017131917.207319-1-en-wei.wu@canonical.com> MIME-Version: 1.0 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" From: Crag Wang BugLink: https://bugs.launchpad.net/bugs/2084808 Alienware supports firmware-attributes and has its own OEM string. Signed-off-by: Crag Wang Link: https://lore.kernel.org/r/20241004152826.93992-1-crag_wang@dell.com Reviewed-by: Hans de Goede Signed-off-by: Hans de Goede (cherry picked from commit a561509b4187a8908eb7fbb2d1bf35bbc20ec74b linux-next) Signed-off-by: En-Wei Wu --- drivers/platform/x86/dell/dell-wmi-sysman/sysman.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/platform/x86/dell/dell-wmi-sysman/sysman.c b/drivers/platform/x86/dell/dell-wmi-sysman/sysman.c index 9def7983d7d6..40ddc6eb7562 100644 --- a/drivers/platform/x86/dell/dell-wmi-sysman/sysman.c +++ b/drivers/platform/x86/dell/dell-wmi-sysman/sysman.c @@ -521,6 +521,7 @@ static int __init sysman_init(void) int ret = 0; 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;