msm: rpm_stats: Debugfs support to display master PC stats.

rpm maintains stats on power collapses and the list of active cores
for each master in its msg ram. Provide support to display it
through debugfs.
ex:-
	mount -t debugfs none /data/debug
	cd /data/debug
	cat rpm_master_stats
The above commands will display no of power collapses and active cores
for each master. Sample output on 8960 is below

	KPSS
		num_shutdowns:0
		active_cores:7
			core0
			core1
			core2
	MPSS
		numshutdowns:10
		activecores:0
	LPASS
		numshutdowns:20
		activecores:1
			core0
	RIVA
		numshutdowns:9
		activecores:0
	DSPS
		numshutdowns:90
		activecores:0

L2 cache also consider as another core in the stats.

Signed-off-by: Anji Jonnala <anjir@codeaurora.org>

Change-Id: I570335c11f744663819ab040705fe715183bda8a
Signed-off-by: Neha Pandey <nehap@codeaurora.org>
diff --git a/arch/arm/mach-msm/Makefile b/arch/arm/mach-msm/Makefile
index 58814ca..ad4c3c5 100644
--- a/arch/arm/mach-msm/Makefile
+++ b/arch/arm/mach-msm/Makefile
@@ -327,7 +327,7 @@
 endif
 obj-$(CONFIG_MSM_MPM_OF) += mpm-of.o
 obj-$(CONFIG_MSM_MPM) += mpm.o
-obj-$(CONFIG_MSM_RPM_STATS_LOG) += rpm_stats.o
+obj-$(CONFIG_MSM_RPM_STATS_LOG) += rpm_stats.o rpm_master_stat.o
 obj-$(CONFIG_MSM_RPM_RBCPR_STATS_LOG) += rpm_rbcpr_stats.o
 obj-$(CONFIG_MSM_RPM_LOG) += rpm_log.o
 obj-$(CONFIG_MSM_TZ_LOG) += tz_log.o