Re: [RFC PATCH] ARM: mach-shmobile: Parse DT to get ARCH timer memory region

2019-05-14 Thread Oleksandr
On 14.05.19 10:16, Geert Uytterhoeven wrote: Hi Oleksandr, Hi Geert On Mon, May 13, 2019 at 6:00 PM Oleksandr wrote: On 13.05.19 18:13, Geert Uytterhoeven wrote: So, if the DT bindings for the counter module is not an option (if I correctly understood a discussion pointed by Geert in

Re: [RFC PATCH] ARM: mach-shmobile: Parse DT to get ARCH timer memory region

2019-05-14 Thread Geert Uytterhoeven
Hi Oleksandr, On Mon, May 13, 2019 at 6:00 PM Oleksandr wrote: > On 13.05.19 18:13, Geert Uytterhoeven wrote: > >> So, if the DT bindings for the counter module is not an option (if I > >> correctly understood a discussion pointed by Geert in another letter), > >> we should probably prevent all

Re: [RFC PATCH] ARM: mach-shmobile: Parse DT to get ARCH timer memory region

2019-05-13 Thread Oleksandr
On 13.05.19 18:13, Geert Uytterhoeven wrote: Hi Oleksandr, Hi Geert So, if the DT bindings for the counter module is not an option (if I correctly understood a discussion pointed by Geert in another letter), we should probably prevent all timer code here from being executed if PSCI is in

Re: [RFC PATCH] ARM: mach-shmobile: Parse DT to get ARCH timer memory region

2019-05-13 Thread Geert Uytterhoeven
Hi Oleksandr, On Mon, May 13, 2019 at 4:22 PM Oleksandr wrote: > On 13.05.19 12:19, Julien Grall wrote: > > On 5/10/19 5:22 PM, Oleksandr Tyshchenko wrote: > >> From: Oleksandr Tyshchenko > >> > >> Don't use hardcoded address, retrieve it from device-tree instead. > >> > >> And besides, this

Re: [RFC PATCH] ARM: mach-shmobile: Parse DT to get ARCH timer memory region

2019-05-13 Thread Oleksandr
On 13.05.19 12:19, Julien Grall wrote: Hi, Hi, Julien, Geert On 5/10/19 5:22 PM, Oleksandr Tyshchenko wrote: From: Oleksandr Tyshchenko Don't use hardcoded address, retrieve it from device-tree instead. And besides, this patch fixes the memory error when running on top of Xen

Re: [RFC PATCH] ARM: mach-shmobile: Parse DT to get ARCH timer memory region

2019-05-13 Thread Geert Uytterhoeven
Hi Julien, On Mon, May 13, 2019 at 11:20 AM Julien Grall wrote: > On 5/10/19 5:22 PM, Oleksandr Tyshchenko wrote: > > From: Oleksandr Tyshchenko > > > > Don't use hardcoded address, retrieve it from device-tree instead. > > > > And besides, this patch fixes the memory error when running > > on

Re: [RFC PATCH] ARM: mach-shmobile: Parse DT to get ARCH timer memory region

2019-05-13 Thread Julien Grall
Hi, On 5/10/19 5:22 PM, Oleksandr Tyshchenko wrote: From: Oleksandr Tyshchenko Don't use hardcoded address, retrieve it from device-tree instead. And besides, this patch fixes the memory error when running on top of Xen hypervisor: (XEN) traps.c:1999:d0v0 HSR=0x93830007 pc=0xc0b097f8