Re: [RFD] PM_GENERIC_DOMAINS && !PM

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

 



On Monday, November 30, 2015 04:42:46 PM Jon Hunter wrote:
> Currently, if PM is disabled in the kernel then so is
> PM_GENERIC_DOMAINS. Although this makes sense, I can see a scenario
> where having minimal genpd support could be advantageous.
> 
> I am looking at enabling genpd for Tegra and ideally we would populate
> the power domains when the platform device is probed for the power
> management controller (PMC) as this device contains the registers for
> enabling the power domains.
> 
> This works fine for the case where PM is enabled, but I am concerned
> about the case where we don't have PM enabled in the kernel. In this
> case, because domains are not populated early during the boot process, I
> am concerned that there is a chance for a device dependent on a power
> domain to be probed before the PMC device has been probed and had chance
> to turn on any power domains.

So make the !PM case invalid for that platform.

Seriously, either PM is mandatory, or it isn't.  If it is mandatory, make it so
instead of pretending that you can live without it.

Thanks,
Rafael

--
To unsubscribe from this list: send the line "unsubscribe linux-tegra" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



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

  Powered by Linux