Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp2777758rdb; Mon, 4 Dec 2023 07:18:43 -0800 (PST) X-Google-Smtp-Source: AGHT+IEiIskvm5AcE+tJNgLtslmUXa77wBsaXEN0iG7iCSR+74VHoOVcff3q+miIJfNy+YpK4LJT X-Received: by 2002:a05:6a20:a39b:b0:18f:97c:927b with SMTP id w27-20020a056a20a39b00b0018f097c927bmr1312348pzk.96.1701703122730; Mon, 04 Dec 2023 07:18:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701703122; cv=none; d=google.com; s=arc-20160816; b=QjRZzHlZ5tlhwXQx0TTulPhubjb9Z1dwcy9pj3KN+Kdbe+sqid6lT3qqj/EaZltMKw CXs4ZSrS3JK8VvdRaXrbdxx/fHJa1apiHyhjm6EFg8sjSFMSmI38YcNJxS8IRYHsK76p ggaQwpp3x7JVEzhNwriQZULnvWdrmjnr1Cx7L3rwsJSwxDafA8XgNFVG3fgNCKe+GUBn djGAqhPYVONtRzAjkh2o3WQqfWlRt1eORxp3vugQv2h/47IDirOdrwBX+itpW70YYyMp +FjeUXoLUJN1p3K+FGz67iSQL/TyP+NDKEKt/rgS8DPiKIx7w5cEg5sKXqfROWXAoALW LjDg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:message-id :in-reply-to:subject:cc:to:date:from:dkim-signature; bh=RsEmVqReDIIBR3i4Z2CPa0QYjl1YjrUYLXW2Vt7oYr4=; fh=8cfxrlPvmlf00S/ZgY/Ivy50y85pSz+Ugv7wEL4kUWs=; b=z1x1P3YWw9GvMJVNGueSL9wtiVYF08v0ol5jlqecmNcFvchaQ+6yUbFtYJBRUEybrc +JkCTC+XN2flZ9N/Z4n7/vbs3scxn3TxpPq8mZ22/IbF5J6NtDRgp2EInHjBvzELqhCS +U4gVQKPGJqF96XMsvwga5dbcJpz8BvhPhII75sLhM3lN8jEpNBYdZ7Uunh7NQwlEqBF hywcgGbfLA8COYksMhSYPPiYi1b6DlKY2gaFEsSYiiL4YhbyqZechubwTwIeGmEF7cHD 56+8F2DzIx51oR0BmqoOCvdUkdmENu41niTDj0z/yxMMrYJo0lpSP0QmLL8a6lHGNblz wYUg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.com header.s=google header.b=WPtHCzg4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Return-Path: Received: from morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id c9-20020a634e09000000b005bdff97f97bsi8437539pgb.92.2023.12.04.07.18.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Dec 2023 07:18:42 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.com header.s=google header.b=WPtHCzg4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 3594E80BE7DE; Mon, 4 Dec 2023 07:18:40 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233714AbjLDPSQ (ORCPT + 99 others); Mon, 4 Dec 2023 10:18:16 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52046 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231952AbjLDPSP (ORCPT ); Mon, 4 Dec 2023 10:18:15 -0500 Received: from mail-wm1-x342.google.com (mail-wm1-x342.google.com [IPv6:2a00:1450:4864:20::342]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AA446B4 for ; Mon, 4 Dec 2023 07:18:20 -0800 (PST) Received: by mail-wm1-x342.google.com with SMTP id 5b1f17b1804b1-40c039e9719so24657105e9.1 for ; Mon, 04 Dec 2023 07:18:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=google; t=1701703099; x=1702307899; darn=vger.kernel.org; h=mime-version:user-agent:references:message-id:in-reply-to:subject :cc:to:date:from:from:to:cc:subject:date:message-id:reply-to; bh=RsEmVqReDIIBR3i4Z2CPa0QYjl1YjrUYLXW2Vt7oYr4=; b=WPtHCzg4DLqkjb2O+ZO2bxfR8/icO6OhL6lEKeYH5aWwGF7HPUnkHJepLMZwFpO4Ky DlhPk+MLGi4OWFO1rIk7H2hTxIDPI99Ynh3rPqngdzjhNY8mTfgBk5bYPLVlRmVO3363 GZP48wBEAlZrgu4oFd/k6OHnAdeoDV2WRUJx2dmPlXz2/AxOjcQGiZ1i7r5JOOJNjOci mN5SOBmxAq3ZSSSXb31mX0hj+jhlhj/qAto48ekExyGDlFJna2mLsOGn8ArE9zuDN7yk atXa9mGPaZMVMbh9FL1AaWnkMt+bFwXjL2OhU2c9pLC7UEP1idJCVRPi/MVHQIXh0cBG KOkA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701703099; x=1702307899; h=mime-version:user-agent:references:message-id:in-reply-to:subject :cc:to:date:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=RsEmVqReDIIBR3i4Z2CPa0QYjl1YjrUYLXW2Vt7oYr4=; b=s0SDwmAYhx6odcAKZXQkhe4Pdcry8gljol5PmdHRaTiFDyjDJ92//F/JzKdaBgktSu TXVG1PQE7Ly4VugtyI2pptW9u49aPrdm0VWoyfjjktxPU/jMlTHStJRSlFcNM/7t05VH d46XqJXL8+tLMg6x+3foMU3RRkzfTqiAZWRP/oB2rYrPA1L4u42k4R5qmVdGCGS8U/GK klSwu+PAzDi1kLPJkKQkjBNQmdOMvVBEu+Aqm3VnWCx57eB32OBIPTOegNgr8VXPnTMD nHLhQxGCWbeVOVkxP7vGHJ7puRU5yYrUzkIs3OLO9COaWoTe+FZpXLSRPPjAeKDaYZYt BgCQ== X-Gm-Message-State: AOJu0Yyirbf8TndmaiW2lSTdhC+ah+ogm5Av15eTXqMtxEkZPmISJnaO 81CU5Kp2VTDBweGwsmMPjdhTug== X-Received: by 2002:a05:600c:3ba4:b0:408:3f87:cba with SMTP id n36-20020a05600c3ba400b004083f870cbamr2675403wms.39.1701703099168; Mon, 04 Dec 2023 07:18:19 -0800 (PST) Received: from localhost ([193.86.92.180]) by smtp.gmail.com with ESMTPSA id v9-20020a05600c444900b0040b461550c4sm19050421wmn.42.2023.12.04.07.18.18 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 04 Dec 2023 07:18:18 -0800 (PST) From: Jiri Kosina X-Google-Original-From: Jiri Kosina Date: Mon, 4 Dec 2023 16:18:19 +0100 (CET) To: Mario Limonciello cc: Linus Walleij , Benjamin Tissoires , "open list:PIN CONTROL SUBSYSTEM" , open list , Basavaraj Natikar , "open list:HID CORE LAYER" , stable@vger.kernel.org, Marcus Aram , Mark Herbert Subject: Re: [PATCH 1/2] HID: i2c-hid: Add IDEA5002 to i2c_hid_acpi_blacklist[] In-Reply-To: <20231203032431.30277-2-mario.limonciello@amd.com> Message-ID: References: <20231203032431.30277-1-mario.limonciello@amd.com> <20231203032431.30277-2-mario.limonciello@amd.com> User-Agent: Alpine 2.21 (LSU 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Mon, 04 Dec 2023 07:18:40 -0800 (PST) On Sat, 2 Dec 2023, Mario Limonciello wrote: > Users have reported problems with recent Lenovo laptops that contain > an IDEA5002 I2C HID device. Reports include fans turning on and > running even at idle and spurious wakeups from suspend. > > Presumably in the Windows ecosystem there is an application that > uses the HID device. Maybe that puts it into a lower power state so > it doesn't cause spurious events. > > This device doesn't serve any functional purpose in Linux as nothing > interacts with it so blacklist it from being probed. This will > prevent the GPIO driver from setting up the GPIO and the spurious > interrupts and wake events will not occur. > > Cc: stable@vger.kernel.org # 6.1 > Reported-and-tested-by: Marcus Aram > Reported-and-tested-by: Mark Herbert > Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/2812 > Signed-off-by: Mario Limonciello > --- > drivers/hid/i2c-hid/i2c-hid-acpi.c | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/drivers/hid/i2c-hid/i2c-hid-acpi.c b/drivers/hid/i2c-hid/i2c-hid-acpi.c > index ac918a9ea8d3..1b49243adb16 100644 > --- a/drivers/hid/i2c-hid/i2c-hid-acpi.c > +++ b/drivers/hid/i2c-hid/i2c-hid-acpi.c > @@ -40,6 +40,11 @@ static const struct acpi_device_id i2c_hid_acpi_blacklist[] = { > * ICN8505 controller, has a _CID of PNP0C50 but is not HID compatible. > */ > { "CHPN0001" }, > + /* > + * The IDEA5002 ACPI device causes high interrupt usage and spurious > + * wakeups from suspend. > + */ > + { "IDEA5002" }, Applied to hid.git#for-6.7/upstream-fixes. Thanks, -- Jiri Kosina SUSE Labs