Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp392818ybz; Tue, 21 Apr 2020 11:04:25 -0700 (PDT) X-Google-Smtp-Source: APiQypIVTFfKKJVUtox6npwXhZOju87rbmd8AU9rk50cPoOMflIZm4bt+/jYAvvSBeqkihsL4rB4 X-Received: by 2002:a17:906:5c43:: with SMTP id c3mr21956845ejr.3.1587492265432; Tue, 21 Apr 2020 11:04:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587492265; cv=none; d=google.com; s=arc-20160816; b=Vzm8hUcUmwj3IsT13W+qumiei3T8v+tZ93xu5AIiXTsrTzrpQzQJlXNwtl/W20ON/d Zu+gmpM4c7dtg7kuVU+hPd5tDXs+NRkFrujruCf/S23MUSdz15WIZXFi5VgClQDhK6Y4 7b2NHFCgFGq7l8k8NoWT9fjWrFnL+LzrJwqQMuJrNcswyq8K+muH2x+rgEIGvk1B6fVm rtc9/8PXuFboE40nfmSI+7/+f7tPrWDZC5QAVhBWntRDdjO+0X34BJVXb7hlcxpbQ38x v12wUZIEWeeoS1FQoHrGAhK6sjIBdShWrllmdILW3ByJuqkNlGWIDwXAdpxcFteteLVJ CMZw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=ky/QZL4CAtANyia6KYhi8WcvG40Pv/Sh98FKUywaME8=; b=g/IA4Ba9Z29MAqQuKMqrM5cUf+9MZqttRZkm6dlLXErD+Q6r/pPe6doHWeojfWuN7I jUIAIUmB8IJ/6c26F6JFzuByOaTpIMwH//yD42aZMHgDkD72p29c1ahIjS4E7V/Nfe9J hizzZM3hoGkvVh2CHSG8+/n2672DtIoNxmLSIpjxjUW3IGAHFNgv+vD/rdM7DQCd+8az MNkhJlz6Q3V9oiwIE2iHgGyfrrlG0iFHgAzQ7cA1XJV9soJHS45CvcXOj6wmQET7mcX+ Ir4GTUjW06wqpeNd+0r2f1IWGjl70pl71xhqLLVaDlA7Y99nCLsUELpYhQbrJ5EZ2yaf p20w== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v22si2003664eds.78.2020.04.21.11.04.01; Tue, 21 Apr 2020 11:04:25 -0700 (PDT) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729211AbgDUSC1 (ORCPT + 99 others); Tue, 21 Apr 2020 14:02:27 -0400 Received: from muru.com ([72.249.23.125]:50758 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725990AbgDUSC1 (ORCPT ); Tue, 21 Apr 2020 14:02:27 -0400 Received: from atomide.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id C86768081; Tue, 21 Apr 2020 18:03:11 +0000 (UTC) Date: Tue, 21 Apr 2020 11:02:20 -0700 From: Tony Lindgren To: Andreas Kemnade Cc: "H. Nikolaus Schaller" , Evgeniy Polyakov , Greg Kroah-Hartman , Linux Kernel Mailing List , linux-omap , Adam Ford , "Andrew F . Davis" , Vignesh R Subject: Re: [PATCHv3] w1: omap-hdq: Simplify driver with PM runtime autosuspend Message-ID: <20200421180220.GB37466@atomide.com> References: <7B8C7DD9-095B-48FC-9642-695D07B79E97@goldelico.com> <20200416184638.GI37466@atomide.com> <3197C3F0-DEB9-4221-AFBD-4F2A08C84C4C@goldelico.com> <20200417164340.3d9043d1@aktux> <6430AF54-849E-456B-8DB0-B4478BBDB78D@goldelico.com> <20200417150721.GL37466@atomide.com> <8E062482-5D5D-4837-9980-D6C708DD24D4@goldelico.com> <20200420150802.GR37466@atomide.com> <20200421085336.32cf8ffe@aktux> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20200421085336.32cf8ffe@aktux> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Andreas Kemnade [200421 06:54]: > On Mon, 20 Apr 2020 23:11:18 +0200 > "H. Nikolaus Schaller" wrote: > > The only maybe important observation was when I disabled all > > kernel modules except *hdq*.ko and *bq27*.ko. Then I did only > > get an emergency shell so that it is quite similar to the > > scenario Andreas has tested. With this setup it did work. > > > So I guess without idling uarts? > > > I then tried to reenable other kernel modules but the result > > wasn't convincing that it gives a reliable result. > > > > So I have still no clear indication when the problem occurs and > > when not. > > > Hmm, last summer I had problems even without that patch reading > temperature while doing umts transfers. Maybe there are some > connections, > maybe not. For that scenario we might have emc issues, thermal problems > or a real kernel problem. I have confimed here that logicpd torpedo devkit with battery works just fine while entering off mode during idle. I can see the temperature just fine with: # cat /sys/class/power_supply/bq27000-battery/uevent POWER_SUPPLY_NAME=bq27000-battery POWER_SUPPLY_STATUS=Charging POWER_SUPPLY_PRESENT=1 POWER_SUPPLY_VOLTAGE_NOW=3829000 POWER_SUPPLY_CURRENT_NOW=-592084 POWER_SUPPLY_CAPACITY_LEVEL=Normal POWER_SUPPLY_TEMP=306 POWER_SUPPLY_TECHNOLOGY=Li-ion POWER_SUPPLY_CHARGE_FULL_DESIGN=2056320 POWER_SUPPLY_CYCLE_COUNT=0 POWER_SUPPLY_POWER_AVG=0 POWER_SUPPLY_MANUFACTURER=Texas Instruments This is 37xx though, maybe you have 35xx and there's some errata that we're not handling? I'm only seeing "2.7. HDQTM/1-Wire® Communication Constraints" for external pull-up resitor in 34xx errata at [0]. I wonder if wrong external pull could cause flakyeness after enabling the hdq module? If nothing else helps, you could try to block idle for hdq module, but I have a feeling that's a workaround for something else. Regards, Tony [0] https://www.ti.com/pdfs/wtbu/SWPZ009A_OMAP4430_Errata_Public_vA.pdf