Re: [RFC PATCH 04/31] lmb: remove local instances of the lmb structure variable

2024-06-18 Thread Simon Glass
Hi Heinrich, On Thu, 13 Jun 2024 at 14:16, Heinrich Schuchardt wrote: > > > > Am 13. Juni 2024 21:05:58 MESZ schrieb Simon Glass : > >Hi Heinrich, > > > >On Thu, 13 Jun 2024 at 11:32, Heinrich Schuchardt wrote: > >> > >> On 13.06.24 18:59, Simon Glass wrote: > >> > Hi Tom, > >> > > >> > On Thu,

Re: [RFC PATCH 04/31] lmb: remove local instances of the lmb structure variable

2024-06-18 Thread Simon Glass
Hi Ilias, On Thu, 13 Jun 2024 at 23:58, Ilias Apalodimas wrote: > > On Thu, 13 Jun 2024 at 23:11, Heinrich Schuchardt wrote: > > > > > > > > Am 13. Juni 2024 21:05:58 MESZ schrieb Simon Glass : > > >Hi Heinrich, > > > > > >On Thu, 13 Jun 2024 at 11:32, Heinrich Schuchardt > > >wrote: > > >> >

Re: [RFC PATCH 04/31] lmb: remove local instances of the lmb structure variable

2024-06-13 Thread Ilias Apalodimas
On Thu, 13 Jun 2024 at 23:11, Heinrich Schuchardt wrote: > > > > Am 13. Juni 2024 21:05:58 MESZ schrieb Simon Glass : > >Hi Heinrich, > > > >On Thu, 13 Jun 2024 at 11:32, Heinrich Schuchardt wrote: > >> > >> On 13.06.24 18:59, Simon Glass wrote: > >> > Hi Tom, > >> > > >> > On Thu, 13 Jun 2024 at

Re: [RFC PATCH 04/31] lmb: remove local instances of the lmb structure variable

2024-06-13 Thread Sughosh Ganu
On Thu, 13 Jun 2024 at 22:57, Heinrich Schuchardt wrote: > > On 13.06.24 18:59, Simon Glass wrote: > > Hi Tom, > > > > On Thu, 13 Jun 2024 at 09:42, Tom Rini wrote: > >> > >> On Thu, Jun 13, 2024 at 09:22:15AM -0600, Simon Glass wrote: > >>> Hi Tom, > >>> > >>> On Wed, 12 Jun 2024 at 15:40, Tom R

Re: [RFC PATCH 04/31] lmb: remove local instances of the lmb structure variable

2024-06-13 Thread Heinrich Schuchardt
Am 13. Juni 2024 21:05:58 MESZ schrieb Simon Glass : >Hi Heinrich, > >On Thu, 13 Jun 2024 at 11:32, Heinrich Schuchardt wrote: >> >> On 13.06.24 18:59, Simon Glass wrote: >> > Hi Tom, >> > >> > On Thu, 13 Jun 2024 at 09:42, Tom Rini wrote: >> >> >> >> On Thu, Jun 13, 2024 at 09:22:15AM -0600,

Re: [RFC PATCH 04/31] lmb: remove local instances of the lmb structure variable

2024-06-13 Thread Tom Rini
On Thu, Jun 13, 2024 at 10:59:48AM -0600, Simon Glass wrote: > Hi Tom, > > On Thu, 13 Jun 2024 at 09:42, Tom Rini wrote: > > > > On Thu, Jun 13, 2024 at 09:22:15AM -0600, Simon Glass wrote: > > > Hi Tom, > > > > > > On Wed, 12 Jun 2024 at 15:40, Tom Rini wrote: > > > > > > > > On Wed, Jun 12, 20

Re: [RFC PATCH 04/31] lmb: remove local instances of the lmb structure variable

2024-06-13 Thread Simon Glass
Hi Sughosh, On Thu, 13 Jun 2024 at 12:17, Sughosh Ganu wrote: > > On Thu, 13 Jun 2024 at 22:57, Heinrich Schuchardt wrote: > > > > On 13.06.24 18:59, Simon Glass wrote: > > > Hi Tom, > > > > > > On Thu, 13 Jun 2024 at 09:42, Tom Rini wrote: > > >> > > >> On Thu, Jun 13, 2024 at 09:22:15AM -0600

Re: [RFC PATCH 04/31] lmb: remove local instances of the lmb structure variable

