From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.2 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E220DC432C0 for ; Thu, 28 Nov 2019 09:34:41 +0000 (UTC) Received: from shelob.surriel.com (shelob.surriel.com [96.67.55.147]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 5CA2F216F4 for ; Thu, 28 Nov 2019 09:34:41 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5CA2F216F4 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kate.si Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=kernelnewbies-bounces+kernelnewbies=archiver.kernel.org@kernelnewbies.org Received: from localhost ([::1] helo=shelob.surriel.com) by shelob.surriel.com with esmtp (Exim 4.92.3) (envelope-from ) id 1iaGC8-000122-4v for kernelnewbies@archiver.kernel.org; Thu, 28 Nov 2019 04:34:40 -0500 Received: from mx.softnet.eu ([212.103.147.55]) by shelob.surriel.com with esmtp (Exim 4.92.3) (envelope-from ) id 1iaGAK-0007KK-Km for kernelnewbies@kernelnewbies.org; Thu, 28 Nov 2019 04:32:48 -0500 X-Junk-Score: 0 [] X-Cloudmark-Score: 0 [] X-Cloudmark-Analysis: v=2.2 cv=SMMAb6nH c=1 sm=1 tr=0 a=4y9hnU6H4oCeubaYcFWf7A==:117 a=4y9hnU6H4oCeubaYcFWf7A==:17 a=IkcTkHD0fZMA:10 a=MeAgGD-zjQ4A:10 a=-B-fbuxspOSkboq_IFwA:9 a=QEXdDO2ut3YA:10 Received: from [212.103.147.53] (HELO kabelnet.net) by mx.softnet.eu (CommuniGate Pro SMTP 6.1.10) with ESMTP id 102707714 for kernelnewbies@kernelnewbies.org; Thu, 28 Nov 2019 10:32:43 +0100 Received: from [46.54.243.84] (account primoz.beltram@kate.si HELO [192.168.1.20]) by kabelnet.net (CommuniGate Pro SMTP 6.0.11) with ESMTPSA id 73746979 for kernelnewbies@kernelnewbies.org; Thu, 28 Nov 2019 10:32:43 +0100 To: kernelnewbies@kernelnewbies.org From: Primoz Beltram Subject: Update: I2C bus driver TIMEDOUT because of PM autosuspend Message-ID: <7e195624-1bae-194a-a9e9-4f71b1af4abc@kate.si> Date: Thu, 28 Nov 2019 10:32:42 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 Content-Language: en-GB X-BeenThere: kernelnewbies@kernelnewbies.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Learn about the Linux kernel List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: primoz.beltram@kate.si Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: kernelnewbies-bounces+kernelnewbies=archiver.kernel.org@kernelnewbies.org I must update my report. It is not PM autosuspend (void calls do nothing, no miracle here). This morning I reproduced the I2C timeout error also with XIIC_PM_TIMEOUT=10000 delay. For several days some other change was misleading me to PM autosuspend conclusion. What looks to me now is that just slight change in driver code (e.g. add or remove dev_info() call) changes the execution timing pattern of driver and this then determine if the problem probability window is hit or not. Probability to hit the problem is very low. The driver timeout error and its result to I2C bus blocked is still a problem. I would still like to let the maintainer aware of this problem. _______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies