devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Linu Cherian <lcherian@marvell.com>
To: James Clark <james.clark@arm.com>
Cc: <linux-arm-kernel@lists.infradead.org>,
	<coresight@lists.linaro.org>, <linux-kernel@vger.kernel.org>,
	<robh+dt@kernel.org>, <krzysztof.kozlowski+dt@linaro.org>,
	<conor+dt@kernel.org>, <devicetree@vger.kernel.org>,
	<sgoutham@marvell.com>, <gcherian@marvell.com>,
	<suzuki.poulose@arm.com>, <mike.leach@linaro.org>
Subject: Re: [PATCH v9 3/7] coresight: core: Add provision for panic callbacks
Date: Thu, 20 Jun 2024 09:42:12 +0530	[thread overview]
Message-ID: <20240620041212.GD125816@hyd1403.caveonetworks.com> (raw)
In-Reply-To: <739d24fc-b557-4ef9-875d-d1a800f6c4db@arm.com>

On 2024-06-05 at 21:39:17, James Clark (james.clark@arm.com) wrote:
> 
> 
> On 05/06/2024 09:17, Linu Cherian wrote:
> > Panic callback handlers allows coresight device drivers to sync
> > relevant trace data and trace metadata to reserved memory
> > regions so that they can be retrieved later in the subsequent
> > boot or in the crashdump kernel.
> > 
> > Signed-off-by: Linu Cherian <lcherian@marvell.com>
> > Reviewed-by: James Clark <james.clark@arm.com>
> > ---
> > Changelog from v8:
> > Added Reviewed-by tag.
> > 
> >  drivers/hwtracing/coresight/coresight-core.c | 37 ++++++++++++++++++++
> >  include/linux/coresight.h                    | 12 +++++++
> >  2 files changed, 49 insertions(+)
> > 
> 
> [...]
> 
> >  static int __init coresight_init(void)
> >  {
> >  	int ret;
> > @@ -1377,6 +1408,10 @@ static int __init coresight_init(void)
> >  	if (ret)
> >  		goto exit_bus_unregister;
> >  
> > +	/* Register function to be called for panic */
> > +	ret = atomic_notifier_chain_register(&panic_notifier_list,
> > +					     &coresight_notifier);
> > +
> 
> ret isn't checked here

Ack.

> 
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

  reply	other threads:[~2024-06-20  4:12 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-05  8:17 [PATCH v9 0/7] Coresight for Kernel panic and watchdog reset Linu Cherian
2024-06-05  8:17 ` [PATCH v9 1/7] dt-bindings: arm: coresight-tmc: Add "memory-region" property Linu Cherian
2024-06-05  8:17 ` [PATCH v9 2/7] coresight: tmc-etr: Add support to use reserved trace memory Linu Cherian
2024-06-07 15:58   ` Suzuki K Poulose
2024-06-10  6:18     ` [EXTERNAL] " Linu Cherian
2024-06-05  8:17 ` [PATCH v9 3/7] coresight: core: Add provision for panic callbacks Linu Cherian
2024-06-05 16:09   ` James Clark
2024-06-20  4:12     ` Linu Cherian [this message]
2024-06-05  8:17 ` [PATCH v9 4/7] coresight: tmc: Enable panic sync handling Linu Cherian
2024-06-10 13:02   ` Suzuki K Poulose
2024-06-20  4:10     ` Linu Cherian
2024-06-20  8:25       ` James Clark
2024-06-05  8:17 ` [PATCH v9 5/7] coresight: tmc: Add support for reading crash data Linu Cherian
2024-06-05 10:30   ` James Clark
2024-06-20  4:14     ` Linu Cherian
2024-06-05 16:09   ` James Clark
2024-06-07 14:17     ` James Clark
2024-06-10  6:15       ` [EXTERNAL] " Linu Cherian
2024-06-10 13:15         ` James Clark
2024-06-10 16:34   ` Suzuki K Poulose
2024-06-20  1:48     ` Linu Cherian
2024-06-21 10:54       ` Suzuki K Poulose
2024-07-03  4:29         ` Linu Cherian
2024-07-03  9:39           ` Suzuki K Poulose
2024-07-11  5:49             ` Linu Cherian
2024-06-05  8:17 ` [PATCH v9 6/7] coresight: tmc: Stop trace capture on FlIn Linu Cherian
2024-06-05  8:17 ` [PATCH v9 7/7] coresight: config: Add preloaded configuration Linu Cherian
2024-06-10 13:06 ` [PATCH v9 0/7] Coresight for Kernel panic and watchdog reset Suzuki K Poulose
2024-06-10 13:22   ` James Clark
2024-06-20  1:50     ` Linu Cherian

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240620041212.GD125816@hyd1403.caveonetworks.com \
    --to=lcherian@marvell.com \
    --cc=conor+dt@kernel.org \
    --cc=coresight@lists.linaro.org \
    --cc=devicetree@vger.kernel.org \
    --cc=gcherian@marvell.com \
    --cc=james.clark@arm.com \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mike.leach@linaro.org \
    --cc=robh+dt@kernel.org \
    --cc=sgoutham@marvell.com \
    --cc=suzuki.poulose@arm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).