[U-Boot] [PATCH 0/2] ARM: support System Reset via PSCI

Masahiro Yamada
2017-04-11T01:05:04Z

Hi Lukasz,

2017-04-10 18:16 GMT+09:00 Lukasz Majewski <lukma@denx.de>:
> Hi Masahiro,
>
>>
>> For ARMv8, the secure firmware (ex. ARM Trusted Firmware BL31) is
>> often implemented, making U-Boot a non-secure world boot loader.
>>
>> The secure firmware generally includes PSCI. The power management
>> operations, including System Reset, are supposed to be handled by
>> PSCI. In this case, U-Boot should not touch the system reset
>> directly. Instead, U-Boot should call PSCI service to reset the
>> system.
>>
>> In order to implement this, arm-smccc code is needed. The code
>> has been copied from Linux. (1/2)
>>
>> 2/2 implements a generic sysreset driver based on the PSCI
>> specification.
>
> I'm just wondering if it would be possible to:
>
> 1. Provide the exact Linux files (with SHA1) from main line
>
> 2. On top of this patch add u-boot adjustments
>
> 3. Add u-boot specific support for PSCI
>
> In this way we would have exact info about the source of porting (or
> was it ported exactly from v4.11-rc6 tag?)

I am OK with this.

I will wait for a little more comments
before sending v2.

Thanks!

--
Best Regards
Masahiro Yamada