2024-06-13 Thread Simon Glass
Hi Heinrich, On Thu, 13 Jun 2024 at 11:32, Heinrich Schuchardt wrote: > > On 13.06.24 18:59, Simon Glass wrote: > > Hi Tom, > > > > On Thu, 13 Jun 2024 at 09:42, Tom Rini wrote: > >> > >> On Thu, Jun 13, 2024 at 09:22:15AM -0600, Simon Glass wrote: > >>> Hi Tom, > >>> > >>> On Wed, 12 Jun 2024 a

Re: [RFC PATCH 04/31] lmb: remove local instances of the lmb structure variable

2024-06-13 Thread Heinrich Schuchardt
On 13.06.24 18:59, Simon Glass wrote: Hi Tom, On Thu, 13 Jun 2024 at 09:42, Tom Rini wrote: On Thu, Jun 13, 2024 at 09:22:15AM -0600, Simon Glass wrote: Hi Tom, On Wed, 12 Jun 2024 at 15:40, Tom Rini wrote: On Wed, Jun 12, 2024 at 02:24:25PM -0600, Simon Glass wrote: Hi Tom, On Wed, 12

Re: [RFC PATCH 04/31] lmb: remove local instances of the lmb structure variable

2024-06-13 Thread Simon Glass
Hi Tom, On Thu, 13 Jun 2024 at 09:42, Tom Rini wrote: > > On Thu, Jun 13, 2024 at 09:22:15AM -0600, Simon Glass wrote: > > Hi Tom, > > > > On Wed, 12 Jun 2024 at 15:40, Tom Rini wrote: > > > > > > On Wed, Jun 12, 2024 at 02:24:25PM -0600, Simon Glass wrote: > > > > Hi Tom, > > > > > > > > On Wed

Re: [RFC PATCH 04/31] lmb: remove local instances of the lmb structure variable

2024-06-13 Thread Tom Rini
On Thu, Jun 13, 2024 at 09:22:15AM -0600, Simon Glass wrote: > Hi Tom, > > On Wed, 12 Jun 2024 at 15:40, Tom Rini wrote: > > > > On Wed, Jun 12, 2024 at 02:24:25PM -0600, Simon Glass wrote: > > > Hi Tom, > > > > > > On Wed, 12 Jun 2024 at 11:22, Tom Rini wrote: > > > > > > > > On Tue, Jun 11, 20

Re: [RFC PATCH 04/31] lmb: remove local instances of the lmb structure variable

2024-06-13 Thread Simon Glass
Hi Tom, On Wed, 12 Jun 2024 at 15:40, Tom Rini wrote: > > On Wed, Jun 12, 2024 at 02:24:25PM -0600, Simon Glass wrote: > > Hi Tom, > > > > On Wed, 12 Jun 2024 at 11:22, Tom Rini wrote: > > > > > > On Tue, Jun 11, 2024 at 08:41:39PM -0600, Simon Glass wrote: > > > > > > [snip] > > > > Also IMO th

Re: [RFC PATCH 04/31] lmb: remove local instances of the lmb structure variable

2024-06-12 Thread Tom Rini
On Wed, Jun 12, 2024 at 02:24:25PM -0600, Simon Glass wrote: > Hi Tom, > > On Wed, 12 Jun 2024 at 11:22, Tom Rini wrote: > > > > On Tue, Jun 11, 2024 at 08:41:39PM -0600, Simon Glass wrote: > > > > [snip] > > > Also IMO there is only really one LMB list today. We create it at the > > > start of b

Re: [RFC PATCH 04/31] lmb: remove local instances of the lmb structure variable

2024-06-12 Thread Simon Glass
Hi Tom, On Wed, 12 Jun 2024 at 11:22, Tom Rini wrote: > > On Tue, Jun 11, 2024 at 08:41:39PM -0600, Simon Glass wrote: > > [snip] > > Also IMO there is only really one LMB list today. We create it at the > > start of bootm and then it is done when we boot. The file-loading > > stuff is what makes

Re: [RFC PATCH 04/31] lmb: remove local instances of the lmb structure variable

2024-06-12 Thread Tom Rini
On Tue, Jun 11, 2024 at 08:41:39PM -0600, Simon Glass wrote: [snip] > Also IMO there is only really one LMB list today. We create it at the > start of bootm and then it is done when we boot. The file-loading > stuff is what makes all this confusing...and with bootstd that is > under control as wel

