Re: [PATCH] sunxi: board: provide CPU idle states to loaded OS

2023-09-14 Thread Andrey Skvortsov
Hi Andre, On 23-09-11 23:15, Andre Przywara wrote: > On Wed, 6 Sep 2023 23:53:51 +0300 > Andrey Skvortsov wrote: > > > > > > > When using SCPI as the PSCI backend, firmware can wake up the CPUs > > > > > > and > > > > > > cluster from sleep, so CPU idle states are available for loaded OS > >

Re: [PATCH] sunxi: board: provide CPU idle states to loaded OS

2023-09-11 Thread Andre Przywara
On Wed, 6 Sep 2023 23:53:51 +0300 Andrey Skvortsov wrote: Hi Andrey, we seem to have a very different approach to the whole booting process, which makes this conversation quite involved. I understand how things have been traditionally handled in the past, in the embedded world (DTBs bundled

Re: [PATCH] sunxi: board: provide CPU idle states to loaded OS

2023-09-06 Thread Andrey Skvortsov
Hi Andre, On 23-09-06 01:12, Andre Przywara wrote: > On Tue, 5 Sep 2023 11:37:31 +0300 > Andrey Skvortsov wrote: > > Hi, > > > On 23-09-05 09:27, Andre Przywara wrote: > > > On Mon, 4 Sep 2023 23:54:30 +0300 > > > Andrey Skvortsov wrote: > > > > > > Hi Andrey, > > > > > > > When using

Re: [PATCH] sunxi: board: provide CPU idle states to loaded OS

2023-09-05 Thread Andre Przywara
On Tue, 5 Sep 2023 11:37:31 +0300 Andrey Skvortsov wrote: Hi, > On 23-09-05 09:27, Andre Przywara wrote: > > On Mon, 4 Sep 2023 23:54:30 +0300 > > Andrey Skvortsov wrote: > > > > Hi Andrey, > > > > > When using SCPI as the PSCI backend, firmware can wake up the CPUs and > > > cluster from

Re: [PATCH] sunxi: board: provide CPU idle states to loaded OS

2023-09-05 Thread Andrey Skvortsov
Hi Andrey, On 23-09-05 09:27, Andre Przywara wrote: > On Mon, 4 Sep 2023 23:54:30 +0300 > Andrey Skvortsov wrote: > > Hi Andrey, > > > When using SCPI as the PSCI backend, firmware can wake up the CPUs and > > cluster from sleep, so CPU idle states are available for loaded OS to > > use. TF-A

Re: [PATCH] sunxi: board: provide CPU idle states to loaded OS

2023-09-05 Thread Andre Przywara
On Mon, 4 Sep 2023 23:54:30 +0300 Andrey Skvortsov wrote: Hi Andrey, > When using SCPI as the PSCI backend, firmware can wake up the CPUs and > cluster from sleep, so CPU idle states are available for loaded OS to > use. TF-A modifies DTB to advertise available CPU idle states, when > SCPI is

[PATCH] sunxi: board: provide CPU idle states to loaded OS

2023-09-04 Thread Andrey Skvortsov
When using SCPI as the PSCI backend, firmware can wake up the CPUs and cluster from sleep, so CPU idle states are available for loaded OS to use. TF-A modifies DTB to advertise available CPU idle states, when SCPI is detected. This change copies nodes added by TF-A to any new dtb that is used for