On Thu, Jan 10, 2013 at 1:32 PM, Daniel Lezcano wrote:
> On 01/10/2013 09:07 PM, amit daniel kachhap wrote:
>> Hi Daniel,
>
> Hi Amit Daniel,
>
>> This hotplug noifiers looks fine. I suppose it should add extra state
>> C1 in cpu0. If it is done like below than for
Hi Daniel,
This hotplug noifiers looks fine. I suppose it should add extra state
C1 in cpu0. If it is done like below than for normal cases(when all
cpu's are online) there wont be any statistics for C0 state also which
is required. Other patches look good.
Thanks,
Amit
On Fri, Jan 4, 2013 at 8:
On Sat, May 12, 2012 at 3:10 PM, Amit Daniel Kachhap
wrote:
> Hi Andrew/Rui,
>
> As discussed with Rui Zhang, I dropped the patch for new trip type
> THERMAL_TRIP_STATE_INSTANCE and made the necessary state magnagement changes
> in cpufreq cooling functions. Also I fixed all the
Signed-off-by: Amit Daniel Kachhap
Signed-off-by: Donggeun Kim
---
Documentation/hwmon/exynos4_tmu | 81
Documentation/thermal/exynos_thermal | 52 +++
drivers/hwmon/Kconfig| 10 -
drivers/hwmon/Makefile |1 -
drivers
This patch inserts exynos5 TMU sensor changes in the thermal driver.
Some exynos4 changes are made generic for exynos series.
Signed-off-by: SangWook Ju
Signed-off-by: Amit Daniel Kachhap
---
drivers/thermal/Kconfig |6 +-
drivers/thermal/exynos_thermal.c
This code added creates a link between temperature sensors, linux thermal
framework and cooling devices for samsung exynos platform. This layer
monitors the temperature from the sensor and informs the generic thermal
layer to take the necessary cooling action.
Signed-off-by: Amit Daniel Kachhap
be easily done as the registration APIs return the
cooling device pointer. The user of these APIs are responsible for
passing clipping frequency . The drivers can also register to recieve
notification about any cooling action called.
Signed-off-by: Amit Daniel Kachhap
---
Documentation/thermal
---
TODO:
*Will send the DT enablement patches later after the driver is merged.
Amit Daniel Kachhap (5):
thermal: Add generic cpufreq cooling implementation
hwmon: exynos4: Move thermal sensor driver to driver/thermal
directory
thermal: exynos5: Add exynos5 thermal sensor driver
This patch adds necessary default platform data support needed for TMU driver.
This dt/non-dt values are tested for origen exynos4210 and smdk exynos5250
platforms.
Signed-off-by: Amit Daniel Kachhap
---
drivers/thermal/exynos_thermal.c | 111 +-
1 files
mp;& THERMAL
+ help
+ If you say yes here you get support for TMU (Thermal Managment
+ Unit) on SAMSUNG EXYNOS4 series of SoC.
+ This driver can also be built as a module. If so, the module
+ will be called exynos4-tmu
diff --git a/drivers/thermal/Makefile b/
default data such as freq_clip_max if
needed.
Signed-off-by: Amit Daniel Kachhap
---
Documentation/thermal/cpu-cooling-api.txt | 60 +
drivers/thermal/Kconfig | 11 +
drivers/thermal/Makefile |3 +-
drivers/thermal/cpu_cooling.c | 359
mal interface <- Temperature Sensor
| |
\|/|
Cpufreq cooling device <---
TODO:
*Will send the DT enablement patches later after the driver is merged.
Amit Daniel Kachhap (6):
thermal: Add a new trip type to use cooling device instance
This code added creates a link between temperature sensors, linux thermal
framework and cooling devices for samsung exynos platform. This layer
monitors the temperature from the sensor and informs the generic thermal
layer to take the necessary cooling action.
Signed-off-by: Amit Daniel Kachhap
This patch adds necessary default platform data support needed for TMU driver.
This dt/non-dt values are tested for origen exynos4210 and smdk exynos5250
platforms.
Signed-off-by: Amit Daniel Kachhap
---
drivers/thermal/exynos_thermal.c | 107 +-
1 files
back function.
Also since the trip temperature's are in ascending order so some logic
is put in place to skip the un-necessary checks during thermal zone
update and return error when failing the ascending order trip point check
during thermal zone registration.
Signed-off-by: Amit Daniel Ka
This patch inserts exynos5 TMU sensor changes in the thermal driver.
Some exynos4 changes are made generic for exynos series.
Signed-off-by: SangWook Ju
Signed-off-by: Amit Daniel Kachhap
---
drivers/thermal/Kconfig |6 +-
drivers/thermal/exynos_thermal.c
This patch enables core cpuidle timekeeping and irq enabling and
remove those redundant parts from the exynos cpuidle drivers
CC: Daniel Lezcano
CC: Robert Lee
Signed-off-by: Amit Daniel
---
arch/arm/mach-exynos/cpuidle.c | 53 ---
1 files changed, 6 inser
Hi Durgadoss,
Instead of making all the trip-points of a thermal zone writeable we should
only allow non-critical trip points to be writeable.
Thanks,
Amit Daniel
> -Original Message-
> From: Durgadoss R
> Sent: Friday, January 27, 2012 9:58 PM
> To: linux-a...@vger.kernel.org
> Cc: l..
Basically without this patch changing the mode of thermal zone
is not possible as wrong string size is passed to strncmp.
Signed-off-by: Amit Daniel Kachhap
---
drivers/thermal/thermal_sys.c |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/thermal
default data such as freq_clip_max if
needed.
Signed-off-by: Amit Daniel Kachhap
---
Documentation/thermal/cpu-cooling-api.txt | 60 +
drivers/thermal/Kconfig | 11 +
drivers/thermal/Makefile |1 +
drivers/thermal/cpu_cooling.c | 359
EXYNOS4"
+ depends on ARCH_EXYNOS4 && THERMAL
+ help
+ If you say yes here you get support for TMU (Thermal Managment
+ Unit) on SAMSUNG EXYNOS4 series of SoC.
+
+ This driver can also be built as a module. If so, the module
+ will be called ex
This patch adds necessary source definations needed for TMU driver and
the platform device support.
Signed-off-by: Amit Daniel Kachhap
---
arch/arm/mach-exynos/Kconfig | 11 +++
arch/arm/mach-exynos/Makefile |1 +
arch/arm/mach-exynos/clock.c
This code added creates a link between temperature sensors, linux thermal
framework and cooling devices for samsung exynos platform. This layer
monitors the temperature from the sensor and informs the generic thermal
layer to take the necessary cooling action.
Signed-off-by: Amit Daniel Kachhap
back function.
Also since the trip temperature's are in ascending order so some logic
is put in place to skip the un-necessary checks.
Signed-off-by: Amit Daniel Kachhap
---
Documentation/thermal/sysfs-api.txt |4 +-
drivers/thermal/thermal_sys.c |
easily done as the registration APIs return the
cooling device pointer. The user of these APIs are responsible for
passing the cpumask.
Signed-off-by: Amit Daniel Kachhap
---
Documentation/thermal/cpu-cooling-api.txt | 16 +++
drivers/thermal/Kconfig |2 +-
drivers/thermal
--- Temperature Sensor
| |
\|/|
Cpufreq cooling device <-------
Amit Daniel Kachhap (6):
thermal: Add a new trip type to use cooling device instance number
thermal: Add generic cpufreq cooling implementation
thermal: Add generic cpuhotplug cooli
This movement is needed because the hwmon entries and corresponding
sysfs interface is a duplicate of utilities already provided by
driver/thermal/thermal_sys.c. The goal is to place it in mfd folder
and add necessary calls to get the temperature information.
Signed-off-by: Amit Daniel Kachhap
cooling action.
Signed-off-by: Amit Daniel Kachhap
---
drivers/thermal/Kconfig |8 +
drivers/thermal/Makefile |1 +
drivers/thermal/exynos_thermal.c | 272 ++
include/linux/exynos_thermal.h | 72 ++
4 files changed, 353
hermal < Temperature Sensor
| |
\|/|
Cpufreq cooling device <-
Amit Daniel Kachhap (4):
thermal: exynos: Add thermal interface support for linux thermal
layer
hwmon: exynos4: Move thermal sens
This patch adds necessary source definations needed for TMU driver and
the platform device support.
Signed-off-by: Amit Daniel Kachhap
---
arch/arm/mach-exynos/Kconfig | 11 +
arch/arm/mach-exynos/Makefile |1 +
arch/arm/mach-exynos/clock.c |4
functions are removed as all of them are present in generic linux thermal layer.
Also the platform data structure is modified to pass frequency cooling
in percentages for each thermal level.
Signed-off-by: Amit Daniel Kachhap
---
Documentation/mfd/exynos4_tmu | 35
ling achieved in a
trip type. This will help in fine cooling the cooling devices attached.
Amit Daniel Kachhap (4):
thermal: Add a new trip type to use cooling device instance number
thermal: Add generic cpufreq cooling implementation
thermal: Add generic cpuhotplug cooling implementation
th
easily done as the registration API's return the
cooling device pointer. The user of these api's are responsible for
passing clipping frequency in percentages.
Signed-off-by: Amit Daniel Kachhap
---
Documentation/thermal/cpu-cooling-api.txt | 40
drivers/therm
function.
Also since the trip temperature's are in ascending order so some logic
is put in place to skip the un-necessary checks.
Signed-off-by: Amit Daniel Kachhap
---
Documentation/thermal/sysfs-api.txt |4 +-
drivers/thermal/thermal_sys.c |
produce 6 degree Celsius temperature drop.
Signed-off-by: Amit Daniel Kachhap
---
drivers/thermal/thermal_sys.c | 120 +
include/linux/thermal.h | 13 +
2 files changed, 133 insertions(+), 0 deletions(-)
diff --git a/drivers/thermal
easily done as the registration API's return the
cooling device pointer. The user of these api's are responsible for
passing the cpumask.
Signed-off-by: Amit Daniel Kachhap
---
Documentation/thermal/cpu-cooling-api.txt | 17 +++
drivers/thermal/cpu_cooling.c
cooling handlers.
The basic assumption is that cooling devices will bring down the temperature
in a symmetric manner and those statistics can be stored back and used for
further tuning of the system.
Signed-off-by: Amit Daniel Kachhap
---
Documentation/thermal/sysfs-api.txt | 10
drivers
cooling action.
Signed-off-by: Amit Daniel Kachhap
---
drivers/thermal/Kconfig |8 ++
drivers/thermal/Makefile |1 +
drivers/thermal/exynos_thermal.c | 255 ++
include/linux/exynos_thermal.h | 59 +
4 files changed, 323
ermal <---> Exynos thermal < Temperature Sensor
| |
\|/|
Cpufreq cooling device <-----
Amit Daniel Kachhap (3):
thermal: exynos: Add thermal interface support for linux thermal
layer
thermal: exynos4:
This patch adds necessary source definations needed for TMU driver and
the platform device support.
Signed-off-by: Amit Daniel Kachhap
---
arch/arm/mach-exynos/Kconfig | 12 +
arch/arm/mach-exynos/Makefile |1 +
arch/arm/mach-exynos/clock.c |4
functions are currently left although all of them are present in generic
linux thermal layer.
Also the platform data structure is modified to pass frequency cooling
in percentages for each thermal level.
Signed-off-by: Amit Daniel Kachhap
---
drivers/hwmon/exynos4_tmu.c | 34
the registration API's return the
cooling device pointer.
Signed-off-by: Amit Daniel Kachhap
---
Documentation/thermal/cpu-cooling-api.txt | 52 +
drivers/thermal/Kconfig | 11 +
drivers/thermal/Makefile |1 +
drivers/thermal/cpu_cool
platforms like ARM using the generic thermal
interface
along with the generic cpu cooling devices. The cooling device registration
API's
return cooling device pointers which can be easily binded with the thermal zone
trip points.
Amit Daniel Kachhap (2):
thermal: Add a new trip type t
function.
Also since the trip temperature's are in ascending order so some logic
is put in place to skip the un-necessary checks.
Signed-off-by: Amit Daniel Kachhap
---
Documentation/thermal/sysfs-api.txt |4 ++--
drivers/thermal/thermal_sys.c |
function.
Also since the trip temperature's are in ascending order so some logic
is put in place to skip the un-necessary checks.
Signed-off-by: Amit Daniel Kachhap
---
Documentation/thermal/sysfs-api.txt |4 ++--
drivers/thermal/thermal_sys.c |
-off-by: Amit Daniel Kachhap
---
arch/arm/mach-exynos4/include/mach/exynos4-tmu.h | 75
drivers/staging/Kconfig|2 +
drivers/staging/Makefile |1 +
drivers/staging/thermal_exynos4/sensor/Kconfig | 14 +
drivers/staging
This patch adds necessary source definations needed for TMU driver and
the platform device support.
Signed-off-by: SangWook Ju
Signed-off-by: Amit Daniel Kachhap
---
arch/arm/mach-exynos4/Makefile|3 +-
arch/arm/mach-exynos4/dev-tmu.c | 71
handlers for the cooling devices.
Signed-off-by: Amit Daniel Kachhap
---
.../mach-exynos4/include/mach/thermal_interface.h | 26 ++
drivers/staging/thermal_exynos4/Kconfig| 12 +
drivers/staging/thermal_exynos4/Makefile |5 +
.../staging/thermal_exynos4
Signed-off-by: Amit Daniel Kachhap
---
arch/arm/mach-exynos4/Kconfig |5 +
arch/arm/mach-exynos4/mach-origen.c | 10 ++
2 files changed, 15 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach-exynos4/Kconfig b/arch/arm/mach-exynos4/Kconfig
index cf467b5..786fdb7
placing such files so currently
I have placed the temperature sensor driver and a binding layer for cooling
device,
thermal zone and core thermal interfaces inside staging directory.
Feel free to comment about the implementation, the directory structure and
the shortcomings.
Amit Daniel
The L2 retention cpuidle state is modified to use the interfaces
exposed by the lorenzo's cpuidle consolidation code. As can be seen lot of
code is reduced in the machine directory.
Signed-off-by: Amit Daniel Kachhap
---
arch/arm/Kconfig |1 +
arch/arm/mach-ex
This patch adds support AFTR(ARM OFF TOP RUNNING) mode in
cpuidle driver. L2 cache keeps their data in this mode.
Signed-off-by: Jaecheol Lee
Signed-off-by: Amit Daniel Kachhap
---
arch/arm/mach-exynos4/Makefile |2 +-
arch/arm/mach-exynos4/cpuidle.c | 131
This adds a function to get the revision id.
Signed-off-by: Jaecheol Lee
Signed-off-by: Changhwan Youn
---
arch/arm/mach-exynos4/cpu.c | 10 ++
arch/arm/plat-s5p/include/plat/exynos4.h |1 +
2 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach
These changes are necessary to make the retention cpuidle state work. This adds
support for saving more L2 registers.
Signed-off-by: Amit Daniel Kachhap
---
arch/arm/common/gic.c|1 -
arch/arm/kernel/sr_helpers.h |2 +-
arch/arm/mm/cache-l2x0.c | 10 +-
3 files
infrastructure to enter and exit from the retention idle state.
All these codes have been tested on Samsung ORIGEN board against the tree
git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung.git for-next.
Amit Daniel Kachhap (4):
ARM: kernel: Some fixes in save/restore common code
This patch disables pci related measurement which is not needed
for ARM platforms and also library libpci is not needed.
Signed-off-by: Amit Daniel Kachhap
---
Android.mk |7 ++-
devices/runtime_pm.cpp |3 ++-
lib.cpp|7 ---
main.cpp
This patch enables ncurses for android. NCURSES_NOMACRO flag is enabled
as there is some conflict with stl libraries.
Signed-off-by: Amit Daniel Kachhap
---
Android.mk | 23 +++
display.cpp|5 -
display.h |3 ++-
lib.cpp
The following set of patches add changes in powertop needed for arm
android platforms. These patches depends on the below mentioned patches.
http://www.mail-archive.com/power@bughost.org/msg02078.html
Amit Daniel Kachhap (3):
powertop: Disable pci bus measurement for arm platforms
perf-event
This patch adds defination for __NR_perf_event_open if not present
for arm platforms.
Signed-off-by: Amit Daniel Kachhap
---
perf/perf_event.h |3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/perf/perf_event.h b/perf/perf_event.h
index 563ffc7..eac4a73 100644
--- a
. These changes have been tested to work fine
with both old and new kernels as well as on x86 and ARM platform.
Signed-off-by: Amit Daniel Kachhap
---
This patch is for powertop2.0 and fixes the issue of frequency
reported as always 0 in kernel from 2.6.38 onwards.
cpu/cpu.cpp |7
This patch supports cpuidle framework for EXYNOS4210. Currently,
Only one idle state is possible to use, but more idle states can
be added following by this patch.
Signed-off-by: Jaecheol Lee
Signed-off-by: Amit Daniel Kachhap
---
FIX: Fixed the merging issue reported by Nicolas Pitre
This patch supports cpuidle framework for samsung S5PV310. Currently,
Only one idle state is possible to use, but more idle states can
be added followed by this patch.
Signed-off-by: Jaecheol Lee
Signed-off-by: Amit Daniel Kachhap
---
Rebasing the patch for linaro 2.6.38 kernel. This patch adds
Enabling the macro CONFIG_PM_DEBUG is causing compilation error as all PM
components
are included which is not in mainline for samsung V310 platform, therefore,
this patch
removes the dependency on macro CONFIG_PM_DEBUG for clock debugging through
debugfs
interface.
Signed-off-by: Amit Daniel
Hi Mr Kim,
Thanks for your comments. Please see the inline comments below.
On 1 December 2010 13:08, Kukjin Kim wrote:
>
> Amit Daniel Kachhap wrote:
> >
> > This patch adds support for clock information exposed to debug-fs
> interface.
> >
> > S
This patch adds support for clock information exposed to debug-fs interface.
Signed-off-by: Amit Daniel Kachhap
---
Code modified for V2 version are,
a)Inserted the debug-fs code inside macro CONFIG_PM_DEBUG as suggested by
yong.s...@linaro.org.
b)Removed macro CONFIG_PLAT_SAMSUNG and
65 matches
Mail list logo