devfreq: exynos: generalize PPMU code
Quoted 5 lines · Bartlomiej Zolnierkiewicz
Hi,
This patch series generalizes PPMU support for Exynos devfreq drivers.
Quoted 8 lines
It is based on top of "devfreq: exynos: Fix minor issue and code clean to remove legacy method" patch series from Chanwoo Choi
(https://lkml.org/lkml/2014/3/19/713).Please note that the patches were only compile tested because Exynos devfreq drivers don't work yet in the upstream kernels (FWIW these changes were briefly tested with the internal tree which has working devfreq drivers).
Hi Blartlomiej,
Thank you.
I'll merge this into devfreq's for-next.
Anyway, days ago, I had a short discussion with Chanwoo about providing some common interface for PPMU-like devices (sort of sub device of devfreq device) that provide usage statistics.
At this stage, I roughly guess that such a device driver (or whatever entity it is) may be simply a helper for filling out the "get_dev_status" callback. It is because devfreq's PPMU usage is limited to getting get_dev_status(). As you had done something on PPMU, I guess you may have some
idea on this.
Cheers,
MyungJoo.
Quoted 30 lines
Best regards,
--
Bartlomiej Zolnierkiewicz
Samsung R&D Institute Poland
Samsung ElectronicsBartlomiej Zolnierkiewicz (3):
devfreq: exynos4: introduce structbusfreq_ppmu_data
devfreq: exynos5: introduce structbusfreq_ppmu_data
devfreq: exynos: make more PPMU code commonChanwoo Choi (1):
devfreq: exynos4: use common PPMU codedrivers/devfreq/exynos/Makefile | 2 +- drivers/devfreq/exynos/exynos4_bus.c | 176 +++++++++-------------------------- drivers/devfreq/exynos/exynos5_bus.c | 94 +++++-------------- drivers/devfreq/exynos/exynos_ppmu.c | 60 ++++++++++++ drivers/devfreq/exynos/exynos_ppmu.h | 8 ++ 5 files changed, 135 insertions(+), 205 deletions(-)--
1.8.2.3--
To unsubscribe from this list: send the line "unsubscribe linux-pm" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Signature · 2 lines
MyungJoo Ham, Ph.D. System S/W Lab, S/W Center, Samsung Electronics