From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751162AbdASISo (ORCPT ); Thu, 19 Jan 2017 03:18:44 -0500 Received: from mail-pf0-f180.google.com ([209.85.192.180]:35466 "EHLO mail-pf0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751023AbdASISl (ORCPT ); Thu, 19 Jan 2017 03:18:41 -0500 Subject: Re: [PATCH v2 2/3] cpu: expose pm_qos_resume_latency for each cpu To: Daniel Lezcano References: <1484227624-6740-1-git-send-email-alex.shi@linaro.org> <1484227624-6740-3-git-send-email-alex.shi@linaro.org> <20170117102330.GB2085@mai> Cc: Greg Kroah-Hartman , "Rafael J . Wysocki" , vincent.guittot@linaro.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Ulf Hansson From: Alex Shi Message-ID: <12535256-b518-ac7a-b293-3727f57c47fa@linaro.org> Date: Thu, 19 Jan 2017 16:18:29 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-Version: 1.0 In-Reply-To: <20170117102330.GB2085@mai> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 01/17/2017 06:23 PM, Daniel Lezcano wrote: >> > >> > @@ -376,6 +377,7 @@ int register_cpu(struct cpu *cpu, int num) >> > >> > per_cpu(cpu_sys_devices, num) = &cpu->dev; >> > register_cpu_under_node(num, cpu_to_node(num)); >> > + dev_pm_qos_expose_latency_limit(&cpu->dev, 0); > This patch should be submitted as the last patch in the latencies constraint > changes patchset IMO. It is pointless to provide an interface before a > feature which is still under discussion. Thanks for comments! will fold it into next patch!