Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp7056368ybi; Thu, 13 Jun 2019 08:50:41 -0700 (PDT) X-Google-Smtp-Source: APXvYqz9Zdt26/BIlhZJ5ybtkiDa7gaT1Yht+uFMPpb1y3zudB1UZwZkUm2UEc2ZmveCB8UsS+hE X-Received: by 2002:a17:90a:37ac:: with SMTP id v41mr6086063pjb.6.1560441041271; Thu, 13 Jun 2019 08:50:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560441041; cv=none; d=google.com; s=arc-20160816; b=bA05FnYDtvDx2qGOCCNJT5etTAvfw3E0t4O7/ebjqsm+OOLSLoBg6IJNNuYC9hwuz+ x4PdYhFkTRBzeIXmcQB6LF4LXnG6hlapM8WgW6kuuqoCM0jIiS0X+1jt10K3F3SrYT+G J9h5A1mEY78DDTuXYKDToj5IwvnPFP5mITxv8NRvJoxAylXCLJZe44rb7ztZVuQ66try JWbtilev4nfJ2QvoRRZeKBYP8pqz+Z0P806Dg6YVzpG+cxNGwOW3/yN2/iiwadvPDHoU W0JEDCjG55kOCsI93MytSehk3BAtbn7wAtSoIwv64F2YLhffitMdKeF/gQ6HYlgkwHk/ Mreg== 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:cc:references:to:subject; bh=ZMHsALi/MOM09YKaqlvMTunYfr0DoXMnbgakDdIRasY=; b=L1qCBAQdiKCAefVAvySStpMzW7xrDKi7G+Ork9W7Pbm0KNtt3ccQH1VKUiu9rSVZpn AOHHR5STfgSL3UsTjZzVdAVt1aVqom8Nno72JM7cxRs7b3XoewiLE+sfxuPwsKjzquuj Bmy5b8UgEF9yK33963nOCG5+EZpPKGDU6bNXOWXAWsGhU+vNyN62hqvLpFYbR2/oBKVf q0Wn8XDGq92ehvmA05bFVCiubWQbb6eK59ovs7sqJUHvMBm+MnU1F7OLgu7FlUj0THfU yXyEaE8mc1Ltwkos3fwSZCGlrUCftl4q93xzvW9eWRtSUY7880UfVxQqHYiFI5y4OJ8V ojTg== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l189si3622974pfl.172.2019.06.13.08.50.26; Thu, 13 Jun 2019 08:50:41 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389584AbfFMPsb (ORCPT + 99 others); Thu, 13 Jun 2019 11:48:31 -0400 Received: from ns.iliad.fr ([212.27.33.1]:60802 "EHLO ns.iliad.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731732AbfFMJTa (ORCPT ); Thu, 13 Jun 2019 05:19:30 -0400 Received: from ns.iliad.fr (localhost [127.0.0.1]) by ns.iliad.fr (Postfix) with ESMTP id EB8E320A52; Thu, 13 Jun 2019 11:19:28 +0200 (CEST) Received: from [192.168.108.49] (freebox.vlq16.iliad.fr [213.36.7.13]) by ns.iliad.fr (Postfix) with ESMTP id D33D420732; Thu, 13 Jun 2019 11:19:28 +0200 (CEST) Subject: Re: msm8996: qcom-qmp: apq8096-db820c fails to boot, reset back to fastboot and locks up To: Paolo Pisati References: <20190610134401.GA12964@harukaze> Cc: MSM , LKML , Bjorn Andersson , Niklas Cassel , Stanimir Varbanov , Vivek Gautam , Srinivas Kandagatla From: Marc Gonzalez Message-ID: <8cc440fd-9fd2-97a6-42e1-0a0b9c456d10@free.fr> Date: Thu, 13 Jun 2019 11:19:28 +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: <20190610134401.GA12964@harukaze> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP ; ns.iliad.fr ; Thu Jun 13 11:19:28 2019 +0200 (CEST) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/06/2019 15:44, Paolo Pisati wrote: > 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? Hmmm... this might be related to: https://patchwork.kernel.org/patch/10976217/ Regards.