Re: [PATCH V2] remoteproc: core: Clear table_sz when rproc_shutdown

2025-05-06 Thread Peng Fan
On Wed, Apr 09, 2025 at 02:46:10PM +0800, Peng Fan wrote: >On Tue, Apr 08, 2025 at 10:59:58AM -0600, Mathieu Poirier wrote: >>On Tue, 8 Apr 2025 at 09:02, Peng Fan wrote: >>> >>> On Thu, Apr 03, 2025 at 10:32:39PM +0800, Peng Fan wrote: >>> >Hi Bjorn, >>> > >>> > >>> >Thanks for replying this thre

Re: [PATCH V2] remoteproc: core: Clear table_sz when rproc_shutdown

2025-04-08 Thread Peng Fan
On Tue, Apr 08, 2025 at 10:59:58AM -0600, Mathieu Poirier wrote: >On Tue, 8 Apr 2025 at 09:02, Peng Fan wrote: >> >> On Thu, Apr 03, 2025 at 10:32:39PM +0800, Peng Fan wrote: >> >Hi Bjorn, >> > >> > >> >Thanks for replying this thread. >> > >> >On Wed, Apr 02, 2025 at 08:48:58AM -0500, Bjorn Ander

Re: [PATCH V2] remoteproc: core: Clear table_sz when rproc_shutdown

2025-04-08 Thread Mathieu Poirier
On Tue, 8 Apr 2025 at 09:02, Peng Fan wrote: > > On Thu, Apr 03, 2025 at 10:32:39PM +0800, Peng Fan wrote: > >Hi Bjorn, > > > > > >Thanks for replying this thread. > > > >On Wed, Apr 02, 2025 at 08:48:58AM -0500, Bjorn Andersson wrote: > >>On Wed, Apr 02, 2025 at 09:43:55AM +0800, Peng Fan wrote:

Re: [PATCH V2] remoteproc: core: Clear table_sz when rproc_shutdown

2025-04-08 Thread Peng Fan
On Thu, Apr 03, 2025 at 10:32:39PM +0800, Peng Fan wrote: >Hi Bjorn, > > >Thanks for replying this thread. > >On Wed, Apr 02, 2025 at 08:48:58AM -0500, Bjorn Andersson wrote: >>On Wed, Apr 02, 2025 at 09:43:55AM +0800, Peng Fan wrote: >>> On Tue, Apr 01, 2025 at 10:05:03AM -0600, Mathieu Poirier wr

Re: [PATCH V2] remoteproc: core: Clear table_sz when rproc_shutdown

2025-04-04 Thread Mathieu Poirier
On Sat, Mar 29, 2025 at 08:56:29PM +0800, Peng Fan wrote: > On Fri, Mar 28, 2025 at 08:14:41AM -0600, Mathieu Poirier wrote: > >On Fri, Mar 28, 2025 at 12:50:12PM +0800, Peng Fan wrote: > >> On Thu, Mar 27, 2025 at 11:46:33AM -0600, Mathieu Poirier wrote: > >> >Hi, > >> > > >> >On Wed, Mar 26, 2025

Re: [PATCH V2] remoteproc: core: Clear table_sz when rproc_shutdown

2025-04-03 Thread Peng Fan
Hi Bjorn, Thanks for replying this thread. On Wed, Apr 02, 2025 at 08:48:58AM -0500, Bjorn Andersson wrote: >On Wed, Apr 02, 2025 at 09:43:55AM +0800, Peng Fan wrote: >> On Tue, Apr 01, 2025 at 10:05:03AM -0600, Mathieu Poirier wrote: >> >On Tue, Apr 01, 2025 at 09:41:24AM +0800, Peng Fan wrote:

Re: [PATCH V2] remoteproc: core: Clear table_sz when rproc_shutdown

2025-04-02 Thread Bjorn Andersson
On Wed, Apr 02, 2025 at 09:43:55AM +0800, Peng Fan wrote: > On Tue, Apr 01, 2025 at 10:05:03AM -0600, Mathieu Poirier wrote: > >On Tue, Apr 01, 2025 at 09:41:24AM +0800, Peng Fan wrote: ... > > > >The core is already checking if @loaded_table is valid in rproc_start(), why > >can't that be used ins

Re: [PATCH V2] remoteproc: core: Clear table_sz when rproc_shutdown

