OSDN Git Service

sagit-ice-cold/kernel_xiaomi_msm8998.git
6 years agoMerge "scsi: ufs: Add counter for hibernate and gear switch"
Linux Build Service Account [Thu, 30 Nov 2017 22:02:13 +0000 (14:02 -0800)]
Merge "scsi: ufs: Add counter for hibernate and gear switch"

6 years agoMerge "ARM: dts: msm: Pass usb controller id for 8996"
Linux Build Service Account [Thu, 30 Nov 2017 11:23:40 +0000 (03:23 -0800)]
Merge "ARM: dts: msm: Pass usb controller id for 8996"

6 years agoMerge "smb1351: Fix parallel ICL configuration"
Linux Build Service Account [Thu, 30 Nov 2017 11:23:39 +0000 (03:23 -0800)]
Merge "smb1351: Fix parallel ICL configuration"

6 years agoMerge "battery: fix ordering of ICL/FCC configuration"
Linux Build Service Account [Thu, 30 Nov 2017 11:23:38 +0000 (03:23 -0800)]
Merge "battery: fix ordering of ICL/FCC configuration"

6 years agoMerge "leds: qpnp-wled: Fix the check to disable AUTO_PFM"
Linux Build Service Account [Thu, 30 Nov 2017 11:23:37 +0000 (03:23 -0800)]
Merge "leds: qpnp-wled: Fix the check to disable AUTO_PFM"

6 years agoMerge "ath10k: Add phyerr event changes for HL1.0"
Linux Build Service Account [Thu, 30 Nov 2017 11:23:36 +0000 (03:23 -0800)]
Merge "ath10k: Add phyerr event changes for HL1.0"

6 years agoMerge "mmc: core: Return card status if sdr104_wa is not present"
Linux Build Service Account [Wed, 29 Nov 2017 23:24:44 +0000 (15:24 -0800)]
Merge "mmc: core: Return card status if sdr104_wa is not present"

6 years agoMerge "ARM: dts: msm: modify HDMI configuration for msm8996 auto ADP/CDP"
Linux Build Service Account [Wed, 29 Nov 2017 23:24:43 +0000 (15:24 -0800)]
Merge "ARM: dts: msm: modify HDMI configuration for msm8996 auto ADP/CDP"

6 years agoMerge "ath10k: fix the potential buffer overflow in wow offload"
Linux Build Service Account [Wed, 29 Nov 2017 23:24:42 +0000 (15:24 -0800)]
Merge "ath10k: fix the potential buffer overflow in wow offload"

6 years agoMerge "icnss: Add dev to all export APIs in ICNSS"
Linux Build Service Account [Wed, 29 Nov 2017 23:24:41 +0000 (15:24 -0800)]
Merge "icnss: Add dev to all export APIs in ICNSS"

6 years agoMerge "msm: camera: Synchronize v4l2 subscribe and unsubscribe event in camera.c"
Linux Build Service Account [Wed, 29 Nov 2017 23:24:40 +0000 (15:24 -0800)]
Merge "msm: camera: Synchronize v4l2 subscribe and unsubscribe event in camera.c"

6 years agoMerge "defconfig: msm: Enable CONFIG_ESOC_DRV for msm8996 auto"
Linux Build Service Account [Wed, 29 Nov 2017 23:24:37 +0000 (15:24 -0800)]
Merge "defconfig: msm: Enable CONFIG_ESOC_DRV for msm8996 auto"

6 years agoMerge "DRM: SDE: Update the hdmi bridge to handle HPD clock"
Linux Build Service Account [Wed, 29 Nov 2017 12:26:12 +0000 (04:26 -0800)]
Merge "DRM: SDE: Update the hdmi bridge to handle HPD clock"

6 years agoMerge "defconfig: msm: Enable USB audio QMI service driver for 8996"
Linux Build Service Account [Wed, 29 Nov 2017 12:26:11 +0000 (04:26 -0800)]
Merge "defconfig: msm: Enable USB audio QMI service driver for 8996"

6 years agoMerge "mmc: core: add power on to SD card detect"
Linux Build Service Account [Wed, 29 Nov 2017 12:26:09 +0000 (04:26 -0800)]
Merge "mmc: core: add power on to SD card detect"

