From patchwork Mon Nov 14 07:38:41 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kai-Heng Feng X-Patchwork-Id: 19557 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp2017197wru; Sun, 13 Nov 2022 23:43:08 -0800 (PST) X-Google-Smtp-Source: AA0mqf4PwCh75cXFsACys6cldWsDDYnI2asIjMvA3X/B4H/QAnCHvR3E4Kj0+zhJXkbYJKFLnta0 X-Received: by 2002:a17:906:c344:b0:78d:8cf3:6ae with SMTP id ci4-20020a170906c34400b0078d8cf306aemr9475397ejb.173.1668411788034; Sun, 13 Nov 2022 23:43:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668411788; cv=none; d=google.com; s=arc-20160816; b=jE+ddXjGimraUQUOtaNn1l4vN8ecWvgoTcC1adpBVVnsK0PJxo2nPAy4MApxp52/UF v3SadsTn+31AWE/ynGIHAURid7H5Hyy1N2n0S8NRT28LrQhCF7dXSO1fPibggtTEF55k a7RA0q7sWOI/PehUWKrIlpc/zaxOtQmE1i1UN+SyVVaPQTtfTMRbzf5tIGBhH8SGhB96 FJIG6fMZRBxFkMrwKEcr9SfJEbtf9xtBnzhXVZmKf6gwf0f2TU/cQc+dMlIdatQIXyH3 5C1CNJm2BnNbUW8NVpIS/SJO2rvWBA9vtMBbOiArHESZ5qw5+xJMYAlLzl4KK1zpY7Dy Z7ig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=d7HYXsrjbhkYPHejCgZK/7KqFi0JzRgbIXzSOTLTu7A=; b=VydKBKozY1I5cU66Q2DK7kHz7YUTyzKiJP8RYrRGWAiQz8yiSrGOTthaFEZifWc558 JGuBpuueXLnTDKdeFGeyga+vWarh7aPyW8o58mLffy+vyE81uC3qmv3bO0UoEkptdyFw VZxwgpryV7LCYGmqq4n/CVUv+0Jz3Hh2i3yrUlS8HK8Fz/VBnwuxwKvAqp3pNi+1r658 +skwZu3cztMJElL1eU2sO1uDnn7ncKsMiCP8D1gaGuKNJ5SOozGe4GsyybdYpJQr60te 2MtNiyd7tbK/M1zZdfNHQplZzPyF0ebEB9qwaTxslFt92Ia2SWLQLwsD32cdOY2I/W+7 lyhA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b=PfmGUmwB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canonical.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id sc29-20020a1709078a1d00b007a7d37e467csi8153163ejc.763.2022.11.13.23.42.43; Sun, 13 Nov 2022 23:43:08 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b=PfmGUmwB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canonical.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235825AbiKNHjk (ORCPT + 99 others); Mon, 14 Nov 2022 02:39:40 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36336 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235617AbiKNHjj (ORCPT ); Mon, 14 Nov 2022 02:39:39 -0500 Received: from smtp-relay-canonical-0.canonical.com (smtp-relay-canonical-0.canonical.com [185.125.188.120]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 33524113; Sun, 13 Nov 2022 23:39:37 -0800 (PST) Received: from localhost.localdomain (unknown [10.101.196.174]) (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-canonical-0.canonical.com (Postfix) with ESMTPSA id B68194237F; Mon, 14 Nov 2022 07:39:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1668411572; bh=d7HYXsrjbhkYPHejCgZK/7KqFi0JzRgbIXzSOTLTu7A=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=PfmGUmwB+Z5H5Ap4lwk7IwLS8YrjlfxN4lqauV9bTe4DYVBr4moz3nzKOdv51C9ho aUS23Jpjk+5D7SSART5XV4vjSCjsOnoB9t1uj+jWsibmI+KdesdS7cTyAbs1VCSwMB CWOeoXlAEUukZOkpslQgnkjdjHFXolgYnodjKKsVjft3aePiXrwMlkEcqddMv9/nJk OyVls4dQcsHqwmBgqD6LvF81MU+dGiHb07lazosCO3V1WzjP8aH+mBaVp+iomgF8dO +RRytVX6K7QHwr0mjsi3b2xNk4o3XQaeTJxUymgYfGgVBO1/+DG8e5uwreaqe1p/N6 43UWOYsUTtMvg== From: Kai-Heng Feng To: hdegoede@redhat.com, markgross@kernel.org Cc: Kai-Heng Feng , platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] platform/x86: hp-wmi: Ignore Smart Experience App event Date: Mon, 14 Nov 2022 15:38:41 +0800 Message-Id: <20221114073842.205392-1-kai.heng.feng@canonical.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1749456558821075205?= X-GMAIL-MSGID: =?utf-8?q?1749456558821075205?= Sometimes hp-wmi driver complains on system resume: [ 483.116451] hp_wmi: Unknown event_id - 33 - 0x0 According to HP it's a feature called "HP Smart Experience App" and it's safe to be ignored. Signed-off-by: Kai-Heng Feng --- drivers/platform/x86/hp-wmi.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/platform/x86/hp-wmi.c b/drivers/platform/x86/hp-wmi.c index 12449038bed12..0a99058be8130 100644 --- a/drivers/platform/x86/hp-wmi.c +++ b/drivers/platform/x86/hp-wmi.c @@ -90,6 +90,7 @@ enum hp_wmi_event_ids { HPWMI_PEAKSHIFT_PERIOD = 0x0F, HPWMI_BATTERY_CHARGE_PERIOD = 0x10, HPWMI_SANITIZATION_MODE = 0x17, + HPWMI_SMART_EXPERIENCE_APP = 0x21, }; /* @@ -859,6 +860,8 @@ static void hp_wmi_notify(u32 value, void *context) break; case HPWMI_SANITIZATION_MODE: break; + case HPWMI_SMART_EXPERIENCE_APP: + break; default: pr_info("Unknown event_id - %d - 0x%x\n", event_id, event_data); break;