msm: pm: idle-v7 clean up

Legacy platforms are not expected to use the mainline
anymore. Unsupported targets are MSM7X01A, MSM7X25,
MSM7X27, MSM7X30, QSD8X50, MSM8X60, MSM8960,MSM8930,
APQ8064, FSM9XXX, MSM9615, MSM8625, MSM9625, MSM7X27A.

Remove unused code in idle-v7 and its related files.

Change-Id: If1fbf9eead91d3410c5c5e75cb92824b110b1138
Signed-off-by: Venkat Devarasetty <vdevaras@codeaurora.org>
Signed-off-by: Karthik Parsha <kparsha@codeaurora.org>
Signed-off-by: Mahesh Sivasubramanian <msivasub@codeaurora.org>

Conflicts:

	arch/arm/mach-msm/idle-v7.S

Signed-off-by: Domenico Marino <johnlemon.lol@gmail.com>
msm: idle: Use ARM suspend/resume APIs to restore during warmboot

ARM generic cpu_suspend/resume APIs restore the necessary CP15 registers
to a known state when resuming from a reset state. Use of generic
suspend/resume APIs allows the msm warmboot code to not care about
restoring core registers used by ARM kernel. Also, the PM subsystem no
longer needs to allocate page table or uncached memory to save CPU
registers.

While at it convert most of the assembler code into respective C
function except for warmboot code that executes with MMU turned off.
Also, the idle subsystem no longer needs to manage a  page table or
uncached memory to save CPU registers.

Change-Id: I78a75d0a3c703390eec476199c7ca2786360e12a
Signed-off-by: Mahesh Sivasubramanian <msivasub@codeaurora.org>
Signed-off-by: Karthik Parsha <kparsha@codeaurora.org>

Conflicts:

	arch/arm/mach-msm/idle-v7.S
	arch/arm/mach-msm/idle.h
	arch/arm/mach-msm/lpm_levels.c
	arch/arm/mach-msm/pm-8x60.c
	arch/arm/mach-msm/pm.h

Signed-off-by: Domenico Marino <johnlemon.lol@gmail.com>
Revert "msm: idle: Use ARM suspend/resume APIs to restore during warmboot"

This reverts commit 924cbe09a8aeea6c43829a57c1dce9a186d191bf.
idle-v7: fix after cherry-pick

Signed-off-by: Domenico Marino <johnlemon.lol@gmail.com>
Makefile: use -O3 instead of O2
GCC 4.8 forbidden warning fix