Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp5424806ybv; Tue, 11 Feb 2020 15:40:44 -0800 (PST) X-Google-Smtp-Source: APXvYqz4yFmX9K+yddE/8Lq6eprIHEkONLBg+AWmvlFQkC5Ol5HEBl8+0kqhoNfGp5nWAsCLFydK X-Received: by 2002:a9d:4c8c:: with SMTP id m12mr7400627otf.312.1581464444197; Tue, 11 Feb 2020 15:40:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581464444; cv=none; d=google.com; s=arc-20160816; b=wurbOMH2QhOmhoaek4sN8mSAzT/xTT8mAxmckf2TOwism05LKa3djQ+vIpPsHeKJeZ sniEncHYZEBfzLuJNVr6+4b3i9kh4/xE6pqf8882YAZ6PCWRZhVTNsDaRzwSocMgN5WI 8/Qq6hvIwJrEtfOwtifWzyOd1o9Un7HLBwKyv7JB7TSliR91l70vefazphpcVpygtAzY B37bX0EaghWmioHYAyUHXMm/Us0BV6+Z5ju48rJVVfAa22k9wyfsSRUXsW8WmFq/3KYX SNgEGUffPpSzZRh66h8B/j2IdRCmb03y/8nj1oPOU0w/RDFuOms4HSW6+z1k/CeHaUWA 80ew== 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:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=mPHhz9NJj9txcjrPQDeBE0A0NPkw42Qk+ue34fQK0+4=; b=YmNq8nrXvGAoerOOmbK9P0tG5EAZP7X8VUQSfrhVvEFyKcuQ0Jxgg2IvPJh6RS+SQG 4WQshszqJOjbQk31DrMyZplpV08bAP2cEI66TO19FG62dEbfUKWHQ4DMBGh9S8Y8uz+J 3Yeu8Pa3ziyodcgQGE26yZjv+PLY7R3UMEJ2EgHqErjoomfGMM5ccyDN3bjPHitg2F4m /YCPPar/+76Odw2PekIlUxfQLs6dP7A5tUkjSm5L0JzCFkn9sxlUVyAHEUIAmh1wUP4h LU2hMABT1vQq3HH9rc4UkxijrFw+I6Nx6XAYz9UHrObDX5Av+ieGLfwV43fphPqTheJ/ 0YXw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x12si2589238oto.194.2020.02.11.15.40.32; Tue, 11 Feb 2020 15:40:44 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727911AbgBKXkE (ORCPT + 99 others); Tue, 11 Feb 2020 18:40:04 -0500 Received: from cloudserver094114.home.pl ([79.96.170.134]:46019 "EHLO cloudserver094114.home.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728117AbgBKXiv (ORCPT ); Tue, 11 Feb 2020 18:38:51 -0500 Received: from 79.184.254.199.ipv4.supernova.orange.pl (79.184.254.199) (HELO kreacher.localnet) by serwer1319399.home.pl (79.96.170.134) with SMTP (IdeaSmtpServer 0.83.341) id 7e947757f6db853b; Wed, 12 Feb 2020 00:38:48 +0100 From: "Rafael J. Wysocki" To: Linux PM Cc: LKML , Amit Kucheria , Daniel Lezcano Subject: [PATCH 14/28] cpuidle: Call cpu_latency_qos_limit() instead of pm_qos_request() Date: Wed, 12 Feb 2020 00:08:42 +0100 Message-ID: <3830254.4za0FlGIKD@kreacher> In-Reply-To: <1654227.8mz0SueHsU@kreacher> References: <1654227.8mz0SueHsU@kreacher> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: "Rafael J. Wysocki" Call cpu_latency_qos_limit() instead of pm_qos_request(), because the latter is going to be dropped. No intentional functional impact. Signed-off-by: Rafael J. Wysocki --- drivers/cpuidle/governor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/cpuidle/governor.c b/drivers/cpuidle/governor.c index e48271e117a3..29acaf48e575 100644 --- a/drivers/cpuidle/governor.c +++ b/drivers/cpuidle/governor.c @@ -109,9 +109,9 @@ int cpuidle_register_governor(struct cpuidle_governor *gov) */ s64 cpuidle_governor_latency_req(unsigned int cpu) { - int global_req = pm_qos_request(PM_QOS_CPU_DMA_LATENCY); struct device *device = get_cpu_device(cpu); int device_req = dev_pm_qos_raw_resume_latency(device); + int global_req = cpu_latency_qos_limit(); if (device_req > global_req) device_req = global_req; -- 2.16.4