From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752983AbbDBTfZ (ORCPT ); Thu, 2 Apr 2015 15:35:25 -0400 Received: from mga11.intel.com ([192.55.52.93]:55903 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751249AbbDBTfU (ORCPT ); Thu, 2 Apr 2015 15:35:20 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.11,512,1422950400"; d="scan'208";a="708103288" Message-ID: <551D99F3.2080804@intel.com> Date: Thu, 02 Apr 2015 22:35:15 +0300 From: Adrian Hunter User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: Len Brown CC: Ulf Hansson , linux-mmc , "Rafael J. Wysocki" , Len Brown , Pavel Machek , Kevin Hilman , Tomeu Vizoso , Linux PM list , "linux-kernel@vger.kernel.org" Subject: Re: [RFC PATCH 0/4] mmc: sdhci: Support maximum DMA latency request via PM QoS References: <1427204440-3533-1-git-send-email-adrian.hunter@intel.com> In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 1/04/2015 10:59 p.m., Len Brown wrote: >> Ad hoc testing with Lenovo Thinkpad 10 showed a stress >> test could run for at least 24 hours with the patches, >> compared to less than an hour without. > > There is a patch in linux-next to delete C1E from BYT, > since it is problematic on multiple platforms. > I don't suppose that just disabling that state without disabling C6 > is sufficient to fix the Thinkpad 10? (I'm betting not, but > it can't hurt to try -- you can use the "disable" attribute for the state > in /sys/devices/system/cpu/cpu*/cpuidle/stateN) > > I think your choice of the PM_QOS sub-system here is the right one, > and that your selection of 20usec threshold is also a good choice > for what you want to do -- though on non-intel_idle machine somplace, > there may be some ACPI BIOS _CST with random number for C6 latency. > > It would be interesting to see how your C6 residency (turbostat > --debug will show this to you) > and your battery life are changed by disabling C6 during MMC activity. I will do some more testing as you suggest, although it will have to wait until next week due to Easter holidays here.