6 years agoMerge "msm: ipa: dynamic memory leak fix"
Linux Build Service Account [Wed, 29 Nov 2017 12:26:08 +0000 (04:26 -0800)]
Merge "msm: ipa: dynamic memory leak fix"

6 years agoMerge "sound: usb: Provide controller number in QMI response"
Linux Build Service Account [Wed, 29 Nov 2017 12:26:06 +0000 (04:26 -0800)]
Merge "sound: usb: Provide controller number in QMI response"

6 years agoMerge "usb: core: Add helper function to return controller id"
Linux Build Service Account [Wed, 29 Nov 2017 12:26:05 +0000 (04:26 -0800)]
Merge "usb: core: Add helper function to return controller id"

6 years agoMerge "icnss: Remove MSA0 permission only when modem is crashed"
Linux Build Service Account [Wed, 29 Nov 2017 12:26:04 +0000 (04:26 -0800)]
Merge "icnss: Remove MSA0 permission only when modem is crashed"

6 years agoARM: dts: msm: modify HDMI configuration for msm8996 auto ADP/CDP
Rahul Sharma [Fri, 10 Nov 2017 11:21:04 +0000 (16:51 +0530)]
ARM: dts: msm: modify HDMI configuration for msm8996 auto ADP/CDP

Automotive use case requirement is to have HDMI display as non-pluggable.
This change also set a custom mode as 1920x1080p@60Hz.

Change-Id: Ic2baec180d51dc6a91eaf72c44df1da066f04d2e
Signed-off-by: Rahul Sharma <sharah@codeaurora.org>
6 years agoath10k: fix the potential buffer overflow in wow offload
Sarada Prasanna Garnayak [Tue, 28 Nov 2017 06:54:39 +0000 (12:24 +0530)]
ath10k: fix the potential buffer overflow in wow offload

Update the arp and ns tuple for arp-ns tlv cmd and pass
the size of IP address and wlan net dev name during mem
copy and comparison.

CRs-Fixed: 2149966
Change-Id: I9457af4578c70f876c3a58e3d8c655dcaa476e07
Signed-off-by: Sarada Prasanna Garnayak <sgarna@codeaurora.org>
6 years agoicnss: Add dev to all export APIs in ICNSS
Sarada Prasanna Garnayak [Mon, 16 Oct 2017 10:11:25 +0000 (15:41 +0530)]
icnss: Add dev to all export APIs in ICNSS

Add device pointer in all export symbol to
add support for numerous WLAN module.

CRs-Fixed: 2138446
Change-Id: I981155c165e4e5c2794b778afe647f8a588dd860
Signed-off-by: Sarada Prasanna Garnayak <sgarna@codeaurora.org>
6 years agomsm: camera: Synchronize v4l2 subscribe and unsubscribe event in camera.c
Trishansh Bhardwaj [Wed, 22 Nov 2017 09:25:32 +0000 (14:55 +0530)]
msm: camera: Synchronize v4l2 subscribe and unsubscribe event in camera.c

If same event is unsubscribed before v4l2_event_subscribe returned,
Then function v4l2_event_subscribe have possibility use-after-free.

Serialize msm_subscribe_event and msm_unsubscribe_event to
prevent parallel invocation of v4l2_event_subscribe and
v4l2_event_unsubscribe.

Change-Id: Ia28cfb9d46550d58221f157337a1468f524753e3
Signed-off-by: Trishansh Bhardwaj <tbhardwa@codeaurora.org>
6 years agoath10k: Add phyerr event changes for HL1.0
Rakesh Pillai [Fri, 24 Nov 2017 11:36:44 +0000 (17:06 +0530)]
ath10k: Add phyerr event changes for HL1.0

HL1.0 firmware sends phyerr_mask in the phyerr
event, which needs to be used to determine the
type of phyerr.

Add the phyerr_mask parameters for HL1.0 in the
phyerr wmi event.

CRs-Fixed: 2150566
Change-Id: Ib2d5286fbf45d41229e68d817d65714d18811a4e
Signed-off-by: Rakesh Pillai <pillair@codeaurora.org>
6 years agoscsi: ufs: Add counter for hibernate and gear switch
Sayali Lokhande [Wed, 20 Sep 2017 14:09:18 +0000 (19:39 +0530)]
scsi: ufs: Add counter for hibernate and gear switch

