From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.11]) (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 4903E1CEAC2 for ; Sun, 9 Nov 2025 19:08:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.11 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1762715296; cv=none; b=Rinmk/LkIF2N9kA+DQ1j9FvtELz1kDw1icYLBP/ygEiVJUqmRAKMJ1IkAnkR09vrBvCB+JY5q3lTG6qLHKqKnRZWIh7Okroo5pJ89UgrByo4MBwbhG60Xy8b3rN6aojJpb0JFs1qqiEXHa/3Fg3RIcxUcgDZm6Xp+lfkyGVkwis= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1762715296; c=relaxed/simple; bh=7cBe2s53pgaq8OwYOTsVaCJ0pzgL8FXTPGbrP6ryQAA=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=KF5d3aZFECGqkrR4tTKPA6nTgwhbBMGp9fzIX/aR//0RTH4IqN6GOeiX8empWfziJFL3p/+PaNT/QzHn+LfUNf9WVe1Klj3pXyvnZoGJtuODmkHYXDHje82wilNaDDmtoolD3Iaccf+3y++528nlt1VVlSwU85snJrzxyjy+83g= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=pass smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=TCtUvERN; arc=none smtp.client-ip=198.175.65.11 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass 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="TCtUvERN" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1762715294; x=1794251294; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=7cBe2s53pgaq8OwYOTsVaCJ0pzgL8FXTPGbrP6ryQAA=; b=TCtUvERNGJJlvJw7plDU1bqxpAQ5hdNbap0ya/FoTu3biSM9B2ngMRvT FEH7naRKXT5cbdaiTtlEebNDLI3wb9cp5JbFnlKlGZMu1ISW7cP4EATP2 c6Y9XIb9fc4lQ755E9rsU7cJnS3FQp3UoAIHWHt/yz7Vjg/02jzp+FzSl 5kC/03aSxTJ7E5Xv2QHJs6NVcTTxNNY56VkcvqwoeCznDuaxKBITiZr67 R/je6SXF6TwD1cNi0ZOrHkswVywQApZCXvrW/q6ReixJ1VAvd26Lki4PG WFG/Imx7Swu7yVU3TRlTBb7c0HHvKbioEKtezomLYQN0jCbWGrks+SUCY w==; X-CSE-ConnectionGUID: BjE18ubuTSC05G00XrIgAw== X-CSE-MsgGUID: TBNplUg5Tj6Kwsr8bZDe0A== X-IronPort-AV: E=McAfee;i="6800,10657,11608"; a="75074025" X-IronPort-AV: E=Sophos;i="6.19,292,1754982000"; d="scan'208";a="75074025" Received: from orviesa006.jf.intel.com ([10.64.159.146]) by orvoesa103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Nov 2025 11:08:14 -0800 X-CSE-ConnectionGUID: HCBAPvSQQTaUscXcD2iPyw== X-CSE-MsgGUID: riu3ZDGlQcuoChPZS5rPHQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.19,292,1754982000"; d="scan'208";a="187753872" Received: from fpallare-mobl4.ger.corp.intel.com (HELO ashevche-desk.local) ([10.245.245.185]) by orviesa006-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Nov 2025 11:08:10 -0800 Received: from andy by ashevche-desk.local with local (Exim 4.98.2) (envelope-from ) id 1vIAlj-000000076HU-35mV; Sun, 09 Nov 2025 21:08:07 +0200 Date: Sun, 9 Nov 2025 21:08:07 +0200 From: Andy Shevchenko To: Askar Safin Cc: Dell.Client.Kernel@dell.com, bartosz.golaszewski@linaro.org, benjamin.tissoires@redhat.com, dmitry.torokhov@gmail.com, linux-acpi@vger.kernel.org, linux-gpio@vger.kernel.org, linux-i2c@vger.kernel.org, regressions@lists.linux.dev, rrangel@chromium.org, safinaskar@zohomail.com, superm1@kernel.org, wse@tuxedocomputers.com Subject: Re: [REGRESSION][BISECTED] Dell Precision 7780 wakes up on its own from suspend Message-ID: References: <20250918183336.5633-1-safinaskar@gmail.com> Precedence: bulk X-Mailing-List: regressions@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: Intel Finland Oy - BIC 0357606-4 - c/o Alberga Business Park, 6 krs, Bertel Jungin Aukio 5, 02600 Espoo On Sun, Nov 09, 2025 at 09:05:07PM +0200, Andy Shevchenko wrote: > On Thu, Sep 18, 2025 at 09:33:36PM +0300, Askar Safin wrote: > > Andy Shevchenko: > > > In other words we need to enable debug of the pin control subsystem and see > > > what it will print in dmesg. > > > > You mean I should enable CONFIG_DEBUG_PINCTRL? Okay, I did this. > > > > So, today I tested everything on fresh kernel, 6.17.0-rc6, without any > > patches. > > > > My config is: https://zerobin.net/?ebecc538f6caa22b#88c2k08G8+cZoMjgU9N/WYy28qQjyBW+/H78ygujZxY= > > It was generated from Debian config using localmodconfig. > > I added few tweaks, in particular I enabled CONFIG_DEBUG_PINCTRL. > > > > # cat /proc/cmdline > > BOOT_IMAGE=/@rootfs/boot/vmlinuz-6.17.0-rc6 root=UUID=015793d4-ad51-4da7-844b-fcc3bcb13a0b ro rootflags=subvol=@rootfs log_buf_len=4M ignore_loglevel > > > > I run this script: > > https://zerobin.net/?327f3aa3ef7ce845#Ycu017J9YbRga8uGaCKRzsH7J/lB8D4RudpwTll5lbo= > > > > This script runs "rtcwake -s 6 -m mem" multiple times. Sometimes my laptop wakes on timer (because of rtcwake), > > and sometimes it wakes up too early on its own (and this is a bug). > > > > My script did suspend 7 times: > > > > # dmesg | grep s2idle > > [ 117.934504] PM: suspend entry (s2idle) > > [ 127.141741] PM: suspend entry (s2idle) > > [ 131.299554] PM: suspend entry (s2idle) > > [ 140.034802] PM: suspend entry (s2idle) > > [ 144.592260] PM: suspend entry (s2idle) > > [ 154.038621] PM: suspend entry (s2idle) > > [ 163.034299] PM: suspend entry (s2idle) > > > > Out of them my laptop woke up on timer 4 times and on its own (i. e. due to bug) 3 times: > > > > # dmesg | grep 'woke up' > > [ 126.087936] will-wake: attempt 0: woke up in time > > [ 130.248820] will-wake: attempt 1: woke up early > > [ 138.988770] will-wake: attempt 2: woke up in time > > [ 143.545973] will-wake: attempt 3: woke up early > > [ 152.993654] will-wake: attempt 4: woke up in time > > [ 161.988956] will-wake: attempt 5: woke up in time > > [ 166.329080] will-wake: attempt 6: woke up early > > > > Here is full output of "dmesg --level=debug+": > > https://zerobin.net/?f704a2d56603f4ec#SRrzc2mt2FNNqcltx/ULmtLZRdRH9frdgoODU03AXwE= > > > > /proc/interrupts: > > https://zerobin.net/?b7ba5047ca84ab29#TjMUjkAdhpIuKbnvPpuYyNWa/ilA/ciGKwwSbx6KRFc= > > > 14: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 4202 0 0 0 0 0 0 0 0 0 0 0 IR-IO-APIC 14-fasteoi INTC1085:00 > > > 204: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 4199 0 0 0 0 0 0 0 0 0 0 0 intel-gpio 355 VEN_0488:00 > > > Sounds like it comes via GPIO, but it's not handled as touchpad IRQ. You may > try to add a quirk to prevent touchpad IRQ from waking the system. That should > help I believe. > Something like "ignore_wake=INTC1085:00@355" in the kernel command line. > If it helps, update drivers/gpio/gpiolib-acpi-quirks.c accordingly. It might be actually the touchpad controller name (as I see in the quirk table): ignore_wake=VEN_0488:00@355 -- With Best Regards, Andy Shevchenko