[04/31] iwlwifi: pcie: add initial RTPM support for PCI
diff mbox

Message ID 0BA3FCBA62E2DC44AF3030971E174FB32E9F687B@hasmsx107.ger.corp.intel.com
State Not Applicable
Delegated to: Kalle Valo
Headers show

Commit Message

Emmanuel Grumbach Feb. 1, 2016, 2:43 p.m. UTC
On 02/01/2016 04:38 PM, Grumbach, Emmanuel wrote:
>
> On 02/01/2016 04:32 PM, Kalle Valo wrote:
>> Emmanuel Grumbach <emmanuel.grumbach@intel.com> writes:
>>
>>> From: Luca Coelho <luciano.coelho@intel.com>
>>>
>>> Add an initial implementation of runtime power management (RTPM) for
>>> PCI devices.  With this patch, RTPM is only used when wifi is off
>>> (i.e. the wifi interface is down).  This implementation is behind a
>>> new Kconfig flag, IWLWIFI_PCIE_RTPM.
>>>
>>> Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
>>> Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
>> [...]
>>
>>> --- a/drivers/net/wireless/intel/iwlwifi/Kconfig
>>> +++ b/drivers/net/wireless/intel/iwlwifi/Kconfig
>>> @@ -99,6 +99,18 @@ config IWLWIFI_UAPSD
>>>  
>>>  	  If unsure, say N.
>>>  
>>> +config IWLWIFI_PCIE_RTPM
>>> +       bool "Enable runtime power management mode for PCIe devices"
>>> +       depends on IWLMVM && IWLWIFI_PCIE && PM
>>> +       default false
>>> +       help
>>> +         Say Y here to enable runtime power management for PCIe
>>> +         devices.  If enabled, the device will go into low power mode
>>> +         when idle for a short period of time, allowing for improved
>>> +         power saving during runtime.
>>> +
>>> +	 If unsure, say N.
>> I didn't see the new option in menuconfig and then noticed that I can't
>> find IWLWIFI_PCIE anywhere. Is that correct?
>>
> Right... This option is not upstreamed yet...
> I'll respin. Sorry...
>

Next tag: iwlwifi-next-for-kalle-2016-01-31_2

$ git diff
iwlwifi-next-for-kalle-2016-01-31..iwlwifi-next-for-kalle-2016-01-31_2

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

Patch
diff mbox

diff --git a/drivers/net/wireless/intel/iwlwifi/Kconfig
b/drivers/net/wireless/intel/iwlwifi/Kconfig
index acaaf69..11932d5 100644
--- a/drivers/net/wireless/intel/iwlwifi/Kconfig
+++ b/drivers/net/wireless/intel/iwlwifi/Kconfig
@@ -101,7 +101,7 @@  config IWLWIFI_UAPSD
 
 config IWLWIFI_PCIE_RTPM
        bool "Enable runtime power management mode for PCIe devices"
-       depends on IWLMVM && IWLWIFI_PCIE && PM
+       depends on IWLMVM && PM
        default false
        help
          Say Y here to enable runtime power management for PCIe