From patchwork Tue Feb 21 07:53:04 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kai-Heng Feng X-Patchwork-Id: 730479 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) by ozlabs.org (Postfix) with ESMTP id 3vSKG23Chrz9s7b; Tue, 21 Feb 2017 23:15:38 +1100 (AEDT) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.76) (envelope-from ) id 1cg9Lw-0004Br-4w; Tue, 21 Feb 2017 12:15:32 +0000 Received: from youngberry.canonical.com ([91.189.89.112]) by huckleberry.canonical.com with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.76) (envelope-from ) id 1cg5G3-0006od-Gl for kernel-team@lists.ubuntu.com; Tue, 21 Feb 2017 07:53:11 +0000 Received: from [175.41.48.77] (helo=localhost) by youngberry.canonical.com with esmtpsa (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.76) (envelope-from ) id 1cg5G2-0004ya-OW for kernel-team@lists.ubuntu.com; Tue, 21 Feb 2017 07:53:11 +0000 From: Kai-Heng Feng To: kernel-team@lists.ubuntu.com Subject: [PATCH] PM / QoS: Export dev_pm_qos_update_user_latency_tolerance Date: Tue, 21 Feb 2017 15:53:04 +0800 Message-Id: <20170221075304.30131-2-kai.heng.feng@canonical.com> X-Mailer: git-send-email 2.11.1 In-Reply-To: <20170221075304.30131-1-kai.heng.feng@canonical.com> References: <20170221075304.30131-1-kai.heng.feng@canonical.com> X-Mailman-Approved-At: Tue, 21 Feb 2017 12:15:31 +0000 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.14 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: kernel-team-bounces@lists.ubuntu.com From: Andrew Lutomirski BugLink: https://bugs.launchpad.net/bugs/1666401 nvme wants a module parameter that overrides the default latency tolerance. This makes it easy for nvme to reflect that default in sysfs. Signed-off-by: Andy Lutomirski Signed-off-by: Rafael J. Wysocki (cherry picked from commit 034e7906211c18c230ef4da43a1c44796dd5b95e) Signed-off-by: Kai-Heng Feng Acked-by: Colin Ian King --- drivers/base/power/qos.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/base/power/qos.c b/drivers/base/power/qos.c index 7f3646e459cb..492611eebf39 100644 --- a/drivers/base/power/qos.c +++ b/drivers/base/power/qos.c @@ -883,6 +883,7 @@ int dev_pm_qos_update_user_latency_tolerance(struct device *dev, s32 val) mutex_unlock(&dev_pm_qos_mtx); return ret; } +EXPORT_SYMBOL_GPL(dev_pm_qos_update_user_latency_tolerance); /** * dev_pm_qos_expose_latency_tolerance - Expose latency tolerance to userspace