Re: [PATCH 05/11] platform/x86:intel/pmc: Move get_low_power_modes function

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.




[Index of Archives]     [Linux Kernel Development]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux