Received: by 10.223.176.5 with SMTP id f5csp462199wra; Sat, 3 Feb 2018 03:22:04 -0800 (PST) X-Google-Smtp-Source: AH8x224kB7f1vve/JqFb2mkkx+VB6QSfbS7RBwmCIE0JYHj6HCNy5+3YFmn50o79keNCOLpfNkZy X-Received: by 2002:a17:902:678e:: with SMTP id g14-v6mr37005201plk.309.1517656924182; Sat, 03 Feb 2018 03:22:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517656924; cv=none; d=google.com; s=arc-20160816; b=MiW+Uo9gSRd3VmmFd4ckKx+czKxIHUZZ5duX6TaFcGvXvLQMechpL2DoA5y0rL7YHj mcDEfiijBZ+w81ifgKPesGcxrwwmh+dgRGhbS7KRPq6PHSSo+CypgfWaosB0Nq245cjp O7nuKhrx5UstroGA3297P4cvR4Hla/588IVruYDoA1Pt2BY8fss3UMFgiofngkMtCkqT 0hv+jLqXJSmpWjRSKROhxMRgakeAFWwD5vrElMU2Imooy6//dwIu5olg2TmwW68ZqF01 KixMXWwMZEOJX15f2FjqZ98q2erv/YLs/LD3j2dH90SouRySJxPf0fkwqDIBXPqbK4sC 7Sog== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:arc-authentication-results; bh=KUtYxWHwD2YjoIVnvKRSSyyzVFVoQmpAJzHSCc0HCuU=; b=VJbb/zuheX2Rd1LLrVUUIOtIZeahb4UUNKD48Axd1hzs4uvbwvaLZy4YLhSZeBuXnR bf7KvE3dANmVtaed6TguAAWFeOeOHcuvHs6StITmgSMs9wSAgTu5xSfVC1nPPCEWYLte /E2SeTfyhA7iNPDYNtewToojegnHe2j191m9Nd3p+inXk+PDPvG9hEw5MpQxSPn0oOcN bje2gzLOgmQ2VwfN+V1Fj/zcBcBxelMZQCfsLUy7xxnYtYwg11OH7wKn4xWhEpn+LDYx TSH6s7o2YcJOcgTYsU01j8Vd/IIDBr6FKI4niHTHR8Y3GncK9yYlkg1KsIw3M68jq/VA nc/Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b2si2812942pgc.726.2018.02.03.03.21.49; Sat, 03 Feb 2018 03:22:04 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752281AbeBCLJy (ORCPT + 99 others); Sat, 3 Feb 2018 06:09:54 -0500 Received: from mx3.molgen.mpg.de ([141.14.17.11]:54625 "EHLO mx1.molgen.mpg.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750921AbeBCLJr (ORCPT ); Sat, 3 Feb 2018 06:09:47 -0500 Received: from [172.19.5.236] (wifi.eduroam.nat.229.ulb.ac.be [164.15.240.229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: pmenzel) by mx.molgen.mpg.de (Postfix) with ESMTPSA id EB7382012BA051; Sat, 3 Feb 2018 12:09:44 +0100 (CET) Subject: Re: i8042 AUX port [serio1] suspend takes a second on Dell XPS 13 9360 and TUXEDO Book 1406 To: Dmitry Torokhov Cc: linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, it+linux-input@molgen.mpg.de References: <5a74e1a7-2083-c6b2-f51a-f44908ac8bc4@molgen.mpg.de> <20180130175017.72inurhk5l7tcvae@dtor-ws> <20180130180736.ehucqywbz7zdl4v7@dtor-ws> From: Paul Menzel Message-ID: <5d6a4804-d4d1-df4f-6b63-43ac6b00af96@molgen.mpg.de> Date: Sat, 3 Feb 2018 12:09:44 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: de-DE Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Dear Dmitry, Am 30.01.2018 um 19:39 schrieb Paul Menzel: > On 01/30/18 19:07, Dmitry Torokhov wrote: >> On Tue, Jan 30, 2018 at 09:52:45AM -0800, Dmitry Torokhov wrote: >>> On Tue, Jan 30, 2018 at 06:36:34PM +0100, Paul Menzel wrote: >>>> I do not know, when it started, but with Linux 4.14-rc8 and 4.15, >>>> benchmarking suspend and resume time with `sleepgraph.py` [1][2], >>>> there is a >>>> regression, that i8042 AUX port [serio1] suspend takes a second on >>>> Dell XPS >>>> 13 9360 and TUXEDO Book 1406. >>> >>> It would be really helpful to know when the regression started. >> >> So the reason it takes longer is because the touchpad does not want to >> talk to us for some reason and we wait until commands time out: >> >> [   94.591636] calling  serio1+ @ 2299, parent: i8042 >> [   94.794292] psmouse serio1: Failed to disable mouse on isa0060/serio1 >> [   95.593303] call serio1+ returned 0 after 974280 usecs >> >> but it is not clear why it happens, I do not think we changed anything >> in that path for a while, so it might be some other change affecting >> things indirectly. I'm afraid you'll have to narrow the scope, and >> ideally bisect. > > Thank you for looking into this. Just to note, that it worked with Linux > 4.14.1 from Ubuntu 17.10, so it’s probably something in 4.15. Bisecting > will take a bit, as the FTRACE stuff broke in Linux 4.15-rc1 and was > only fixed in 4.15-rc9. Hopefully, it’s just one commit I need to > backport. I’ll get back to you hopefully at the end of the week. Unfortunately, I am unable to reproduce it currently. Also not with the original Linux kernel versions I tried. I’ll report back, when I see it the next time. Kind regards, Paul