Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp8859749imu; Thu, 15 Nov 2018 19:42:30 -0800 (PST) X-Google-Smtp-Source: AJdET5dYETfnCJd/IDzBsgFeN5nn+3fXL8EkemcijOGtrRoBBjk2csFs5R1TmvFC292d7vwNOpW8 X-Received: by 2002:a62:6d83:: with SMTP id i125-v6mr9506101pfc.184.1542339750215; Thu, 15 Nov 2018 19:42:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542339750; cv=none; d=google.com; s=arc-20160816; b=iDLVFwRjjwE6LUt8OsLqKdgdvA9QaNVM72rpLHt+lGumQ6tzzehWmbPvCd7oIAN7T+ 2l+uz8W94ru3RwtSqNnRXFhIPGg5lgc5lciKeHLgFwj9M0lZyuHtLdNdb/e7b2EI1R/c Lf7DvG+rkDeJJenqF8VaZ3Zr+UguqNJhXlhbPosY3ZSa+3q7gckT6ppCo/GKboBTVxR9 +DLbzpSZqXhMm/wPsO1L/xs1Q/X0ENqXClQnSYmiVWYXP50/vi6JGkMcjCJzQeIjEK/w nmKCqRwQfsbmM7P6Yi/CS4h+SttVhQ86A8pboIP1+a87h/E+J5w4pBo6Qe2vAN7jk2YO Me0g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=sJ6ju7gh6Fyow3jj/W/eZaGGuXcDDGTd1h5CQ/O4+3c=; b=L+hg+g0SfqeO9j0fwW5xlR462bB3DYCIjpOqnmwTik+RIh4/1x/GoCNzz4VQjlmRUT AXdCzaAIQbXAYVx5BH4n8hC9KLlN8qprkiAp1pVsfQwgTtbOBeHYWyHJDG/hiZWnH6pH VjBJq31Ap84BMipo85vOWSaTGmaE9tKianFjTkRHnc9LpqbUjX2mHY+d0VHGYKuUdQHr Qor+wS1XyxgUv1UyuxhVZAqkoeWrDVO9aK8CphiUBUY5Kf7FWY4ySMG8h/C2A0iOqfcQ EVBrOe79VYL/D4zfvNv9BmR15rzhCaueaURJBU4NrJdhv8sdQ07uqqSaYiMNoIMhhung X30A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="e/RA4OV5"; 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=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 32-v6si31965944plc.370.2018.11.15.19.42.00; Thu, 15 Nov 2018 19:42:30 -0800 (PST) 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=@linaro.org header.s=google header.b="e/RA4OV5"; 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=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727326AbeKPNuN (ORCPT + 99 others); Fri, 16 Nov 2018 08:50:13 -0500 Received: from mail-ot1-f67.google.com ([209.85.210.67]:38753 "EHLO mail-ot1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726718AbeKPNuN (ORCPT ); Fri, 16 Nov 2018 08:50:13 -0500 Received: by mail-ot1-f67.google.com with SMTP id u3so15048076ota.5; Thu, 15 Nov 2018 19:39:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=sJ6ju7gh6Fyow3jj/W/eZaGGuXcDDGTd1h5CQ/O4+3c=; b=e/RA4OV51fN62SQcDkQ2JDP8PisMnL3C5FT+JgCGVQatlEiyNVp+hH8kGnMIgmFyCa aHrUnGjpwxOXX0p03fjtNLIzKwdAzYHRdtSo+2n2q8TelncFvPSPFgEgjnILSbeNoCNC zhfvhyaIhAPam4hXQvSsfX1T/Lkr/NAwDhcZ0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=sJ6ju7gh6Fyow3jj/W/eZaGGuXcDDGTd1h5CQ/O4+3c=; b=idNzsQKWeYV0KEjxMfXaLE6J7ifpq4xijcYMgxKIJXlmp0xX4Wh1ATyococ23Qdzp6 AVA7Q1K+FEbXAdvUOwenvfmONBu5Qm3zkLmC0qp8b9hhdxIN8nR15X6ixUB/zvKDLhow d9fchfQSwu04Wa4hxn/a1IoBjVpf8TjsyC4+Xo4SbXUm3+Gwr3prnmtS1JpPSoWgEbjc 0es7V0ODj9t8oQg0QCMVBrdty5vUXEmRXhYBkvme7s394klWN8wpSYVN0UkdkWPzVIKg R0JOvQqAufkBW8184QVcS0BKDE77YA0aVisTvbSxsu/R3yvGez0LkHUgplqUs1whoCsO IgvQ== X-Gm-Message-State: AGRZ1gK03UqrCZI6gR64gsO+k7QOL4EeyNMpkHgyrpCNnuWtJaPYUUDX 6QzwMuQV7Ln9JQkFI3YPMkNTrQ+ZdLtFY75sYTc= X-Received: by 2002:a9d:7ac6:: with SMTP id m6mr2518619otn.62.1542339572289; Thu, 15 Nov 2018 19:39:32 -0800 (PST) MIME-Version: 1.0 References: <472db11e-49a6-a1ee-e298-791ee1bbb10b@codeaurora.org> <20181016141610.639b9000@gandalf.local.home> <20181016144123.24c47b38@gandalf.local.home> <7781815e-cba2-9e36-db6d-268298747876@codeaurora.org> <20181016150328.3450d718@gandalf.local.home> <20181017223334.29ca2837@vmware.local.home> <58d2474c-53cd-e6cb-2d25-db38d1a88da6@codeaurora.org> <20181018091706.62310b38@gandalf.local.home> <20181019041740.GB141835@joelaf.mtv.corp.google.com> <8a75f2d5-f1bd-504e-b545-ae2e2f61ca8f@codeaurora.org> <20181019095122.0f1c0946@gandalf.local.home> <9cafe321-87f6-98a3-3bda-c2f7a3d7fc67@codeaurora.org> <20181019111205.5c8e98e8@gandalf.local.home> <1e6cc1fa5263b9edfcf7567d3f9f65fd@codeaurora.org> <38099043-f5ed-6d81-bf94-13f61cfa8507@linaro.org> <8f65f83b-8cd9-5e35-c324-30b86390906e@codeaurora.org> In-Reply-To: From: Viresh Kumar Date: Fri, 16 Nov 2018 09:09:20 +0530 Message-ID: Subject: Re: Crash in msm serial on dragonboard with ftrace bootargs To: srinivas.kandagatla@linaro.org Cc: saiprakash.ranjan@codeaurora.org, Steven Rostedt , sboyd@kernel.org, joel@joelfernandes.org, bjorn.andersson@linaro.org, Andy Gross , David Brown , Jiri Slaby , Kees Cook , geliangtang@gmail.com, Greg Kroah-Hartman , gpramod@codeaurora.org, linux-arm-msm , "open list:ARM/QUALCOMM SUPPORT" , linux-serial@vger.kernel.org, Linux Kernel Mailing List , Rajendra Nayak , vivek.gautam@codeaurora.org, sibis@codeaurora.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Nov 15, 2018 at 4:23 PM Srinivas Kandagatla wrote: > Yes, this is not the solution, but it proves that the hand-off between > booloaders and kernel is the issue. > > In general there is wider issue with resources hand-off between > bootloader and kernel. > > There has been some proposal in the past by Viresh for a new framework > called boot-constriants (https://lkml.org/lkml/2017/12/14/440) which am > not sure if its still actively looked at. But something similar should > be the way to address such issues. It isn't dead code yet and I am waiting to gain few more use-cases before I attempt to convince Greg again :) Here is the code.. git://git.kernel.org/pub/scm/linux/kernel/git/vireshk/linux.git boot-constraint -- viresh