Commit graph

600751 commits

Author SHA1 Message Date
Linux Build Service Account
a829ffa673 Merge "msm: camera: cpp: Check for valid tx level" 2018-08-09 08:19:06 -07:00
Pratap Nirujogi
a98c0c6552 msm: camera: cpp: Check for valid tx level
TX and RX FIFOs of Microcontroller are used to exchange commands
and messages between Micro FW and CPP driver. TX FIFO depth is
16 32-bit words, incase of errors there is a chance of overflow.
To prevent possible out of bound access, TX FIFO depth or
level is checked for MAX depth before accessing the FIFO.

Change-Id: I5adf39b46ff10e358c4a2c03a2de07d44b99cedb
Signed-off-by: Pratap Nirujogi <pratapn@codeaurora.org>
2018-08-09 11:36:18 +05:30
Linux Build Service Account
0f9b5738c5 Merge "msm: ADSPRPC: Disable CDSP loader" 2018-08-08 18:28:49 -07:00
Linux Build Service Account
b0dc81a983 Merge "media: camera: Fix Major and Minor number" 2018-08-08 18:28:47 -07:00
Linux Build Service Account
ae2dd2807d Merge "ARM: dts: msm: disable pm8994 adc on vplatform" 2018-08-08 02:39:39 -07:00
Linux Build Service Account
51568631aa Merge "diag: Add missing protection while accessing session's info" 2018-08-08 02:39:38 -07:00
Linux Build Service Account
6d53b9684a Merge "ARM: dts: msm: Remove blsp1_uart2 on msm8996 ivi vplatform" 2018-08-08 02:39:35 -07:00
Linux Build Service Account
8963a5a4aa Merge "uio: msm_sharedmem: Add stub shutdown function" 2018-08-08 02:39:33 -07:00
Neeraj Soni
b98ee859fc media: camera: Fix Major and Minor number
Fix TA Major and Minor number.

Change-Id: I65a800ec8d84445efc05b9763062d476b1d0f27a
Signed-off-by: Neeraj Soni <neersoni@codeaurora.org>
2018-08-08 02:30:14 -07:00
Zhiqiang Tu
d612b3792d ARM: dts: msm: disable pm8994 adc on vplatform
Disable adc since they are not needed.

Change-Id: I5e08ae819f8c5c8a25eca4e523b214606105cb65
Signed-off-by: Zhiqiang Tu <ztu@codeaurora.org>
2018-08-08 10:16:49 +08:00
Zhiqiang Tu
731d27ce78 ARM: dts: msm: Remove blsp1_uart2 on msm8996 ivi vplatform
Remove blsp1_uart since it is not needed.

Change-Id: Id0327fc601f87376eebfbe6d3cfb06b84ed9a407
Signed-off-by: Zhiqiang Tu <ztu@codeaurora.org>
2018-08-07 19:14:12 -07:00
Anant Goel
ca463d4e79 uio: msm_sharedmem: Add stub shutdown function
A stub shutdown function is added as the default
implementation. This function is used by targets
that do not need to free their memory when the
driver is shutdown.

Change-Id: I073cda4fee7a1c6c34c5ba72d9ba73478ef2d90d
Signed-off-by: Anant Goel <anantg@codeaurora.org>
2018-08-07 18:04:35 -07:00
Linux Build Service Account
9656c6c641 Merge "ipa: update wlan upstream iface name" 2018-08-07 15:24:16 -07:00
Linux Build Service Account
53e0e0d476 Merge "msm: mdss: Change function from disbale_irq_nosync to disbale_irq" 2018-08-07 15:24:14 -07:00
Linux Build Service Account
ea4876dedd Merge "ASoC: wcd934x-dsp-cntl: initialize local char array val" 2018-08-07 15:24:12 -07:00
Linux Build Service Account
5143a7f32c Merge "diag: Protect md_info structure while reallocation" 2018-08-07 15:24:10 -07:00
Linux Build Service Account
991119cca5 Merge "msm: ipa3: using rate limit api for ioctl calls" 2018-08-07 15:24:09 -07:00
Linux Build Service Account
74482c64af Merge "msm: ipa3: fix hdr offset issue" 2018-08-07 15:24:06 -07:00
Mohammed Javid
f605473d7c ipa: update wlan upstream iface name
Update WLAN upstream name to support STA SAP scenario
with wlan1 iface.

Change-Id: I0223c5b4aff8dfe24562a2c6d4ac581a7843224e
Acked-by: Pooja Kumari <kumarip@qti.qualcomm.com>
Signed-off-by: Mohammed Javid <mjavid@codeaurora.org>
2018-08-07 10:32:51 -07:00
Hardik Arya
280b89e72c diag: Add missing protection while accessing session's info
Currently, mutex protection is missing while accessing md session's
info via macro. The patch adds proper protection before accessing
the same.

