Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp6178661imu; Mon, 21 Jan 2019 04:36:46 -0800 (PST) X-Google-Smtp-Source: ALg8bN6pMe2mLl3Q+eHinP2jaRqiloAKKLrLvq5aCa37PDu62P71SJ5aMlVt4HQeJwRebMhoehG3 X-Received: by 2002:a63:4c5:: with SMTP id 188mr28230045pge.391.1548074206188; Mon, 21 Jan 2019 04:36:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548074206; cv=none; d=google.com; s=arc-20160816; b=rPaINRJbx3f9IGdgiSJI8t8D7LvWDvoxhLOAlaxEp/AyLPBmjkbB/is7W/6PhgBLiA GvXMstSfxHMY6nKRXViQzipEvDBrpvIVANM0EsV1vW0ymkkTaKrUGzU+rrWCz+zxWez9 zoftzj0PXZnBl63YTd4sEbgzIsVTmBjXUINwRrcvJgpc3JPL9hnANW7lGA9+I3IeauPA SQ18IpfpE93Zr64R3FchQ0DsmqCe3W6gaEMcdpsblu28I1AoGqqLcgaH62Rov6YshWW1 ffqGHQpStouqwkEIoPAflX3stKntIOZmPQkJ8Qvoe/sMNlorCYILtpWo6qZxIDJ/a2nR Pyrw== 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=k+MSaycj/9KITYA6lfk8QZCRSnahwfifAXAEb5FjW38=; b=urRllfbEf8p55shARuTqSStvvPK84oF5xZhP+Z2a/feEOlAPSURNQIk1L3EEHSS/6z u+RnWdzNDp9s2rHGvLJoTc+J1HkbsZaHBhyYQxnQxhyiImeD38LaUIPl163b3xIPsXyl Pqhenc/4rW3a57z/OfxXoJWuF5IeOPtapmzdeQpNtaivEcohbA/jC+Q24gzpVFaOBhD7 En65igU9kY+CE4r+AIhMkZlxL5HHvLz91Jmj7i5zKFIviDmk86dV+FU+foEN4lymDfFu bQk4nJwP5Q2EkyAtQ2bOlHnavcexhvkMAgFxrgHyTZ0NYcund5BK48mTtm2saMRnZ341 lb1g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=UF2COheU; 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 e9si12465455plt.181.2019.01.21.04.36.28; Mon, 21 Jan 2019 04:36:46 -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=@gmail.com header.s=20161025 header.b=UF2COheU; 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 S1728544AbfAUMfQ (ORCPT + 99 others); Mon, 21 Jan 2019 07:35:16 -0500 Received: from mail-ua1-f54.google.com ([209.85.222.54]:42206 "EHLO mail-ua1-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728011AbfAUMfQ (ORCPT ); Mon, 21 Jan 2019 07:35:16 -0500 Received: by mail-ua1-f54.google.com with SMTP id d21so6842845uap.9; Mon, 21 Jan 2019 04:35:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=k+MSaycj/9KITYA6lfk8QZCRSnahwfifAXAEb5FjW38=; b=UF2COheUoysXjsRSEAmwWvy5ArpkdNfz58fuMsj0CWoKN6ba9PggydnGg8dWNnxGdD 6xNV8hqPBGouluqMMVwCAfevMbvLnz4CkE/80V/tbf82hpdrnJ2eOhqlyJ560TEoeviv hS1PZ5IowjEB0S8s0cb0k+voFynUWiRACHTllvcoiQXgdAeZwPkp0wmy15M9i8bzcj8f xpMDexfrQSPWWR5ZuTjWHqb6unZrPRJeCqMpfCJ0DER/WUX69ez/UNghdh4iwX5ulSQb +uvO8W9H7y7pfSdTKxQGFCs/6HBfoKY939BGG/zfFk/Rq1zuEq4iDiHE7nlofiqJJKaG j1bQ== 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=k+MSaycj/9KITYA6lfk8QZCRSnahwfifAXAEb5FjW38=; b=C6qh315CR35CAmubadpJ+85Dqf5eQyM564FdPXGmSju1OjPpKxdmRxFeG3wk/YGAQt gHmZlPX+lzXKA3UCak3pRDAY//0IuUqBo5CP7NI1jT2EhNRi2yeuqtg7ECEoL3XXYDmO xr+v/vbL+gTpZb0GrpSHt/hTSNYb5Gr/jsEMT+QUmmt7ZgV7niZcTPPbwgR6BDqF4QnI 3wEAO4h68leVT6pdnEujYaAlT/Lco1KdHhjmgwmaifcsfczS+j0bSyjGmslLb/Uq5bRd eDVw+r8SUxxkHODwvc46BeN4y9sO//B700tOdIvw2ZQMVr0aO6gvRoi0IfhQsRbX6DAW MOJA== X-Gm-Message-State: AJcUukfTIN3KW4td1ExxTl4kxjE8fwKPlBvn5wvAUmoGrqwjx1EOMnBI tgev+VvpeB2YYbR/qwt0/R6VRYppuDAA9Q5i11o= X-Received: by 2002:ab0:4802:: with SMTP id b2mr12152078uad.47.1548074114497; Mon, 21 Jan 2019 04:35:14 -0800 (PST) MIME-Version: 1.0 References: <57ff3437-47b5-fe92-d576-084ce26aa5d8@codeaurora.org> <1ffe2b68-c87b-aa19-08af-b811063b3310@codeaurora.org> In-Reply-To: <1ffe2b68-c87b-aa19-08af-b811063b3310@codeaurora.org> From: Pintu Agarwal Date: Mon, 21 Jan 2019 18:05:03 +0530 Message-ID: Subject: Re: Need help: how to locate failure from irq_chip subsystem To: Sai Prakash Ranjan Cc: open list , linux-arm-kernel@lists.infradead.org, Russell King - ARM Linux , linux-mm@kvack.org, linux-pm@vger.kernel.org, kernelnewbies@kernelnewbies.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 Fri, Jan 18, 2019 at 5:23 PM Sai Prakash Ranjan wrote: > > On 1/18/2019 4:50 PM, Pintu Agarwal wrote: > >>>> Could you please tell which QCOM SoC this board is based on? > >>>> > >>> > >>> Snapdragon 845 with kernel 4.9.x > >>> I want to know from which subsystem it is triggered:drivers/soc/qcom/ > >>> > >> > >> Irqchip driver is "drivers/irqchip/irq-gic-v3.c". The kernel you are > >> using is msm-4.9 I suppose or some other kernel? > >> > > Yes, I am using customized version of msm-4.9 kernel based on Android. > > And yes the irqchip driver is: irq-gic-v3, which I can see from config. > > > > But, what I wanted to know is, how to find out which driver module > > (hopefully under: /drivers/soc/qcom/) that register with this > > irq_chip, is getting triggered at the time of crash ? > > So, that I can implement irq_hold function for it, which is the cause of crash. > > > > Hmm, since this is a bootup crash, *initcall_debug* should help. > Add "initcall_debug ignore_loglevel" to kernel commandline and > check the last log before crash. > OK thanks Sai, for your suggestions. Yes, I already tried that, but it did not help much. Anyways, I could finally find the culprit driver, from where null reference is coming. So, that issue is fixed. But, now I am looking into another issue. If required, I will post further... Thanks, Pintu