Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp8581332ybn; Tue, 1 Oct 2019 10:07:00 -0700 (PDT) X-Google-Smtp-Source: APXvYqy586txLkF/vykyj76muz59yEuoO8vEXygHYCHmCoB9nL1v6odoTDH2Jr6P5wQUKyo5BNjt X-Received: by 2002:a05:6402:709:: with SMTP id w9mr26658912edx.85.1569949620444; Tue, 01 Oct 2019 10:07:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569949620; cv=none; d=google.com; s=arc-20160816; b=DxUtDn6e/mOktrM7ygzw2L90hcBqwu/ptvKieV+Wtt0vI63lbXPyPVcASXyxWEVhbQ lV8M6/CKvQubfLpeVsbuOdTnBnF9Gla0f35/GeBh2UpsxTEeoIh/74OV7Z+ADsh0i2NC x8hu9ulO3o00tqxLlxxtsFRGfkJ5QGvtnOJw66Wn/c/F6Tx/WicRvl4NActoa0iYsL32 Hf5Z+WVygm+6iFaeTNDGZK8cWjauHJii7/qiRVevsDR09kuF9JcQix5PXev37BRTGsMy 8fmfpgvD5iFcxbACrMGea46SkXsIt9mg0+0EPfnsXavcKAnyDc5RDddTtsDSKeWBG58Z oWIg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:message-id:references :in-reply-to:subject:cc:to:from:date:content-transfer-encoding :mime-version:dkim-signature:dkim-signature; bh=OZOZ1C2YBUV1LwjEXmnqcISOi08RHRXjJfahmvRjKp0=; b=0tl+WKo3sVppmBHpsQcOfBKHeKcjoK3H8ac6o5Cwa7/PuZq+VhffGAcbR3gzJcRdcz lY0eSnWOmhvnM2PQkhY4e+6jL1JYLaw2boiFsqvv/vncCULyG091mfWT9P9XOOi4GCFp Bk3SfzjAHuP9fxTpHV66pAkIgy7GP8Ry2hKUDbIzl+UpTpSB96H1F0B/xBL8yuYxxvm5 PHny93UX84LoPiRZESoeXUQW64M0toKTvdC1yuto/D6dPYh32w3KSzT27rZ/O0FOqAcm hp/MJ6puh845ug+bBEvCjyuBE6r9Tu+a7CPMWhlHeFRO3xAD9ju0olYXRsTR8gWe1OI3 BYRA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=MWo5h9KQ; dkim=pass header.i=@codeaurora.org header.s=default header.b=Amc4WfDq; 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 e12si9762911edb.262.2019.10.01.10.06.35; Tue, 01 Oct 2019 10:07:00 -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=@codeaurora.org header.s=default header.b=MWo5h9KQ; dkim=pass header.i=@codeaurora.org header.s=default header.b=Amc4WfDq; 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 S1731527AbfJAREX (ORCPT + 99 others); Tue, 1 Oct 2019 13:04:23 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:45798 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726983AbfJAREV (ORCPT ); Tue, 1 Oct 2019 13:04:21 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 1AAB26177C; Tue, 1 Oct 2019 17:04:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1569949461; bh=UEkX/cHMbQ0sDePOFVv3FYadMtUY51cOeHadyFKhHvY=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=MWo5h9KQE6iRhSXNDSxstK3op6HdP7U/hDZ2AALli5OwqN2QqeYIm6Xyr0gxdpXuM IvyM5hN1KtE2Mgr9LGJEAzLmgdtSCVDn5Bt91RQr3t0IHGJccCZRGiUdwgfVECLX2i AK4GeB3Ocl18d5kbrxP0RVryYf+sbk+uMWK7D9rU= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.7 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_INVALID,DKIM_SIGNED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.codeaurora.org (Postfix) with ESMTP id 62D5561728; Tue, 1 Oct 2019 17:04:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1569949454; bh=UEkX/cHMbQ0sDePOFVv3FYadMtUY51cOeHadyFKhHvY=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=Amc4WfDqR/Ia2oe2RA7vGkjDeZHnbdBIgta2AynRkAwnAg0DKlyrue7DBbGM2Zhb5 vGwuYZkfCUQAHLfmEkZ4PpW4V1SYojQvaVT//h5rwM4kfQ3lgT6iOMSdCCmBo8q1bl uGQDcZFuvPCNecg3TlEHS0/XCvOgiPl9Mv/+wDig= MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Tue, 01 Oct 2019 10:04:14 -0700 From: Sai Prakash Ranjan To: Jeffrey Hugo Cc: Mark Rutland , Rajendra Nayak , Mathieu Poirier , Suzuki K Poulose , Alexander Shishkin , MSM , Marc Gonzalez , lkml , Bjorn Andersson , David Brown , Andy Gross , Sibi Sankar , Vivek Gautam , Leo Yan , linux-arm-kernel@lists.infradead.org Subject: Re: [PATCHv9 2/3] arm64: dts: qcom: msm8998: Add Coresight support In-Reply-To: References: <90114e06825e537c3aafd3de5c78743a9de6fadc.1564550873.git.saiprakash.ranjan@codeaurora.org> Message-ID: <16212a577339204e901cf4eefa5e82f1@codeaurora.org> X-Sender: saiprakash.ranjan@codeaurora.org User-Agent: Roundcube Webmail/1.2.5 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2019-10-01 09:13, Jeffrey Hugo wrote: > Sai, > > This patch breaks boot on the 835 laptops. However, I haven't seen > the same issue on the MTP. I wonder, is coresight expected to work > with production fused devices? I wonder if thats the difference > between the laptop and MTP that is causing the issue. > > Let me know what I can do to help debug. > I did test on MSM8998 MTP and didn't face any issue. I am guessing this is the same issue which you reported regarding cpuidle? Coresight ETM and cpuidle do not work well together since ETMs share the same power domain as CPU and they might get turned off when CPU enters idle states. Can you try with cpuidle.off=1 cmdline or just remove idle states from DT to confirm? If this is the issue, then we can try the below patch from Andrew Murray for ETM save and restore: https://patchwork.kernel.org/patch/11097893/ It is not merged yet. They would appreciate your tested by ;) Thanks, Sai