Change-Id: I17b18183407279447229783fd0165337bd173423
Signed-off-by: Hardik Arya <harya@codeaurora.org>
2018-08-07 17:54:41 +05:30
Linux Build Service Account
42570c93ec Merge "msm: kgsl: unload/reload zap shader" 2018-08-06 21:52:26 -07:00
Linux Build Service Account
7f6b5aa038 Merge "cnss2: Clear flag CNSS_DRIVER_UNLOADING after unregister driver finished" 2018-08-06 21:52:22 -07:00
Linux Build Service Account
5e1e802655 Merge "cnss2: Skip PCIe link suspend if link has already been suspended" 2018-08-06 21:52:18 -07:00
Xiaoyu Ye
1767f08490 ASoC: wcd934x-dsp-cntl: initialize local char array val
Due to the local char array that stores the codec dsp control command
is not initialized, an invalid command could cause the stack content
to be printed out in kernel dmesg. Initialize the array with memset.

Change-Id: I9573958fbe308c170c203a6a50a94d0540f3e7ce
Signed-off-by: Xiaoyu Ye <benyxy@codeaurora.org>
2018-08-06 15:58:53 -07:00
Mohammed Javid
55dbd938ac msm: ipa3: using rate limit api for ioctl calls
ipav3 ioctl calls input arguments validation failed cases,
replacing IPAERR()/IPAHAL_ERR() with IPAERR_RL()/IPAHAL_ERR_RL()
marco for controlling logs printing on the console.

Change-Id: I0b48b4a2f8b37c71aebe82c7b747b1d8f6c1e143
Acked-by: Pooja Kumari <kumarip@qti.qualcomm.com>
Acked-by: Ashok Vuyyuru <avuyyuru@qti.qualcomm.com>
Signed-off-by: Mohammed Javid <mjavid@codeaurora.org>
2018-08-07 00:52:23 +05:30
Skylar Chang
12626bc2e3 msm: ipa3: fix hdr offset issue
Hdr offset calculation is wrong when
driver received clean-up ioctl from
user-space. The fix is to find right
hdr offset to commit ned headers.

Change-Id: I70878a19b64c3defa6101bd68d435f0b74bcfb9b
Acked-by: Pooja Kumari <kumarip@qti.qualcomm.com>
Signed-off-by: Mohammed Javid <mjavid@codeaurora.org>
Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
2018-08-06 15:05:25 +05:30
Kai Liu
6afee6e21a cnss2: Clear flag CNSS_DRIVER_UNLOADING after unregister driver finished
Flag CNSS_DRIVER_UNLOADING is set when unregister wlan started, but it's
cleared in cnss_shutdown, which is also used in other call flow. Clear this
flag after unregister finished.

Change-Id: I0b5d63e5570c2604ff66d7852d7c7ca1c008a475
Signed-off-by: Kai Liu <kaliu@codeaurora.org>
2018-08-05 22:04:53 +08:00
Linux Build Service Account
11ee621aea Merge "soc: qcom: hab: fix some NULL pointer dereference issues" 2018-08-03 04:05:50 -07:00
Linux Build Service Account
611769cb2e Merge "usb: dwc3-msm: Queue resume_work unconditionally on pm_resume" 2018-08-03 04:05:47 -07:00
Linux Build Service Account
066d4578b9 Merge "msm: vidc: Increase minimum input buffer count for HEVC decode" 2018-08-03 04:05:43 -07:00
Linux Build Service Account
6febdef874 Merge "soc: qcom: hab: add hab statistics support" 2018-08-03 04:05:37 -07:00
Linux Build Service Account
45874436ca Merge "diag: Read the HSIC data in a work queue" 2018-08-03 04:05:29 -07:00
Yong Ding
949999a18d soc: qcom: hab: fix some NULL pointer dereference issues
With this patch, some potential NULL pointer dereference
issues are resolved. For example, if an invalid MMID
(MultiMedia ID defined by HAB driver) is gotten but we
fail to directly return with an error, the vchan variable
as NULL pointer will be dereferenced.

Change-Id: I92f9c5d08f99ef9db3e6a8b2ecdc0f074c8e8bff
Signed-off-by: Yong Ding <yongding@codeaurora.org>
2018-08-03 15:10:47 +08:00
Paras Nagda
88955d3b16 msm: vidc: Increase minimum input buffer count for HEVC decode
Increase minimum input buffer count for HEVC decode to 5 to
avoid hang when the DPB is not full and FW keeps
waiting for FTB although sufficient ETB are being queued.

