Re: [PATCH] arm: mvebu: mbus: Fix mbus driver to work also after U-Boot relocation

2022-08-24 Thread Chris Packham
Hi Pali, On 23/08/22 11:00, Pali Rohár wrote: > On Wednesday 17 August 2022 08:17:36 Stefan Roese wrote: >> On 10.08.22 14:46, Pali Rohár wrote: >>> mbus driver is initialized from arch_cpu_init() callback which is called >>> before relocation. This driver stores lot of functions and structure

Re: [PATCH] arm: mvebu: mbus: Fix mbus driver to work also after U-Boot relocation

2022-08-23 Thread Stefan Roese
On 10.08.22 14:46, Pali Rohár wrote: mbus driver is initialized from arch_cpu_init() callback which is called before relocation. This driver stores lot of functions and structure pointers into global variables, so it is data position dependent. Therefore after relocations all pointers are

Re: [PATCH] arm: mvebu: mbus: Fix mbus driver to work also after U-Boot relocation

2022-08-22 Thread Tony Dinh
Hi Pali, On Mon, Aug 22, 2022 at 4:00 PM Pali Rohár wrote: > > On Wednesday 17 August 2022 08:17:36 Stefan Roese wrote: > > On 10.08.22 14:46, Pali Rohár wrote: > > > mbus driver is initialized from arch_cpu_init() callback which is called > > > before relocation. This driver stores lot of

Re: [PATCH] arm: mvebu: mbus: Fix mbus driver to work also after U-Boot relocation

2022-08-22 Thread Pali Rohár
On Wednesday 17 August 2022 08:17:36 Stefan Roese wrote: > On 10.08.22 14:46, Pali Rohár wrote: > > mbus driver is initialized from arch_cpu_init() callback which is called > > before relocation. This driver stores lot of functions and structure > > pointers into global variables, so it is data

Re: [PATCH] arm: mvebu: mbus: Fix mbus driver to work also after U-Boot relocation

2022-08-17 Thread Stefan Roese
On 10.08.22 14:46, Pali Rohár wrote: mbus driver is initialized from arch_cpu_init() callback which is called before relocation. This driver stores lot of functions and structure pointers into global variables, so it is data position dependent. Therefore after relocations all pointers are

Re: [PATCH] arm: mvebu: mbus: Fix mbus driver to work also after U-Boot relocation

2022-08-10 Thread Chris Packham
Hi Pali, On 11/08/22 00:46, Pali Rohár wrote: > mbus driver is initialized from arch_cpu_init() callback which is called > before relocation. This driver stores lot of functions and structure > pointers into global variables, so it is data position dependent. > > Therefore after relocations all