Re: [RFC PATCH 04/31] lmb: remove local instances of the lmb structure variable

2024-06-11 Thread Heinrich Schuchardt
Am 12. Juni 2024 04:41:39 MESZ schrieb Simon Glass : >Hi Tom, > >On Tue, 11 Jun 2024 at 16:55, Tom Rini wrote: >> >> On Tue, Jun 11, 2024 at 04:08:56PM -0600, Simon Glass wrote: >> > Hi Tom, >> > >> > On Tue, 11 Jun 2024 at 15:01, Tom Rini wrote: >> > > >> > > On Tue, Jun 11, 2024 at 12:52:22P

Re: [RFC PATCH 04/31] lmb: remove local instances of the lmb structure variable

2024-06-11 Thread Ilias Apalodimas
On Wed, 12 Jun 2024 at 05:41, Simon Glass wrote: > > Hi Tom, > > On Tue, 11 Jun 2024 at 16:55, Tom Rini wrote: > > > > On Tue, Jun 11, 2024 at 04:08:56PM -0600, Simon Glass wrote: > > > Hi Tom, > > > > > > On Tue, 11 Jun 2024 at 15:01, Tom Rini wrote: > > > > > > > > On Tue, Jun 11, 2024 at 12:5

Re: [RFC PATCH 04/31] lmb: remove local instances of the lmb structure variable

2024-06-11 Thread Simon Glass
Hi Tom, On Tue, 11 Jun 2024 at 16:55, Tom Rini wrote: > > On Tue, Jun 11, 2024 at 04:08:56PM -0600, Simon Glass wrote: > > Hi Tom, > > > > On Tue, 11 Jun 2024 at 15:01, Tom Rini wrote: > > > > > > On Tue, Jun 11, 2024 at 12:52:22PM -0600, Simon Glass wrote: > > > > Hi Sughosh, > > > > > > > > On

Re: [RFC PATCH 04/31] lmb: remove local instances of the lmb structure variable

2024-06-11 Thread Tom Rini
On Tue, Jun 11, 2024 at 04:08:56PM -0600, Simon Glass wrote: > Hi Tom, > > On Tue, 11 Jun 2024 at 15:01, Tom Rini wrote: > > > > On Tue, Jun 11, 2024 at 12:52:22PM -0600, Simon Glass wrote: > > > Hi Sughosh, > > > > > > On Fri, 7 Jun 2024 at 12:53, Sughosh Ganu wrote: > > > > > > > > With the mo

Re: [RFC PATCH 04/31] lmb: remove local instances of the lmb structure variable

2024-06-11 Thread Simon Glass
Hi Tom, On Tue, 11 Jun 2024 at 15:01, Tom Rini wrote: > > On Tue, Jun 11, 2024 at 12:52:22PM -0600, Simon Glass wrote: > > Hi Sughosh, > > > > On Fri, 7 Jun 2024 at 12:53, Sughosh Ganu wrote: > > > > > > With the move of the LMB structure to a persistent state, there is no > > > need to declare

Re: [RFC PATCH 04/31] lmb: remove local instances of the lmb structure variable

2024-06-11 Thread Tom Rini
On Tue, Jun 11, 2024 at 12:52:22PM -0600, Simon Glass wrote: > Hi Sughosh, > > On Fri, 7 Jun 2024 at 12:53, Sughosh Ganu wrote: > > > > With the move of the LMB structure to a persistent state, there is no > > need to declare the variable locally, and pass it as part of the LMB > > API's. Remove

Re: [RFC PATCH 04/31] lmb: remove local instances of the lmb structure variable

2024-06-11 Thread Simon Glass
Hi Sughosh, On Fri, 7 Jun 2024 at 12:53, Sughosh Ganu wrote: > > With the move of the LMB structure to a persistent state, there is no > need to declare the variable locally, and pass it as part of the LMB > API's. Remove all local variable instances and change the API's > correspondingly. > > Si

[RFC PATCH 04/31] lmb: remove local instances of the lmb structure variable

2024-06-07 Thread Sughosh Ganu
With the move of the LMB structure to a persistent state, there is no need to declare the variable locally, and pass it as part of the LMB API's. Remove all local variable instances and change the API's correspondingly. Signed-off-by: Sughosh Ganu --- arch/arc/lib/cache.c | 4 +