From patchwork Thu Jun 29 10:59:03 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viresh Kumar X-Patchwork-Id: 106625 Delivered-To: patch@linaro.org Received: by 10.182.135.102 with SMTP id pr6csp4553469obb; Thu, 29 Jun 2017 03:59:16 -0700 (PDT) X-Received: by 10.84.218.8 with SMTP id q8mr17093181pli.59.1498733956497; Thu, 29 Jun 2017 03:59:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1498733956; cv=none; d=google.com; s=arc-20160816; b=KvAnoThpNQqBJ57572BqAD7g4xQtiXbDG6zr6n0g/L7OudCDCHjpXYeDgUsSt3j5iu 5/1rXpXacZbaO+m2nJxm2SYWqjJdAFNID+JjkUzT5hj9I4UzbxB012zi9HQvfCLkwyww A930wJyuG+f1scv2qof1KAy/d32PIyhYlbg5fbt6Y/NPI40AE8V9DZkDbsD/X+UQh8wF RAWJ53zVcGPIsR27vhEx+6pnG1vWjDnYw2/zWNTd/5mmMd2OIKePi8sKeVf+8ajb3TZZ 9uZja1y+d7h3UVZTCzmVcfaXuEcF7Li3JyG1DVIUYi/cKRuWOWreXfG7ltm5yqLYwxn9 LEBQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=zzxd3ftmS0LG2DuiwPh0LuMWBMyiSLOfqG6U744eV+k=; b=1ERthk6BaWV1syZ7qlpNCu/4y6sU18BTz45AiCdeaXl5UhXIbyzs4w91YJPjZ5I/Ni 8VS4l8Q5gMtpWes6EYk8xSSx27y4KV3fD3AaoirGeIHfQMkp3MwQYQV8x95cxhgWHpAq cGBuhk1tg2g/2CCbcz8OK/qV8mNGeVM75DKndfCS2ofkTYeuteWFTwaTR1J4IEkgGPaZ wTp7Ii1rI3D38PADtYvI/6QJQI+/M2oDFo0FBkuPsuBp4GJP6wUiSzmScRCyAR2fuboR PZ6f+G0ra1w5/Tw1O8LRP3Z6aPUZv7Z/8z3vByIiXr9Smc/fEKn0Oao3C0uZzvSnLD/m BP/A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.b=hix1LAoj; 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 d6si3888652plj.558.2017.06.29.03.59.16; Thu, 29 Jun 2017 03:59:16 -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.b=hix1LAoj; 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 S1752454AbdF2K7P (ORCPT + 14 others); Thu, 29 Jun 2017 06:59:15 -0400 Received: from mail-pf0-f175.google.com ([209.85.192.175]:32880 "EHLO mail-pf0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752440AbdF2K7O (ORCPT ); Thu, 29 Jun 2017 06:59:14 -0400 Received: by mail-pf0-f175.google.com with SMTP id e7so48763719pfk.0 for ; Thu, 29 Jun 2017 03:59:14 -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; bh=zzxd3ftmS0LG2DuiwPh0LuMWBMyiSLOfqG6U744eV+k=; b=hix1LAoj1Jd6taD97B6O4KAopX0tQS3ZHDtftXvzgXsO8hE3Fk1+nqTtO232JmsYTY 4LOZRCgnP6xi8PfB3LPl6u3YGQ5Ca4HFcQuPuvwqsiR/kxzC8rT95+bVxw8pv7X1gsYP 8aEzJ1wNP7LjcoyEGENgOmSihXJQKq4vFLkt8= 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; bh=zzxd3ftmS0LG2DuiwPh0LuMWBMyiSLOfqG6U744eV+k=; b=bBnEFX6J8qs9MymFH6WiKzZ4NtQh86LuJ0gbJc91brOYi3bm+4MYvfGK4r+gBXAKLI aFF70vOlrKPb61zFDXhRE8C60mBR5fhLfXltVlu33lNA6Iy47ncfoFz8nhBu74KrPIiK mDd1b/qOB5M70HBUNcMDHvgfadLEOYg4d7bERFVKCl1JLqY4iQLWrsGqtpFO9TKvgK2E yXraYNXBZKG/Rx5/BbRm/eHUdK2jjnfGszG1AY+vhBe3ZO4vRpb6mG2b448iSxL7uxv6 KnkpxXCKjzN/Etm6bqvrh7Jeh58ME+JhOsKagBMA/wG8Ib1SM+b/QMAItLdZBMrW125R v8Bw== X-Gm-Message-State: AKS2vOzpjX5zcVDZrJcJjWF9E6rFkKjmtlUx8Wu6SFhiEyFQ0E4cCPro 3pNN7TsYH3amHWSUdZjfwg== X-Received: by 10.84.224.134 with SMTP id s6mr17146076plj.263.1498733954072; Thu, 29 Jun 2017 03:59:14 -0700 (PDT) Received: from localhost ([122.171.238.149]) by smtp.gmail.com with ESMTPSA id h80sm11917087pfk.80.2017.06.29.03.59.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 29 Jun 2017 03:59:12 -0700 (PDT) From: Viresh Kumar To: Rafael Wysocki Cc: Viresh Kumar , linux-pm@vger.kernel.org, Vincent Guittot Subject: [PATCH 0/6] cpufreq: transition-latency cleanups Date: Thu, 29 Jun 2017 16:29:03 +0530 Message-Id: X-Mailer: git-send-email 2.13.0.71.gd7076ec9c9cb Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org Hi, This series tries to cleanup the code around transition-latency and its users. Some of the old legacy code, which may not make much sense now, is being dropped as. Some code consolidation also happens across governors. Based of: pm/linux-next Tested on: ARM64 Hikey board. -- viresh Viresh Kumar (6): cpufreq: Don't check for max_transition_latency cpufreq: Remove (now) unused code related to max_transition_latency cpufreq: governor: Drop min_sampling_rate cpufreq: Use transition_delay_us for legacy governors as well cpufreq: Cap the default transition delay value to 10 ms cpufreq: arm_big_little: Make ->get_transition_latency() mandatory Documentation/admin-guide/pm/cpufreq.rst | 8 -------- drivers/cpufreq/arm_big_little.c | 10 ++++----- drivers/cpufreq/cpufreq.c | 19 ----------------- drivers/cpufreq/cpufreq_conservative.c | 6 ------ drivers/cpufreq/cpufreq_governor.c | 17 ++-------------- drivers/cpufreq/cpufreq_governor.h | 2 -- drivers/cpufreq/cpufreq_ondemand.c | 12 ----------- drivers/cpufreq/cpufreq_performance.c | 6 ------ include/linux/cpufreq.h | 35 +++++++++++++++++++++++--------- kernel/sched/cpufreq_schedutil.c | 11 +--------- 10 files changed, 32 insertions(+), 94 deletions(-) -- 2.13.0.71.gd7076ec9c9cb