Commit graph

580388 commits

Author SHA1 Message Date
Linux Build Service Account
4662d1f057 Merge "wil6210: align to latest auto generated wmi.h" 2016-12-30 06:27:27 -08:00
Linux Build Service Account
1fd3851fcd Merge "msm: mink: Send full buffer size to TZ for smcinvoke" 2016-12-30 06:27:26 -08:00
Linux Build Service Account
11d76c0a2e Merge "soc: qcom: flush persistent kmaps and fixmap mappings for subsystem mdt" 2016-12-30 06:27:26 -08:00
Linux Build Service Account
5e8d18d9d8 Merge "msm: ipa3: Suspend Q6 pipes again during SSR POST_SHUTDOWN" 2016-12-30 06:27:22 -08:00
Linux Build Service Account
31a6ac888a Merge "ARM: dts: msm: Update GPIO pins for SPI on msm8998" 2016-12-30 06:27:21 -08:00
Linux Build Service Account
6632411c41 Merge "memshare: Listen to SUBSYS_BEFORE_POWERUP to collect ramdump" 2016-12-30 06:27:21 -08:00
Linux Build Service Account
6b0941734f Merge "ice: fix security issue with validating error in pointer" 2016-12-30 06:27:20 -08:00
Linux Build Service Account
5ca83f1576 Merge "diag: Add sysfs parameter to control diag mask clear" 2016-12-30 06:27:19 -08:00
Linux Build Service Account
fa8941a548 Merge "Revert "msm: camera: isp: Update burst length for msmfalcon"" 2016-12-30 06:27:18 -08:00
Linux Build Service Account
5a79a9f21b Merge "msm: sensor: validating the flash initialization parameters" 2016-12-30 06:27:17 -08:00
Linux Build Service Account
592cd2ede1 Merge "msm: camera: fd: Fix race condition during stream-off" 2016-12-30 06:27:17 -08:00
Linux Build Service Account
d3b2123d2c Merge "ARM: dts: msm: Remove unrequired vbif settings" 2016-12-30 06:27:16 -08:00
Linux Build Service Account
fd194c107b Merge "coresight: stm: Remove spin lock usage for channel allocation" 2016-12-30 06:27:15 -08:00
Greg Kroah-Hartman
4155d3a923 staging: android: ion: fix up file mode
An older accidentally changed this to executable, so fix it back up.

Gotta love windows editors...

Change-Id: I6a142f3506dcccdb35f56e8e27fe7706321882ac
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Git-commit: f75baf8d90bf45221694a1a5f0e5acdcb3245760
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Signed-off-by: Shiraz Hashim <shashim@codeaurora.org>
2016-12-30 05:12:36 -08:00
Sayali Lokhande
e84e74427e defconfig: msm: Enable CONFIG_MMC_CQ_HCI for sdm660
Enable CONFIG_MMC_CQ_HCI to support command queue
mode for sdm660.

Change-Id: I72d1ae5a743e1fa7b171e9556cbf261321a0fa87
Signed-off-by: Sayali Lokhande <sayalil@codeaurora.org>
2016-12-30 15:51:48 +05:30
Sayali Lokhande
5993c66bda ARM: dts: msm: Enable sdhc2 for sdm660
Add sdhc2 support to enable sdcard for
sdm660.

Change-Id: I7038590135bef2981735156a18c3104b0fc9f709
Signed-off-by: Sayali Lokhande <sayalil@codeaurora.org>
2016-12-30 15:46:08 +05:30
Sayali Lokhande
a0130eccd3 ARM: dts: msm: Add sdhc1 for sdm660 MTP/CDP
Add sdhc1 to support eMMC for sdm660 mtp and
cdp platforms. Also add some missing device
properties for sdm660 simulator and rumi platforms.