This change adds few more debugfs entries to capture
statistics regarding the ufs driver.
This information include:
1. ufs hibernate exit count
2. ufs power mode change count
usage : cat /sys/kernel/debug/ufshcd0/show_hba

Change-Id: I75ac694c1f7e98d527392372300d16ad911ac512
Signed-off-by: Sayali Lokhande <sayalil@codeaurora.org>
6 years agoMerge "platform: msm: Set USB speed to SUPER before calling notifier"
Linux Build Service Account [Tue, 28 Nov 2017 21:00:57 +0000 (13:00 -0800)]
Merge "platform: msm: Set USB speed to SUPER before calling notifier"

6 years agomsm: ipa: dynamic memory leak fix
Michael Adisumarta [Thu, 2 Nov 2017 01:16:48 +0000 (18:16 -0700)]
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>
6 years agoMerge "defconfig: msm: Enable SPI slave framework on 8996 Auto"
Linux Build Service Account [Tue, 28 Nov 2017 11:16:33 +0000 (03:16 -0800)]
Merge "defconfig: msm: Enable SPI slave framework on 8996 Auto"

6 years agoMerge "defconfig: msm: enable memory hotplug support"
Linux Build Service Account [Tue, 28 Nov 2017 11:16:29 +0000 (03:16 -0800)]
Merge "defconfig: msm: enable memory hotplug support"

6 years agoMerge "arm64: Honor limits set by bootloader"
Linux Build Service Account [Tue, 28 Nov 2017 11:16:28 +0000 (03:16 -0800)]
Merge "arm64: Honor limits set by bootloader"

6 years agoMerge "arm64: Add "remove" probe driver for memory hot-remove"
Linux Build Service Account [Tue, 28 Nov 2017 11:16:27 +0000 (03:16 -0800)]
Merge "arm64: Add "remove" probe driver for memory hot-remove"

6 years agoMerge "arm64: Hot-remove implementation for arm64"
Linux Build Service Account [Tue, 28 Nov 2017 11:16:26 +0000 (03:16 -0800)]
Merge "arm64: Hot-remove implementation for arm64"

6 years agodefconfig: msm: Enable SPI slave framework on 8996 Auto
Dilip Kota [Tue, 28 Nov 2017 04:31:48 +0000 (10:01 +0530)]
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>
6 years agoMerge "msm: sps: Restore ipc log destroy commands"
Linux Build Service Account [Tue, 28 Nov 2017 00:06:01 +0000 (16:06 -0800)]
Merge "msm: sps: Restore ipc log destroy commands"

6 years agoMerge "defconfig: msm: Compile ADV7481 as a module"
Linux Build Service Account [Tue, 28 Nov 2017 00:05:59 +0000 (16:05 -0800)]
Merge "defconfig: msm: Compile ADV7481 as a module"

6 years agoMerge "msm: ADSPRPC: Change SSC VMID from 5 to 38"
Linux Build Service Account [Tue, 28 Nov 2017 00:05:58 +0000 (16:05 -0800)]
Merge "msm: ADSPRPC: Change SSC VMID from 5 to 38"

6 years agoMerge "ARM: dts: msm: Remove useless DSI panel commands for adv7533"
Linux Build Service Account [Tue, 28 Nov 2017 00:05:57 +0000 (16:05 -0800)]
Merge "ARM: dts: msm: Remove useless DSI panel commands for adv7533"

6 years agoMerge "mmc: card: Requeue the request if it fails during issuing"
Linux Build Service Account [Tue, 28 Nov 2017 00:05:55 +0000 (16:05 -0800)]
Merge "mmc: card: Requeue the request if it fails during issuing"

6 years agoDRM: SDE: Update the hdmi bridge to handle HPD clock
Camus Wong [Thu, 23 Nov 2017 23:03:21 +0000 (18:03 -0500)]
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>
6 years agodefconfig: msm: Compile ADV7481 as a module
Rahul Sharma [Mon, 30 Oct 2017 18:42:53 +0000 (00:12 +0530)]
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>
6 years agoMerge "msm: mdss: hdmi: reset hdmi max supported TMDS clock"
Linux Build Service Account [Mon, 27 Nov 2017 12:36:18 +0000 (04:36 -0800)]
Merge "msm: mdss: hdmi: reset hdmi max supported TMDS clock"

