Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp5464266imm; Tue, 16 Oct 2018 10:37:15 -0700 (PDT) X-Google-Smtp-Source: ACcGV60I0qz14kvNvOdQ6mqSROREfTklQmsLn5jweJUc4ZxuXK6cpC7KNQi4Uu/hBb/8rjr5Og/I X-Received: by 2002:a63:e54d:: with SMTP id z13-v6mr1046611pgj.169.1539711435618; Tue, 16 Oct 2018 10:37:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539711435; cv=none; d=google.com; s=arc-20160816; b=vM5NmXUCY2JNdqlxeNnGYmqePJ1gQImAa3fnUdZI2HYFstxGHt5NG5CmgFiNqJdSne NemqUxUvr/eRXR4p7WVz+/7o/JdnT8tihg7pbbMej51JiRTdO8oAN99QfzQs2nNPm61L YgLgRtF6Ufn3qNGMX5DoFUTIHAfIDXIf2lNGDkGQaNL9ozoRWiIxGBg+ght5Y7UrJNfW /+m4WGaWSRRHRX1Bzfx3TeFS1qOjSTaA7vepTu7kgnsMjOZl3Ps26xpi/1OYZNswzoA5 rXqhPhyhJZPk039wAYWiwrc5cu6CimDWSqKiACuXX87+cvuBCrT50DvGU4L3rGgMOvyx s0ng== 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:references:cc:to:subject:dmarc-filter :dkim-signature:dkim-signature; bh=cNUxFzjrLjBXsighLzb+NNRbJgezJM3IYSXYtb+WAr4=; b=msuIqtQWIoB+5/cRwz/OXjh3echF1uuxPYUngxQTMs1u1UGgfxRlGPb5vrGxC6evNs 8eMvulySict1DiGjRn1HExvPlns871NziZN7TAInzo6zDL6DuU6CndcrIlesp/LiVybk 75D3ORnK94cFF5C6/Myz4WUQN8l2ynqVWvPHH0rQTMYVPMDP9TrBLuKEwmBvLFNGJXd+ mZDwsRW0JObrt0qDDsO3pPH8Z37agZwkFiCTeD1p234PBN3TPfCCStSkD9v/0iTJpaHF axyt8Hv/vr/Zeqjwp8HqT8eY06DbnIp0VtfknurWXxrTBqIN+6Jx78sYRun9dcQGHGf5 UxOQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=fepBcalZ; dkim=pass header.i=@codeaurora.org header.s=default header.b=iJAq2gyM; 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 w186-v6si15022524pgd.471.2018.10.16.10.36.59; Tue, 16 Oct 2018 10:37:15 -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=fepBcalZ; dkim=pass header.i=@codeaurora.org header.s=default header.b=iJAq2gyM; 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 S1727257AbeJQB2H (ORCPT + 99 others); Tue, 16 Oct 2018 21:28:07 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:44476 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727081AbeJQB2G (ORCPT ); Tue, 16 Oct 2018 21:28:06 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 9CA576130B; Tue, 16 Oct 2018 17:36:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1539711396; bh=5XEKdceFiuof2Vb6IDeQI+TFQvuemiZNmdNhEvXtgaI=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=fepBcalZOzyUi9hZx8oFvA+FIeOjtk601eszx65uP0N0QJfbWqAK1BQVHjex9vGx7 f4gMVChFs3FuYv/C9OxQX5/26PjYBaOl8DKsc8KLu0JfPTdAgJmU45jm3rOcEuZHDn XXUf3wB12XUPDTkjGFl/SuJsmFZExgxvdFpKgUhs= 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 [192.168.43.47] (unknown [223.227.22.91]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: saiprakash.ranjan@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 29FF46021C; Tue, 16 Oct 2018 17:36:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1539711395; bh=5XEKdceFiuof2Vb6IDeQI+TFQvuemiZNmdNhEvXtgaI=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=iJAq2gyM32cP97m7YM5HuGON7ZfPBWwkBOJPI1rx4xjWdwIEA1ldZbTewaKv6E1Uu CkeCIAxJj9eehRJRk/KwJcNjmVbYQ4zlu2GEtD8SsmeyD3QfA6jKIpPtG/csDxX1bt w4QcwSKp7PB5c0cyQjWfbWNLsuHxFtvqZG37/AqQ= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 29FF46021C Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=saiprakash.ranjan@codeaurora.org Subject: Re: Crash in msm serial on dragonboard with ftrace bootargs To: Steven Rostedt Cc: Stephen Boyd , Bjorn Andersson , Andy Gross , David Brown , Jiri Slaby , "Ivan T. Ivanov" , Kees Cook , "Joel Fernandes (Google)" , Geliang Tang , Greg Kroah-Hartman , Pramod Gurav , linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org, Rajendra Nayak , Vivek Gautam , Sibi Sankar References: <1cae8f10-55f5-20ce-9105-30af6f88bd6e@codeaurora.org> <20181016112928.4b52afb5@gandalf.local.home> <8c2fb318-813d-81f1-1e2f-cdbc68353077@codeaurora.org> <20181016125721.236ada82@gandalf.local.home> From: Sai Prakash Ranjan Message-ID: Date: Tue, 16 Oct 2018 23:06:24 +0530 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <20181016125721.236ada82@gandalf.local.home> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/16/2018 10:27 PM, Steven Rostedt wrote: > > OK, can you add to the command line: > > ftrace=function ftrace_filter=*schedule* > > to see if it's a specific function that may be causing the issue (but > hopefully it's not one of the scheduling functions that caused it). > Target boots fine with this. So its not scheduling functions that is causing it. Also I tried with ftrace_filter=*msm* just to be sure if tracing driver functions is causing any issue but its NOT. >>> Does it break if the crypto is not initialized? Perhaps add a command >>> line flag to have it happen earlier: >>> >> >> I didnt see any breakage, have been using ramoops with postcore_initcall >> for sometime now. >> >>> ramoops=earlyinit >>> >>> and add a postcore_initcall that checks if that flag is set, and if so, >>> it does the work then, and the late_initcall() will do nothing. >>> >>> That way, you can still have unmodified kernels use pstore when it >>> crashes at boot up. >>> >> >> Sounds good. > > Great, I guess you can write a patch to do that ;-) > Sure I can :) but as Kees said it would be better if we could find a way to make it work with a late initialization of compression. I will try on that. Thanks, -- QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation