Commit graph

580254 commits

Author SHA1 Message Date
Linux Build Service Account
7169f0da4c Merge "ASoC: soc: msm: initialize buffer to prevent kernel data leakage" 2016-12-30 06:27:42 -08:00
Linux Build Service Account
607d1303c3 Merge "ASoC: msm-lsm-client: cleanup ioctl functions" 2016-12-30 06:27:41 -08:00
Linux Build Service Account
e8cece702f Merge "ASoC: wcd9335: Fix out of bounds for mad input value" 2016-12-30 06:27:40 -08:00
Linux Build Service Account
50f15acb6f Merge "ASoC: wcd9330: Fix out of bounds for mad input value" 2016-12-30 06:27:40 -08:00
Linux Build Service Account
9a111b700b Merge "uapi/media: add buffer size calculation for P010 ubwc" 2016-12-30 06:27:39 -08:00
Linux Build Service Account
ba7a68eca2 Merge "msm: ipa: fix the potential heap overflow on wan-driver" 2016-12-30 06:27:36 -08:00
Linux Build Service Account
8f4fb8ae38 Merge "net: ipc_router: Register services only on client port" 2016-12-30 06:27:32 -08:00
Linux Build Service Account
3a0a78d5f0 Merge "msm: camera: cpp: Add validation for v4l2 ioctl arguments" 2016-12-30 06:27:31 -08:00
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
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
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
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
Linux Build Service Account
2300bb89c0 Merge "msm: kgsl: Do a midframe sampling of power stats if enabled" 2016-12-26 08:58:23 -08:00
Linux Build Service Account
c49a0ffd01 Merge "ARM: dts: msm: Add initial support for msm8998 QRD SKUK HDK board" 2016-12-26 08:58:21 -08:00
Linux Build Service Account
5f431a3a02 Merge "spi: spi_qsd: Don't restrict first transfer in FIFO mode" 2016-12-26 08:58:20 -08:00
Linux Build Service Account
fd2339375e Merge "ARM: dts: msm: disable soft hot JEITA for 8998 QRD SKUK and VR1" 2016-12-26 08:58:20 -08:00
Linux Build Service Account
4927e39240 Merge "ARM: dts: msm: update icnss device node for msm8998-interposer" 2016-12-26 08:58:19 -08:00
Linux Build Service Account
b05b377c25 Merge "input: misc: fix heap overflow issue in hbtp_input.c" 2016-12-26 08:58:18 -08:00
Shrey Vijay
f3f9cfbe71 ARM: dts: msm: Update GPIO pins for SPI on msm8998
Update GPIO pins for spi_4 and spi_5 instances on msm8998.

Change-Id: I06bfaa1db1843590e51a07e7aa5018595929700b
Signed-off-by: Shrey Vijay <shreyv@codeaurora.org>
2016-12-26 19:49:21 +05:30
Hamad Kadmany
ea31a92946 msm_11ad: Add option to enable SMMU fastmap
Option added not to bypass SMMU and use
fastmap DMA APIs for 11ad use-cases.

SMMU address range is changed to have the
max possible.

Change-Id: I073ab59cc4ef1b71545a9e77b76d94f09d659aac
CRs-Fixed: 1105323
Signed-off-by: Hamad Kadmany <hkadmany@codeaurora.org>
2016-12-26 14:57:52 +02:00