6 years agoMerge "mmc: core: Return the error if command queue request fails"
Linux Build Service Account [Mon, 27 Nov 2017 12:36:17 +0000 (04:36 -0800)]
Merge "mmc: core: Return the error if command queue request fails"

6 years agoMerge "ARM: dts: msm: add psci for msm8996 auto virtual platform"
Linux Build Service Account [Mon, 27 Nov 2017 12:36:15 +0000 (04:36 -0800)]
Merge "ARM: dts: msm: add psci for msm8996 auto virtual platform"

6 years agosmb1351: Fix parallel ICL configuration
Ashay Jaiswal [Mon, 27 Nov 2017 07:11:02 +0000 (12:41 +0530)]
smb1351: Fix parallel ICL configuration

In slave configuration "POWER_SUPPLY_PROP_CURRENT_MAX" fails to
suspend USB input path for 0/2mA current request. Fix this by
separately handling 0/2mA request to suspend input.

CRs-Fixed: 2148379
Change-Id: Id9b7887c4f2f924d9e4c8484947d74baa96eb8a3
Signed-off-by: Ashay Jaiswal <ashayj@codeaurora.org>
6 years agobattery: fix ordering of ICL/FCC configuration
Ashay Jaiswal [Thu, 16 Nov 2017 08:32:20 +0000 (14:02 +0530)]
battery: fix ordering of ICL/FCC configuration

Current parallel design has fixed order of configuring
ICL/FCC between main and parallel charger, this could
lead to a situation where total(main + parallel) ICL/FCC
goes beyond maximum configured value.
Fix this by dynamic ordering of ICL/FCC between main and
parallel based on AICL change.

CRs-Fixed: 2148379
Change-Id: Ia1ff7093d1de9205ce8072760c80ba0a58638462
Signed-off-by: Ashay Jaiswal <ashayj@codeaurora.org>
6 years agoARM: dts: msm: Remove useless DSI panel commands for adv7533
Daocai [Thu, 23 Nov 2017 07:27:21 +0000 (15:27 +0800)]
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>
6 years agomsm: mdss: hdmi: reset hdmi max supported TMDS clock
Narender Ankam [Tue, 17 Oct 2017 08:01:11 +0000 (13:31 +0530)]
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>
6 years agoARM: dts: msm: add psci for msm8996 auto virtual platform
Yimin Peng [Tue, 14 Nov 2017 13:10:02 +0000 (21:10 +0800)]
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>
6 years agoMerge "spi: spi_qsd: Add slave support for QUP core"
Linux Build Service Account [Mon, 27 Nov 2017 03:28:15 +0000 (19:28 -0800)]
Merge "spi: spi_qsd: Add slave support for QUP core"

6 years agoMerge "ARM: msm: dts: Enable support for audio tunneling mode for msm8996"
Linux Build Service Account [Mon, 27 Nov 2017 03:28:14 +0000 (19:28 -0800)]
Merge "ARM: msm: dts: Enable support for audio tunneling mode for msm8996"

6 years agoMerge "ath10k: add support for wowlan offload for wcn3990 WLAN module"
Linux Build Service Account [Sun, 26 Nov 2017 09:55:10 +0000 (01:55 -0800)]
Merge "ath10k: add support for wowlan offload for wcn3990 WLAN module"

6 years agoMerge "cfg80211: Make pre-CAC results valid only for ETSI domain"
Linux Build Service Account [Sun, 26 Nov 2017 09:55:07 +0000 (01:55 -0800)]
Merge "cfg80211: Make pre-CAC results valid only for ETSI domain"

6 years agoMerge "msm: camera: Prevent use-after-free in v4l2_event_subscribe."
Linux Build Service Account [Sun, 26 Nov 2017 00:21:07 +0000 (16:21 -0800)]
Merge "msm: camera: Prevent use-after-free in v4l2_event_subscribe."

6 years agoMerge "Bluetooth: Fix for checking proper user-supplied buffers"
Linux Build Service Account [Sat, 25 Nov 2017 05:53:39 +0000 (21:53 -0800)]
Merge "Bluetooth: Fix for checking proper user-supplied buffers"

