Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp2430787pxb; Mon, 11 Jan 2021 09:24:56 -0800 (PST) X-Google-Smtp-Source: ABdhPJxaZylux+gfeK8XBfVxkc0B/0O9yWnsBMSsdUU6GFpsAxxRu+itszbv6yEklpMMNWBxwLmm X-Received: by 2002:a17:906:3146:: with SMTP id e6mr329029eje.363.1610385896179; Mon, 11 Jan 2021 09:24:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610385896; cv=none; d=google.com; s=arc-20160816; b=KXd3mzlomIpt3QSsD4Z1eZlczqAESJbDkYCq6nE12Zw7C5vlw+IfqFlJY6V6vHKZCM x5lyVaORPgKF4HAMxoGDVMT/BPn/oAXc/TBqmhDDlKSbCsmC8w28B5RBZ1d7N9XsZxJ9 9uCTDSlIzfqOR90E53TkAYr2/BmLw2qwvVZgA82tA1ZSfirOom+i2qC1ncQps3566TBW NFB81Z5SJCLnY0QVeZsPlHzXPfDd8ufxPXhogOTbIJqfVbm8C5RbAFCN74UFQ2iFP4vH PgplxYesBv+TUmtgd5INCoypCi+cEkwdV6o2K6SD8wNplMu1uMbE974hYqW6/OJ/Ebkj b/wA== 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:from:date:dkim-signature; bh=fdV0VW8YWN7jAg9JebTxlrGwTE2iDZU0jMTnkLks5R8=; b=p6j+mDy3oAwGIP6Xet70dXmRNqUlU+BpQPwzw/vfCqCaQOPI2mWySidD7qX0LVnPb4 Zp9LMuO7SNmLnQjOHvNFgCt58dlpegtXMW8u3vRST9UHQeufbc7urkX4xu11Fg/YhZAQ NjXpgsqSvRVQHXRa+mwtw9Oddk15dJbFQ7xhB6Lfng29uPJyDTMC8CIPe374az9a8GtP IU5TlzA0szpRpRKOdRhic+ZeZR5uFx9+DfcwOv3Df0/JDeaqpoVbxnJfsmb5q49nkFep /KZcoyfqiOB6VwyuY+Tf3ibUWq/8AIQNbTf+yb2Sgu9wWhJuWKwQ1ivTvjgaRPPfXDhd WM/A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b="JptZiE/B"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e19si161386edv.458.2021.01.11.09.24.32; Mon, 11 Jan 2021 09:24:56 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b="JptZiE/B"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389423AbhAKRVm (ORCPT + 99 others); Mon, 11 Jan 2021 12:21:42 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46410 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389122AbhAKRVl (ORCPT ); Mon, 11 Jan 2021 12:21:41 -0500 Received: from mail-oi1-x22c.google.com (mail-oi1-x22c.google.com [IPv6:2607:f8b0:4864:20::22c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7B2C9C061795 for ; Mon, 11 Jan 2021 09:20:55 -0800 (PST) Received: by mail-oi1-x22c.google.com with SMTP id l207so97628oib.4 for ; Mon, 11 Jan 2021 09:20:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:from:to:cc:subject:in-reply-to:message-id:references :user-agent:mime-version; bh=fdV0VW8YWN7jAg9JebTxlrGwTE2iDZU0jMTnkLks5R8=; b=JptZiE/BzILMv2edPkEWpTCiZDWqqUiaoiUj6VwDJX4FtOt7SHW4BaUrdj1iadpmmH oH7UncA1jzlSQ0DNhUKBhCw2dBAE4yLK13IClTXDIsEBBQ61eAigKNvE8eR5HxFLSEt5 B6L2gAn3ARU3Mi1FbOC2dNgmASqtMIf7zMHah52QueN5wWrp1B2xQxTNERaMPAEZMnl0 qMDOaYb93yqpSItXumjhux39nifB94ZY3XjEo5OUdlWGHgFQD/v6Hq0MSTw46A130FjZ SAKU4I6jHaBNbCmR5NzsPtYvuaoEp/3e+hH2M/35D8hrDf/WQVUaiABMK12yCj0NNeJr AQ3w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:in-reply-to:message-id :references:user-agent:mime-version; bh=fdV0VW8YWN7jAg9JebTxlrGwTE2iDZU0jMTnkLks5R8=; b=bg+Db4niSjF26/kQD+2OR7f9jKtnlTQxHKiTJgwkQomWEc1Q18nsdT7cE3XaFp3lAZ jwZ4FDlslZ6mB9I+tSwXp4uCzObDWoyi/0WVw8S0eB6eNLgyVlPUSrpVmzVaowvOwkBf SK8F3WTpmjbH6/4DVcJ+haj8lQWy/ILYQFxOLFynzn73vs8hgJrsCLBeSfewn2kfsWb7 FtW5R6EIg+dvGdOO8KnD6s8udyeVvgdX9zy9DyHlOiLrH/EY5tVrQIhxqaHhukSFUmHZ CsYGCXiczAC+a3AfEN0sTqRee7Rxg+/CYnjHHvhUTisXDdoKXGIWzgWB6z6bKNFJbqSF MIRQ== X-Gm-Message-State: AOAM530SVdegAmm2pPljwjlq2AUO4aE+hrOTbdZsBiRi0YYdXMn1/fRM 8+r0bkaRIrOgO7TAv/5kU5tNjg== X-Received: by 2002:a05:6808:2cb:: with SMTP id a11mr255356oid.93.1610385654570; Mon, 11 Jan 2021 09:20:54 -0800 (PST) Received: from eggly.attlocal.net (172-10-233-147.lightspeed.sntcca.sbcglobal.net. [172.10.233.147]) by smtp.gmail.com with ESMTPSA id n13sm72203otk.58.2021.01.11.09.20.53 (version=TLS1 cipher=ECDHE-ECDSA-AES128-SHA bits=128/128); Mon, 11 Jan 2021 09:20:54 -0800 (PST) Date: Mon, 11 Jan 2021 09:20:37 -0800 (PST) From: Hugh Dickins X-X-Sender: hugh@eggly.anvils To: "Rafael J. Wysocki" cc: Hugh Dickins , Thierry Reding , Jonathan Hunter , Saravana Kannan , Greg Kroah-Hartman , Linux Kernel Mailing List , Linux PM Subject: Re: 5.11-rc device reordering breaks ThinkPad rmi4 suspend In-Reply-To: Message-ID: References: User-Agent: Alpine 2.11 (LSU 23 2013-08-11) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 11 Jan 2021, Rafael J. Wysocki wrote: > On Mon, Jan 11, 2021 at 5:44 AM Hugh Dickins wrote: > > > > Hi Rafael, > > > > Synaptics RMI4 SMBus touchpad on ThinkPad X1 Carbon (5th generation) > > fails to suspend when running 5.11-rc kernels: bisected to > > 5b6164d3465f ("driver core: Reorder devices on successful probe"), > > and reverting that fixes it. dmesg.xz attached, but go ahead and ask > > me to switch on a debug option to extract further info if that may help. > > Does the driver abort the suspend transition by returning an error or > does something else happen? Both. Thierry has pointed to the lines showing failed suspend transition; and I forgot to mention that the touchpad is unresponsive from then on (I might not have noticed the failed suspend without that). But I don't suppose that unresponsiveness is worth worrying about: things went wrong in suspend, so it's not surprising if the driver does not recover well. Thank you both for getting on to this so quickly - but don't worry about getting my touchpad working: I'm glad to see you discussing the wider issues of ordering that this has brought up. Hugh