Re: [U-Boot] ARM64: How to protect spin-table code from U-Boot?

2016-05-08 Thread Alexander Graf
> Am 09.05.2016 um 00:57 schrieb Masahiro Yamada > : > > Hi Alex, > > > 2016-05-07 20:30 GMT+09:00 Alexander Graf : >> >> >>> On 07.05.16 09:12, Masahiro Yamada wrote: >>> Hi. >>> >>> I assume the following code in >>> arch/arm/cpu/armv8/start.S is for spin-table. >>> >>> >>> >>> #ifdef

Re: [U-Boot] ARM64: How to protect spin-table code from U-Boot?

2016-05-08 Thread Masahiro Yamada
Hi Alex, 2016-05-07 20:30 GMT+09:00 Alexander Graf : > > > On 07.05.16 09:12, Masahiro Yamada wrote: >> Hi. >> >> I assume the following code in >> arch/arm/cpu/armv8/start.S is for spin-table. >> >> >> >> #ifdef CONFIG_ARMV8_MULTIENTRY >>branch_if_master x0, x1, master_cpu >> >>/

Re: [U-Boot] ARM64: How to protect spin-table code from U-Boot?

2016-05-07 Thread Alexander Graf
On 07.05.16 09:12, Masahiro Yamada wrote: > Hi. > > I assume the following code in > arch/arm/cpu/armv8/start.S is for spin-table. > > > > #ifdef CONFIG_ARMV8_MULTIENTRY >branch_if_master x0, x1, master_cpu > >/* > * Slave CPUs > */ > slave_cpu: >wfe >

[U-Boot] ARM64: How to protect spin-table code from U-Boot?

2016-05-07 Thread Masahiro Yamada
Hi. I assume the following code in arch/arm/cpu/armv8/start.S is for spin-table. #ifdef CONFIG_ARMV8_MULTIENTRY branch_if_master x0, x1, master_cpu /* * Slave CPUs */ slave_cpu: wfe ldr x1, =CPU_RELEASE_ADDR ldr x0, [x1] cbz x0, slave_c