6 years agoMerge "Bluetooth - Fix for checking proper user-supplied buffers"
Linux Build Service Account [Sat, 25 Nov 2017 05:53:38 +0000 (21:53 -0800)]
Merge "Bluetooth - Fix for checking proper user-supplied buffers"

6 years agoMerge "msm: msm_bus: Add mutex lock for floor vote data"
Linux Build Service Account [Fri, 24 Nov 2017 20:07:41 +0000 (12:07 -0800)]
Merge "msm: msm_bus: Add mutex lock for floor vote data"

6 years agommc: card: Requeue the request if it fails during issuing
Veerabhadrarao Badiganti [Mon, 9 Oct 2017 15:55:05 +0000 (21:25 +0530)]
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>
6 years agoBluetooth - Fix for checking proper user-supplied buffers
Balvinder Singh [Mon, 6 Nov 2017 06:20:46 +0000 (11:50 +0530)]
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>
6 years agommc: core: Return the error if command queue request fails
Veerabhadrarao Badiganti [Mon, 9 Oct 2017 14:43:45 +0000 (20:13 +0530)]
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>
6 years agommc: cmdq_hci: Remove runtime PM vote if request issuing fails
Veerabhadrarao Badiganti [Mon, 9 Oct 2017 14:21:46 +0000 (19:51 +0530)]
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>
6 years agoBluetooth: Fix for checking proper user-supplied buffers
Balvinder Singh [Mon, 6 Nov 2017 06:25:30 +0000 (11:55 +0530)]
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>
6 years agoARM: dts: msm: Pass usb controller id for 8996
Ajay Agarwal [Thu, 23 Nov 2017 05:33:06 +0000 (11:03 +0530)]
ARM: dts: msm: Pass usb controller id for 8996

This allows to uniquely identify the multiple controllers
on MSM8996.

Change-Id: I99296cee886119e59af67e2d1a3983a28015b720
Signed-off-by: Ajay Agarwal <ajaya@codeaurora.org>
6 years agosound: usb: Provide controller number in QMI response
Hemant Kumar [Fri, 18 Aug 2017 00:34:05 +0000 (17:34 -0700)]
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>
6 years agousb: core: Add helper function to return controller id
Hemant Kumar [Fri, 18 Aug 2017 00:01:00 +0000 (17:01 -0700)]
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>
6 years agousb: host: xhci: Add helper function to return controller id
Hemant Kumar [Fri, 18 Aug 2017 23:59:33 +0000 (16:59 -0700)]
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>
6 years agousb: host: Add support for usb core indexing
Hemant Kumar [Fri, 18 Aug 2017 23:40:58 +0000 (16:40 -0700)]
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>
6 years agomsm: sps: Restore ipc log destroy commands
Jishnu Prakash [Fri, 24 Nov 2017 07:50:19 +0000 (13:20 +0530)]
msm: sps: Restore ipc log destroy commands

Changes got reverted accidentally with commit e498154c0976
("msm: sps: Update debug message format specifier")
restoring them again.

Change-Id: I6c2c7b4d636131341139d89ff4d59b608df5da9b
Signed-off-by: Jishnu Prakash <jprakash@codeaurora.org>
6 years agoMerge "msm: wlan: Update regulatory database"
Linux Build Service Account [Fri, 24 Nov 2017 07:38:13 +0000 (23:38 -0800)]
Merge "msm: wlan: Update regulatory database"

6 years agomsm: ADSPRPC: Change SSC VMID from 5 to 38
c_mtharu [Fri, 24 Nov 2017 06:47:28 +0000 (12:17 +0530)]
msm: ADSPRPC: Change SSC VMID from 5 to 38

Change Dest VM of SSC from 5 to 38 and it can be unmapped to
HLOS through hyp_assign.

Change-Id: I8e4ace8e9722d4fa79b553ad6b8d29353954f8c5
Signed-off-by: Tharun Kumar Merugu <mtharu@codeaurora.org>
6 years agoath10k: add support for wowlan offload for wcn3990 WLAN module
Sarada Prasanna Garnayak [Thu, 23 Nov 2017 11:04:45 +0000 (16:34 +0530)]
ath10k: add support for wowlan offload for wcn3990 WLAN module

