From patchwork Wed Oct 24 13:44:57 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sudeep Holla X-Patchwork-Id: 149498 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp35209ljp; Wed, 24 Oct 2018 06:45:11 -0700 (PDT) X-Google-Smtp-Source: AJdET5e3qXaMjPpEplG11ACAezK80Tv+xoUngOON3xAvLxzCVJqSJzWxhbcrO3JTGVdHb5w+xw2C X-Received: by 2002:a17:902:aa84:: with SMTP id d4-v6mr2657725plr.25.1540388711505; Wed, 24 Oct 2018 06:45:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540388711; cv=none; d=google.com; s=arc-20160816; b=PCWEBSxd2kbcRP2Re607MzMZGJBUsWZZg6Gwa5q9wZ5uStdEaLQeywXstpI/WjJP5H ohiTV/LDWxo/MbvXV4MCfR/9T4pxZKXeiWFpVoGhXDRDAQHZ5G3Z/cVyFuH0rhY80ZFC 4pOfQeNBTuWvmXbILRASuviobJnAbJapDHENSbQjdhuREU859ExrgFa1ntUNizT2N2bL ZKhtF5o7dKT140pRGtwJx7Dv5QeLhcZhMwPT8FGUq8uSjuGP7GDAqFdMhrOTNkbwP0c6 qukkY81dwGY9F+QRy+bkynTvXcnjODQg9h/RY4h/x8YMEDyYZhwZJhktQJgiDDe8pRBm +VtQ== 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; bh=RiMlzOHhjWU/Zxy9kyWyTRwWfmqzbzGQDTPOV23RQFQ=; b=NKm/RApo/cjxWyoB0k2A7v/XnqoEwErMbunLi2ehOGqzA3PueVFl52bbR2bFGqkcx0 gueTDMpM8V7va6Vj7Tesy630NI1ZOF6nwLQf6HEzpVXP9putHOMXf4MUZ2QN/JVJs8lB i6h9IaMFcI4xsZWzOwDSbldxnNbCrz4l6l6u6lsUERNmm4U2lbrFIcj/OfPSd5mB49yk 6iNQXlFScIVlMGuJ0LrSRpvAyBGl37AbhgTszjYV8uOW0Ijae8e63QsySqIf82f019mY Z5mDG4tyDn7bBP9kVk9bvVDxytlyLPv/NL+4vxPYuZ9F1o6t00CV+m7swunUUtAEiXhV 9O0Q== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o2-v6si4837795pgj.111.2018.10.24.06.45.11; Wed, 24 Oct 2018 06:45:11 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726543AbeJXWNV (ORCPT + 11 others); Wed, 24 Oct 2018 18:13:21 -0400 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:43598 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726407AbeJXWNV (ORCPT ); Wed, 24 Oct 2018 18:13:21 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 18010341; Wed, 24 Oct 2018 06:45:10 -0700 (PDT) Received: from usa.arm.com (e107155-lin.cambridge.arm.com [10.1.196.42]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 22B2E3F6A8; Wed, 24 Oct 2018 06:45:08 -0700 (PDT) From: Sudeep Holla To: linux-pm@vger.kernel.org Cc: Sudeep Holla , "Rafael J . Wysocki" , Viresh Kumar Subject: [PATCH 1/2] cpufreq: drop ARM_BIG_LITTLE_CPUFREQ support for ARM64 Date: Wed, 24 Oct 2018 14:44:57 +0100 Message-Id: <20181024134458.14212-1-sudeep.holla@arm.com> X-Mailer: git-send-email 2.17.1 Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org ARM_BIG_LITTLE_CPUFREQ depends on topology_physical_package_id to get the cluster id which inturn provides the information on related cpus in the same performance domain. ARM64 core doesn't provide the cluster information as it's not architecturally defined. There are no users of this driver in ARM64 after the one and only user(SCPI) moved away. So let's ban the usage of this driver for ARM64. Cc: Rafael J. Wysocki Cc: Viresh Kumar Signed-off-by: Sudeep Holla --- drivers/cpufreq/Kconfig.arm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.17.1 Acked-by: Viresh Kumar diff --git a/drivers/cpufreq/Kconfig.arm b/drivers/cpufreq/Kconfig.arm index 0cd8eb76ad59..040cfedf3e37 100644 --- a/drivers/cpufreq/Kconfig.arm +++ b/drivers/cpufreq/Kconfig.arm @@ -28,7 +28,7 @@ config ARM_ARMADA_37XX_CPUFREQ # big LITTLE core layer and glue drivers config ARM_BIG_LITTLE_CPUFREQ tristate "Generic ARM big LITTLE CPUfreq driver" - depends on (ARM_CPU_TOPOLOGY || ARM64) && HAVE_CLK + depends on ARM_CPU_TOPOLOGY && HAVE_CLK # if CPU_THERMAL is on and THERMAL=m, ARM_BIT_LITTLE_CPUFREQ cannot be =y depends on !CPU_THERMAL || THERMAL select PM_OPP