Re: [PATCH] cmd: Flush destination buffer only if it is available

2025-05-20 Thread Tom Rini
On Tue, May 20, 2025 at 02:35:53PM +0530, Varadarajan Narayanan wrote: > On Mon, May 19, 2025 at 08:19:05AM -0600, Tom Rini wrote: > > On Mon, May 19, 2025 at 12:19:34PM +0530, Varadarajan Narayanan wrote: > > > > > From: Vandhiadevan Karunamoorthy > > > > > > There are code paths in do_imgextract

Re: [PATCH] cmd: Flush destination buffer only if it is available

2025-05-20 Thread Varadarajan Narayanan
On Mon, May 19, 2025 at 08:19:05AM -0600, Tom Rini wrote: > On Mon, May 19, 2025 at 12:19:34PM +0530, Varadarajan Narayanan wrote: > > > From: Vandhiadevan Karunamoorthy > > > > There are code paths in do_imgextract(), where 'dest' could be zero. > > Hence, avoid cache flush of 'dest' doesn't poin

Re: [PATCH] cmd: Flush destination buffer only if it is available

2025-05-19 Thread Tom Rini
On Mon, May 19, 2025 at 12:19:34PM +0530, Varadarajan Narayanan wrote: > From: Vandhiadevan Karunamoorthy > > There are code paths in do_imgextract(), where 'dest' could be zero. > Hence, avoid cache flush of 'dest' doesn't point to any data buffer. > > Signed-off-by: Vandhiadevan Karunamoorthy

[PATCH] cmd: Flush destination buffer only if it is available

2025-05-18 Thread Varadarajan Narayanan
From: Vandhiadevan Karunamoorthy There are code paths in do_imgextract(), where 'dest' could be zero. Hence, avoid cache flush of 'dest' doesn't point to any data buffer. Signed-off-by: Vandhiadevan Karunamoorthy Signed-off-by: Varadarajan Narayanan --- cmd/ximg.c | 3 ++- 1 file changed, 2 i