Define data structure and callback for the ARP and NS offload
for the ath10k wcn3990 WLAN module. Configure the ARP offload
parameter and enable ARP offload request flag for each vdev
if the vdev in station mode.

This feature adds support to wakeup the device from sleep state
through wowlan event if the ARP request pattern matched with
pattern configured by WLAN module during wow suspend.

CRs-Fixed: 2146265
Change-Id: I54c3491493ad46a7db2adbf71ae1668cf9a88e51
Signed-off-by: Sarada Prasanna Garnayak <sgarna@codeaurora.org>
6 years agomsm: msm_bus: Add mutex lock for floor vote data
Odelu Kukatla [Thu, 23 Nov 2017 17:06:03 +0000 (22:36 +0530)]
msm: msm_bus: Add mutex lock for floor vote data

Floor vote data needs to be protected with mutex lock to
avoid double free of memory due to race condtion.

Change-Id: Ifaa01a14d273ccba6b9463aff3a41c0038b05f06
Signed-off-by: Odelu Kukatla <okukatla@codeaurora.org>
6 years agoplatform: msm: Set USB speed to SUPER before calling notifier
Ajay Agarwal [Thu, 23 Nov 2017 16:30:00 +0000 (22:00 +0530)]
platform: msm: Set USB speed to SUPER before calling notifier

Currently we set the USB speed to SUPER after calling vbus/id
notifier callback. As a part of cable connect, is USB speed
is set to SUPER after connect resume_work is called, then we
do not initialise the SSPHY. So clocks are OFF.
But as part of cable disconnect, if USB speed is set to SUPER
before disconnect resume_work is called, then we try to
suspend SSPHY resulting in unclocked access.

Fix this by mandatorily setting USB speed to SUPER before
queuing VBUS/ID notifier.

Change-Id: Iac4411ddafd87909b1b26c9b5a8eb354a073d268
Signed-off-by: Ajay Agarwal <ajaya@codeaurora.org>
6 years agoMerge "msm: vidc: Fix memory leak issue"
Linux Build Service Account [Thu, 23 Nov 2017 22:01:19 +0000 (14:01 -0800)]
Merge "msm: vidc: Fix memory leak issue"

6 years agoMerge "msm: vidc: Update extradata address mapping"
Linux Build Service Account [Thu, 23 Nov 2017 22:01:17 +0000 (14:01 -0800)]
Merge "msm: vidc: Update extradata address mapping"

6 years agoMerge "msm: camera: isp: Enable epoch2 interrupt for pipeline 47"
Linux Build Service Account [Thu, 23 Nov 2017 22:01:16 +0000 (14:01 -0800)]
Merge "msm: camera: isp: Enable epoch2 interrupt for pipeline 47"

6 years agoMerge "ath10k: Enable WoWLAN for the wcn3990 snoc wlan module"
Linux Build Service Account [Thu, 23 Nov 2017 22:01:14 +0000 (14:01 -0800)]
Merge "ath10k: Enable WoWLAN for the wcn3990 snoc wlan module"

6 years agoMerge "scsi: ufs: Get TX and RX fsm state in case of abort"
Linux Build Service Account [Thu, 23 Nov 2017 22:01:13 +0000 (14:01 -0800)]
Merge "scsi: ufs: Get TX and RX fsm state in case of abort"

6 years agoMerge "drm/msm: protect register dumps and debugfs with mutex"
Linux Build Service Account [Thu, 23 Nov 2017 22:01:12 +0000 (14:01 -0800)]
Merge "drm/msm: protect register dumps and debugfs with mutex"

6 years agoMerge "USB: gsi: Ring Doorbell to GSI if check for suspend fails"
Linux Build Service Account [Thu, 23 Nov 2017 22:01:11 +0000 (14:01 -0800)]
Merge "USB: gsi: Ring Doorbell to GSI if check for suspend fails"

6 years agoMerge "ARM: dts: msm: update the new HDMI splash address on msm8996"
Linux Build Service Account [Thu, 23 Nov 2017 13:00:02 +0000 (05:00 -0800)]
Merge "ARM: dts: msm: update the new HDMI splash address on msm8996"

