All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v9 0/4] Devfreq, DVFS Framework for Non-CPU Devices
@ 2011-08-31  7:29 MyungJoo Ham
  2011-08-31  7:29 ` [PATCH v9 1/4] PM / OPP: Add OPP availability change notifier MyungJoo Ham
                   ` (3 more replies)
  0 siblings, 4 replies; 11+ messages in thread
From: MyungJoo Ham @ 2011-08-31  7:29 UTC (permalink / raw)
  To: linux-pm; +Cc: Len Brown, Greg Kroah-Hartman, Kyungmin Park, Thomas Gleixner

The main update from the patchset v8:
- Add per-devfreq-device locking mechanism (devfreq->lock)
- Provide the per-devfreq-device locking mechanism to governors
- Merged 4/5 patch to 2/5 (devfreq internal interface for governors)

Patch 1/4 has no changes.
Patch 2/4 has major update on synchronization and merged another patch; thus, dropped "Reviewed-By".
Patch 3/4 has minor udpate (affected by the update on 2/4: mutex added)
Patch 4/4 has minor update (affected by the update on 2/4: mutex added) + removed unused variable.

For a usage example, please look at
http://git.infradead.org/users/kmpark/linux-2.6-samsung/shortlog/refs/heads/devfreq

In the above git tree, DVFS (dynamic voltage and frequency scaling) mechanism
is applied to the memory bus of Exynos4210 for Exynos4210-NURI boards.
In the example, the LPDDR2 DRAM frequency changes between 133, 266, and 400MHz
and other related clocks simply follow the determined DDR RAM clock.

The devfreq driver for Exynos4210 memory bus is at
/drivers/devfreq/exynos4210_memorybus.c in the git tree.

In the dd (writing and reading 360MiB) test with NURI board, the memory
throughput was not changed (the performance is not deteriorated) while
the SoC power consumption has been reduced by 1%. When the memory access
is not that intense while the CPU is heavily used, the SoC power consumption
has been reduced by 6%. The power consumption has been compared with the
case using the conventional Exynos4210 cpufreq driver, which sets memory
bus frequency according to the CPU core frequency. Besides, when the CPU core
running slow and the memory access is intense, the performance (memory
throughput) has been increased by 11% (with higher SoC power consumption of
5%). The tested governor is "simple-ondemand".

MyungJoo Ham (4):
  PM / OPP: Add OPP availability change notifier.
  PM: Introduce devfreq: generic DVFS framework with device-specific
    OPPs
  PM / devfreq: add common sysfs interfaces
  PM / devfreq: add basic governors

 Documentation/ABI/testing/sysfs-devices-power |   46 ++
 drivers/Kconfig                               |    2 +
 drivers/Makefile                              |    2 +
 drivers/base/power/opp.c                      |   29 ++
 drivers/devfreq/Kconfig                       |   75 ++++
 drivers/devfreq/Makefile                      |    5 +
 drivers/devfreq/devfreq.c                     |  567 +++++++++++++++++++++++++
 drivers/devfreq/governor.h                    |   22 +
 drivers/devfreq/governor_performance.c        |   24 +
 drivers/devfreq/governor_powersave.c          |   24 +
 drivers/devfreq/governor_simpleondemand.c     |   88 ++++
 drivers/devfreq/governor_userspace.c          |  126 ++++++
 include/linux/devfreq.h                       |  160 +++++++
 include/linux/opp.h                           |   12 +
 14 files changed, 1182 insertions(+), 0 deletions(-)
 create mode 100644 drivers/devfreq/Kconfig
 create mode 100644 drivers/devfreq/Makefile
 create mode 100644 drivers/devfreq/devfreq.c
 create mode 100644 drivers/devfreq/governor.h
 create mode 100644 drivers/devfreq/governor_performance.c
 create mode 100644 drivers/devfreq/governor_powersave.c
 create mode 100644 drivers/devfreq/governor_simpleondemand.c
 create mode 100644 drivers/devfreq/governor_userspace.c
 create mode 100644 include/linux/devfreq.h

-- 
1.7.4.1

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2011-09-02  6:55 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-31  7:29 [PATCH v9 0/4] Devfreq, DVFS Framework for Non-CPU Devices MyungJoo Ham
2011-08-31  7:29 ` [PATCH v9 1/4] PM / OPP: Add OPP availability change notifier MyungJoo Ham
2011-08-31  7:29 ` [PATCH v9 2/4] PM: Introduce devfreq: generic DVFS framework with device-specific OPPs MyungJoo Ham
2011-08-31 20:05   ` Turquette, Mike
2011-09-01  4:51     ` MyungJoo Ham
2011-09-01 16:57       ` Turquette, Mike
2011-09-02  4:38         ` MyungJoo Ham
2011-09-02  6:55           ` Turquette, Mike
2011-08-31  7:29 ` [PATCH v9 3/4] PM / devfreq: add common sysfs interfaces MyungJoo Ham
2011-08-31 21:27   ` Turquette, Mike
2011-08-31  7:29 ` [PATCH v9 4/4] PM / devfreq: add basic governors MyungJoo Ham

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.