Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753053Ab3FKJEX (ORCPT ); Tue, 11 Jun 2013 05:04:23 -0400 Received: from mailout1.samsung.com ([203.254.224.24]:16894 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751649Ab3FKJEV (ORCPT ); Tue, 11 Jun 2013 05:04:21 -0400 X-AuditID: cbfee61a-b7f3b6d000006edd-dc-51b6e813dc29 From: Lukasz Majewski To: Viresh Kumar , "Rafael J. Wysocky" Cc: "cpufreq@vger.kernel.org" , Linux PM list , Vincent Guittot , Lukasz Majewski , Jonghwa Lee , Myungjoo Ham , linux-kernel , Lukasz Majewski , Andre Przywara , Daniel Lezcano , Kukjin Kim Subject: [PATCH v2 0/3] cpufreq:boost: CPU Boost mode support Date: Tue, 11 Jun 2013 11:03:25 +0200 Message-id: <1370941408-29304-1-git-send-email-l.majewski@samsung.com> X-Mailer: git-send-email 1.7.10 In-reply-to: <1370502472-7249-1-git-send-email-l.majewski@samsung.com> References: <1370502472-7249-1-git-send-email-l.majewski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrALMWRmVeSWpSXmKPExsVy+t9jQV3hF9sCDZZPUrX483Y5q8XTph/s FvM+y1p0nn3CbNG74CqbxZtH3BZvHm5mtLi8aw6bxefeI4wWtxtXsFn0L+xlsug48o3ZYuNX DwdejzvX9rB5rJv2ltmjb8sqRo9Hi1sYPT5vkgtgjeKySUnNySxLLdK3S+DKWNf4n7Hgr2DF m2lnmRsY7/J1MXJySAiYSJx/uJoRwhaTuHBvPVsXIxeHkMB0RontG18yQThdTBL/Vp9iBali E9CT+Hz3KROILSLgK9Gz7BBYEbPAW2aJbwv/giWEBWwlfn7YBDaWRUBVYsuFn8wgNq+Am8Sv O8/YINbJSzy93wdmcwLF5356AWYLCbhK3PywkmUCI+8CRoZVjKKpBckFxUnpuYZ6xYm5xaV5 6XrJ+bmbGMHh+ExqB+PKBotDjAIcjEo8vAmM2wKFWBPLiitzDzFKcDArifCabgcK8aYkVlal FuXHF5XmpBYfYpTmYFES5z3Qah0oJJCeWJKanZpakFoEk2Xi4JRqYNT2WjPP7LDGoQ6BiWdY z/qsPNt+4OTnv+nPf10QX1zqVHffruCY7LXzsbvP7lhzMTBW19XYs5615YuLsFuMU2Om9E3V PPXregd+Xb5UaD9VzG/zIrf7SyTz7tzO27X+SaGGfr3T0x23117ZF2N6PYtT/6zeiR9hLHoW Fc/rXjQEnJjPP1vhUL8SS3FGoqEWc1FxIgB9m3qMQwIAAA== Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2485 Lines: 66 This patch series introduces support for CPU overclocking technique called Boost. It is a follow up of a LAB governor proposal. Boost is a LAB component: http://thread.gmane.org/gmane.linux.kernel/1484746/match=cpufreq Boost unifies hardware based solution (e.g. Intel Nehalem) with software oriented one (like the one done at Exynos). For this reason cpufreq/freq_table code has been reorganized to include common code. Important design decisions: - Boost related code is compiled-in unconditionally and disabled by default The cpufreq_driver is responsibile for providing low_level_boost callback - struct cpufreq_driver has been extended with boost related fields - Boost sysfs attributies are seen only when cpufreq driver supports them. They will not show up until either cpufreq_driver defines low_level_boost callback or device tree's cpufreq "boost_mode" attribute is defined. - No special spin_lock for Boost was created. The one from cpufreq_driver was reused. - Low level boost trigger function (*low_level_boost function callback) is necessary to "glue" together acpi-cpufreq boost with software based one. Tested at: HW: Exynos 4412 3.10 linux Exynos 4210 3.10 linux Compile tested x86_64 defconfig (acpi) - help with HW (Intel Nehalem) test needed Two patches were abandoned (comparing to v1): [PATCH 1/5] cpufreq: Define cpufreq_set_drv_attr_files() to add per CPU sysfs attributes [PATCH 5/5] cpufreq:boost:Kconfig: Enable boost support at Kconfig For detailed changelog please look into relevant patches Lukasz Majewski (3): cpufreq:boost: CPU frequency boost code unification for software and hardware solutions cpufreq:acpi:x86: Adjust the acpi-cpufreq.c code to work with common boost solution cpufreq:exynos:Extend Exynos cpufreq driver to support boost framework drivers/cpufreq/acpi-cpufreq.c | 72 ++++++++++++++------------------------ drivers/cpufreq/cpufreq.c | 69 ++++++++++++++++++++++++++++++++++++ drivers/cpufreq/exynos-cpufreq.c | 49 ++++++++++++++++++++++++-- drivers/cpufreq/freq_table.c | 57 ++++++++++++++++++++++++++++-- include/linux/cpufreq.h | 12 +++++++ 5 files changed, 209 insertions(+), 50 deletions(-) -- 1.7.10.4 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/