Re: [U-Boot] [PATCH] initcall: Move to inline function

2019-02-10 Thread Tom Rini
On Sun, Feb 10, 2019 at 02:48:32PM +0100, Alexander Graf wrote: > > > > Am 10.02.2019 um 14:16 schrieb Tom Rini : > > > >> On Fri, Feb 08, 2019 at 08:58:18AM +0100, Alexander Graf wrote: > >> > >> > >>> Am 08.02.2019 um 05:11 schrieb Simon Glass : > >>> > >>> Hi Alex, > >>> > On Sat, 2

Re: [U-Boot] [PATCH] initcall: Move to inline function

2019-02-10 Thread Alexander Graf
> Am 10.02.2019 um 14:16 schrieb Tom Rini : > >> On Fri, Feb 08, 2019 at 08:58:18AM +0100, Alexander Graf wrote: >> >> >>> Am 08.02.2019 um 05:11 schrieb Simon Glass : >>> >>> Hi Alex, >>> On Sat, 2 Feb 2019 at 09:07, Alexander Graf wrote: > Am 02.02.2019 um

Re: [U-Boot] [PATCH] initcall: Move to inline function

2019-02-10 Thread Tom Rini
On Fri, Feb 08, 2019 at 08:58:18AM +0100, Alexander Graf wrote: > > > > Am 08.02.2019 um 05:11 schrieb Simon Glass : > > > > Hi Alex, > > > >> On Sat, 2 Feb 2019 at 09:07, Alexander Graf wrote: > >> > >> > >> > >>> Am 02.02.2019 um 15:13 schrieb Simon Glass : > >>> > >>> Hi Alex, > >>> >

Re: [U-Boot] [PATCH] initcall: Move to inline function

2019-02-10 Thread Simon Glass
Hi Alex, On Fri, 8 Feb 2019 at 01:58, Alexander Graf wrote: > > > > > Am 08.02.2019 um 05:11 schrieb Simon Glass : > > > > Hi Alex, > > > >> On Sat, 2 Feb 2019 at 09:07, Alexander Graf wrote: > >> > >> > >> > >>> Am 02.02.2019 um 15:13 schrieb Simon Glass : > >>> > >>> Hi Alex, > >>> > On

Re: [U-Boot] [PATCH] initcall: Move to inline function

2019-02-07 Thread Alexander Graf
> Am 08.02.2019 um 05:11 schrieb Simon Glass : > > Hi Alex, > >> On Sat, 2 Feb 2019 at 09:07, Alexander Graf wrote: >> >> >> >>> Am 02.02.2019 um 15:13 schrieb Simon Glass : >>> >>> Hi Alex, >>> On Thu, 31 Jan 2019 at 08:06, Alexander Graf wrote: The board_r init

Re: [U-Boot] [PATCH] initcall: Move to inline function

2019-02-07 Thread Simon Glass
Hi Alex, On Sat, 2 Feb 2019 at 09:07, Alexander Graf wrote: > > > > > Am 02.02.2019 um 15:13 schrieb Simon Glass : > > > > Hi Alex, > > > >> On Thu, 31 Jan 2019 at 08:06, Alexander Graf wrote: > >> > >> The board_r init function was complaining that we are looping through > >> an array, calling

Re: [U-Boot] [PATCH] initcall: Move to inline function

2019-02-02 Thread Alexander Graf
> Am 02.02.2019 um 15:13 schrieb Simon Glass : > > Hi Alex, > >> On Thu, 31 Jan 2019 at 08:06, Alexander Graf wrote: >> >> The board_r init function was complaining that we are looping through >> an array, calling all our tiny init stubs sequentially via indirect >> function calls (which

Re: [U-Boot] [PATCH] initcall: Move to inline function

2019-02-02 Thread Simon Glass
Hi Alex, On Thu, 31 Jan 2019 at 08:06, Alexander Graf wrote: > > The board_r init function was complaining that we are looping through > an array, calling all our tiny init stubs sequentially via indirect > function calls (which can't be speculated, so they are slow). Is this a compiler

[U-Boot] [PATCH] initcall: Move to inline function

2019-01-31 Thread Alexander Graf
The board_r init function was complaining that we are looping through an array, calling all our tiny init stubs sequentially via indirect function calls (which can't be speculated, so they are slow). The solution to that is pretty easy though. All we need to do is inline the function that loops