Commit graph

595211 commits

Author SHA1 Message Date
Yong Ding
063f936fe2 soc: qcom: hab: add time profiling function
With this profiling function, hab communication overhead can be
measured for performance debug.

Change-Id: I26dd487cfd1bbb811de69d8b35a7c095a21361ac
Signed-off-by: Yong Ding <yongding@codeaurora.org>
2017-11-30 11:20:12 +08:00
Yong Ding
ef8ff2ece9 soc: qcom: hab: add __packed for export_desc
The export_desc structure is shared among Hypervisor and
GVMs(Guest Virtual Machines). With the explicit __packed
declared, it can have exactly the same memory layout in
Hypervisor and GVMs.

Change-Id: Iccd25e617dd3152f808593dd54b0a20baad02541
Signed-off-by: Yong Ding <yongding@codeaurora.org>
2017-11-30 11:20:12 +08:00
Yong Ding
29a654b022 soc: qcom: hab: backend should listen without timeout
In the handshake stage of openning hab virtual channel,
hab backend should listen without timeout so that it just
keeps waiting for the coming connection from hab frontend.

Change-Id: I399fe050c5460bf3b56f862141320b2e2afe55e1
Signed-off-by: Yong Ding <yongding@codeaurora.org>
2017-11-30 11:20:11 +08:00
Yong Ding
7776191562 soc: qcom: hab: add some pchans for camera and clk
Add several more physical channels as MM_CAM2, MM_CLK_VM1
and MM_CLK_VM2.

Change-Id: I5f3138a9635e8ad0e1fcf2012d406b2d6a3db6c1
Signed-off-by: Yong Ding <yongding@codeaurora.org>
2017-11-30 11:20:11 +08:00
Linux Build Service Account
bcc563a061 Merge "DRM: SDE: Update the hdmi bridge to handle HPD clock" 2017-11-29 04:26:11 -08:00
Linux Build Service Account
eddaa51931 Merge "defconfig: msm: Enable USB audio QMI service driver for 8996" 2017-11-29 04:26:10 -08:00
Linux Build Service Account
989790f157 Merge "mmc: core: add power on to SD card detect" 2017-11-29 04:26:09 -08:00
Linux Build Service Account
eb08666211 Merge "msm: ipa: dynamic memory leak fix" 2017-11-29 04:26:08 -08:00
Linux Build Service Account
0f011956d5 Merge "sound: usb: Provide controller number in QMI response" 2017-11-29 04:26:05 -08:00
Linux Build Service Account
63624a4104 Merge "usb: core: Add helper function to return controller id" 2017-11-29 04:26:04 -08:00
Linux Build Service Account
e648f8c78b Merge "icnss: Remove MSA0 permission only when modem is crashed" 2017-11-29 04:26:03 -08:00
Linux Build Service Account
5ae2acd95c Merge "platform: msm: Set USB speed to SUPER before calling notifier" 2017-11-28 13:00:56 -08:00
Michael Adisumarta
313711415d msm: ipa: dynamic memory leak fix
This is a fix for dynamic memory leak seen with incorrectly
allocating memory of a different size than with intended
size.

Change-Id: I821442ee6728ea90ceab7644e194f4e06369333a
Acked-by: Jyothi Jayanthi <jyothij@qti.qualcomm.com>
Signed-off-by: Michael Adisumarta <madisuma@codeaurora.org>
2017-11-28 05:07:39 -08:00
Linux Build Service Account
2e22873571 Merge "defconfig: msm: Enable SPI slave framework on 8996 Auto" 2017-11-28 03:16:33 -08:00
Linux Build Service Account
24209a5db6 Merge "defconfig: msm: enable memory hotplug support" 2017-11-28 03:16:28 -08:00
Linux Build Service Account
9f8441d764 Merge "arm64: Honor limits set by bootloader" 2017-11-28 03:16:28 -08:00
Linux Build Service Account
f830b1a444 Merge "arm64: Add "remove" probe driver for memory hot-remove" 2017-11-28 03:16:27 -08:00
Linux Build Service Account
5cac878f91 Merge "arm64: Hot-remove implementation for arm64" 2017-11-28 03:16:26 -08:00
Dilip Kota
ec0723262e defconfig: msm: Enable SPI slave framework on 8996 Auto
Enable SPI slave protocol handlers.

