Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp3227412ybi; Mon, 10 Jun 2019 06:46:10 -0700 (PDT) X-Google-Smtp-Source: APXvYqyB+KYS9eyTDArFpsCFpDPVfQNy8QjmrgFVJkgftuEBsNXB2g/eytVvGRTin9EcfQSZixlS X-Received: by 2002:a17:902:8303:: with SMTP id bd3mr70411454plb.240.1560174370349; Mon, 10 Jun 2019 06:46:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560174370; cv=none; d=google.com; s=arc-20160816; b=Ca4hz/7JJWoxU5t1mKIgcqBL19XBvlmHhnO5YkriHr4rDp3hCY80ai/47F4a+RHRm/ bAXe0V+3UtxonCBbG5IH0qJhVEVf6raj1z0C4ZlZr1+tOR9Ywre4GWyYpjaojTw/crSW 1vlRbemIA19+tM7PeFReiqirilewm1f9cpFeUm6yhjA1jP6ot9kgYFFytYGhE8gVkuxp vi5ANaCG5QkoHSW1ItofnsGFv8F/MDTccRNxndDsqBraBKb+10eIXpUR/hsImXy7RcYe AXZW8SS5vGv0AWYMdCHL+Rx9kRTfRJMwXezf6UoBESw+2g0dWPL3wO0tTl1jpJb64NDj UbXQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:content-disposition :mime-version:message-id:subject:to:from:date:dkim-signature; bh=GDu0QwPCusVspXV4UKYTJxVUs5M4uFp08JVK5Ji1WKs=; b=nzP+fE705XOBJ1SbplPDcQuI0r5mHCJTnAv177wT9vwNTcc7fxTzqS0MnUPhyq1wKR u5yJueOjnmSBnWtV0+FkI4Q/2z795WeX2kIYupCQ0Z2Oa6dxilUTeW0hDNBnBB3MoG48 NN/LZlTU3pTzPjbi7m42+lqVoW8bm/o3WRCWoih81ws0nL8swZFmwxZ+kF+/spZgAQD2 DfQSw9y866Ipli8ZDSU6PmpHpYDvI1OYir8bBkKfsqR2nKE5K8PkdDZVO5xZC/6C5/pb DFrieeV9PVWHp0WeIKiRcFgNk+/IuD3D2gxK66y9DhN0UACq9F+Hw3nNoImX7NCZ6YIs ekWg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=M4mWtFUi; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 204si9731627pgc.141.2019.06.10.06.45.54; Mon, 10 Jun 2019 06:46:10 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=M4mWtFUi; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390432AbfFJNoE (ORCPT + 99 others); Mon, 10 Jun 2019 09:44:04 -0400 Received: from mail-wr1-f47.google.com ([209.85.221.47]:45980 "EHLO mail-wr1-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390156AbfFJNoE (ORCPT ); Mon, 10 Jun 2019 09:44:04 -0400 Received: by mail-wr1-f47.google.com with SMTP id f9so9229562wre.12; Mon, 10 Jun 2019 06:44:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:subject:message-id:mime-version:content-disposition :user-agent; bh=GDu0QwPCusVspXV4UKYTJxVUs5M4uFp08JVK5Ji1WKs=; b=M4mWtFUiuUezKyHLHRGvKjvTcvOwmZ65rlQTjHp0sreALkQBCnEAxb49u5gK5XwsUY 94aWJfFYiG+ZRQbg7kC67ww323amM9OKXgttJJqsd4NzhQW74zw5bnYV/uhUjvoq8e0/ jws+oaf+Shs8hMqKvAyNstFeoVxrCkGGII+J0yDCR5om3YgKFSgrT6DYHvYnSKT0IRK8 vMjV0fLwvXQKoTYnmdWXVOPFmlWndMhZo12X70nCFOAtD+M+AP7C6alapn/oLBu1/9uf QpaVFk+vQNm0sOBSGHyjbOtiwYTIAVUd6YQvw0RNjptcehjvQz/Jcsjr63zVrVChyuSd EtiA== 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:subject:message-id:mime-version :content-disposition:user-agent; bh=GDu0QwPCusVspXV4UKYTJxVUs5M4uFp08JVK5Ji1WKs=; b=obcZMOyqTcmMOIS2W6O3TSBcIHY9Pw9Bp6KOQ4YkE11MtZj94/tpPRGV0s/aBA5gSy usgnBpR9HYR49e/cPrvlYeEquDRysWDjFcq+42qTUnZyQTrJDpHS2BbUlYXKKyjJZ1iN zgz4+amqDiE8c2yJ4RZigAUDugd7CxdqCLLFNLvW2FSvLmgLUGqSEXkUpLvzs2GeyVYT nj0tIudSN1Hp1KAIlB9wM6U2Su7bohxhR48888+ut4QefbshYTBq8IuGFyCIABLGY+iN HYm0s1Z8e9HAAmxeckjJI+IVqJKmej2knf9g6msSU/wokkeR49SVxpi10EXHJn2zJ41q Xp0w== X-Gm-Message-State: APjAAAV7uETbZyht2em3Rc1Tuc7QgNUm+C09vWKEYiI0/aEG68fFNyfX QCTviL0zlMc9fe8GK96Gg5IF0TBW X-Received: by 2002:adf:de8b:: with SMTP id w11mr21313791wrl.134.1560174242212; Mon, 10 Jun 2019 06:44:02 -0700 (PDT) Received: from gmail.com (net-31-27-155-100.cust.vodafonedsl.it. [31.27.155.100]) by smtp.gmail.com with ESMTPSA id u1sm3954706wml.14.2019.06.10.06.44.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 10 Jun 2019 06:44:01 -0700 (PDT) Date: Mon, 10 Jun 2019 15:44:01 +0200 From: Paolo Pisati To: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: msm8996: qcom-qmp: apq8096-db820c fails to boot, reset back to fastboot and locks up Message-ID: <20190610134401.GA12964@harukaze> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From time to time, my apq8096-db820c fails to boot to userspace, reset back to fastboot and locks up: to easily reproduce the issue, i'm boot looping using a cron job with a 1 min reboot entry on the board while leaving a "while 1; do fastboot boot boot.img; done" on the host pc. The issue is present in mainline up to 5.2-rc4, using defconfig and: CONFIG_SCSI_UFS_QCOM=y CONFIG_PHY_QCOM_QMP=y CONFIG_PHY_QCOM_UFS=y but was present in previous releases too (e.g. 4.14., 4.19, etc qcom-lt or mainline), where it's even easier to reproduce (e.g. takes way less reboots to trigger it). These are the last lines printed out: ... [ 7.407209] qcom-qmp-phy 34000.phy: Registered Qcom-QMP phy [ 7.448058] qcom-qmp-phy 7410000.phy: Registered Qcom-QMP phy [ 7.461859] ufs_qcom_phy_qmp_14nm 627000.phy: invalid resource [ 7.535434] qcom-qmp-phy 34000.phy: phy common block init timed-out [ 7.538596] phy phy-34000.phy.0: phy init failed --> -110 [ 7.550891] qcom-pcie: probe of 600000.pcie failed with error -110 [ 7.619008] qcom-pcie 608000.pcie: 608000.pcie supply vddpe-3v3 not found, using dummy regulator Log Type: B - Since Boot(Power On Reset), D - Delta, S - Statistic S - QC_IMAGE_VERSION_STRING=BOOT.XF.1.0-00301 S - IMAGE_VARIANT_STRING=M8996LAB S - OEM_IMAGE_VERSION_STRING=crm-ubuntu68 S - Boot Interface: UFS S - Secure Boot: Off ... Full boot here: https://pastebin.ubuntu.com/p/rtjVrD3yzk/ Any idea what is going on? Am i doing something wrong? -- bye, p.