Change-Id: I4bea35ebea8e710d82724a3d5098d952b71875f4
Signed-off-by: Sayali Lokhande <sayalil@codeaurora.org>
2016-12-30 15:41:41 +05:30
Amit Nischal
9e3ba4ae70 clk: Fix handoff counts for parent of handoff enabled clocks
For commit 44aa223a3e ("clk: move check for CLK_ENABLE_HAND_OFF at
unused tree") at unused tree level, prepare and enable counts are
only decrementing for handoff enabled clock(having CLK_ENABLE_HAND_OFF
flag) and counts are not decrementing for their parent clock.
So fixing the same by adding clk_core_unprepare/disable at unused tree
level for handoff enabled clocks so that parent handoff counts also
gets decrement.

Change-Id: Ib238540b2addbe8c9ff7f2e34428169c76e3f44b
Signed-off-by: Amit Nischal <anischal@codeaurora.org>
2016-12-30 11:50:40 +05:30
Kiran Gunda
3f384542db regulator: qpnp-labibb: Add support for PM660A
Modify the driver to support the new lab/ibb
hardware changes supported on PM660A.

New hardware supports the following features:
1) Smart pulse skip mode
2) LDO mode for LAB
3) PFM mode
4) PBS sequencer handling SWIRE decoding
5) Default output voltage configuration

Change-Id: I5461995cc0ac930dd354c63b97223085306e869d
Signed-off-by: Kiran Gunda <kgunda@codeaurora.org>
2016-12-30 10:24:54 +05:30
Alan Kwong
a3d3c7f534 msm: sde: correct polling to use software timestamp
In polling mode, driver is using the top level busy and
error status for completion check. This is not correct
for regdma because it has separate status register and
software timestamp. This patch corrects regdma to wait
for the appropriate status register and checks for software
timestamp for timeout.

CRs-Fixed: 1096834
Change-Id: I18f8ab14be1db4d24954115b763e6ac749b71b4d
Signed-off-by: Alan Kwong <akwong@codeaurora.org>
2016-12-29 10:23:07 -08:00
Adrian Salido
450a697713 msm: mdss: change retire fence signaling
Signal retire fence on first vsync after frame has been programmed to
hardware. This indicates when the frame starts being fetched by
MDSS hardware.

CRs-Fixed: 1081525
Change-Id: Ib69f64ff17a1609b67ff34ef277f658bfa5cfb5a
Signed-off-by: Adrian Salido <salidoa@google.com>
(cherry picked from commit 80d5d7558ac98c56527cb1040dab3fc5f438ab51)
Signed-off-by: Abhijit Kulkarni <kabhijit@codeaurora.org>
2016-12-29 10:14:14 -08:00
Naseer Ahmed
acb7e2f792 mdss: Do not wait for kickoff in display commit
Just wait for the display to idle instead and immediately start
the next commit. This reduces the depth of the commit pending
queue.

CRs-Fixed: 1081525
Change-Id: Ic4ee6f738f5fa77890e806b55d9a0304915761ea
Signed-off-by: Naseer Ahmed <naseer@codeaurora.org>
Signed-off-by: Abhijit Kulkarni <kabhijit@codeaurora.org>
2016-12-29 10:14:02 -08:00
Tirupathi Reddy
421bb32449 ARM: dts: msm: Add GFX CPR device configuration for sdm660
GPU subsystem in sdm660 is supplied by either LDO300(VDD_GFX) in
LDO mode or VDD_CX in BHS mode. This LDO300 is CPR managed and supports
CPR closed-loop operation. Add CPR device node with required configuration
for supporting CPR closed-loop operation for sdm660.

CRs-Fixed: 1068294
Change-Id: Id12a50563f6cef196ef76816fcf8e177b9a3fa97
Signed-off-by: Tirupathi Reddy <tirupath@codeaurora.org>
2016-12-29 16:16:37 +05:30
Neeraj Upadhyay
98a47a0419 msm: Back merge rel to dev for SDM660/SDM630 renaming
Change-Id: Idd3880bb1570fac9a6f4f4008a1ca48384f8e3a4
Signed-off-by: Neeraj Upadhyay <neeraju@codeaurora.org>
2016-12-29 15:35:28 +05:30
Manoj Prabhu B
ec046f26dd memshare: Fix possible memory leak
This patch frees up the dynamically allotted memory
when met with error condition and function return.