6 years agodefconfig: msm: Enable USB audio QMI service driver for 8996
Sriharsha Allenki [Thu, 23 Nov 2017 11:45:18 +0000 (17:15 +0530)]
defconfig: msm: Enable USB audio QMI service driver for 8996

This allows APPS USB XHCI driver to offload the USB audio
ISOC data transfer to remote processor. USB audio QMI driver
starts a QMI service to communicate with remote processor to
exchange audio stream related information.

Change-Id: If7bcd41eb5e169551f18d8ed64d38fe17fa1df91
Signed-off-by: Sriharsha Allenki <sallenki@codeaurora.org>
6 years agospi: spi_qsd: Add slave support for QUP core
Dilip Kota [Thu, 27 Oct 2016 22:14:28 +0000 (16:14 -0600)]
spi: spi_qsd: Add slave support for QUP core

The QUP core can be programmed to operate as an SPI slave. This
change modifies the existing SPI master driver and adds the slave
functionality.

Change-Id: I73189339956e0fd52449391737fb1e616a6e0bb2
Signed-off-by: Dilip Kota <dkota@codeaurora.org>
6 years agomsm: wlan: Update regulatory database
Rajeev Kumar Sirasanagandla [Thu, 23 Nov 2017 08:50:01 +0000 (14:20 +0530)]
msm: wlan: Update regulatory database

Remove 160 MHz band-width support for VN as per master sheet

CRs-Fixed: 2145374
Change-Id: Id0cda10bf3343bccda5eea08ae5369754bb40edb
Signed-off-by: Rajeev Kumar Sirasanagandla <rsirasan@codeaurora.org>
6 years agomsm: camera: isp: Enable epoch2 interrupt for pipeline 47
Lokesh Kumar Aakulu [Thu, 28 Sep 2017 10:58:19 +0000 (16:28 +0530)]
msm: camera: isp: Enable epoch2 interrupt for pipeline 47

Enable epoch2 interrupt and configure the line as asked
by input camif configuration from user library

Change-Id: Id4f623a907b385a17d63c35fc7746117b666d885
Signed-off-by: Lokesh Kumar Aakulu <lkumar@codeaurora.org>
6 years agocfg80211: Make pre-CAC results valid only for ETSI domain
Vasanthakumar Thiagarajan [Fri, 10 Nov 2017 10:05:46 +0000 (15:35 +0530)]
cfg80211: Make pre-CAC results valid only for ETSI domain

DFS requirement for ETSI domain (section 4.7.1.4 in
ETSI EN 301 893 V1.8.1) is the only one which explicitly
states that once DFS channel is marked as available afer
the CAC, this channel will remain in available state even
moving to a different operating channel. But the same is
not explicitly stated in FCC DFS requirement. Also, Pre-CAC
requriements are not explicitly mentioned in FCC requirement.
Current implementation in keeping DFS channel in available
state is same as described in ETSI domain.

For non-ETSI DFS domain, this patch gives a grace period of 2 seconds
since the completion of successful CAC before moving the channel's
DFS state to 'usable' from 'available' state. The same grace period
is checked against the channel's dfs_state_entered timestamp while
deciding if a DFS channel is available for operation. There is a new
radar event, NL80211_RADAR_PRE_CAC_EXPIRED, reported when DFS channel
is moved from available to usable state after the grace period. Also
make sure the DFS channel state is reset to usable once the beaconing
operation on that channel is brought down (like stop_ap, leave_ibss
and leave_mesh) in non-ETSI domain.

Signed-off-by: Vasanthakumar Thiagarajan <vthiagar@qti.qualcomm.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211-next.git
Git-commit: b35a51c7dd25a823767969e3089542d7478777e9
[svishnoi@codeaurora.org: removed NaN interface type from switch case in net/wireless/chan.c
as NaN interface is not supported]

Change-Id: Iba19513d1e40fe5da129d6251212c33d1361fec3
Signed-off-by: Surabhi Vishnoi <svishnoi@codeaurora.org>
6 years agoscsi: ufs: Get TX and RX fsm state in case of abort
Sayali Lokhande [Wed, 15 Nov 2017 10:24:33 +0000 (15:54 +0530)]
scsi: ufs: Get TX and RX fsm state in case of abort

