Re: [PATCH] remoteproc: qcom: pas: Print auth error code
From: Konrad Dybcio
Date: Tue Oct 27 2026 - 06:51:56 EST
On 10/26/26 7:19 PM, Filippo Falezza via B4 Relay wrote:
> From: Filippo Falezza <effeffe99@xxxxxxxxx>
>
> When a subsystem fails to start, qcom_pas_start() logs "failed to
> authenticate image and release reset", but drops the error returned by
> qcom_pas_prepare_and_auth_reset(). That code tells the failures apart:
> a negative errno is either a clock, interconnect or SHM bridge failure
> on the Linux side or the SCM call's own status, remapped by
> qcom_scm_call(); a positive value is the status the PIL service
> returned for the request. Without it, finding out which one happened
> means adding a print and rebuilding the kernel.
>
> Print the error code, for the DTB image as well as the main one.
>
> Signed-off-by: Filippo Falezza <effeffe99@xxxxxxxxx>
> ---
Reviewed-by: Konrad Dybcio <konrad.dybcio@xxxxxxxxxxxxxxxx>
Konrad