CRs-Fixed: 1106180
Change-Id: I01446fbdbb422dcb025ee50929b32f40a5a78681
Signed-off-by: Manoj Prabhu B <bmanoj@codeaurora.org>
2016-12-29 14:56:32 +05:30
Avaneesh Kumar Dwivedi
1904958951 soc: qcom: Increase length of crash reason smem buffer
Presently we read a length of 80 character to dump subsystem
crash reason in case of err fatal on subsystem. Making it 130
character to dump additional info provided by subsystem.

CRs-Fixed: 1083000
Change-Id: Icaf4c27862984148c7125332ef7531b2a61f4ea2
Signed-off-by: Avaneesh Kumar Dwivedi <akdwived@codeaurora.org>
2016-12-28 23:22:20 -08:00
Manoj Prabhu B
e145621a4a diag: Fix error response during SSR
This patch addresses the scheduling conflicts of
control channel removal work by listening
to peripheral events.

CRs-Fixed: 1081265
Change-Id: Ib9f2448e564c4800535bd80d13c9bda5cc283c3c
Signed-off-by: Manoj Prabhu B <bmanoj@codeaurora.org>
2016-12-29 12:51:16 +05:30
Deepak Katragadda
87c6bb6b8b clk: qcom: clk-rcg2: Configure the RCGs to a safe frequency as needed
In certain cases, an RCG might be prone to being enabled even
though the overlying software thinks that it disabled the RCG.
In order to avoid letting the RCG go into an invalid state, support
parking it at a safe frequency during clk_disable() and deferring
all the RCG configuration updates to be done during clk_enable(),
if a scaling request comes in whilst the clock is disabled.

Change-Id: I55f1d1d346182a2b480127c57d6659fc9a63331b
Signed-off-by: Deepak Katragadda <dkatraga@codeaurora.org>
2016-12-28 22:56:12 -08:00
Rohit Kulkarni
2eb05c86d3 uapi/media: add buffer size calculation for P010 ubwc
Add support for P010 ubwc format in media buffer size
calculation API.

Change-Id: I3e99bb37ff3353b77dc1aa892ca017a7af28ec00
Signed-off-by: Rohit Kulkarni <rkulkarn@codeaurora.org>
2016-12-28 13:11:17 -08:00
Neeraj Upadhyay
33eba0ae11 msm: Rename msmtriton/apqtriton to sdm630/sda630
Update the code name from msmtriton/apqtriton to sdm630/sda630.
As part of this, update the filename containing "triton" and
files content containing "triton".

Change-Id: Ia558be75041e41e83d304d5fb4091c2a098e87c0
Signed-off-by: Neeraj Upadhyay <neeraju@codeaurora.org>
2016-12-28 21:56:22 +05:30
Neeraj Upadhyay
da23c02138 msm: Rename msmfalcon/apqfalcon to sdm660/sda660
Update the code name from msmfalcon/apqfalcon to sdm660/sda660.
As part of this, update the filename containing "falcon" and
files content containing "falcon".

Change-Id: Iec85862251b9e1b4dcc8bdce8b214ce87c0049bc
Signed-off-by: Neeraj Upadhyay <neeraju@codeaurora.org>
2016-12-28 21:56:21 +05:30
Hamad Kadmany
c81d1f330a wil6210: Protect against false interrupt during reset sequence
During reset sequence it is seen that device is generating an
interrupt eventhough interrupts are masked at device level.

Add workaround to disable the interrupts from host side during
reset and clear any pending interrupts before re-enabling
the interrupt.

CRs-Fixed: 1105834
Change-Id: Iea5b8a047908ed722a03c7838cd373718828bcc4
Signed-off-by: Hamad Kadmany <hkadmany@codeaurora.org>
2016-12-28 10:24:25 +02:00
Amir Samuelov
94b379f485 spss_utils: add support to read debug regs
Allow to read debug regs set by SPSS kernel or SPSS app.
This is a very basic and minimal debug info.

