msm: spm: modify power collapse seq for kraitv3

High sleep current observed due to L2 cache not going into
power collapse in special cases.

While analyzing, a timing issue was found that can manifest itself when the
clamp signal is asserted during the Krait CPU1 power collapse sequence.
When it occurs, the issue causes an L2 FIFO to falsely believe that it
has data to return to CPU1 when it does not.The condition isnt detected until
later when CPU0 and the L2 attempt to collapse.

This condition keeps the L2 from going idle which keeps it from power
collapsing after both CPUs have collapsed.  This in turn prevents the
RPM from enabling a system low power state (VDD minimization).
The issue is likely process/temp/voltage dependent.

HW team recommended a workaround, the details are as below.

Add commands to the Krait CPU power collapse SPM sequences to assert
Krait CPU reset prior to asserting the CPU clamp signal and de-assert
CPU reset after the CPU clamp is asserted.
Since the CPU clocks are gated (by the first SPM command in the
sequence), and the clamp is applied, the Krait CPU will do nothing
when its reset is de-asserted.

The workaround involves changing both CPU power collapse SPM sequences
(Power Collapse with and without RPM notification).

CRs-fixed: 518750
Change-Id: I62c76f49a96a8cb6ecf67733ae9a7ff1a79a76f7
Signed-off-by: Venkat Devarasetty <vdevaras@codeaurora.org>
samsung: msm8930: modify power collapse seq for kraitv3
serrano: Merge with MG3
msm: Fix reservation logic for ADSP heap

We define ADSP heap type as CMA. So, fix the boot time
reservation logic to not to include its size for any
reservation.

CRs-Fixed: 475240
Change-Id: I2ff92892858e83b772b3161d526c36ee9cf44c71
Signed-off-by: Chintan Pandya <cpandya@codeaurora.org>
samsung: msm8930: Fix reservation logic for ADSP heap
Fix selinux_defconfig

Change-Id: I0eeeea2c71cfd076440125c1973dca5406617f05
Merge with GT-I9195_JB_Opensource_Update1.zip

Change-Id: I84c8b824117f4b014c9539340686385db80b795b
fs: Add exFAT file system

Change-Id: I7b611a7290e13b382597b34e68f05c78e19c4895
wlan: Update Prima to 3.2.4.138
wlan: Update Prima to 3.2.4.141

Change-Id: I55a0747a64034c1262bb1e702ae4f4924c40adcb
wlan: Revert Prima to 3.2.4.111A

 * Same as stock version

Change-Id: I91a391a40209cfa4893ba89157522e2d5fcdbd19
wlan: Prima 3.2.6.107

Change-Id: Id2c5f084cc52a7519cff44e3bd8cc7612519aeb5
wlan: Prima 3.2.6.113

Change-Id: Ie3f7d53e6d9d41f993bf0bf04ec625dfca317d68
wlan: Prima 3.2.6.119

Change-Id: Ifed3e1da39b9262eff3a8cab763840079ef11360
wlan: Prima 3.2.6.121

Change-Id: I31954e9f2e6255e50170e9a8e602bff82a40fe3b
wlan: Prima 3.2.6.125
wlan: Prima 3.2.7.4

Change-Id: I3257e4a00ab4b9e0ae996531ebcd91a4b64438ca
Squashed revert of ROW scheduler

Change-Id: I8530cbcb55138b87696e22bbaa7d9033f74728dc
radio-iris: Sync with CAF's kk_2.7.1 branch

Change-Id: I27d15f8730fb9f556692459a73e208ce77fdac7e
wlan: Prima 3.2.7.9

Change-Id: Ida9959b1eb84b1b1a70e31aae24f844df4dcef80