[U-Boot] [PATCH v1 0/3] Enable PSCI services for booting Linux

Marek Vasut marex at denx.de
Thu May 9 08:15:05 UTC 2019


On 5/9/19 10:03 AM, Ang, Chee Hong wrote:
> On Thu, 2019-05-09 at 08:59 +0200, Marek Vasut wrote:
>> On 5/9/19 7:52 AM, Ang, Chee Hong wrote:
>>>
>>> On Mon, 2019-05-06 at 22:20 -0700, chee.hong.ang at intel.com wrote:
>>>>
>>>> From: "Ang, Chee Hong" <chee.hong.ang at intel.com>
>>>>
>>>> Add "SYTEM_RESET" (cold reset) and "CPU_ON" (SMP) PSCI support
>>>> for booting Linux on Stratix 10 platform.
>>>>
>>>> Ang, Chee Hong (3):
>>>>   ARM: socfpga: stratix10: Enable PSCI system reset
>>>>   ARM: socfpga: stratix10: Enable PSCI CPU_ON
>>>>   ARM: socfpga: stratix10: Enable PSCI support for Stratix 10
>>>>
>>>>  arch/arm/mach-socfpga/Kconfig  |  9 ++++++-
>>>>  arch/arm/mach-socfpga/Makefile |  3 +++
>>>>  arch/arm/mach-socfpga/psci.c   | 56
>>>> ++++++++++++++++++++++++++++++++++++++++++
>>>>  3 files changed, 67 insertions(+), 1 deletion(-)
>>>>  create mode 100644 arch/arm/mach-socfpga/psci.c
>>>>
>>> Hi Marek,
>>>
>>> Any comment on this ? These PSCI patches are needed for booting
>>> Linux
>>> on our S10 platform.
>> Same questions as in Re: [PATCH v1 0/3] Enable HPS execution stage
>> notification , can we stop adding more and more stuff to arch/ and
>> instead add it to drivers/ ? As you might have noticed, we are trying
>> to
>> remove stuff from arch/ and move as much as possible to drivers/ ,
>> but
>> S10 is doing the exact opposite :(
>>
> Not all PSCI code fit in DM (drivers/). There should be a good place to
> keep the PSCI code for our platform. Can you advise us where should we
> place those PSCI implementation other than arch/ ? 

Look through this discussion:
https://www.mail-archive.com/u-boot@lists.denx.de/msg319458.html
and possibly follow up on it.

-- 
Best regards,
Marek Vasut


More information about the U-Boot mailing list