diff mbox

[U-Boot,09/10] sunxi: Enable PSCI on sun9i/A80

Message ID 20161109102136.13479-10-wens@csie.org
State Superseded
Delegated to: Jagannadha Sutradharudu Teki
Headers show

Commit Message

Chen-Yu Tsai Nov. 9, 2016, 10:21 a.m. UTC
Now that we have a basic version of PSCI firmware, enable non-secure
boot and PSCI on the A80.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
---
 board/sunxi/Kconfig | 4 ++++
 1 file changed, 4 insertions(+)

Comments

Hans de Goede Nov. 13, 2016, 7:08 p.m. UTC | #1
Hi,

On 09-11-16 11:21, Chen-Yu Tsai wrote:
> Now that we have a basic version of PSCI firmware, enable non-secure
> boot and PSCI on the A80.
>
> Signed-off-by: Chen-Yu Tsai <wens@csie.org>

LGTM:

Reviewed-by: Hans de Goede <hdegoede@redhat.com>

Regards,

Hans


> ---
>  board/sunxi/Kconfig | 4 ++++
>  1 file changed, 4 insertions(+)
>
> diff --git a/board/sunxi/Kconfig b/board/sunxi/Kconfig
> index e1d4ab148f08..ae2fba1368cc 100644
> --- a/board/sunxi/Kconfig
> +++ b/board/sunxi/Kconfig
> @@ -118,8 +118,12 @@ config MACH_SUN8I_H3
>  config MACH_SUN9I
>  	bool "sun9i (Allwinner A80)"
>  	select CPU_V7
> +	select CPU_V7_HAS_NONSEC
> +	select CPU_V7_HAS_VIRT
> +	select ARCH_SUPPORT_PSCI
>  	select SUNXI_GEN_SUN6I
>  	select SUPPORT_SPL
> +	select ARMV7_BOOT_SEC_DEFAULT if OLD_SUNXI_KERNEL_COMPAT
>
>  config MACH_SUN50I
>  	bool "sun50i (Allwinner A64)"
>
Jagan Teki April 3, 2017, 12:13 p.m. UTC | #2
I this this series is already merged as with latest changes on tree,
but still shows 'New' in patchwork, Can someone confirm then I will
update the same?

On Wed, Nov 9, 2016 at 3:51 PM, Chen-Yu Tsai <wens@csie.org> wrote:
> Now that we have a basic version of PSCI firmware, enable non-secure
> boot and PSCI on the A80.
>
> Signed-off-by: Chen-Yu Tsai <wens@csie.org>
> ---
>  board/sunxi/Kconfig | 4 ++++
>  1 file changed, 4 insertions(+)
>
> diff --git a/board/sunxi/Kconfig b/board/sunxi/Kconfig
> index e1d4ab148f08..ae2fba1368cc 100644
> --- a/board/sunxi/Kconfig
> +++ b/board/sunxi/Kconfig
> @@ -118,8 +118,12 @@ config MACH_SUN8I_H3
>  config MACH_SUN9I
>         bool "sun9i (Allwinner A80)"
>         select CPU_V7
> +       select CPU_V7_HAS_NONSEC
> +       select CPU_V7_HAS_VIRT
> +       select ARCH_SUPPORT_PSCI
>         select SUNXI_GEN_SUN6I
>         select SUPPORT_SPL
> +       select ARMV7_BOOT_SEC_DEFAULT if OLD_SUNXI_KERNEL_COMPAT
>
>  config MACH_SUN50I
>         bool "sun50i (Allwinner A64)"
> --
> 2.10.2
>
> _______________________________________________
> U-Boot mailing list
> U-Boot@lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
Chen-Yu Tsai April 3, 2017, 12:17 p.m. UTC | #3
Hi,

On Mon, Apr 3, 2017 at 8:13 PM, Jagan Teki <jagannadh.teki@gmail.com> wrote:
> I this this series is already merged as with latest changes on tree,
> but still shows 'New' in patchwork, Can someone confirm then I will
> update the same?

The series is on hold, as it breaks Linux. I've identified the culprit
(non-secure world access to the GIC is actually secure) but the fix is
really nasty and I haven't tested it reliably yet.

ChenYu

> On Wed, Nov 9, 2016 at 3:51 PM, Chen-Yu Tsai <wens@csie.org> wrote:
>> Now that we have a basic version of PSCI firmware, enable non-secure
>> boot and PSCI on the A80.
>>
>> Signed-off-by: Chen-Yu Tsai <wens@csie.org>
>> ---
>>  board/sunxi/Kconfig | 4 ++++
>>  1 file changed, 4 insertions(+)
>>
>> diff --git a/board/sunxi/Kconfig b/board/sunxi/Kconfig
>> index e1d4ab148f08..ae2fba1368cc 100644
>> --- a/board/sunxi/Kconfig
>> +++ b/board/sunxi/Kconfig
>> @@ -118,8 +118,12 @@ config MACH_SUN8I_H3
>>  config MACH_SUN9I
>>         bool "sun9i (Allwinner A80)"
>>         select CPU_V7
>> +       select CPU_V7_HAS_NONSEC
>> +       select CPU_V7_HAS_VIRT
>> +       select ARCH_SUPPORT_PSCI
>>         select SUNXI_GEN_SUN6I
>>         select SUPPORT_SPL
>> +       select ARMV7_BOOT_SEC_DEFAULT if OLD_SUNXI_KERNEL_COMPAT
>>
>>  config MACH_SUN50I
>>         bool "sun50i (Allwinner A64)"
>> --
>> 2.10.2
>>
>> _______________________________________________
>> U-Boot mailing list
>> U-Boot@lists.denx.de
>> http://lists.denx.de/mailman/listinfo/u-boot
>
>
>
> --
> Jagan Teki
> Free Software Engineer | www.openedev.com
> U-Boot, Linux | Upstream Maintainer
> Hyderabad, India.
diff mbox

Patch

diff --git a/board/sunxi/Kconfig b/board/sunxi/Kconfig
index e1d4ab148f08..ae2fba1368cc 100644
--- a/board/sunxi/Kconfig
+++ b/board/sunxi/Kconfig
@@ -118,8 +118,12 @@  config MACH_SUN8I_H3
 config MACH_SUN9I
 	bool "sun9i (Allwinner A80)"
 	select CPU_V7
+	select CPU_V7_HAS_NONSEC
+	select CPU_V7_HAS_VIRT
+	select ARCH_SUPPORT_PSCI
 	select SUNXI_GEN_SUN6I
 	select SUPPORT_SPL
+	select ARMV7_BOOT_SEC_DEFAULT if OLD_SUNXI_KERNEL_COMPAT
 
 config MACH_SUN50I
 	bool "sun50i (Allwinner A64)"