[PATCH] accel/qaic: Add crashdump to Sahara
Konrad Dybcio
konradybcio at kernel.org
Wed Sep 18 23:41:01 UTC 2024
On 18.09.2024 5:52 PM, Jeffrey Hugo wrote:
> The Sahara protocol has a crashdump functionality. In the hello
> exchange, the device can advertise it has a memory dump available for
> the host to collect. Instead of the device making requests of the host,
> the host requests data from the device which can be later analyzed.
>
> Implement this functionality and utilize the devcoredump framework for
> handing the dump over to userspace.
>
> Similar to how firmware loading in Sahara involves multiple files,
> crashdump can consist of multiple files for different parts of the dump.
> Structure these into a single buffer that userspace can parse and
> extract the original files from.
>
> Reviewed-by: Carl Vanderlip <quic_carlv at quicinc.com>
> Signed-off-by: Jeffrey Hugo <quic_jhugo at quicinc.com>
> ---
I gave this a brief read, but.. aren't you dumping however much DRAM the
AIC100 has (and then some SRAM) onto the host machine without the user
asking for it (i.e. immediately after the AIC crashes)?
Konrad
More information about the dri-devel
mailing list