From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.21]) (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 4518E14A0BE; Thu, 22 Feb 2024 15:16:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.21 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708614996; cv=none; b=tvEkeWD680nsClwH1fjjW0kpTazADwhr5eux14MYcAhT5uzeKEdYQ8Om2o93btvCKRCFZbuzVfiieAncTcnlbBvLRUDs8X3IOu+oquhI2XT7ZJqMjrb05rUsdr0TzeHe1lKox24i0JeDPv6wi59qSnL5cGrllxU7Yt10iHZy3sQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708614996; c=relaxed/simple; bh=Erf5sZKGhXHdpt7NmAUu5f1k9gVUiUwxt7974PPbzx4=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=ZIt7dPORLoeFLpLz3Mjc/i845fb3IJAoJe8V/1DamEX4YCAmsvL2Pov4XZDS8iCqyPGZMJI4VHtjGFddNzPY1jvbqLMswi+nkKHnlX9194rxPrW6F3zeTbfPPxLRse3lg6WMwYJXmao2j9je4GBxMxOvG1EssNtOykNagVOuvys= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=none smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=c6hMYC33; arc=none smtp.client-ip=198.175.65.21 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="c6hMYC33" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1708614994; x=1740150994; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=Erf5sZKGhXHdpt7NmAUu5f1k9gVUiUwxt7974PPbzx4=; b=c6hMYC33L41Na2DYxs7AnoGmaNYtGRE/GjXKldgZmYZl3l2cAvN7cQuP 0qm4Ijeyp4c1cN3pmgxn43MpjdM3Mgn1iwzWhBWQ/Sg7JPlTDEid6LCpt Ejl2vx9fGU9u503LBsF/DiQTCIVOY/Brr4TlDmGNJho/E96FfobsTzjNY ++20VtBUSL654LxbNXAKj4RGs+MANaZK3FGYPLkufV4apxXPGqo8JV5Lg LZ95bz+UtQq3hfeltpzu3B1I+Vuxa/jIeuA5LWili20Aj+EgICa+L3+eQ rrEHBCyzJkB9l03gpG5jvffLR+rQCXAmc/Xisz3FBQzjHuGIJ6LzByOrb w==; X-IronPort-AV: E=McAfee;i="6600,9927,10992"; a="2759534" X-IronPort-AV: E=Sophos;i="6.06,179,1705392000"; d="scan'208";a="2759534" Received: from orviesa009.jf.intel.com ([10.64.159.149]) by orvoesa113.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Feb 2024 07:16:34 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.06,179,1705392000"; d="scan'208";a="5461770" Received: from marquiz-s-2.fi.intel.com (HELO [10.237.72.58]) ([10.237.72.58]) by orviesa009.jf.intel.com with ESMTP; 22 Feb 2024 07:16:32 -0800 Message-ID: <03572069-c9ab-4912-a6b1-9f9c26ae5384@linux.intel.com> Date: Thu, 22 Feb 2024 17:16:31 +0200 Precedence: bulk X-Mailing-List: linux-i2c@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: irq/51-DLL075B:01 in D state without touchpad usage, interrupts increase To: Paul Menzel Cc: linux-i2c@vger.kernel.org, LKML References: <9181c391-bb08-4c1e-ad27-94b8493df86d@molgen.mpg.de> Content-Language: en-US From: Jarkko Nikula In-Reply-To: <9181c391-bb08-4c1e-ad27-94b8493df86d@molgen.mpg.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Hi On 2/20/24 18:15, Paul Menzel wrote: > Dear Linux folks, > > > On a Dell XPS 13 9360 with Debian sid/unstable and Linux 6.8-rc4+ (and > probably before), I sometimes notice the fan spinning up, and trying to > figure out why, I noticed that `top` showed `irq/51-DLL075B:01` in state > D (uninterruptible sleep (usually IO)). That is without using the > touchpad. I am using an external USB keyboard and an external USB mouse. > > >     $ sudo dmesg | grep -e "DMI:" -e "Linux version" -e microcode >         [    0.000000] Linux version 6.8.0-rc4+ > (build@bohemianrhapsody.molgen.mpg.de) (gcc (Debian 13.2.0-13) 13.2.0, > GNU ld (GNU Binutils for Debian) 2.42) #25 SMP PREEMPT_DYNAMIC Sat Feb > 17 05:39:03 CET 2024 >     [    0.000000] DMI: Dell Inc. XPS 13 9360/0596KF, BIOS 2.21.0 > 06/02/2022 >     [    0.367292] microcode: Current revision: 0x000000f4 >     [    0.367293] microcode: Updated early from: 0x000000f0 > >     $ sudo dmesg | grep DLL075B >     [    0.967975] input: DLL075B:01 06CB:76AF Mouse as > /devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-2/i2c-DLL075B:01/0018:06CB:76AF.0001/input/input2 >     [    0.968302] input: DLL075B:01 06CB:76AF Touchpad as > /devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-2/i2c-DLL075B:01/0018:06CB:76AF.0001/input/input3 >     [    0.968569] hid-generic 0018:06CB:76AF.0001: input,hidraw0: I2C > HID v1.00 Mouse [DLL075B:01 06CB:76AF] on i2c-DLL075B:01 >     [   19.753775] input: DLL075B:01 06CB:76AF Mouse as > /devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-2/i2c-DLL075B:01/0018:06CB:76AF.0001/input/input17 >     [   19.753950] input: DLL075B:01 06CB:76AF Touchpad as > /devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-2/i2c-DLL075B:01/0018:06CB:76AF.0001/input/input18 >     [   19.754654] hid-multitouch 0018:06CB:76AF.0001: input,hidraw0: > I2C HID v1.00 Mouse [DLL075B:01 06CB:76AF] on i2c-DLL075B:01 > > From `top`: > >     206 root     -51   0       0      0      0 D   1,7   0,0   8:45.46 > irq/51-DLL075B:01 > >     $ ps aux | grep 'irq/51' >     root         206  0.2  0.0      0     0 ?        D    Feb17  12:11 > [irq/51-DLL075B:01] > > The interrupts increase though by around 610 per second (without using > the device): > >     $ for i in $(seq 1 10); do LANG= date; sudo grep -e '17:' -e '51:' > /proc/interrupts; sleep 1; done >     Tue Feb 20 17:04:23 CET 2024 >       17: 1631256120          0          0    6452384  IR-IO-APIC > 17-fasteoi   idma64.1, i2c_designware.1 >       51:   25255617     109943          0          0  IR-IO-APIC > 51-fasteoi   DLL075B:01 >     Tue Feb 20 17:04:27 CET 2024 >       17: 1631295844          0          0    6452384  IR-IO-APIC > 17-fasteoi   idma64.1, i2c_designware.1 >       51:   25256229     109943          0          0  IR-IO-APIC > 51-fasteoi   DLL075B:01 >     Tue Feb 20 17:04:28 CET 2024 >       17: 1631335618          0          0    6452384  IR-IO-APIC > 17-fasteoi   idma64.1, i2c_designware.1 >       51:   25256843     109943          0          0  IR-IO-APIC > 51-fasteoi   DLL075B:01 >     Tue Feb 20 17:04:29 CET 2024 >       17: 1631375224          0          0    6452384  IR-IO-APIC > 17-fasteoi   idma64.1, i2c_designware.1 >       51:   25257454     109943          0          0  IR-IO-APIC > 51-fasteoi   DLL075B:01 >     Tue Feb 20 17:04:30 CET 2024 >       17: 1631415636          0          0    6452384  IR-IO-APIC > 17-fasteoi   idma64.1, i2c_designware.1 >       51:   25258076     109943          0          0  IR-IO-APIC > 51-fasteoi   DLL075B:01 >     Tue Feb 20 17:04:31 CET 2024 >       17: 1631455174          0          0    6452384  IR-IO-APIC > 17-fasteoi   idma64.1, i2c_designware.1 >       51:   25258687     109943          0          0  IR-IO-APIC > 51-fasteoi   DLL075B:01 >     Tue Feb 20 17:04:32 CET 2024 >       17: 1631494990          0          0    6452384  IR-IO-APIC > 17-fasteoi   idma64.1, i2c_designware.1 >       51:   25259300     109943          0          0  IR-IO-APIC > 51-fasteoi   DLL075B:01 >     Tue Feb 20 17:04:33 CET 2024 >       17: 1631534944          0          0    6452384  IR-IO-APIC > 17-fasteoi   idma64.1, i2c_designware.1 >       51:   25259915     109943          0          0  IR-IO-APIC > 51-fasteoi   DLL075B:01 >     Tue Feb 20 17:04:34 CET 2024 >       17: 1631574647          0          0    6452384  IR-IO-APIC > 17-fasteoi   idma64.1, i2c_designware.1 >       51:   25260527     109943          0          0  IR-IO-APIC > 51-fasteoi   DLL075B:01 >     Tue Feb 20 17:04:35 CET 2024 >       17: 1631613552          0          0    6452384  IR-IO-APIC > 17-fasteoi   idma64.1, i2c_designware.1 >       51:   25261130     109943          0          0  IR-IO-APIC > 51-fasteoi   DLL075B:01 > > The D state increases the load average. > > Is that the expected behavior? > No this is not. Touchpad appears to be firing interrupt line 51 continuously and then drivers/hid/i2c-hid/i2c-hid-core.c: i2c_hid_irq() is trying to read input from touchpad over I2C bus. Not sure is this HW failure or system FW error (there are bad ACPI tables out there misconfiguring things etc).