Change-Id: Id27886390caab5ff308a8423f3e65eb93fd1175d
Signed-off-by: Amir Samuelov <amirs@codeaurora.org>
2016-12-28 00:14:28 -08:00
Linux Build Service Account
aa36bb38fc Promotion of kernel.lnx.4.4-161227.
CRs      Change ID                                   Subject
--------------------------------------------------------------------------------------------------------------
1104858   I482bbf480d4129cdc6a1dfe08f37a1ec56c3131e   clk: qcom: Add FORCE_ENABLE_RCGR & CLK_ENABLE_HAND_OFF f
1104679   I53ac153ba9f7ae81bb0657b17e0e798fd3fe4f48   power_supply: Add SOC_REPORTING_READY property
1104679   I415e322e99bacd61c4e9ac921643d87d3eec4b3e   power: qpnp-fg-gen3: add SOC_REPORTING_READY property
1068294   I779074d0aba35827e1a8264385149967cb9973f3   regulator: cpr4-mmss: Add mmss CPR platform specific dri
1105323   I073ab59cc4ef1b71545a9e77b76d94f09d659aac   msm_11ad: Add option to enable SMMU fastmap
1102641   I39a1266f4158e71238f374b6cba49e1a8c2b1a3b   leds: qpnp-wled: Update WLED config
1104760   I2f9b4e9d45f95066ec93bb5fab179a14bc2c62ee   power: reset: Store KASLR offset in IMEM
986540   I711354941b4168f3f6ffe2d29185597bdad4da89   spi: spi_qsd: Fix the register peek/poke debug feature
1102726   I806456737485dfcbca8a71d59db0927bbd843708   clk: qcom: add MDSS PLL support for msmfalcon
1093863   I47cfe2cd7d93ba5db57365cf250c600dac22bab1   i2c-msm-v2:Synchronise runtime PM callback operations
1102841   I2661a639c19dd451f22c9a29d7d75d9b3fb98114   msm: mdss: Initialize mdss v3 pp driver ops for msmfalco
1101084   I334fd782a2c5d604cafb94f44832d9c700891ba2   msm: thermal: Update error handling of device offline
1105169   Ib089e7ddd38d0d15285ed65c8a29039451cfc3c5   ARM: dts: msm: Add initial support for msm8998 QRD SKUK
1104865   Ib1291524c53c4ec757a494a1e08cb0925720e1a6   msm: rtb: record counter timestamp for every log record
1081961   I5680dc5333c9664e1316c29a91e29231f15eb4f1   defconfig: msm: Add support for CPU OSM clock
1094763   Ifd41990058f8bbce8ba488770ffbfcd9b6067ad6   ASoC: msm: add support for WCD interrupt config via LPI
1103739   Ie5474c42ccdd88df4c101b2113ca8d924eddf037   usb: phy: qusb2: Switch to SE clk from diff clk upon sus
1068294   I2111fe55c9335d57ac91f18f4a4fb3689d80660d   defconfig: Compile GFX LDO regulator driver for msmfalco
1046799   I47db9f66c95846dbff882f631b915655c33c3d55   spi: spi_qsd: Don't restrict first transfer in FIFO mode
1104607   Ie85f7ede2d91767d0d5d20c90a481e6365ad7189   ARM: dts: msm: Add thermal mitigation properties to msmt
1104981   I476397d88e0f9d2b32ae375afc6f15eca4b9ec95   ARM: dts: msm: Add initial support for msm8998 QRD SKUK
1098662   I214bb19385f855af61da628fdf1cf7efc5dd08d6   msm: mdss: dp: fix calculation of link rate
1102900   Ide652165711eec23644d36837f3847d896293709   msm: mdss: Add mdss capabilities for msmfalcon
1104876   I9a707d953a85c16c9c5be82fd36960b49da36e3c   smcinvoke: support listener service request
1104976   Ic8c9657752271026d796ecd6c3b9f9f46f831f37   ARM: dts: msm: update icnss device node for msm8998-inte
1052835   I7f1419c8f7fd7c371767f6921afe0cd8cfaad18f   msm: camera: Change %p into %pK
1081961   I0aca021e51ef9ae59dedce855430a63937eb98c6   ARM: dts: msm: Add support for CPU clocks for msmfalcon
1076516   I290ec786bbe5c45873265ea74290eefcd3d16cb1   msm: mdss: dp: add support for PHY compliance tests
1100632   Iab69062336966e61683117a17974f46cd8f513aa   ARM: dts: msm: Allocate memory for diag client for msmfa
1103405   Iaaa69a56f13db9304640f115863bb882c72551a8   ARM: dts: msm: Update VA range for venus_ns and modify c
1083444   Ie2702223379b9c77ce4fe30376d446c63223dbc8   diag: dci: Fix possible dangling reference
1102776   I77f8e6de6f1b5c447a3516380c51db9c7129d2f3   spcom: abort any read() operation on SSR
1094456   Ib5247f6bceb1f555c03103f061af089755b2de62   clk: introduce CLK_ENABLE_HAND_OFF flag
1094763   Ib17d8bbd5894be5fbf3fa0cafdbec958abc42649   ARM: dts: msm: Enable audio internal codec nodes for msm
1103891   Iec6247a69c3258660eae398d6e3fe8215e3f254a   ARM: dts: msm: Add TP device node into msm8998 interpose
1104880 868394   I885ae66be2d8cca17bcc0b87b7635a71c734e4b2   usb/xhci: Add support for EHSET tests for host complianc
1094456   I7d527571c2eb4d53d58d82126989bd673de12e2d   clk: move check for CLK_ENABLE_HAND_OFF at unused tree
1093271   I472449c52bff40d48f7d65b05e145cc47cba9357   msm: crypto: fix AEAD issues for HW crypto driver on msm
1105038   I45d13b40fab9bf6686277c0c26a07668410cdfb2   usb: gadget: u_data_ipa: Fix condition check for IPA pip
1081961   I389cc9e93a26a434be752cf74444d6c0985ff36d   clk: qcom: Support CPU clock for OSM for common clock fr
1104001   Ib4cc69afb32a7654bbdd98f2efff901729c4d3da   clk: qcom: Add voltage voting for MSM8996 GCC driver
1104876   Ifeed957b99d2becd986629f60e145d6fdb717244   qseecom: support listener request for smcinvoke
1105100   Ic64d89b960c5effada93118d67a30cc051640be2   ARM: dts: msm: set rcu_expedited for msmfalcon and msmtr
1104853   If624bf14e8588e50fa6a97d29b528d7d02ef64dc   ARM: dts: msm: disable soft hot JEITA for 8998 QRD SKUK
1099484   I58c30a50c7834e7897daa2849b9885b3e797cf07   ARM: dts: msm: enable vdd and vdd-io for sdhc_2 on msm89
1099101   I41ab0baf1bbe6ccda6b8da2ecd077bea2a388e56   ASoC: msm: Check prepare state to avoid duplicate channe
1104977   I575aecb616a56974ec2680e5888190adb40c969a   ARM: dts: msm: set wled string/full scale current for QR
1092969   I6e315eec256f01c143ffc8b463279f2b30e64610   input: qpnp-power-on: Set ship mode in system_pwr_off
1104886   Ic44359e224e0f9070238748bd9b16eed35974ba6   ARM: dts: msm: add support of PM3FALCON based MSMFALCON
1097878   I3f895deaae3acf329088cf8135859cc41e781763   drivers: soc: qcom: Add error handling in function avtim
1104880   I88f2748f0c8cf96fe7f6ab9ebaa82d51ec97f4fd   defconfig: msmcortex: Enable EHSET Test Fixture device d
1104760   I456c62764c88149b785ecf1d65691ea5a775c1db   ARM: dts: msm: Add kaslr offset IMEM entry for msm8998
1104607   I780f9187256596d6f5d93b3847dc98a3c410a51e   ARM: dts: msm: Configure lmh hardware for msmtriton
1104928   I6aad9916c92d2f775632406374dbb803063148de   input: misc: fix heap overflow issue in hbtp_input.c
1101260   I6d59c7804d0dac5087e9b0e6c4a0cdacb5ddf3db   ARM: dts: msm: Add support for new flash mode on msm8998
1100528   I1fd7b7e7324b79544608a9d9ce73aa53608d1f3e   RM: dts: Update SD card Detect GPIO for msmfalcon
1104880   I638ca552f6dae735147378f3e6f6068e0003094b   usb: xhci: Add support for SINGLE_STEP_SET_FEATURE test
1103468   I547d792b38649aa1d60525b0dc335791b37989fd   msm: kgsl: Do a midframe sampling of power stats if enab
1104607   Id65a720d20fb34b9b5dccf8626af00a1d0519ce3   ARM: dts: msm: Add thermal sensor info for msmtriton
1100213   I29572841624c1cb96d85e2dcfe620b455867d41e   ARM: dts: msm: add devfreq nodes to msmfalcon target
1100018   I8e7c4be090107618cd6cbac394a57f109f8a1ced   usb: gadget: f_qc_rndis: Fix double-free in qcrndis_free
1084177   I2bbe7be3daedef45a5990c23168df5185e72e82f   msm: sensor: correcting return value for get actuator in
1102137   I2fce80cec72e3bd8b1561fd46fa1a1520cddd294   msm: mdss: dp: fix handling of link training mutex
1102584   Idd40a0b471293048833b34dda3ac5044a87fc3c9   ASoC: wcd934x: Fix headset TX mode setting
1103939   I03e4a8e10452ef53d8e35e7cee44bdf51f53483b   ARM: dts: msm: Add support for home hard key at QRD8998H
1098041   I8cc22af138a343cd387f4400cff487faa66b3da0   ASoC: wcd934x: Update class-H parameters based on headph
1095411   Ie639a26543e2f20b61d6dfc73b3bcbd6a43b24be   msm: mdss: Move PP programming after mdp wait for ping p
1093271   I406a41ac961757d31209ae0a0a4b4d9cc4d31a1e   defconfig: msm: disable CRYPTO_DEC_QCE device on msm8998
1104183   I58e19def0042022046e730dd97008a9e1c25b6d6   icnss: Add EXEC permission when assigning the MSA0 back
1104001   Ie596ddee60aac3e6fc996f9a3e8dc988b0f4aa88   clk: qcom: Add smd-rpm voter & voter branch clocks for M
1102726   I49efddea0228e3129d36eabc102d6df0fcd53d12   ARM: dts: msm: add mdss node for msmfalcon target
1099101   I1e76eb2e1c575b433e3899ae2471719bf68ab1c1   ASoC: msm: decrement slim channel ref to set the propert
1105246   I4de26881620dde4230d0a907bd0fd39bebe2bb3d   wil6210: missing reinit_completion in wmi_call

