Commit graph

603903 commits

Author SHA1 Message Date
Linux Build Service Account
27320b9e83 Merge "drm: msm: sde: update blob property after splash is done" 2018-12-13 05:14:14 -08:00
Linux Build Service Account
2052860ae5 Merge "drm/msm/sde: Reserve one more layer for early DRM" 2018-12-13 05:14:12 -08:00
Linux Build Service Account
e46bc1b058 Merge "ARM: dts: msm: Add initial dts support for SDM455 RCM devices" 2018-12-12 07:08:37 -08:00
Linux Build Service Account
7682f0a507 Merge "usb: misc: ks_bridge: Add support for 901F PID" 2018-12-11 07:42:33 -08:00
Linux Build Service Account
1a66c59786 Merge "Merge android-4.4.166 (4c4bedf) into msm-4.4" 2018-12-10 16:45:52 -08:00
Linux Build Service Account
57746efb25 Merge "pinctrl: qcom: spmi-gpio: Fix the GPIO strength mapping" 2018-12-10 16:45:51 -08:00
Linux Build Service Account
f33b549360 Merge "msm: camera: Fix invalid type conversion" 2018-12-10 16:45:49 -08:00
Anirudh Ghayal
aed1318689 pinctrl: qcom: spmi-gpio: Fix the GPIO strength mapping
The SPMI based PMICs have the HIGH and LOW GPIO output
strength mappings interchanged, fix them.

Keep the mapping same for older SSBI based PMICs.

CRs-Fixed: 2246473
Change-Id: I4ec78469c436b54642ee67108943c82fba46e1c4
Signed-off-by: Anirudh Ghayal <aghayal@codeaurora.org>
2018-12-09 22:08:51 +05:30
Gustavo Solaira
f5421490e0 usb: misc: ks_bridge: Add support for 901F PID
Add support for creation of misc device in case
the connected device has 0x05C6 VID and 0x901F PID.

Change-Id: I594b579affe9382138def16e6d82ddc55ae93ec7
Signed-off-by: Gustavo Solaira <gustavos@codeaurora.org>
2018-12-07 13:28:53 -08:00
Gustavo Solaira
3e54eb059a usb: misc: diag_ipc_bridge: Add support for 0x901F PID
Add support for creation of diag traffic channel in case
the connected device has 0x05C6 VID and 0x901F PID.

Change-Id: I460c0b1e54e88e336081b0ea87cc6342628ec516
Signed-off-by: Gustavo Solaira <gustavos@codeaurora.org>
2018-12-07 13:15:10 -08:00
Linux Build Service Account
982f5648ef Merge "msm: wlan: Update regulatory database to sheet ver.27" 2018-12-07 01:44:02 -08:00
Linux Build Service Account
6c2461eeff Merge "defconfig: msm: Enable earlydomain handoff support" 2018-12-06 18:46:14 -08:00
Linux Build Service Account
eb7b9e2ad0 Merge "drm/msm/sde: sanitize debugfs inputs when reading mdp memory" 2018-12-06 06:33:27 -08:00
Linux Build Service Account
e603b95224 Merge "diag: Mark Buffer as NULL after freeing" 2018-12-06 06:33:27 -08:00
Linux Build Service Account
47619e14cb Merge "defconfig: msm: arm64: remove USELIB configuration" 2018-12-06 06:33:25 -08:00
Vivek Kumar
c4799c908d defconfig: msm: Enable earlydomain handoff support
Enable earlydomain handoff support for msm8996
auto.

Change-Id: If18f1152cd8f008cc5ef68c89680dbd37674a2d1
Signed-off-by: Vivek Kumar <vivekuma@codeaurora.org>
2018-12-06 03:51:24 -08:00
Vivek Kumar
0e2d41ea25 ARM: dts: msm: Add dt node for earlydomain
Add DT node for early domain driver for
msm8996 and remove reserved memory node
for lk_pool as it will be populated by
bootloader if early domain is enabled.

Change-Id: Idd364e2bfab97af78292b1e6a6e172a7b7c4c3a0
Signed-off-by: Vivek Kumar <vivekuma@codeaurora.org>
2018-12-06 03:51:17 -08:00
Abhishek Abbanaveni
ab6810fe8b msm: camera: Fix invalid type conversion
Invalid type conversion with x64 bit command VIDIOC_MSM_LASER_LED_CFG
passed in,for which the type should be "msm_laser_led_cfg_data_t"

