From patchwork Mon Apr 2 07:20:53 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viresh Kumar X-Patchwork-Id: 132646 Delivered-To: patch@linaro.org Received: by 10.46.84.29 with SMTP id i29csp2278239ljb; Mon, 2 Apr 2018 00:21:00 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+B45a8sFGZiVO3raYIeXeDsZwTe6vDMOTFKHHLdpzIgb3H3Bv0mu7Kib8mF0hGiS+g5dew X-Received: by 10.98.226.23 with SMTP id a23mr6508745pfi.157.1522653660689; Mon, 02 Apr 2018 00:21:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522653660; cv=none; d=google.com; s=arc-20160816; b=uDEU2jfifxxXkqi/LJVKGX4nGl9TRzN8MF3MnrgOM308+DrLGyv8O2DI9l5GsVBY9J Ze0Zqan+eN7EUAnyl9HNMKnMM4q1dJPnx/7Ya/Jsq5hLfgRIqxn10dbp8Bxw+A63esqz +yRLOrP6SrVuvXXTtI39lfSOgpNTn3hskO3ulduXf9CLzmpkJItcJ9td2ybeOzvPAIVy 9P7sdwMXAzSR6kfL0ApAm5cQ4cco3jXgdB3aTzBmXSmAJ2gaXTy/2fkTkY1wtwXg+z2u /HQXn+PRZbjvYk5BVFwGk1G39HQHgLd/XXUAfqqB52coFAAXUwvsNCfx+klbK6eEOa02 O9sQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=j/LoetsbGNSwErTL0pHf99o9TWQfkEH0kCB3bSSVaRo=; b=KWIXSFYlPBQAdRo3iGuxm5ScgXuGioBoxja3TR+OIX2BYLWcgxd43R4g6Z4QxFeefZ F6wvnHurv1F7wHjSNJlp9pX74E/JMXm/bSbQHBGs4ScBvo/00/LDbBcOSivXryieNdjE Mg58xwQ2AivguVEEFEy8o/nIT2bPUYqlbSIKeWAwVMHfWW1D5gYEWPT2bHAGymlcLxtv 1OfRM/qspYVuAbeVFg8AKBFRGHc5ppxK4CEOy4ifH7gtfYqKN+d4+ACrXwFje+Zfckt3 1Pwz1XHjndc1nf5DeWUe4hhD6nfjGxTNAJ/gJuWKhQVKT/VQ+VGIZpJanW4DpVAoP9Tl s/Gw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=aemoMyvX; spf=pass (google.com: best guess record for domain of linux-pm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-pm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p85si6669549pfk.77.2018.04.02.00.21.00; Mon, 02 Apr 2018 00:21:00 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-pm-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=@linaro.org header.s=google header.b=aemoMyvX; spf=pass (google.com: best guess record for domain of linux-pm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-pm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752583AbeDBHU7 (ORCPT + 11 others); Mon, 2 Apr 2018 03:20:59 -0400 Received: from mail-pl0-f65.google.com ([209.85.160.65]:37792 "EHLO mail-pl0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751930AbeDBHU7 (ORCPT ); Mon, 2 Apr 2018 03:20:59 -0400 Received: by mail-pl0-f65.google.com with SMTP id v5-v6so1653874plo.4 for ; Mon, 02 Apr 2018 00:20:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=j/LoetsbGNSwErTL0pHf99o9TWQfkEH0kCB3bSSVaRo=; b=aemoMyvX6SqdDTyUWthBhk2UauHxKOvmY+tnNfLun51XqgHgHckKVrPcqieXiUk5v3 5tsKtzCEpCN4/iwCBjUk7h/8qOIv3SmmYa+/CrWMKQV40GxpBnryAXcRsJa/wGgkIYEe Gxyxjq5Znt0UZDKgs6a7nZBaFDcj8PCqFx+nE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=j/LoetsbGNSwErTL0pHf99o9TWQfkEH0kCB3bSSVaRo=; b=WCdVBvpo6mb4H0dSPoMrG6ANmLj/AEsB2jjbg+BcFc/MyQU4AA80lYWLZco1TcNfle GzGhfCwlJ9Nx7IZRPHvHy8noU5JTvCMhSpDxpDKxmzPU9UidcKrRswwAlYCzA/u4rDy+ K8popZZAlUakypzjk/W2tD0Q+mOFIlTOMDIl3dDmAEQCmKkKqoDnQhDdwA3P5u5L3bqa 0OkFjqZ1G78xzizWbFLfQa9Z83kQy5TwWtkeLumapq0EBFaqzsvC7sMtRSDV7dMmpC66 eQ1DaJkyPY8kw1OGSOU22DLK2Ek7mqMF7fCQdi+Rnhq4mj60nG9ETxeuaN9ujgTY6yD0 8DYQ== X-Gm-Message-State: AElRT7HLWaY/fjhb6zNEyo2w7P8fC93eymN27Hkwsq0f/mJ583W8B+sE bJvmLdgf51MnGY2limkY3Vw/ww== X-Received: by 2002:a17:902:6184:: with SMTP id u4-v6mr9029011plj.390.1522653658844; Mon, 02 Apr 2018 00:20:58 -0700 (PDT) Received: from localhost ([122.171.228.188]) by smtp.gmail.com with ESMTPSA id o88sm22552309pfk.91.2018.04.02.00.20.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 02 Apr 2018 00:20:58 -0700 (PDT) From: Viresh Kumar To: Rafael Wysocki Cc: Viresh Kumar , linux-pm@vger.kernel.org, Vincent Guittot , george.cherian@cavium.com Subject: [PATCH] cpufreq: CPPC: Don't set transition_latency Date: Mon, 2 Apr 2018 12:50:53 +0530 Message-Id: X-Mailer: git-send-email 2.15.0.194.g9af6a3dea062 In-Reply-To: <1521801031-158659-1-git-send-email-george.cherian@cavium.com> References: <1521801031-158659-1-git-send-email-george.cherian@cavium.com> Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org Now that the driver has started to set transition_delay_us directly, there is no need to set transition_latency along with it, as it is not used by the cpufreq core. Signed-off-by: Viresh Kumar --- drivers/cpufreq/cppc_cpufreq.c | 1 - 1 file changed, 1 deletion(-) -- 2.15.0.194.g9af6a3dea062 diff --git a/drivers/cpufreq/cppc_cpufreq.c b/drivers/cpufreq/cppc_cpufreq.c index 8300a9fcb80c..38f65c371139 100644 --- a/drivers/cpufreq/cppc_cpufreq.c +++ b/drivers/cpufreq/cppc_cpufreq.c @@ -162,7 +162,6 @@ static int cppc_cpufreq_cpu_init(struct cpufreq_policy *policy) cpu->perf_caps.highest_perf; policy->cpuinfo.max_freq = cppc_dmi_max_khz; - policy->cpuinfo.transition_latency = cppc_get_transition_latency(cpu_num); policy->transition_delay_us = cppc_get_transition_latency(cpu_num) / NSEC_PER_USEC; policy->shared_type = cpu->shared_type;