Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp878048imm; Wed, 11 Jul 2018 12:34:15 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfh+xjar514/G3tqgN4ubtbO6ZKBMjSuBVxjkDUqKGmfKfurM/tJQywKXckM6kmonK1Blvm X-Received: by 2002:a62:6941:: with SMTP id e62-v6mr26648624pfc.56.1531337655374; Wed, 11 Jul 2018 12:34:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531337655; cv=none; d=google.com; s=arc-20160816; b=jZ46Foxpmd5D9gAQhLuIW1vNI9J418oX0hj9v36ZvSbHdJndD42H+Nna1qBE1/masC vBuxZ+iwGny2M1LieQEZ1aG92LfxmkaVF/8fbJYaMQAI/gBJJVyyx9yJ6EHnusTCwImc h7wgB+PyofTN9Wk7c3l6ZS2Ojkt1V4hn0QZDSEEzfN7K4Gl4j8TSIv25P7XcOoItJ5Rz iJK7Lm05qlD0i1mvDaswYDVCmEc1B3yoWDsP2D8i87IEvnf/0Hr5Xk295ElJ+G4DMp+b xCd76PMCdfNg4M9fndaPdYS7dLS7xw8w9mM3vWWLw1UYnFnHLI3MBJR4RyWrJMtXJWq6 Px+A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:references:in-reply-to:mime-version :dkim-signature:arc-authentication-results; bh=38CRE1CTP3NqrPzqPPVnkNeKIc+5NJNTkJvnrJedePE=; b=tCYuDEyPCZPij1rV04DWpTHE8HqPMfxalI3vRuDh1iTPsrfM+Wm5MVRHrh1aLPojTY pCYxYgrj5++skzwU+MPwnAZyZswSprITWaKX8MwF2bUW3r4j3eAYE2UBCFbFPiFtNwX2 XZ8oLihS1gLhKcQymAQwYbEAifkn5BsMrwrRMCFQrmG3KosvjUVJveSHFL7aDty45A79 0K3tN05jEhrrWw5SNiKKOf+tWwsJD8NFriuGmDuggCNuPGU1kTRt4YhZpcSKvvK3BZkY hKPjpd+YWBTisPlpiRbfjCWpjXiL8xMVCw9BeAaObTfnlBi06f5z+VlalFx8od3YyFPd OxUQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=N7O01kLV; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d22-v6si15673821pgl.391.2018.07.11.12.33.59; Wed, 11 Jul 2018 12:34:15 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=N7O01kLV; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389815AbeGKRHp (ORCPT + 99 others); Wed, 11 Jul 2018 13:07:45 -0400 Received: from mail-pf0-f169.google.com ([209.85.192.169]:35720 "EHLO mail-pf0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726460AbeGKRHp (ORCPT ); Wed, 11 Jul 2018 13:07:45 -0400 Received: by mail-pf0-f169.google.com with SMTP id q7-v6so17708116pff.2; Wed, 11 Jul 2018 10:02:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=38CRE1CTP3NqrPzqPPVnkNeKIc+5NJNTkJvnrJedePE=; b=N7O01kLVE+UzJq+O9UR4xAjZXftrr4R2nJVMkFYWYR6y6aVUfMaHTwT8SwIONv2fc8 WieX7fs/umPa6t6t8sly6n/AHw/3VMsuEm/EJSQagbEUCmBeSYWvRp07Rggs8Bdib3e2 oIMcbdUOmKiS107UWPviE369ZqSNX1+43q4stI7SGWFKZQKxjv+GDIrkpTANSLJyp7lO fmVlT02JoP8UGH56pMrKO/VCTV/81gk12+/IiQfco/gbLmlQuSJsB+2yI3GPvAG05l30 UNEs4D6Tc6Q+5VO9JFvzd2gQnAh+NUqZSHMKFjSQdPAHXCwHUM4iQcy83HFLEGPc86s/ heEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=38CRE1CTP3NqrPzqPPVnkNeKIc+5NJNTkJvnrJedePE=; b=GYQWss0v6kzhs8w+g538QO/WoQ7BI2WQ9mHic6TPTYNYTg3Dc3hO/Slw3k+lOYl6Z5 HXWbSB73RKHYkDvLRqNtUM0wM8xJ9SBIGiVafulJyASOmx5Rx0C3/2THxxW0cVNkWfYa VdSH3AloUsdncVKDz35kn6Ai5pLO494IehkKmOcAt2+NFM/uU+Yie15b6xw2cRwAPlX0 emXif0YGJiI2bo6EfWWmKh9ZYyIU+gwphokVa5QeORk0ZNNYV7F4rs3gqf32TCrurUQJ VSa2eA0Bz5bS8FqeQFU2AtgP7Xcsd1pkcjE6T+pgwcr+hLTlcapQGfSB5RlL9Z8L01jL H1MQ== X-Gm-Message-State: APt69E0sxWUsH4dm23FldtItDtSaIdxesyDox1Z9PlcLXfpN3l4vsJrw vtdIhssWGm8Oihev9sK5w7r6nG+39/7woqr3CT753A== X-Received: by 2002:a65:62ce:: with SMTP id m14-v6mr27335719pgv.407.1531328550930; Wed, 11 Jul 2018 10:02:30 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a17:90a:1789:0:0:0:0 with HTTP; Wed, 11 Jul 2018 10:02:30 -0700 (PDT) In-Reply-To: <20180710055847epcms1p2eed3f89ae0220a06051faa83cc8b21ed@epcms1p2> References: <20180710055847epcms1p2eed3f89ae0220a06051faa83cc8b21ed@epcms1p2> From: noman pouigt Date: Wed, 11 Jul 2018 10:02:30 -0700 Message-ID: Subject: Re: Re: devfreq relation with pm qos To: myungjoo.ham@samsung.com Cc: "linux-pm@vger.kernel.org" , Kyungmin Park , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jul 9, 2018 at 10:58 PM, MyungJoo Ham wr= ote: >> + dev freq maintainters. >> >> On Mon, Jul 9, 2018 at 3:37 AM, noman pouigt wrote: >> > folks, >> > >> > I am trying to figure out the relationship between PM QOS >> > with devfreq framework. I see this thread[1] where MyungJoo >> > talks about QOS and devfreq but that control is through >> > sysfs but I don't see any relation of pm qos (kernel/power/qos.c) >> > with devfreq directly as devfreq is not calling any of the QOS >> > api's. Is this intended? >> > >> > Isn't QOS value update using pm_qos_update_request has a >> > direct relation with devfreq drivers i.e. setting the value to >> > high or low selects the corresponding voltage and frequency >> > setting in devfreq framework? I went through the devfreq >> > drivers and couldn't find that relationship. Is this by design or >> > I am missing something very obvious? >> > >> > [1] https://lwn.net/Articles/484161/ > > Hello, > > Unfortunately, the suggested concept in the referred article was not ever > accepted in the mainline. MyungJo, I am trying to understand the relationship of PM QOS with devfreq drivers. I don't see any relation of PM QOS api's with devfreq driv= ers directly as there are no QOS apis used in the devfreq framework. The only explanation I have is that PM QOS has direct relationship with CPUFREQ driver and as CPUFREQ driver works with CPU frequency and that CPU frequency directly affects DEVFREQ drivers as devfreq driver maps CPU frequency to device frequency and that is why PM QOS doesn=E2=80=99t have direct relation with PM QOS. Is my understanding right? > > Cheers, > MyungJo