Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp5221331rwb; Mon, 14 Nov 2022 00:49:36 -0800 (PST) X-Google-Smtp-Source: AA0mqf58I6lyWzK6qrGppUXhv30oDOCVqbJjeKHws3iGIrozmzhMWXfBDmKY5ldzhWaT0WsrruUP X-Received: by 2002:a17:90a:343:b0:213:ba14:3032 with SMTP id 3-20020a17090a034300b00213ba143032mr12905268pjf.111.1668415776128; Mon, 14 Nov 2022 00:49:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668415776; cv=none; d=google.com; s=arc-20160816; b=BzIyNjPQVXlwUh9iXf47ijx9nId3FuUZmtz1DSpsaeTMuZ/D/y9QSij4WfjcRK3w9T FgmA+HrWMfUCZqh+6UMVLX+TgLVqHR0UtJVhauhEfr3TtFp4c8EK2U3Mw/Y0RXzfh/K8 sVQ2Hx9EUCn25i0mqDBuu6KaL4rREeCeVOhoTp5HW73/KMzf+uRr3XsSXkayz0RRQiJj JDDa4t+7gLhiizdTr1aHFXG0VZkTUdPoO67Dj8mbcinleNNopXxIb5gsB9MRIpyvXwtG VUDeNtOf+l9B1L3Uov+9Lx4Jzo6NeQfP8cpP4Lj/vcSwrFv3hm1geLcB6NiLUpnA+iy8 D/TA== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q18-20020a170902dad200b0017c2a42fc8csi9279486plx.270.2022.11.14.00.49.24; Mon, 14 Nov 2022 00:49:36 -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 + 88 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 Content-Transfer-Encoding: 8bit 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 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; -- 2.34.1