2025-04-01 Thread Peng Fan
On Tue, Apr 01, 2025 at 10:05:03AM -0600, Mathieu Poirier wrote: >On Tue, Apr 01, 2025 at 09:41:24AM +0800, Peng Fan wrote: >> On Mon, Mar 31, 2025 at 09:40:41AM -0600, Mathieu Poirier wrote: >> >On Sat, Mar 29, 2025 at 08:56:29PM +0800, Peng Fan wrote: >> >> On Fri, Mar 28, 2025 at 08:14:41AM -060

Re: [PATCH V2] remoteproc: core: Clear table_sz when rproc_shutdown

2025-04-01 Thread Mathieu Poirier
On Tue, Apr 01, 2025 at 09:41:24AM +0800, Peng Fan wrote: > On Mon, Mar 31, 2025 at 09:40:41AM -0600, Mathieu Poirier wrote: > >On Sat, Mar 29, 2025 at 08:56:29PM +0800, Peng Fan wrote: > >> On Fri, Mar 28, 2025 at 08:14:41AM -0600, Mathieu Poirier wrote: > >> >On Fri, Mar 28, 2025 at 12:50:12PM +0

Re: [PATCH V2] remoteproc: core: Clear table_sz when rproc_shutdown

2025-04-01 Thread Peng Fan
On Mon, Mar 31, 2025 at 09:40:41AM -0600, Mathieu Poirier wrote: >On Sat, Mar 29, 2025 at 08:56:29PM +0800, Peng Fan wrote: >> On Fri, Mar 28, 2025 at 08:14:41AM -0600, Mathieu Poirier wrote: >> >On Fri, Mar 28, 2025 at 12:50:12PM +0800, Peng Fan wrote: >> >> On Thu, Mar 27, 2025 at 11:46:33AM -060

Re: [PATCH V2] remoteproc: core: Clear table_sz when rproc_shutdown

2025-03-29 Thread Peng Fan
On Fri, Mar 28, 2025 at 08:14:41AM -0600, Mathieu Poirier wrote: >On Fri, Mar 28, 2025 at 12:50:12PM +0800, Peng Fan wrote: >> On Thu, Mar 27, 2025 at 11:46:33AM -0600, Mathieu Poirier wrote: >> >Hi, >> > >> >On Wed, Mar 26, 2025 at 10:02:14AM +0800, Peng Fan (OSS) wrote: >> >> From: Peng Fan >> >

Re: [PATCH V2] remoteproc: core: Clear table_sz when rproc_shutdown

2025-03-28 Thread Mathieu Poirier
On Fri, Mar 28, 2025 at 12:50:12PM +0800, Peng Fan wrote: > On Thu, Mar 27, 2025 at 11:46:33AM -0600, Mathieu Poirier wrote: > >Hi, > > > >On Wed, Mar 26, 2025 at 10:02:14AM +0800, Peng Fan (OSS) wrote: > >> From: Peng Fan > >> > >> There is case as below could trigger kernel dump: > >> Use U-Boo

Re: [PATCH V2] remoteproc: core: Clear table_sz when rproc_shutdown

2025-03-27 Thread Peng Fan
On Thu, Mar 27, 2025 at 11:46:33AM -0600, Mathieu Poirier wrote: >Hi, > >On Wed, Mar 26, 2025 at 10:02:14AM +0800, Peng Fan (OSS) wrote: >> From: Peng Fan >> >> There is case as below could trigger kernel dump: >> Use U-Boot to start remote processor(rproc) with resource table >> published to a f

Re: [PATCH V2] remoteproc: core: Clear table_sz when rproc_shutdown

2025-03-27 Thread Mathieu Poirier
Hi, On Wed, Mar 26, 2025 at 10:02:14AM +0800, Peng Fan (OSS) wrote: > From: Peng Fan > > There is case as below could trigger kernel dump: > Use U-Boot to start remote processor(rproc) with resource table > published to a fixed address by rproc. After Kernel boots up, > stop the rproc, load a ne

[PATCH V2] remoteproc: core: Clear table_sz when rproc_shutdown

2025-03-25 Thread Peng Fan (OSS)
From: Peng Fan There is case as below could trigger kernel dump: Use U-Boot to start remote processor(rproc) with resource table published to a fixed address by rproc. After Kernel boots up, stop the rproc, load a new firmware which doesn't have resource table ,and start rproc. When starting rpr