Added DVFS CPU hot-plug driver for EXYNOS4x12#19
Merged
mdrjr merged 1 commit intohardkernel:odroid-3.8.yfrom Apr 18, 2013
Merged
Added DVFS CPU hot-plug driver for EXYNOS4x12#19mdrjr merged 1 commit intohardkernel:odroid-3.8.yfrom
mdrjr merged 1 commit intohardkernel:odroid-3.8.yfrom
Conversation
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Driver launches a repeatitive timer event, and watches policy and fequency changes in order to deploy cpu hot-plugging for power saving.
Have tunables to tune the hotplug policy in minimal level.
TODO: tunables will be exported to sysfs for easy userland reconfiguration.
TODO: anticipation step can be improved.
ISSUES: Current cpuidle driver on EXYNOS have extra "POWER DOWN" state for cpu0 when all other cores are down! So if hotplug driver shuts down all cores except core0, then system tries to put cpu0 into power down mode which results in oops. There are two ways to overcome that: 1- setting cpu_min_count of this hotplug driver's tunable to 2, 2- removing this extra state from exynos cpuidle driver. I choosed the first option to be not intrusive at the moment. However tried second approach and it works fine too.