Change-Id: I9458d6445db5f78a08cff9796d4f2e7afbc2909c
Signed-off-by: Dilip Kota <dkota@codeaurora.org>
2017-11-28 10:05:26 +05:30
Linux Build Service Account
aa0356095c Merge "msm: sps: Restore ipc log destroy commands" 2017-11-27 16:06:00 -08:00
Linux Build Service Account
5dcc88129c Merge "defconfig: msm: Compile ADV7481 as a module" 2017-11-27 16:05:59 -08:00
Linux Build Service Account
5e7380a426 Merge "msm: ADSPRPC: Change SSC VMID from 5 to 38" 2017-11-27 16:05:58 -08:00
Linux Build Service Account
c6675837bb Merge "ARM: dts: msm: Remove useless DSI panel commands for adv7533" 2017-11-27 16:05:56 -08:00
Linux Build Service Account
b246b38b90 Merge "mmc: card: Requeue the request if it fails during issuing" 2017-11-27 16:05:55 -08:00
Camus Wong
b31584ba68 DRM: SDE: Update the hdmi bridge to handle HPD clock
For non-pluggable display, it should not enable HPD.  Instead, the
bridge should handle all the clocks for HDMI.  Also the scrambler
should be activated after the HDMI has power on the clock.

Change-Id: I9162a49b8f314de4d30b0d82c7867a639ddf05a6
Signed-off-by: Camus Wong <camusw@codeaurora.org>
2017-11-27 14:37:29 -08:00
Rahul Sharma
9d7f7bedf9 defconfig: msm: Compile ADV7481 as a module
Compile ADV7481 as a module, as part of kernel modularization
requirement.

Change-Id: Ie3e9669d05646503de6ddd3468cbd6da4ee4eae4
Suggested-by: Resmi Rajendran <resmir@qti.qualcomm.com>
Signed-off-by: Rahul Sharma <sharah@codeaurora.org>
2017-11-27 06:35:17 -08:00
Linux Build Service Account
fd7545d7d2 Merge "msm: mdss: hdmi: reset hdmi max supported TMDS clock" 2017-11-27 04:36:18 -08:00
Linux Build Service Account
a8c0403aeb Merge "mmc: core: Return the error if command queue request fails" 2017-11-27 04:36:16 -08:00
Linux Build Service Account
9b9dfe0369 Merge "ARM: dts: msm: add psci for msm8996 auto virtual platform" 2017-11-27 04:36:15 -08:00
Daocai
bf00097547 ARM: dts: msm: Remove useless DSI panel commands for adv7533
Remove "qcom,mdss-dsi-on-command" and "mdss-dsi-off command"
commands for boot up performance optimization.
The two commands are for native DSI panels without a bridge
chip. However,AUTO platform has adv7533 bridge chip,which
is controlled by I2C instead of the above two commands.
In addition,the two command will cause extra wait for about
210ms in dsi_panel_tx_cmd_set() for dsi_display_enbale().
This make drmAtomicCommit() in libdrm a little slower,
so total boot time will be longer.

Change-Id: I848d189d4055b5626eadd809fc5da7c9c4ecbcce
Signed-off-by: Daocai <daocai@codeaurora.org>
2017-11-27 15:37:37 +08:00
Narender Ankam
ae5cb0939c msm: mdss: hdmi: reset hdmi max supported TMDS clock
In current HDMI driver, SVDs and DTDs derived from EDID
of a DS HDMI sink are checked for supportness based
on previous connection's max TMDS clock.
Always reset the max TMDS clock supported by source
before reading EDID from DS HDMI device.

Change-Id: If5f58562f186634b1ed066fdebfc9fa6b55c6e8a
Signed-off-by: Narender Ankam <nankam@codeaurora.org>
2017-11-26 23:21:02 -08:00
Yimin Peng
706dcfc669 ARM: dts: msm: add psci for msm8996 auto virtual platform
Hypervisor supports psci-1.0 not 0.1 and new function IDs
have been defined in psci driver.

Change-Id: Id257dd264f9ffc812879997c0b227e53f84c86a2
Signed-off-by: Yimin Peng <yiminp@codeaurora.org>
2017-11-27 13:52:25 +08:00
Linux Build Service Account
7ef35aef91 Merge "spi: spi_qsd: Add slave support for QUP core" 2017-11-26 19:28:15 -08:00
Linux Build Service Account
3495b7c4cb Merge "ARM: msm: dts: Enable support for audio tunneling mode for msm8996" 2017-11-26 19:28:14 -08:00
Linux Build Service Account
0d4729533f Merge "ath10k: add support for wowlan offload for wcn3990 WLAN module" 2017-11-26 01:55:08 -08:00
Linux Build Service Account
bb4747deb7 Merge "cfg80211: Make pre-CAC results valid only for ETSI domain" 2017-11-26 01:55:07 -08:00
Linux Build Service Account
b9b5a66b01 Merge "msm: camera: Prevent use-after-free in v4l2_event_subscribe." 2017-11-25 16:21:07 -08:00
Linux Build Service Account
1aacb888c5 Merge "Bluetooth: Fix for checking proper user-supplied buffers" 2017-11-24 21:53:39 -08:00
Linux Build Service Account
9aaad790a3 Merge "Bluetooth - Fix for checking proper user-supplied buffers" 2017-11-24 21:53:38 -08:00
Linux Build Service Account
3d1779cb8d Merge "msm: msm_bus: Add mutex lock for floor vote data" 2017-11-24 12:07:40 -08:00
Veerabhadrarao Badiganti
e8dce7e56d mmc: card: Requeue the request if it fails during issuing
In the cmdq request issuing path, cq driver invokes ICE driver calls
to get the configuration for encrypting/decrypting the data requests.
The ice driver in-turn makes calls to secure world (TZ) which can
process only single task at a time. If TZ is busy in servicing
something else when ICE driver invokes it, ICE driver would return
-EBUSY to cmdq driver.

