On Tue, 2023-09-26 at 18:56 +0300, Ilpo Järvinen wrote: > On Fri, 22 Sep 2023, David E. Box wrote: > > > From: Xi Pardee <xi.pardee@xxxxxxxxx> > > > > Some platforms will have a need to retrieve the low power modes as part of > > their driver initialization. As such, make the function global and call it > > from the platform specific init code. > > What is the real justification for this change, I don't think it's clearly > stated above? It needs to be moved from core code to platform init code so that (in patch 9) we can get the entry requirement list for the enabled modes, which won't be known before this function is ran. I'll update the changelog.