Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp6180921yba; Tue, 14 May 2019 03:12:28 -0700 (PDT) X-Google-Smtp-Source: APXvYqx3gq2uGHInguZ8MA8GtNHP78XPtF9lYrQLpWC3DlITC5rh9oJQyhDIgHr5ZG4XSfTDXkpc X-Received: by 2002:a63:950d:: with SMTP id p13mr37584355pgd.269.1557828748300; Tue, 14 May 2019 03:12:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557828748; cv=none; d=google.com; s=arc-20160816; b=WkPUe47rxcSdOeoVevg4j/VSABMrFkHKqxNpco34ms+a7igJNw4FYxqhj2+emWw1fY Aw6hwBqFfoZ5rxtq8GcZH4CYgdL9fdaa2jWDtvMfgvC20CQAxvR1L1dRhUpSI3eFm6r3 5Oun98Oh2nT+t931NjZqN9mnIySOl6zHL2GmQxSYx5inw34Limnr/NZu0Hy9J8D4xEg0 BKm28FNn1MbcuFmtJZEf+7O/5GNXMx/crN6mH6m6Yp/SWQeS1wdX5rl7jraQjEEJssGd mv75k+5QTH+rqiKxrweTbIyQtkIFyBOV6evbwLntgLscGTel6sY2/FCk+1IDj4BMada/ oDkA== 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; bh=3VpRLg8NJLZAav9EnwymaMY+zgZMT88zMFcqJQzQ/Ac=; b=KXdSJRzyc9ZkluH8/lCC/YtYIvB5ra7wQ3fdqfZJKmOHHBixgETpeam5Is6yYcWyVn ChyXqof/HqmQ3uNvXrfM65CMFhclsaObbXd6D/lrUs3DOMUuR7t3x99QEpQv4ukXSvDY zy3XIXE6qRaPwV5rt8CERw4GrxR+UXRcQJ28wxWw2aOIbOH0VPeGSbgY3qN0/CtjfWjU NplE5F0w1LqQhmH0Q9X9R0T25MdfM68yIfcQNmhlnCdP/battKMTVGwQkw7zblyrCcm6 u5nUlSZLFaB1LzNGdPlhB8IiiJOikU8caRb/fmYDSSXAUtJ3AnNC+CaV3LUj3t7zpMlU OHgw== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t139si17050482pfc.192.2019.05.14.03.12.13; Tue, 14 May 2019 03:12:28 -0700 (PDT) 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726473AbfENKLG (ORCPT + 99 others); Tue, 14 May 2019 06:11:06 -0400 Received: from mail-ed1-f66.google.com ([209.85.208.66]:35076 "EHLO mail-ed1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726290AbfENKLD (ORCPT ); Tue, 14 May 2019 06:11:03 -0400 Received: by mail-ed1-f66.google.com with SMTP id p26so22063873edr.2 for ; Tue, 14 May 2019 03:11:02 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=3VpRLg8NJLZAav9EnwymaMY+zgZMT88zMFcqJQzQ/Ac=; b=CpPNI4ZNnPE3oWbwvIVlbct2jVz9B5Ng2QOkqB1wgOE1NiSY12xmdY5svqP0Zzzk+r Wp7w/XDMzAKVgBbtv+Nw3UkFIAiOeU0TbTHA8k5rUUcwDNKw7kq0LUlh+L50RwLlTQbz CnK53FyS4fHl/UiO+NLca2lSlS0ZwOvmVjTff8S5gRvJmAPT4LMNZ7KRzu3S5cCUMLSO n1mzwj6kEtsXZP/nQfMDurdQuhpbnq8hPIAl492pRjLBm/Bm3uCM5CkR6bq3Xweqkxg8 qQ8Vcf4RyrJA2wsz1QnTGN+58v2BhY71j1SYNly8qwygVLidv2rspzqwFMd7MxZo2FJ2 HF7g== X-Gm-Message-State: APjAAAWXUwWWPRXV0iM1aiYaJYU6Ji43sMMkdVScXMOhwYgyRzsU7EBf 2YHQkIpHCtujerXNtQpj89a+sjgsGIg= X-Received: by 2002:a17:906:6a50:: with SMTP id n16mr27031422ejs.119.1557828661574; Tue, 14 May 2019 03:11:01 -0700 (PDT) Received: from localhost.localdomain ([2a01:4f8:1c0c:6c86:46e0:a7ad:5246:f04d]) by smtp.gmail.com with ESMTPSA id k18sm4400849eda.92.2019.05.14.03.11.00 (version=TLS1_3 cipher=AEAD-AES128-GCM-SHA256 bits=128/128); Tue, 14 May 2019 03:11:00 -0700 (PDT) Subject: Re: [PATCH] ACPI / LPSS: Don't skip late system PM ops for hibernate on BYT/CHT To: "Robert R. Howell" , "Rafael J. Wysocki" Cc: Kai-Heng Feng , "rjw@rjwysocki.net" , "lenb@kernel.org" , "linux-acpi@vger.kernel.org" , "linux-kernel@vger.kernel.org" References: <20190403054352.30120-1-kai.heng.feng@canonical.com> <0a770539-dfe9-2eb6-a90a-82f065a23a3f@uwyo.edu> <37aee883-1253-adad-82b4-4a578cc72825@uwyo.edu> <144b56d4-54e6-bccd-4652-22303bcd9168@uwyo.edu> <4fb5fc2e-e5af-6732-0228-8c73beed1afb@redhat.com> <1bb008bd-ae0d-d351-ef0c-303e23b0eca5@redhat.com> From: Hans de Goede Message-ID: <0b3eaf00-1a28-441b-e1fd-dd57e118f7a3@redhat.com> Date: Tue, 14 May 2019 12:10:59 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On 5/9/19 8:09 PM, Robert R. Howell wrote: > Hi Hans > > On 5/9/19 2:50 AM, Hans de Goede wrote: > >> >> Hi, >> >> On 09-05-19 06:24, Robert R. Howell wrote: >>> On 4/30/19 8:39 AM, Hans de Goede wrote: >>>> > >>>> >>>> I've just tried to reproduce the "Error i2c_dw_xfer call while suspended" error >>>> on suspend/resume on my own T100TA and I could not reproduce this. >>>> >>>> Can you try without the BT keyboard paired and waking up from suspend using the >>>> tablet part's power-button ? >>>> >>>> Also do you still have the scripts to rmmod some modules before suspend ? >>>> >>> >>> The T100TA keyboard is actually a hardwired connection rather than Bluetooth but I >>> did physically disconnect the keyboard, and also unpaired all the actual Bluetooth >>> devices (such as the mouse) and then powered down the T100TA bluetooth adapter. >>> When I suspend, then resume using the tablet power button, I still get the >>> i2c_dw_xfererror error during the resume.  But whatever causes this error isn't fatal, >>> in the sense that after resume the sound and other i2c functions do still work OK. >>> >>> While I always get this i2c_dw_xfer error on resume from suspend or hibernation on the T100TA, >>> I also have a T100TAM and curiously, it NEVER shows that error -- although all the >>> other suspend and hibernate behavior seems similar.  I'm not sure if the following could >>> be the difference, but the T100TA uses an i2c connected ATML1000 touchscreen controller >>> while the T100TAM uses an i2c connected SIS0817 touchscreen controller.  Other than that >>> the hardware seems almost identical. >> >> I've been testing on an actual T100TA, with the ATML1000 touchscreen controller. >> >> Maybe it is a difference in BIOS version, my T100TA is running the latest BIOS, what >> is the output of: >> >> cat /sys/class/dmi/id/bios_version /sys/class/dmi/id/bios_date >> > On the T100TA which shows the i2c_dw_xfer error the above cat reports: > T100TA.307 > 05/09/2014 My T100TA has version T100TA.314, date 08/13/2015 > while the T100TA which does NOT show the i2c_dw_xfer error reports: > T100TAM.205 > 07/25/2014 >> >> Also do you perhaps have a microsd card inserted?  (I'm trying to figure out the >> different between our setups so that I can hopefully reproduce the issue myself). >> > I do have a microsd card inserted in both the T100TA and the T100TAM. Ok, so I tried reproducing the suspend/resume problem on my T100TA with a microsd inserted and mounted and I still cannot reproduce the problem. So either you are hitting a BIOS bug which since has been fixed, or the suspend/resume problem is caused by you removing the DPM_FLAG_SMART_SUSPEND flag. Regards, Hans