Change-Id: I43e112224c612fb5390fa5fc23e8ae9c0e553288
CRs-Fixed: 2299699
Signed-off-by: Abhishek Abbanaveni <aabban@codeaurora.org>
Signed-off-by: E V Ravi <evenka@codeaurora.org>
2018-12-06 02:47:36 -08:00
Hardik Arya
3000c8ab59 diag: Mark Buffer as NULL after freeing
There is a possibility of use-after-free and
double free because of not marking buffer as
NULL after freeing. The patch marks buffer
as NULL after freeing in error case.

Change-Id: Iacf8f8a4a4e644f48c87d5445ccd594766f2e156
Signed-off-by: Hardik Arya <harya@codeaurora.org>
2018-12-06 12:08:28 +05:30
Linux Build Service Account
d3909cc0cd Merge "soc: swr-wcd: Apply div2 setting on slave side before bank switch" 2018-12-05 21:34:56 -08:00
Venkata Rao Kakani
9d10cfb60b defconfig: msm: arm64: remove USELIB configuration
Remove CONFIG_USELIB configuration to make kernel compliance
with android Vendor test suite.

Change-Id: I7ca9bbff514f318e595d44e56611b4f1fe6e8c65
Signed-off-by: Venkata Rao Kakani <vkakani@codeaurora.org>
2018-12-05 21:14:18 -08:00
Linux Build Service Account
1446ca0585 Merge "cfg80211: NL80211_ATTR_SOCKET_OWNER support for CMD_CONNECT" 2018-12-05 13:57:33 -08:00
Linux Build Service Account
a26a21e685 Merge "scm_qcpe: validate hab_recv() return value for retry" 2018-12-05 06:01:23 -08:00
Linux Build Service Account
22b90bcbe5 Merge "soc: qcom: glink: Add support to set affinities" 2018-12-05 06:01:22 -08:00
Linux Build Service Account
a3eba1613d Merge "Bluetooth: Added spinlocks for serial_clock_vote" 2018-12-05 06:01:21 -08:00
Linux Build Service Account
9254e692f7 Merge "dwc3-msm: Do not resume usb3 phy if max speed is HS only" 2018-12-05 06:01:20 -08:00
Linux Build Service Account
93b010356e Merge "diag: Do not clear masks during logging mode switch" 2018-12-05 06:01:19 -08:00
Linux Build Service Account
8a0f0cceb7 Merge "defconfig: msm: enable SLUB_DEBUG_ON for gvm" 2018-12-05 06:00:42 -08:00
Youssef Youssef
010a0cd6a6 scm_qcpe: validate hab_recv() return value for retry
habmm_socket_recv() can return -EINTR which indicate that
the operation must be restarted.

Change-Id: I0860a9593303c7bf1fea5e0349595c4b2fb085eb
Signed-off-by: Youssef Youssef <yyoussef@codeaurora.org>
2018-12-05 01:09:36 -08:00
Linux Build Service Account
b4266af231 Merge "usb: gadget: Fix double free of device descriptor pointers" 2018-12-04 23:28:58 -08:00
Chris Lew
e3051954fb soc: qcom: glink: Add support to set affinities
There is a need to pin the interrupts and rx worker thread to a
specific cpu set for power and performance. Add support to define
the cpu set in device tree. This change does not include any hotplug
support.

Change-Id: Ibe651e987e72f5119e9e8453d87fa8059219ec1f
Signed-off-by: Chris Lew <clew@codeaurora.org>
2018-12-04 22:04:30 -08:00
Harish Bandi
5eceeebeee Bluetooth: Added spinlocks for serial_clock_vote
If we dont lock with spinlock before calling serial_clock_vote
in serial_clock_vote few global parameters may change values,
to avoid the race condition added hci_ibs_lock spinlock before
calling serial_clock_vote

Change-Id: I040d7ef0d998a60a274bf8d89649785db007afa3
Signed-off-by: Harish Bandi <c-hbandi@codeaurora.org>
2018-12-04 20:39:58 -08:00
Will Huang
f45e5c48d1 msm: wlan: Update regulatory database to sheet ver.27
Change 5G regdomain to FCC13 of country CL.
Change country CR to all bandwitch support.
Update DFS pattern and regdomain of country IN.
Update max tx power of country JP.
Add regdomain info of country MM.
Remove regdomain of country PS.
Update DFS pattern of country SA to ETSI-302502.

Change-Id: I34c2cc0b4737eaf3ddaa011f796df952b900bef8
CRs-Fixed: 2349775
Signed-off-by: Will Huang <wilhuang@codeaurora.org>
2018-12-05 10:23:55 +08:00
Linux Build Service Account
9e66b661ec Merge "msm: camera: Fix for OOB security CR" 2018-12-04 13:39:03 -08:00
Linux Build Service Account
620331e4af Merge "ARM: dts: msm: Remove Out-Of-Bound access" 2018-12-04 07:07:22 -08:00
Laxminath Kasam
314f0ae55e soc: swr-wcd: Apply div2 setting on slave side before bank switch
In soundwire controller, bank switch happen twice
for a playback session with stereo speakers. Ensure
the setting of div2 applied to inactive bank before
bank switch occurs to avoid impact based on bank chosen.

