[PATCH 11/20] mach-k3: r5: common: add helper functions needed in LPM resume sequence
Richard GENOUD
richard.genoud at bootlin.com
Thu May 21 16:08:44 CEST 2026
Le 11/05/2026 à 12:52, Kumar, Udit a écrit :
>
>
> On 4/30/2026 2:14 PM, Richard Genoud (TI) wrote:
>> +
> [..]if (ret)
>> + return;
>> + save_addr = (unsigned long)mem_addr_lpm.context_save_addr;
>> + ret = ti_sci->ops.lpm_ops.lpm_save_addr(ti_sci, save_addr,
>> + mem_addr_lpm.size);
>> + if (ret)
>> + pr_err("TIFS lpm save addr fail\n");
>
> please check firmware capability instead of sending it w/o any check
as the DM is not yet loaded, checking the capabilities failed with
Failed to query DM firmware capability -110
Are you thinking of another way to check for TISCI_MSG_LPM_SAVE_ADDR
availability?
Regards,
Richard
More information about the U-Boot
mailing list