Change-Id: I0c6d90c668b09a08de714b3bcd03e1e513f1853a
CRs-Fixed: 1102584, 986540, 1104976, 1076516, 1104977, 1100018, 1102841, 1105100, 1104880, 1102900, 1081961, 1103939, 1104865, 1104679, 1105169, 1084177, 1105038, 1102641, 1099484, 1046799, 1052835, 1102137, 1098662, 1104853, 1098041, 1095411, 1083444, 1100632, 1104981, 1104858, 1100213, 1104607, 1093271, 1104928, 1102726, 1104876, 1093863, 1099101, 1103891, 1092969, 868394, 1094763, 1105246, 1103739, 1105323, 1094456, 1104760, 1101260, 1100528, 1097878, 1104886, 1104001, 1103468, 1102776, 1068294, 1101084, 1104183, 1103405
2016-12-27 21:28:56 -07:00
Krishnankutty Kolathappilly
3bfff20e7f msm: camera: cpp: Add validation for v4l2 ioctl arguments
Print the command instead of the printing ioctl ptr to avoid
information disclosure

CRs-Fixed: 1105663
Change-Id: I862a0a502c60519a864cfe12aacf7840ae094c1c
Signed-off-by: Krishnankutty Kolathappilly <kkolatha@codeaurora.org>
2016-12-27 12:06:29 -08:00
Gaurav Kohli
b1713f5e9a soc: qcom: flush persistent kmaps and fixmap mappings for subsystem mdt
On 32 bit architecture xpu violations are happening because of mappings
in PK map regions. Flush the PKMAP and fixmap mappings to make sure that
there are no duplicate mappings for any pil mdt region. On 64 bit
architecture these functions are empty.