The requests which failed due to ice error are neither issued to h/w
nor errored out, so resulting in filesystem corruptions.

We must re-queue the requests which failed with -EBUSY error, so that
it will be re-issued again as very next request.

Change-Id: I4557a5c3aca8dd53740e48e516e6011787df50d8
Signed-off-by: Veerabhadrarao Badiganti <vbadigan@codeaurora.org>
2017-11-24 06:03:15 -08:00
Balvinder Singh
5c5e40bb38 Bluetooth - Fix for checking proper user-supplied buffers
During patch download of devices, size validations & zero alloc
the buffers to ensure values passed are in range

CRs-fixed: 2084692
Change-Id: Ie1cd76fe68766d6d12d7262202e48c18ebe42274
Signed-off-by: Balvinder Singh <bpsingh@codeaurora.org>
2017-11-24 05:59:19 -08:00
Veerabhadrarao Badiganti
48f0cccb8c mmc: core: Return the error if command queue request fails
command-queue request may fail during preparation/issuing in some
cases. In case if it fails, the error code needs to be propagated back
to the function which initiated the request so that the request can be
handled appropriately.

Change-Id: Ia6946c14f0c106fb30bd70ca5c9e600c516fdf55
Signed-off-by: Veerabhadrarao Badiganti <vbadigan@codeaurora.org>
2017-11-24 05:53:17 -08:00
Veerabhadrarao Badiganti
17f54d16a1 mmc: cmdq_hci: Remove runtime PM vote if request issuing fails
Remove the runtime PM vote if command-queue request processing fails.
Otherwise, in case command-queue request preparation fails,
the runtime PM votes go out of sync and sdhc platform device suspend
might get blocked.

Change-Id: Ibe95e1653f7558a7994b606922a1625b429d57f6
Signed-off-by: Veerabhadrarao Badiganti <vbadigan@codeaurora.org>
2017-11-24 19:03:47 +05:30
Balvinder Singh
f75c8a500b Bluetooth: Fix for checking proper user-supplied buffers
During patch download procedure, size validation and zero
allocation of buffers are done to ensure values passed are
in permissible range

CRs-fixed: 2082452
Change-Id: I1c14e30f14af0279258efd0eadd8ab8ed6d8cf55
Signed-off-by: Balvinder Singh <bpsingh@codeaurora.org>
2017-11-24 05:32:41 -08:00
Hemant Kumar
9730f9cdc0 sound: usb: Provide controller number in QMI response
In order to support tunnel mode on multiple usb conttollers
qmi service needs to provide the controller number in
enable audio stream QMI response so that remote entity
programs appropriate usb controller to initiate data transfer
with USB audio device. Also, update QMI response message data
structure with optional speed_info.

Change-Id: I1d4968c19601a3984bf60e7754a6d88473540166
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
2017-11-24 14:50:24 +05:30
Hemant Kumar
c611d78437 usb: core: Add helper function to return controller id
Function provides controller id used by a remote entity
to identify which usb controller to program to initiate
data transfer.

Change-Id: Ied396f34496104c139a7910ee86844c124e6803f
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
2017-11-24 14:50:23 +05:30
Hemant Kumar
97618148ce usb: host: xhci: Add helper function to return controller id
Function provides controller id used by a remote entity
to identify which usb controller to program to initiate
data transfer.

Change-Id: Ie700363c1a4a19aeb6b51305c97298f3b4d6e387
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
2017-11-24 14:50:23 +05:30
Hemant Kumar
03a86f5cb1 usb: host: Add support for usb core indexing
Unique usb core id is used to differentiate between
different usb controllers.

Change-Id: Ibd886f704e7ecedfbf035b8e5adea2852ddf25bf
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
2017-11-24 14:50:11 +05:30
Jishnu Prakash
958acd2989 msm: sps: Restore ipc log destroy commands
Changes got reverted accidentally with commit e498154c09
("msm: sps: Update debug message format specifier")
restoring them again.

Change-Id: I6c2c7b4d636131341139d89ff4d59b608df5da9b
Signed-off-by: Jishnu Prakash <jprakash@codeaurora.org>
2017-11-24 13:20:19 +05:30