Re: [PATCH v3 3/7] remoteproc: core: Add check on cached_table pointer

2024-02-23 Thread Mathieu Poirier
On Wed, Feb 14, 2024 at 06:21:23PM +0100, Arnaud Pouliquen wrote: > Add a check on the optional rproc->cached_table to perform the memory > copy only if it is not null. > > 2 use cases to support: > - starting on boot, in which case rproc->cached_table can be null, > - starting on crash recovery,

[PATCH v3 3/7] remoteproc: core: Add check on cached_table pointer

2024-02-14 Thread Arnaud Pouliquen
Add a check on the optional rproc->cached_table to perform the memory copy only if it is not null. 2 use cases to support: - starting on boot, in which case rproc->cached_table can be null, - starting on crash recovery, where the cached table is used to save the resource table configuration on s