Commit graph

600733 commits

Author SHA1 Message Date
Pradosh Das
85411643a9 Revert "Revert "mmc: core: Update SD card removal logic based on cd gpio state""
This reverts commit b068566550.

Change-Id: I8a5c30e75fc6c2bf7f92f11b9c82484685bd4dad
Signed-off-by: Pradosh Das <prados@codeaurora.org>
2018-08-09 19:11:30 +05:30
Sahitya Tummala
a63c4e469e uio: msm_sharedmem: add guard page around shared memory
If guard_memory dtsi property is set, then the shared memory
region will be guarded by SZ_4K at the start and at the end.
This is needed to overcome the XPU limitation on few MSM HW,
so as to make this memory not contiguous with other allocations
that may possibly happen from other clients in the system.

Change-Id: I57637619cea8fe7f0f7254624e07177ea4a4fce0
Signed-off-by: Sahitya Tummala <stummala@codeaurora.org>
2018-08-09 04:35:22 -07:00
Linux Build Service Account
ed3b43c907 Merge "uio: msm_sharedmem: Add stub shutdown function" into kernel.lnx.4.4.r35-rel 2018-08-09 04:32:44 -07:00
xianzhu
462c7e0188 Revert "power: wakeup_reason: send uevent to user space"
This reverts commit ba2d60830c.

Change-Id: Ib4909673a306eb1f2d7a70a07cd9dc5189e7c03e
Signed-off-by: xianzhu <xianzhu@codeaurora.org>
2018-08-09 02:19:39 -07:00
Anant Goel
3002a37ec9 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-09 02:08:04 -07:00
Pradosh Das
27ea8df402 Merge commit '11ee621aea156ba9e1854335b0708f42fca975c7' into HEAD
Change-Id: I408112b4ade0fc6a93a983bace5c2d928bd61e77
Signed-off-by: Pradosh Das <prados@codeaurora.org>
2018-08-08 14:02:53 +05:30
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
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
Venkata Rao Kakani
45d853997f defconfig: msm: Enable QUOTA encryption support
Add sdcardfs support and QUOTA encryption support for
CTS issue fixes.

Change-Id: Ie7120b21bf5b6b00432cc79302a3cf740a2cc710
Signed-off-by: Venkata Rao Kakani <vkakani@codeaurora.org>
2018-07-30 02:08:10 -07:00
Srikanth Uyyala
21564edd0d mm-camera2:isp2: Add NULL check for stream_info pointer
The function msm_isp_get_stream_common_data could return a NULL,
add check to avoid NULL pointer dereference.

Change-Id: I157a74189b581d8ba90ef31f71c3be9b8369a764
Signed-off-by: Srikanth Uyyala <suyyala@codeaurora.org>
2018-07-30 14:19:22 +05:30
Linux Build Service Account
1deb9383f1 Merge "ARM: dts: msm: Enable Apps shutdown feature in IPA driver for 8996HQX" 2018-07-29 20:42:16 -07:00
Linux Build Service Account
7adc4e13a4 Merge "defconfig: msm: Define common hypervisor flag" 2018-07-28 04:00:25 -07:00
Linux Build Service Account
2eb95c6cb2 Merge "defconfig: msm8998: Enable VTI config for v4 and v6" 2018-07-28 04:00:24 -07:00
Linux Build Service Account
f8a156dfae Merge "defconfig: sdm660: Enable VTI config for v4 and v6" 2018-07-28 04:00:23 -07:00
Devi Sandeep Endluri V V
48771935e6 defconfig: msm8998: Enable VTI config for v4 and v6
Enable VTI to give userspace (netd) the ability to create and
update virtual interfaces.

CRs-Fixed: 2214527
Change-Id: I5076d59230538c0b88fbd8d3c9188141a600526b
Signed-off-by: Devi Sandeep Endluri V V <dendluri@codeaurora.org>
2018-07-27 10:10:34 -07:00
Devi Sandeep Endluri V V
34096f2db5 defconfig: sdm660: Enable VTI config for v4 and v6
Enable VTI to give userspace (netd) the ability to create and
update virtual interfaces.

Change-Id: Ia32c78a8675757f4b600c6e4211f42afdb8249d4
CRs-Fixed: 2214527
Signed-off-by: Devi Sandeep Endluri V V <dendluri@codeaurora.org>
2018-07-27 10:09:44 -07:00
Camus Wong
6a36454b0a defconfig: msm: Define common hypervisor flag
Define common flag for hypervisor platforms and make use of it to:
1. Enable drm/msm-hyp
2. Disable drm/msm

Change-Id: I6eb6a7cd2a1128ed8d2bf6efd96c4829556eb876
Signed-off-by: Camus Wong <camusw@codeaurora.org>
2018-07-27 10:31:56 -04:00
Linux Build Service Account
e9d5b645ee Merge "USB: pd: Send PS_RDY within tNewSrc after PS_RDY received" 2018-07-27 03:36:36 -07:00