Re: [PATCH v1 0/5] soc/arm64: qcom: add initial version of memory dump

From: Krzysztof Kozlowski
Date: Mon Oct 23 2023 - 08:54:54 EST


On 23/10/2023 14:18, Zhenhua Huang wrote:
>
>
> On 2023/10/23 17:25, Krzysztof Kozlowski wrote:
>> On 23/10/2023 11:20, Zhenhua Huang wrote:
>>> Qualcomm memory dump driver is to cooperate with firmware, providing the
>>> hints(id and size) of storing useful debugging information into pre-allocated
>>> memory. Firmware then does the real data capture. The debugging information
>>> includes cache contents, internal memory, registers.
>>>
>>> The driver dynamically reserves memory and provides the hints(dump id and size)
>>> following specified protocols with firmware. After crash and warm reboot,
>>> firmware scans these information and stores contents into reserved memory
>>> accordingly. Firmware then enters into full dump mode which dumps whole DDR
>>> to host through USB.
>>
>> How does it relate to minidump?
>
> Minidump is used for dumping *software* related data/information. While
> the memory dump is used to communicate with firmware to dump *hardware*
> related information.

I would argue then you should integrate both things...

Best regards,
Krzysztof