Re: [PATCH V1 2/6] soc: qcom: dcc: Add driver support for Data Capture and Compare unit(DCC)

From: Sai Prakash Ranjan
Date: Sun Mar 14 2021 - 15:20:01 EST


On 2021-03-11 22:04, Bjorn Andersson wrote:
On Thu 11 Mar 04:06 CST 2021, schowdhu@xxxxxxxxxxxxxx wrote:

On 2021-03-11 04:49, Bjorn Andersson wrote:
> On Wed 10 Mar 10:46 CST 2021, Souradeep Chowdhury wrote:
>
> > The DCC is a DMA Engine designed to capture and store data
> > during system crash or software triggers. The DCC operates
> > based on link list entries which provides it with data and
> > addresses and the function it needs to perform. These
> > functions are read, write and loop. Added the basic driver
> > in this patch which contains a probe method which instantiates
> > the resources needed by the driver. DCC has it's own SRAM which
> > needs to be instantiated at probe time as well.
> >
>
> So to summarize, the DCC will upon a crash copy the configured region
> into the dcc-ram, where it can be retrieved either by dumping the memory
> over USB or from sysfs on the next boot?

Replied by Sai


Thanks Souradeep and Sai, I'm definitely interested in learning more
about what the hardware block can do and how we can use it.


Thanks Bjorn, hopefully example in the other thread provides some good
view of the capability of DCC. Please let us know if you need any more
details.

Thanks,
Sai
--
QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member
of Code Aurora Forum, hosted by The Linux Foundation