CRs-Fixed: 2252419

Change-Id: Id344cd896aeac46765e250e715d14a6c835b4221
Signed-off-by: Paras Nagda <pnagda@codeaurora.org>
2018-08-02 23:06:04 -07:00
Gerrit - the friendly Code Review server
d54a5ed7e5 Merge changes into msm-4.4 2018-08-02 20:10:21 -07:00
Linux Build Service Account
1c7b64cd10 Merge "msm: ipa: support ipacm cleanup" 2018-08-02 07:10:43 -07:00
Linux Build Service Account
295cd96839 Merge "cnss2: Add support for PCIe WLAN IPA uc SMMU feature" 2018-08-02 07:10:42 -07:00
Linux Build Service Account
d510cdf678 Merge "diag: Modify md_info and diag client map synchronization" 2018-08-02 07:10:41 -07:00
Linux Build Service Account
88fd61c5d3 Merge "msm: camera: Fix out-of-bounds read in string class name." 2018-08-02 07:10:37 -07:00
Linux Build Service Account
bf90c1b1f5 Merge "msm: camera: sensor: Add support for front aux sensor" 2018-08-02 07:10:34 -07:00
Skylar Chang
aef2c9f15c msm: ipa: support ipacm cleanup
Support header/filter, routing rules
cleanup when user-space module
crashed like ipacm and also cached
the wlan client connect messages
for ipacm to query.

Change-Id: Ib09cbe0e9114aa5a5673898ff796de7e7944af35
Acked-by: Pooja Kumari <kumarip@qti.qualcomm.com>
Signed-off-by: Mohammed Javid <mjavid@codeaurora.org>
Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
2018-08-02 00:37:49 -07:00
Manoj Prabhu B
d0be0bc135 diag: Modify md_info and diag client map synchronization
Extend the scope of protection to md_info till queueing
the write to sdcard. Patch adds protection to diag client map
synchronizing access by various clients.

CRs-Fixed: 2282558
Change-Id: If076af2d09180a282a9077b4ebcda0184e9f67b5
Signed-off-by: Manoj Prabhu B <bmanoj@codeaurora.org>
2018-08-01 23:26:31 -07:00
Linux Build Service Account
55df6dc8bd Merge "power: wakeup_reason: send uevent to user space" 2018-08-01 20:19:45 -07:00
Linux Build Service Account
eea1a62727 Merge "net: ipc_router: Initialize the sockaddr in recvmsg() handler" 2018-08-01 04:54:15 -07:00
Frank Liu
26eff67153 cnss2: Add support for PCIe WLAN IPA uc SMMU feature
To add support for PCIe WLAN IPA uc SMMU feature, prvoide related
platform api for wlan driver to get the smmu map handle and do the
mapping.

Change-Id: I672b1a48879ada65b3ddb3f16c4bd787dc1b70a6
Signed-off-by: Frank Liu <qiliu@codeaurora.org>
2018-08-01 03:21:40 -07:00
Manoj Prabhu B
013254162a diag: Protect md_info structure while reallocation
The possibility of md_info structure being accessed simultaneously
by two threads is prevented by synchronizing while buffer
reallocation for hdlc encoding. Extend the scope of protection to
md_info till queueing the write to sdcard.

CRs-Fixed: 2279473
Change-Id: I75ddb102adfc6c79f35ed69914c9140cb82894c9
Signed-off-by: Manoj Prabhu B <bmanoj@codeaurora.org>
2018-07-31 23:12:42 -07:00
Linux Build Service Account
414b079b7f Merge "msm: kgsl: Fix the missing IBs from the snapshot" 2018-07-31 09:34:30 -07:00
Linux Build Service Account
b0b8266657 Merge "usb: phy-msm-ssusb-qmp: Make vls_clamp_reg as optional" 2018-07-31 09:34:28 -07:00
Linux Build Service Account
e8848a7c8e Merge "icnss: Remove sending uevent after FW ready" 2018-07-31 09:34:22 -07:00
Sunil Khatri
f15aace0bf msm: kgsl: Fix the missing IBs from the snapshot
We missed updating index for internal IBs like setstate
or power-on fixup.

The index value was never updated after that, so all the
IBs after that index were never parsed, and are missing
from the snapshot.

Change-Id: I61db75f33630db322fe5ee1adce9f120987d32ee
Signed-off-by: Sunil Khatri <sunilkh@codeaurora.org>
2018-07-31 02:52:43 -07:00