Change-Id: Ie69fcf9044a89328e91ff8969044835f2a487a10
Signed-off-by: Gaurav Kohli <gkohli@codeaurora.org>
2016-12-27 02:49:00 -08:00
Gidon Studinski
d87908003d msm: ipa3: Suspend Q6 pipes again during SSR POST_SHUTDOWN
Suspend is set on Q6 pipes in PRE_SHUTDOWN phase of SSR. It was seen that
sometimes the suspend is being removed and is no longer present during the
POST_SHUTDOWN phase. Therefore, set suspend in POST_SHUTDOWN phase again.

Change-Id: Iebbef315a838b40eec939f368e63c4329723d906
CRs-Fixed: 1094908
Signed-off-by: Gidon Studinski <gidons@codeaurora.org>
2016-12-27 11:53:50 +02:00
Manoj Prabhu B
496e73b5a1 memshare: Listen to SUBSYS_BEFORE_POWERUP to collect ramdump
Currently the XPU lock on memory allocated for memshare clients may not be
unlocked by MBA during SUBSYS_RAMDUMP_NOTIFICATION event and can result in
XPU violation while collecting ramdump.
This patch collects the ramdump on listening to SUBSYS_BEFORE_POWERUP
event.

CRs-Fixed: 1099029
Change-Id: I51732d5adc60ad106a44ba554818c18947e2e803
Signed-off-by: Manoj Prabhu B <bmanoj@codeaurora.org>
2016-12-27 09:19:28 +05:30
Manoj Prabhu B
db1306a708 diag: Add sysfs parameter to control diag mask clear
This patch adds syfs parameter which controls clearing
of the peripheral masks upon USB disconnect and stopping
ODL.
This patch takes proper care for handling buffers
while clearing masks.

