msm: spm: Add API to turn cpu rail on.

Bootloaders will not turn on secondary cores and enable only the primary
core. The kernel would be needed to turn on all secondary cores through
SPM. The API will abstract turning on a core rail from boot_secondary().

CRs-fixed: 329019
Change-Id: I294ad8a441c3721e39f7c719fa9559fa196f4083
Signed-off-by: Praveen Chidambaram <pchidamb@codeaurora.org>
msm: spm: Do not set the core voltage during driver initilization

The initial voltage value for the cores are setup by bootloaders for
Core 0. The voltages for the secondary cores are set by Core 0 before
bringing them out of reset. When the cores are out of reset, the SAW
regulator takes care of setting core voltage. Thereby we need not set
the voltage for the cores during SPM driver initialization.

Additionally the commit also reorders the SPM register enums to prevent
initiliazation of status registers.

CRs-fixed: 336256
(cherry picked from commit d740fabec659e29ef056faaffa324bfda2c6c97e)

Conflicts:

	arch/arm/mach-msm/board-8064.c

Change-Id: I641c4c2a8e358298d416f778345fb632052b424a
Signed-off-by: Zhoulu Luo <zluo@codeaurora.org>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Sudhir Sharma <sudsha@codeaurora.org>
msm: pil: Allow pil_put() to shutdown peripherals

Remove the temporary hack to prevent peripherals from shutting down
when pil_put() is called and the reference count goes to 0.

Signed-off-by: Matt Wagantall <mattw@codeaurora.org>
(cherry picked from commit 39f90cbfbe87eb4195c0206f7db617723025fdb9)

Change-Id: Iaba64a03e3ae4793fa801c691a83a685b4c4d03c
Signed-off-by: Zhoulu Luo <zluo@codeaurora.org>
msm: scm-pas: Stub out bus scaling on 8064

The bus scaling APIs are not in place on 8064. Stub out calls to
the bus API until they are in place.

Change-Id: If144a3ae90292db26e3f231c9c5bb88638443c5e
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
msm: scm-pas: Don't ignore bw requests when dfab clock exists

The check should be checking for not having a dfab clock. Fix it
so bandwidth requests work.

(cherry picked from commit 2f0a847b15b512710f6f15adb269199bcd6b6691)

Change-Id: I15167d76d5ca21d42ade7b958b42441b8352b79b
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Revert some changes

Change-Id: I97a3b023175113a300d192aae5bbf24349a287b7
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>

Revert "interactive gov: update from aosp/kernel/common/android-3.4"

This reverts commit 86986cb619000249ac92aee9cd36b0fc828e146f.

Revert "watchdog: update it to work with cpustat changes"

This reverts commit e89d8792c513d8d3888c2f3e1be298a9160e82ee.

Revert "sched/accounting: Change cpustat fields to an array"

This reverts commit 2509ee4721c856697505de0212c62ccf22ce6fd0.

Conflicts:

	fs/proc/stat.c
backport interactive governor from Google 3.4 common kernel