Re: [PATCH V4 16/16] ARM64: tegra: select PM_GENERIC_DOMAINS
From: Ulf Hansson <hidden>
Date: 2016-01-27 09:43:22
Also in:
linux-arm-kernel, linux-pm, linux-tegra, lkml
From: Ulf Hansson <hidden>
Date: 2016-01-27 09:43:22
Also in:
linux-arm-kernel, linux-pm, linux-tegra, lkml
[...]
Any more thoughts on this? I have been discussing with Thierry and we think that selecting PM for tegra still makes the most sense. The question is, is this ok for multi-configs?
Yes, this is too me the best option. Additionally, for those tegra SoCs/platforms that needs PM_GENERIC_DOMAINS, it can safely select that as well.
The only other suggestion/thought I have is to allow PM_GENERIC_DOMAINS_OF to be selected independently of PM so that we can have minimal support for PM domains that allows you to register PM domains with the kernel and their current state, but does not allow you to control them, etc. This way tegra could always select PM_GENERIC_DOMAINS_OF regardless of PM, and we would be able to determine if we can probe a device safely. I am not sure that Rafael is too keen on this approach but that is the only alternative I have come up with.
I think Rafael already made his point around this approach, which is a clear no. And I fully agree with it. Kind regards Uffe