-----Original Message----- From: James Clark james.clark@arm.com Sent: Thursday, August 17, 2023 2:23 PM To: Linu Cherian lcherian@marvell.com; suzuki.poulose@arm.com; mike.leach@linaro.org; mathieu.poirier@linaro.org Cc: coresight@lists.linaro.org; Anil Kumar Reddy H areddy3@marvell.com; Tanmay Jagdale tanmay@marvell.com; George Cherian gcherian@marvell.com Subject: [EXT] Re: [RFC PATCH v2 0/7]Extending Coresight for Kernel panic and watchdog reset
External Email
On 13/07/2023 14:47, Linu Cherian wrote:
Changelog from v1:
- V2 is a complete patchset with kernel panic trace tested on Linux 6.4. Details on testing with relevant console logs has been added for
reference.
- Two additional patches(patch 6 & 7) has been included to manage
stopping of trace
at the time of kernel panic.
- Few bug fixes.
TODO:
- Add support to prevent overwriting of trace data captured in previous boot. (Suggested by James)
- DTS properties for reserved memory might need some refinements, since Linux arm64 kernel has limitation on the number of reserved regions it supports(ie. 64).
- ETM & CTI configuration using system configuration manager is a work progress. Currently ETM configuration is done in the driver(patch 7) and
CTI
configuration is done using CTI sysfs interface.
- Reading tracedata from crashdump kernel is not tested.
- Perf based trace capture is not tested.
Introduction
This RFC is about extending Linux coresight driver support to address kernel panic and watchdog reset scenarios. This would help coresight users to debug kernel panic and watchdog reset with the help of coresight trace data. #
Hi Linu,
I've started to leave a few comments on the other patches, mainly about the code though rather than about the structure and shape of the panic feature.
Are you able to CC linux-kernel@vger.kernel.org on the next version, it makes it easier to apply the patches with b4
Sure.
Thanks James