CRs-Fixed: 1081142
Change-Id: Ibe070661618258513d683bfec13ff10f23bee5d6
Signed-off-by: Manoj Prabhu B <bmanoj@codeaurora.org>
2016-12-26 19:16:16 -08:00
Linux Build Service Account
55e8426a19 Merge "msm_11ad: Add option to enable SMMU fastmap" 2016-12-26 18:24:19 -08:00
Linux Build Service Account
0e5d9545a0 Merge "ARM: dts: msm: set wled string/full scale current for QRD8998 SKUK" 2016-12-26 18:24:18 -08:00
Linux Build Service Account
4163e93ce5 Merge "wil6210: missing reinit_completion in wmi_call" 2016-12-26 18:24:18 -08:00
Linux Build Service Account
a142d07205 Merge "spi: spi_qsd: Fix the register peek/poke debug feature" 2016-12-26 18:24:17 -08:00
Linux Build Service Account
a5febdab47 Merge "ARM: dts: msm: enable vdd and vdd-io for sdhc_2 on msm8998 interposer" 2016-12-26 18:24:16 -08:00
Linux Build Service Account
1075dc72d7 Merge "ARM: dts: msm: Enable audio internal codec nodes for msmfalcon" 2016-12-26 08:58:27 -08:00
Linux Build Service Account
f66cd22d6d Merge "ARM: dts: msm: Add support for CPU clocks for msmfalcon" 2016-12-26 08:58:26 -08:00
Linux Build Service Account
7c77d8252a Merge "clk: qcom: Add voltage voting for MSM8996 GCC driver" 2016-12-26 08:58:26 -08:00
Linux Build Service Account
3fd107c84e Merge "clk: qcom: Add FORCE_ENABLE_RCGR & CLK_ENABLE_HAND_OFF flag for MSMfalcon" 2016-12-26 08:58:25 -08:00
Linux Build Service Account
0e41111119 Merge "clk: qcom: Add smd-rpm voter & voter branch clocks for MSM8996" 2016-12-26 08:58:24 -08:00
Linux Build Service Account
bb7bd9fe3b Merge "diag: dci: Fix possible dangling reference" 2016-12-26 08:58:23 -08:00