Commit graph

582965 commits

Author SHA1 Message Date
Sahitya Tummala
ae92a00f02 uio: fix potential use after free issue when accessing debug_buffer
The variable debug_buffer is a global variable which is allocated
and free'd when open/close is called on debugfs file -
"/sys/kernel/debug/rmt_storage/info". The current code doesn't
have locks to handle concurrent accesses to the above file.
This results into use after free issue when debug_buffer is
accessed by two threads at the same time. Fix this by adding
a mutex lock to protect this global variable.

Change-Id: I6bc3f0ae2d7fca3ca9fe8561612f5863b6c3268a
Signed-off-by: Sahitya Tummala <stummala@codeaurora.org>
2017-02-15 20:22:41 -08:00
Linux Build Service Account
3ba1a36ad8 Merge "clk: qcom: Clean up the MSM8996 multimedia clock controller (MMCC) driver" 2017-02-15 06:11:41 -08:00
Linux Build Service Account
5a0dfb2bb5 Merge "ath10k: Refactor htt rx descriptor and remove last msdu check for WCN3990" 2017-02-15 06:11:40 -08:00
Linux Build Service Account
d4674fe1ca Merge "ARM: dts: msm: configure interrupt types for charger for pmi8998" 2017-02-15 06:11:40 -08:00
Linux Build Service Account
8f808604e1 Merge "ASoC: msm: qdsp6v2: Add initialization and range check in q6afe" 2017-02-15 06:11:39 -08:00
Linux Build Service Account
8fb3e23b94 Merge "ASoC: wcd934x: Do not prevent the core entering power collapse" 2017-02-15 06:11:38 -08:00
Linux Build Service Account
7ebb34d144 Merge "ASoC: msm: qdsp6v2: NOIRQ dynamic perf mode control" 2017-02-15 06:11:37 -08:00
Linux Build Service Account
adbf7b4bcc Merge "ASoC: msm8998: Add DoP support on QUAT TDM" 2017-02-15 06:11:36 -08:00
Linux Build Service Account
df10dee979 Merge "ASoC: msm: qdsp6v2: Add TDM support for PCM compressed mode" 2017-02-15 06:11:36 -08:00
Linux Build Service Account
7a2596d325 Merge "ASoC: msm: qdspv2: Add mixer controls for drift query" 2017-02-15 06:11:35 -08:00
Linux Build Service Account
6078b8e589 Merge "ARM: dts: msm: limit the maximum PCLK supported for DP on SDM660" 2017-02-15 06:11:34 -08:00
Linux Build Service Account
052718bb43 Merge "ARM: dts: msm: enable etr as default sink on sdm660" 2017-02-15 06:11:33 -08:00
Linux Build Service Account
c2d41f0fa2 Merge "ARM: dts: msm: modify dcc ram size for sdm660 and sdm630" 2017-02-15 06:11:32 -08:00
Linux Build Service Account
a88c273511 Merge "input: synaptics_dsx: reallocate buffer under lock." 2017-02-15 06:11:28 -08:00
Linux Build Service Account
10d5f72072 Merge "wil6210: support loading dedicated image for sparrow-plus devices" 2017-02-15 06:11:26 -08:00
Linux Build Service Account
737d15972b Merge "firmware_class: Add null check in firmware_direct_write" 2017-02-15 06:11:26 -08:00
Linux Build Service Account
de97496f9b Merge "msm: ipa: use GFP_ATOMIC for DMA memory allocation during SSR" 2017-02-15 06:11:25 -08:00
Linux Build Service Account
326d8d9480 Merge "leds: qpnp-flash-v2: add delay between LMH mitigation and LED strobe" 2017-02-15 06:11:24 -08:00
Linux Build Service Account
afc7d9b398 Merge "soc: qcom: pil: Clear elf memory on validation failure" 2017-02-15 06:11:23 -08:00
Linux Build Service Account
6923ea0a44 Merge "defconfig: msm: enable ATH10k WCN3990 WLAN module for APQ8098" 2017-02-15 06:11:23 -08:00
Linux Build Service Account
0f23b0a7d0 Merge "msm: camera: sensor: Validate destination step position" 2017-02-15 06:11:22 -08:00
Linux Build Service Account
3e0909682d Merge "msm: cpp: Check for validity of processed frame in cpp timeout" 2017-02-15 06:11:21 -08:00
Linux Build Service Account
278c419b79 Merge "msm: camera: isp: Handle page fault in case of overflow" 2017-02-15 06:11:21 -08:00
Linux Build Service Account
bf9fbe2a0d Merge "drm/msm/sde: enable pixel extension and qseed3 along with VIG pipes" 2017-02-15 06:11:19 -08:00
Linux Build Service Account
b376e2fbe6 Merge "msm: vidc: BUG_ON before killing session on timeout" 2017-02-15 06:11:19 -08:00
Linux Build Service Account
22982137e3 Merge "msm: vidc: Check for sanity of size while mapping buffers" 2017-02-15 06:11:18 -08:00
Linux Build Service Account
584a2fcb3f Merge "msm: vidc: Fix crash due to invalid instance access" 2017-02-15 06:11:17 -08:00
Linux Build Service Account
b09d016fa4 Merge "msm: vidc: Fix issue in split mode for UBWC output" 2017-02-15 06:11:16 -08:00
Linux Build Service Account
9d77f1dc26 Merge "msm: vidc: Decide plane count whenever extradata is set" 2017-02-15 06:11:15 -08:00
Linux Build Service Account
6051226fef Merge "ARM: dts: msm: Add GPU properties for SDM630" 2017-02-15 06:11:14 -08:00
Linux Build Service Account
b9fe2c19b4 Merge "defconfig: msm: add fastmap config on sdm660" 2017-02-15 06:11:13 -08:00
Linux Build Service Account
7a779a545a Merge "ARM: dts: msm: Add sdhc2 for sdm630 QRD" 2017-02-15 06:11:11 -08:00
Linux Build Service Account
f328953528 Merge "ARM: dts: msm: enable LRA drive correction for haptics on pmi8998 and pm660" 2017-02-15 06:11:11 -08:00
Linux Build Service Account
6da12d6d62 Merge "ARM: dts: msm: Enable pil_modem for apq8998 mediabox" 2017-02-15 06:11:10 -08:00
Linux Build Service Account
b4f0ed3750 Merge "power: qpnp-fg-gen3: add support to configure batt_therm coefficients" 2017-02-15 06:11:09 -08:00
Linux Build Service Account
c0b489b27e Merge "icnss: Remove unused IPC logging mechanism" 2017-02-15 06:11:08 -08:00
Linux Build Service Account
0a39d9efce Merge "msm: ADSPRPC: Set the device node in the session context" 2017-02-15 06:11:07 -08:00
Linux Build Service Account
8244c0df9c Merge "defconfig: arm64: msm: enable CONFIG_FORCE_ALLOC_FROM_DMA_ZONE" 2017-02-15 06:11:06 -08:00
Linux Build Service Account
942e3aaf81 Merge "net: support __netdev_alloc_skb to always use GFP_DMA" 2017-02-15 06:11:06 -08:00
Linux Build Service Account
bebd369197 Merge "usb: pd: Update uevent parameters during hard reset" 2017-02-15 06:11:05 -08:00
Linux Build Service Account
4ddd471716 Merge "usb: pd: Make select_pdo_store() wait until request goes through" 2017-02-15 06:11:04 -08:00
Linux Build Service Account
d98999459a Merge "ARM: dts: msm: Fix dwc3 device node property name typo on msm8998" 2017-02-15 06:11:03 -08:00
Linux Build Service Account
cafff2d71f Merge "usb: dwc3: Fix LPM NYET Threshold value" 2017-02-15 06:11:02 -08:00
Linux Build Service Account
2c441278bd Merge "ath10k: Return failure if fw ready is not arrived" 2017-02-15 06:11:02 -08:00
Linux Build Service Account
d9717f8c9a Merge "ice: Sent proper storage type for ICE configuration during reset" 2017-02-15 06:11:01 -08:00
AnilKumar Chimata
fee158d588 ice: Sent proper storage type for ICE configuration during reset
Read instance type from device tree node to know the storage type
for ICE configuration, which is used to program the corresponding
ICE register during ICE reset.

