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

2019-05-09 Thread Marek Vasut
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@intel.com wrote:

 From: "Ang, Chee Hong" 

 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
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


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

2019-05-09 Thread Ang, Chee Hong
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@intel.com wrote:
> > > 
> > > From: "Ang, Chee Hong" 
> > > 
> > > 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/ ? 
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


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

2019-05-09 Thread Marek Vasut
On 5/9/19 7:52 AM, Ang, Chee Hong wrote:
> On Mon, 2019-05-06 at 22:20 -0700, chee.hong@intel.com wrote:
>> From: "Ang, Chee Hong" 
>>
>> 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 :(

-- 
Best regards,
Marek Vasut
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


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

2019-05-08 Thread Ang, Chee Hong
On Mon, 2019-05-06 at 22:20 -0700, chee.hong@intel.com wrote:
> From: "Ang, Chee Hong" 
> 
> 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.

BR,
Ang
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


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

2019-05-06 Thread chee . hong . ang
From: "Ang, Chee Hong" 

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

-- 
2.7.4

___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot