Re: [RESEND][PATCH v2] firmware/psci: add support for SYSTEM_RESET2

2019-04-12 Thread Sudeep Holla
On Thu, Apr 11, 2019 at 09:26:37PM +0300, Aaro Koskinen wrote: > Hi, > > On Thu, Apr 11, 2019 at 05:49:36PM +0100, Sudeep Holla wrote: > > On Thu, Apr 11, 2019 at 11:42:28AM +, Koskinen, Aaro (Nokia - FI/Espoo) > > wrote: > > > From: Sudeep Holla [sudeep.ho...@arm.com]: > > > > static void ps

Re: [RESEND][PATCH v2] firmware/psci: add support for SYSTEM_RESET2

2019-04-11 Thread Aaro Koskinen
Hi, On Thu, Apr 11, 2019 at 05:49:36PM +0100, Sudeep Holla wrote: > On Thu, Apr 11, 2019 at 11:42:28AM +, Koskinen, Aaro (Nokia - FI/Espoo) > wrote: > > From: Sudeep Holla [sudeep.ho...@arm.com]: > > > static void psci_sys_reset(enum reboot_mode reboot_mode, const char *cmd) > > > { > > > +

Re: [RESEND][PATCH v2] firmware/psci: add support for SYSTEM_RESET2

2019-04-11 Thread Sudeep Holla
On Thu, Apr 11, 2019 at 11:42:28AM +, Koskinen, Aaro (Nokia - FI/Espoo) wrote: > Hi, > > From: Sudeep Holla [sudeep.ho...@arm.com]: > > static void psci_sys_reset(enum reboot_mode reboot_mode, const char *cmd) > > { > > + if ((reboot_mode == REBOOT_WARM || reboot_mode == REBOOT_SOFT)

Re: [RESEND][PATCH v2] firmware/psci: add support for SYSTEM_RESET2

2019-04-11 Thread Sudeep Holla
On Thu, Apr 11, 2019 at 12:03:04PM +0100, Mark Rutland wrote: > On Thu, Apr 11, 2019 at 11:33:46AM +0100, Sudeep Holla wrote: > > PSCI v1.1 introduced SYSTEM_RESET2 to allow both architectural resets > > where the semantics are described by the PSCI specification itself as > > well as vendor-specif

RE: [RESEND][PATCH v2] firmware/psci: add support for SYSTEM_RESET2

2019-04-11 Thread Koskinen, Aaro (Nokia - FI/Espoo)
Hi, From: Sudeep Holla [sudeep.ho...@arm.com]: > static void psci_sys_reset(enum reboot_mode reboot_mode, const char *cmd) > { > + if ((reboot_mode == REBOOT_WARM || reboot_mode == REBOOT_SOFT) && I would omit the REBOOT_SOFT here. > + psci_system_reset2_supported) > +

Re: [RESEND][PATCH v2] firmware/psci: add support for SYSTEM_RESET2

2019-04-11 Thread Mark Rutland
On Thu, Apr 11, 2019 at 11:33:46AM +0100, Sudeep Holla wrote: > PSCI v1.1 introduced SYSTEM_RESET2 to allow both architectural resets > where the semantics are described by the PSCI specification itself as > well as vendor-specific resets. Currently only system warm reset > semantics is defined as

[RESEND][PATCH v2] firmware/psci: add support for SYSTEM_RESET2

2019-04-11 Thread Sudeep Holla
PSCI v1.1 introduced SYSTEM_RESET2 to allow both architectural resets where the semantics are described by the PSCI specification itself as well as vendor-specific resets. Currently only system warm reset semantics is defined as part of architectural resets by the specification. This patch impleme

Re: [PATCH v2] firmware/psci: add support for SYSTEM_RESET2

2018-07-30 Thread Michal Simek
Hi Sudeep, On 26.7.2018 15:29, Sudeep Holla wrote: > Hi Michal, > > Sorry somehow missed this email. > > On 19/07/18 11:47, Michal Simek wrote: >> On 9.7.2018 15:21, Sudeep Holla wrote: > > [...] > >>> >>> I think with efi_reboot, if user execute the command "reboot warm", it >>> will set REBO

Re: [PATCH v2] firmware/psci: add support for SYSTEM_RESET2

2018-07-26 Thread Sudeep Holla
Hi Michal, Sorry somehow missed this email. On 19/07/18 11:47, Michal Simek wrote: > On 9.7.2018 15:21, Sudeep Holla wrote: [...] >> >> I think with efi_reboot, if user execute the command "reboot warm", it >> will set REBOOT_WARM. I was thinking something similar for psci too. I >> can drop RE

Re: [PATCH v2] firmware/psci: add support for SYSTEM_RESET2

2018-07-19 Thread Michal Simek
On 9.7.2018 15:21, Sudeep Holla wrote: > > > On 09/07/18 14:13, Michal Simek wrote: >> On 9.7.2018 14:36, Sudeep Holla wrote: >>> >>> >>> On 09/07/18 13:17, Michal Simek wrote: Hi Sudeep, On 2.5.2018 12:30, Sudeep Holla wrote: > PSCI v1.1 introduced SYSTEM_RESET2 to allow both

Re: [PATCH v2] firmware/psci: add support for SYSTEM_RESET2

2018-07-09 Thread Sudeep Holla
On 09/07/18 14:13, Michal Simek wrote: > On 9.7.2018 14:36, Sudeep Holla wrote: >> >> >> On 09/07/18 13:17, Michal Simek wrote: >>> Hi Sudeep, >>> >>> On 2.5.2018 12:30, Sudeep Holla wrote: PSCI v1.1 introduced SYSTEM_RESET2 to allow both architectural resets where the semantics are de

Re: [PATCH v2] firmware/psci: add support for SYSTEM_RESET2

2018-07-09 Thread Michal Simek
On 9.7.2018 14:36, Sudeep Holla wrote: > > > On 09/07/18 13:17, Michal Simek wrote: >> Hi Sudeep, >> >> On 2.5.2018 12:30, Sudeep Holla wrote: >>> PSCI v1.1 introduced SYSTEM_RESET2 to allow both architectural resets >>> where the semantics are described by the PSCI specification itself as >>> we

Re: [PATCH v2] firmware/psci: add support for SYSTEM_RESET2

2018-07-09 Thread Sudeep Holla
On 09/07/18 13:17, Michal Simek wrote: > Hi Sudeep, > > On 2.5.2018 12:30, Sudeep Holla wrote: >> PSCI v1.1 introduced SYSTEM_RESET2 to allow both architectural resets >> where the semantics are described by the PSCI specification itself as >> well as vendor-specific resets. Currently only syst

Re: [PATCH v2] firmware/psci: add support for SYSTEM_RESET2

2018-07-09 Thread Michal Simek
Hi Sudeep, On 2.5.2018 12:30, Sudeep Holla wrote: > PSCI v1.1 introduced SYSTEM_RESET2 to allow both architectural resets > where the semantics are described by the PSCI specification itself as > well as vendor-specific resets. Currently only system warm reset > semantics is defined as part of arc

[PATCH v2] firmware/psci: add support for SYSTEM_RESET2

2018-05-02 Thread Sudeep Holla
PSCI v1.1 introduced SYSTEM_RESET2 to allow both architectural resets where the semantics are described by the PSCI specification itself as well as vendor-specific resets. Currently only system warm reset semantics is defined as part of architectural resets by the specification. This patch impleme