Change-Id: I0eb423fb84dc89115227abc7c5688df7ae9a4a3c
Signed-off-by: AnilKumar Chimata <anilc@codeaurora.org>
2017-02-14 20:50:16 +05:30
Vijayavardhan Vennapusa
1cdcea066d usb: pd: Fix probe failure in case of no sink capablities passed
Commit b76105e359 ("usb: pd: Read sink capabilities from device
tree") added support in usbpd driver to pass sink capablities from
device tree. But it introduced bug in case of no sink capablities
passed from device tree as in this case, device_property_read_u32_array()
returns -EINVAL. Due to this, usbpd driver probe fails as usbpd_create()
returns errors. Fix this issue by checking if return value > 0 and then
only try to read sink capablities from device tree. If not, use default
sink capabliites defined in usbpd driver.

Change-Id: I51beeba282c6e067881c664d38c2657843a1c716
Signed-off-by: Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
2017-02-14 15:44:21 +05:30
Rakesh Pillai
15676fcd2a ath10k: Refactor htt rx descriptor and remove last msdu check for WCN3990
WCN3990 target uses more fields in htt rx descriptor.
Refactor htt rx descriptor to not break legacy code.
Remove last msdu check in htt rx for WCN3990 which is not required.

CRs-Fixed: 2005906
Change-Id: Id2f670ecd72ea898a11a9d9eea61b5a1f2364d32
Signed-off-by: Rakesh Pillai <pillair@codeaurora.org>
2017-02-14 12:13:38 +05:30
Saranya Chidura
f76d422d2c ARM: dts: msm: enable etr as default sink on sdm660
Coresight ETR sink is enabled as the default sink to
collect traces.

Change-Id: I78cec888284307dbc7e696e7b33b45707bf9e1ca
Signed-off-by: Saranya Chidura <schidura@codeaurora.org>
2017-02-14 10:30:14 +05:30
Saranya Chidura
2862bbf115 ARM: dts: msm: modify dcc ram size for sdm660 and sdm630
Modify DCC RAM size for sdm660 and sdm630. DCC RAM is used to
store captured information locally in DCC.

Change-Id: Ib4c630e165e55b8ac82976e406069ee9e4d3f3c2
Signed-off-by: Saranya Chidura <schidura@codeaurora.org>
2017-02-14 10:06:35 +05:30