Commit graph

600738 commits

Author SHA1 Message Date
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
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
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
Ajay Agarwal
53324ddb60 usb: phy-msm-ssusb-qmp: Make vls_clamp_reg as optional
Currently the SSUSB QMP PHY driver mandates that vls_clamp_reg be
passed from the DTSI. But this register cannot be accessed on a
platform on which Linux is a guest OS. This can lead to errors
when trying to enable autonomous mode. Work around this situation
by making the vls_clamp_reg property as optional.

Change-Id: Idb103d9b7bda717a5f12689951a7452c46aa76dd
Signed-off-by: Ajay Agarwal <ajaya@codeaurora.org>
2018-07-31 00:22:33 -07:00
Ajay Agarwal
3674a33d5d usb: dwc3-msm: Queue resume_work unconditionally on pm_resume
Currently on pm_resume, the driver queues resume_work only if
vbus_active is true or id_state is false. So when the system is
suspended with host mode cable connected and the cable is
disconnected, the port still remains in host mode. Fix this by
unconditionally queueing resume_work from pm_resume and adding
required pm_relax in B_IDLE branch of sm_work.
Also create a freezable workqueue for sm_work so that the work
items do not race with pm_resume of child devices.

Change-Id: I9b79ddcc44c87111fc85086038361d9140be2af5
Signed-off-by: Ajay Agarwal <ajaya@codeaurora.org>
2018-07-31 12:47:12 +05:30
Linux Build Service Account
6dc8f1cb01 Merge "msm: ipa: Add support to IPA platform shutdown cleanup" 2018-07-30 23:59:59 -07:00
Linux Build Service Account
fb5e9276e4 Merge "arch: arm64: Reenable HW breakpoint" 2018-07-30 23:59:56 -07:00
Yong Ding
4faca7cde5 soc: qcom: hab: add hab statistics support
This allows user to read back hab runtime information.

Change-Id: Id266dd17b9c9d38f0e93aa600510ae1c6b12cca5
Signed-off-by: Yong Ding <yongding@codeaurora.org>
2018-07-31 14:16:16 +08:00
Neeraj Upadhyay
b69cba7b7c arch: arm64: Reenable HW breakpoint
HW breakpoint was disabled in
'commit f2a3f3ef8e73 ("arch: arm64: disable HW breakpoint")'.
However, it is required for setting breakpoints using ptrace
syscall, which is required for certain userspace applications
to work. So, reenable it.

Change-Id: Ib2a49488b92b0f77d13871d151778b3f0feab273
Signed-off-by: Neeraj Upadhyay <neeraju@codeaurora.org>
2018-07-30 21:36:13 -07:00
Mohammed Javid
ac27bafd6e msm: ipa: Add support to IPA platform shutdown cleanup
Add support for platform reboot from IPA APPS
driver perspective.

Change-Id: Id65336da06a59a28944bfd51d9482d3d82a9cc3e
Signed-off-by: Mohammed Javid <mjavid@codeaurora.org>
2018-07-31 06:07:11 +05:30
Linux Build Service Account
420e40e5e7 Merge "msm: ipa3: Update holb config on USB DPL ep" 2018-07-30 13:37:31 -07:00
Linux Build Service Account
0d349866d6 Merge "defconfig: msm: Enable QUOTA encryption support" 2018-07-30 13:37:26 -07:00
Linux Build Service Account
6eefc68d77 Merge "mm-camera2:isp2: Add NULL check for stream_info pointer" 2018-07-30 13:37:21 -07:00
Mohammed Javid
f6b9625a3e msm: ipa3: Update holb config on USB DPL ep
Once USB DPL consumer ep is configured,
there is a chance of IPA hardware getting stalled,
if DPL client is not pulling the data over other end.
so, set holb discard over USB DPL cons ep
to avoid this stall.

Change-Id: I520b8c1ec84e03b783677c43670cbb9f904a4b4f
Signed-off-by: Mohammed Javid <mjavid@codeaurora.org>
2018-07-30 20:06:00 +05:30
Linux Build Service Account
1fe479555d Merge "mmc: core: Use mmc_get_cd_gpio to get cd gpio status in resume path" 2018-07-30 05:12:58 -07:00