If ufshcd_print_fsm_state() is called during UIC
commands failure, mutex lockup issue is observed
for uic_cmd_mutex. To fix this, read TX and RX
FSM states for UFS aborts cases only, for debugging
purpose.

Change-Id: I716251ec90ef406d9cff1f8a6aa6bc2f8f46926d
Signed-off-by: Sayali Lokhande <sayalil@codeaurora.org>
6 years agoMerge "ath10k: configure the vdev listen interval before wow suspend"
Linux Build Service Account [Thu, 23 Nov 2017 03:51:29 +0000 (19:51 -0800)]
Merge "ath10k: configure the vdev listen interval before wow suspend"

6 years agoMerge "msm: ipa: Fix to race condition proxy clock voting"
Linux Build Service Account [Thu, 23 Nov 2017 03:51:28 +0000 (19:51 -0800)]
Merge "msm: ipa: Fix to race condition proxy clock voting"

6 years agoMerge "msm: ipa: UAPI security code changes"
Linux Build Service Account [Thu, 23 Nov 2017 03:51:27 +0000 (19:51 -0800)]
Merge "msm: ipa: UAPI security code changes"

6 years agoMerge "drm/msm: implement HDMI teardown sequence for DRM driver"
Linux Build Service Account [Thu, 23 Nov 2017 03:51:25 +0000 (19:51 -0800)]
Merge "drm/msm: implement HDMI teardown sequence for DRM driver"

6 years agoMerge "mhi: core: fix sequence for new transfer"
Linux Build Service Account [Thu, 23 Nov 2017 03:51:24 +0000 (19:51 -0800)]
Merge "mhi: core: fix sequence for new transfer"

6 years agoMerge "msm: ipa3: Fix IPA aggregation force close call"
Linux Build Service Account [Thu, 23 Nov 2017 03:51:23 +0000 (19:51 -0800)]
Merge "msm: ipa3: Fix IPA aggregation force close call"

6 years agoMerge "msm: sps: Update debug message format specifier"
Linux Build Service Account [Thu, 23 Nov 2017 03:51:22 +0000 (19:51 -0800)]
Merge "msm: sps: Update debug message format specifier"

6 years agoMerge "Revert "scsi: ufshcd: Flush exception event before suspend""
Linux Build Service Account [Thu, 23 Nov 2017 03:51:21 +0000 (19:51 -0800)]
Merge "Revert "scsi: ufshcd: Flush exception event before suspend""

6 years agoMerge "scsi: ufs: Fix off-by-one bug in ufs debugfs driver"
Linux Build Service Account [Thu, 23 Nov 2017 03:51:20 +0000 (19:51 -0800)]
Merge "scsi: ufs: Fix off-by-one bug in ufs debugfs driver"

6 years agoMerge "arm64: memory-hotplug: Add MEMORY_HOTPLUG, MEMORY_HOTREMOVE, MEMORY_PROBE"
Linux Build Service Account [Thu, 23 Nov 2017 03:51:19 +0000 (19:51 -0800)]
Merge "arm64: memory-hotplug: Add MEMORY_HOTPLUG, MEMORY_HOTREMOVE, MEMORY_PROBE"

6 years agoMerge "msm: sde: disable support for v4l2 event subscription"
Linux Build Service Account [Thu, 23 Nov 2017 03:51:17 +0000 (19:51 -0800)]
Merge "msm: sde: disable support for v4l2 event subscription"

6 years agoMerge "msm: mdss: hdmi: clear deep color bits in the HDMI controller"
Linux Build Service Account [Thu, 23 Nov 2017 03:51:16 +0000 (19:51 -0800)]
Merge "msm: mdss: hdmi: clear deep color bits in the HDMI controller"

6 years agoMerge "smb-lib: allow hvdcp if pd is disabled"
Linux Build Service Account [Thu, 23 Nov 2017 03:51:14 +0000 (19:51 -0800)]
Merge "smb-lib: allow hvdcp if pd is disabled"

6 years agoMerge "icnss: Send early modem crash notification to wlan driver"
Linux Build Service Account [Thu, 23 Nov 2017 03:51:13 +0000 (19:51 -0800)]
Merge "icnss: Send early modem crash notification to wlan driver"