Change-Id: I033b19e78309485ca9da85ec67b54409e6fe22cc
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2018-12-04 15:25:39 +05:30
Abhishek Abbanaveni
4d15ce59f5 msm: camera: Fix for OOB security CR
If user passes an aribitary command with _IOC_DIR(cmd) == _IOC_NONE,
"arg" should point to any arbitrary address.

Check for invalid command and return error.

Change-Id: If60191a07bb80939af2d471a5acf1b17dd68aa58
CRs-Fixed: 2299567
Signed-off-by: Abhishek Abbanaveni <aabban@codeaurora.org>
2018-12-04 01:14:58 -08:00
Hemant Kumar
ceed3cc4a1 usb: gadget: Fix double free of device descriptor pointers
Upon driver unbind usb_free_all_descriptors() function frees all
speed descriptor pointers without setting them to NULL. In case
gadget speed changes (i.e from super speed plus to super speed)
after driver unbind only upto super speed descriptor pointers get
populated. Super speed plus desc still holds the stale (already
freed) pointer. As a result next composition switch results into
double free of super speed plus descriptor. Fix this issue by
setting all descriptor pointers to NULL after freeing them in
usb_free_all_descriptors(). Also clean up gsi_unbind() which is
setting up descriptor pointers to NULL already.

Change-Id: I4f28294c165bb3b5dc9feb4f22d819f527ad4d50
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
Signed-off-by: Sriharsha Allenki <sallenki@codeaurora.org>
2018-12-04 14:00:44 +05:30
Linux Build Service Account
0d67f89178 Merge "drm/msm/hdmi: disable HDR state on bridge disable" 2018-12-04 00:22:03 -08:00
Linux Build Service Account
0d7730d800 Merge "msm: ipa: Remove assert on ep empty" 2018-12-04 00:22:02 -08:00
Linux Build Service Account
37d8265f3e Merge "ASoC: msm: handle SSR event" 2018-12-04 00:22:02 -08:00
Linux Build Service Account
2f185a5acc Merge "defconfig: msm: Enable EHSET driver for 8996 GVM platform" 2018-12-04 00:22:01 -08:00
Linux Build Service Account
697d3f7621 Merge "dwc3-msm: Allow USB LPM with data role swap from dfp to ufp" 2018-12-04 00:22:00 -08:00
Linux Build Service Account
c471768d9c Merge "ARM: dts: msm: Add csi1 settings for early camera" 2018-12-04 00:21:58 -08:00
Linux Build Service Account
08a391fbb9 Merge "msm: ais: Move wait for early camera handoff" 2018-12-04 00:21:57 -08:00
Linux Build Service Account
0b402f74a0 Merge "Merge android-4.4.165 (f34ff9e) into msm-4.4" 2018-12-04 00:21:55 -08:00
Guchun Chen
bfe77429f9 drm: msm: sde: update blob property after splash is done
After early splash handoff is finished, kernel needs to
update each crtc's and plane's impacted blob property
by splash. This ensures framework can get correct resource
in the second init process.

Change-Id: Iddfa823d7ba786f3d81b96e86ad3b6e4b10a3375
Signed-off-by: Guchun Chen <guchunc@codeaurora.org>
2018-12-04 16:15:05 +08:00
Monika Singh
cc5c7e1c96 ARM: dts: msm: Remove Out-Of-Bound access
Remove the out of bound access vulnerability in the qce
driver reachable via ioctl.

Change-Id: I4320cd27334eaae975f4a6ad07fb7b2e5ebccffd
Signed-off-by: Monika Singh <monising@codeaurora.org>
2018-12-03 21:10:44 -08:00
Linux Build Service Account
8a475d4ba1 Merge "soc: qcom: boot_stats: Moved the early cam entry" 2018-12-03 17:19:24 -08:00
Navid Bahrani
ff7940216e drm/msm/hdmi: disable HDR state on bridge disable
HDR info frames were not disabled after a hotplug and app closure
or in the event of an unexpected termination of the userspace driver.
Fixed the issue by resetting to HDR_DISABLE state in hdmi bridge disable.

Change-Id: Iead5cfe11512a8c49b6a2183561de427ce16f393
Signed-off-by: Navid Bahrani <nbahrani@codeaurora.org>
2018-12-03 17:05:43 -08:00