OSDN Git Service

sagit-ice-cold/kernel_xiaomi_msm8998.git
6 years agoMerge "uio: msm_sharedmem: Add a function to release the shared RAM section"
Linux Build Service Account [Sun, 17 Jun 2018 01:57:57 +0000 (18:57 -0700)]
Merge "uio: msm_sharedmem: Add a function to release the shared RAM section"

6 years agoMerge "usb: gadget: f_cdev: Send zero length packets in modem data calls"
Linux Build Service Account [Sun, 17 Jun 2018 01:57:53 +0000 (18:57 -0700)]
Merge "usb: gadget: f_cdev: Send zero length packets in modem data calls"

6 years agoMerge "i2c-msm-v2: Add NULL pointer check for DMA descriptor"
Linux Build Service Account [Sun, 17 Jun 2018 01:57:47 +0000 (18:57 -0700)]
Merge "i2c-msm-v2: Add NULL pointer check for DMA descriptor"

6 years agouio: msm_sharedmem: Add a function to release the shared RAM section
Anant Goel [Fri, 15 Jun 2018 01:32:16 +0000 (18:32 -0700)]
uio: msm_sharedmem: Add a function to release the shared RAM section

A function to free the shared RAM section has been added to the
msm_sharedmem driver. This function is needed to free the RAM section
on shutdown of the msm_sharedmem driver. The function is called on
the shutdown command for the driver.

Change-Id: Iff04f93d380664c5e3df9b0cd575cf9e6300ea39
Signed-off-by: Anant Goel <anantg@codeaurora.org>
6 years agoMerge "nl80211: fix nlmsg allocation in cfg80211_ft_event"
Linux Build Service Account [Fri, 15 Jun 2018 17:28:13 +0000 (10:28 -0700)]
Merge "nl80211: fix nlmsg allocation in cfg80211_ft_event"

6 years agoMerge "mmc: host: msm: Don't check for core-dll lock during hs400es dll init"
Linux Build Service Account [Fri, 15 Jun 2018 17:28:12 +0000 (10:28 -0700)]
Merge "mmc: host: msm: Don't check for core-dll lock during hs400es dll init"

6 years agoMerge "msm: ADSPRPC: handle 32 bit support"
Linux Build Service Account [Fri, 15 Jun 2018 17:28:03 +0000 (10:28 -0700)]
Merge "msm: ADSPRPC: handle 32 bit support"

6 years agoMerge "soc: qcom: hab: add support for multiple hypervisors"
Linux Build Service Account [Fri, 15 Jun 2018 17:28:02 +0000 (10:28 -0700)]
Merge "soc: qcom: hab: add support for multiple hypervisors"

6 years agoMerge "packet: fix race condition in packet_set_ring"
Linux Build Service Account [Fri, 15 Jun 2018 17:28:01 +0000 (10:28 -0700)]
Merge "packet: fix race condition in packet_set_ring"

6 years agonl80211: fix nlmsg allocation in cfg80211_ft_event
Zhu Jianmin [Tue, 12 Jun 2018 10:18:25 +0000 (18:18 +0800)]
nl80211: fix nlmsg allocation in cfg80211_ft_event

Allocation size of nlmsg in cfg80211_ft_event is based on ric_ies_len
and doesn't take into account ies_len. This leads to
NL80211_CMD_FT_EVENT message construction failure in case ft_event
contains large enough ies buffer.
Add ies_len to the nlmsg allocation size.

Signed-off-by: Dedy Lansky <dlansky@codeaurora.org>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Git-commit: 1039d08100e58f016a814347baadb77bf8dd21ab
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Change-Id: I224ac6113e4b15958f3b155982ff5cf84ff9ed74
CRs-Fixed: 2207276
Signed-off-by: Wen Gong <wgong@codeaurora.org>
Signed-off-by: Zhu Jianmin <jianminz@codeaurora.org>
6 years agoMerge "ARM: dts: msm: Add GPU maximum frequency 585Mhz support for SDM660-Lite"
Linux Build Service Account [Fri, 15 Jun 2018 10:06:21 +0000 (03:06 -0700)]
Merge "ARM: dts: msm: Add GPU maximum frequency 585Mhz support for SDM660-Lite"

6 years agoMerge "ASoC: msm: qdsp6v2: add lsm support for tdm ports"
Linux Build Service Account [Fri, 15 Jun 2018 10:06:20 +0000 (03:06 -0700)]
Merge "ASoC: msm: qdsp6v2: add lsm support for tdm ports"

6 years agoMerge "ASoC: msm: qdsp6v2: Rx DTMF detection via voice stream callback"
Linux Build Service Account [Fri, 15 Jun 2018 10:06:19 +0000 (03:06 -0700)]
Merge "ASoC: msm: qdsp6v2: Rx DTMF detection via voice stream callback"

6 years agoMerge changes into msm-4.4
Gerrit - the friendly Code Review server [Fri, 15 Jun 2018 09:27:22 +0000 (02:27 -0700)]
Merge changes  into msm-4.4

6 years agoMerge "ARM: memory hotplug: stop cpus while memory hotplug"
Linux Build Service Account [Thu, 14 Jun 2018 23:07:09 +0000 (16:07 -0700)]
Merge "ARM: memory hotplug: stop cpus while memory hotplug"

6 years agoMerge "Merge remote-trac king branch 'origin/caf/invensense/master' into msm-4.4"
Linux Build Service Account [Thu, 14 Jun 2018 23:07:08 +0000 (16:07 -0700)]
Merge "Merge remote-trac king branch 'origin/caf/invensense/master' into msm-4.4"

6 years agoMerge "power: battery: Add support for FCC stepping"
Linux Build Service Account [Thu, 14 Jun 2018 23:06:55 +0000 (16:06 -0700)]
Merge "power: battery: Add support for FCC stepping"

6 years agoMerge "ASoC: qdsp6v2: Fix null pointer dereference for prtd pointer"
Linux Build Service Account [Thu, 14 Jun 2018 23:06:54 +0000 (16:06 -0700)]
Merge "ASoC: qdsp6v2: Fix null pointer dereference for prtd pointer"

6 years agoMerge "msm: ipa: Fix race condition head_desc_list variable access"
Linux Build Service Account [Thu, 14 Jun 2018 23:06:53 +0000 (16:06 -0700)]
Merge "msm: ipa: Fix race condition head_desc_list variable access"

6 years agopower: battery: Add support for FCC stepping
Umang Agrawal [Tue, 29 May 2018 11:54:51 +0000 (17:24 +0530)]
power: battery: Add support for FCC stepping

On some PMIC designs a sudden increase or decrease in FCC
can impact the PMIC die thermally, causing the XO to drift.
Introduce a logic which gradually ramps up/down the FCC
whenever there is a change in its value, this spreads out
the thermals over-time. The default step rate is 100mA/sec
and the feature can be enabled using the DT property
"qcom,fcc-stepping-enable".

Change-Id: I59ee932b60766208912054f7031cd34151fb5deb
Signed-off-by: Umang Agrawal <uagrawal@codeaurora.org>
6 years agoARM: memory hotplug: stop cpus while memory hotplug
Venkata Rao Kakani [Fri, 8 Jun 2018 05:21:58 +0000 (10:51 +0530)]
ARM: memory hotplug: stop cpus while memory hotplug

Avoid page table corruptions during memory hotplug by
stopping all other cpus.

Change-Id: I527a616c5603b882a43626c746ef0b4dda977202
Signed-off-by: Venkata Rao Kakani <vkakani@codeaurora.org>
6 years agopower: power_supply: add property for FCC stepper
Ashay Jaiswal [Tue, 12 Jun 2018 18:00:50 +0000 (23:30 +0530)]
power: power_supply: add property for FCC stepper

Add power_supply property POWER_SUPPLY_PROP_FCC_STEPPER_ENABLE
which reports the state of FCC stepped feature.

Change-Id: Ibbb6e6fa7bba6b804a94bb93ddc75e5dfe0afdd1
Signed-off-by: Ashay Jaiswal <ashayj@codeaurora.org>
6 years agoi2c-msm-v2: Add NULL pointer check for DMA descriptor
Shrey Vijay [Thu, 22 Feb 2018 09:33:03 +0000 (15:03 +0530)]
i2c-msm-v2: Add NULL pointer check for DMA descriptor

Add NULL pointer check for RX/TX DMA descriptors to avoid
NULL dereference.

Change-Id: I71443204e79eb1afc37a6b312cf4aa9adcaa22c6
Signed-off-by: Shrey Vijay <shreyv@codeaurora.org>
6 years agoMerge remote-trac king branch 'origin/caf/invensense/master' into msm-4.4
Puneet yatnala [Thu, 14 Jun 2018 05:03:53 +0000 (10:33 +0530)]
Merge remote-trac king branch 'origin/caf/invensense/master' into msm-4.4

* origin/caf/invensense/master:
  MA Lite 8.1.5
  MA Lite 8.1.4a

Change-Id: I7667000896f2d3de0acba83b4020bb3bdd34b248
Signed-off-by: Puneet yatnala <puneet@codeaurora.org>
6 years agoASoC: qdsp6v2: Fix null pointer dereference for prtd pointer
Vatsal Bucha [Fri, 1 Jun 2018 06:47:49 +0000 (12:17 +0530)]
ASoC: qdsp6v2: Fix null pointer dereference for prtd pointer

Private data pointer may not be initialized before
access it in adsp_stream_cmd_put. NULL check for prtd
avoids the issue.

CRs-Fixed: 2252497
Change-Id: Ibd888be601d5b42ed4f4644ed22596a26b61f8fe
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
6 years agousb: gadget: f_cdev: Send zero length packets in modem data calls
Pratham Pratap [Mon, 4 Jun 2018 04:48:25 +0000 (10:18 +0530)]
usb: gadget: f_cdev: Send zero length packets in modem data calls

The USB protocol requires zero length packets to be sent when the data
transmission ends on a USB packet size boundary. This fix enables sending
zero length packets when required.

Change-Id: I0269ec7ff25c82000f2a5bc4adb449bc0231c66c
Signed-off-by: Pratham Pratap <prathampratap@codeaurora.org>
6 years agomsm: ADSPRPC: handle 32 bit support
Tharun Kumar Merugu [Thu, 31 May 2018 06:11:03 +0000 (11:41 +0530)]
msm: ADSPRPC: handle 32 bit support

Handle 32 bit support without any truncation.
Add IOCTL calls for map and unmap for 64 bit separately.

Change-Id: I077a0b4345a6c21a88d7a500aa5c9faf7193f620
Signed-off-by: Tharun Kumar Merugu <mtharu@codeaurora.org>
6 years agommc: host: msm: Don't check for core-dll lock during hs400es dll init
Veerabhadrarao Badiganti [Thu, 7 Jun 2018 10:28:45 +0000 (15:58 +0530)]
mmc: host: msm: Don't check for core-dll lock during hs400es dll init

When initializing DLL in HS400 enhanced strobe-mode, no need to wait
for core dll lock. So skip this wait-on-lock step for hs400es in dll
init sequence.

Change-Id: I8cda0244cb5a397824c613a3c667470cd23e7288
Signed-off-by: Veerabhadrarao Badiganti <vbadigan@codeaurora.org>
6 years agopacket: fix race condition in packet_set_ring
Srinivasa Rao Kuppala [Wed, 30 Nov 2016 22:55:36 +0000 (14:55 -0800)]
packet: fix race condition in packet_set_ring

commit 5a01eaf19858 ("packet: fix race condition
in packet_set_ring") was incorrectly resolved.
Add the missing lock_sock(sk) and release_sock(sk) calls.

Change-Id: I6565bf3e3c6a15d6f1b93cab0536424dbacb187b
Signed-off-by: Srinivasa Rao Kuppala <srkupp@codeaurora.org>
6 years agoMerge "ARM: dts: msm: add diag-camera on msm8996"
Linux Build Service Account [Wed, 13 Jun 2018 04:13:41 +0000 (21:13 -0700)]
Merge "ARM: dts: msm: add diag-camera on msm8996"

6 years agoARM: dts: msm: add diag-camera on msm8996
Chunhuan Zhan [Thu, 22 Mar 2018 11:13:50 +0000 (19:13 +0800)]
ARM: dts: msm: add diag-camera on msm8996

add a diag-camera for camera diagnostic feature

Change-Id: I982cea845a0f525ef4d317936963bb8a46b49733
Signed-off-by: Chunhuan Zhan <zhanc@codeaurora.org>
6 years agosoc: qcom: hab: add support for multiple hypervisors
Yong Ding [Thu, 7 Jun 2018 02:00:07 +0000 (10:00 +0800)]
soc: qcom: hab: add support for multiple hypervisors

HAB(Hypervisor ABstraction) is used for message transaction
and buffer sharing among different virtual machines with the
underlying hypervisor support. Here is the change to add HAB
support for linux running in multiple hypervisors.

Change-Id: I0747b2fa0f16c7cc0ab662369d45467ac6ba62e5
Signed-off-by: Yong Ding <yongding@codeaurora.org>
6 years agoASoC: msm: qdsp6v2: Rx DTMF detection via voice stream callback
Timothy Sham [Mon, 4 Jun 2018 21:16:35 +0000 (17:16 -0400)]
ASoC: msm: qdsp6v2: Rx DTMF detection via voice stream callback

Allow msm-pcm-voice-v2 driver to enable Rx DTMF detection and
route the DTMF detection event from QDSP6 to a registered
mixer event callback.

Change-Id: I9ffb714d1ec5dd0f4e2c229830d7170324b295bb
Signed-off-by: Timothy Sham <tsham@codeaurora.org>
6 years agoMerge "Revert "scsi: sd: remove check_events callback""
Linux Build Service Account [Tue, 12 Jun 2018 17:36:43 +0000 (10:36 -0700)]
Merge "Revert "scsi: sd: remove check_events callback""

6 years agoMerge "msm : ais : diagnostic feature"
Linux Build Service Account [Tue, 12 Jun 2018 17:36:43 +0000 (10:36 -0700)]
Merge "msm : ais : diagnostic feature"

6 years agoMerge "camera: add pix fmt Y10 to support RDI for mono sensor"
Linux Build Service Account [Tue, 12 Jun 2018 17:36:41 +0000 (10:36 -0700)]
Merge "camera: add pix fmt Y10 to support RDI for mono sensor"

6 years agomsm : ais : diagnostic feature
Chunhuan Zhan [Tue, 6 Feb 2018 10:56:06 +0000 (18:56 +0800)]
msm : ais : diagnostic feature

provide the functions:
1. record the all camera related clocks' status
2. provide the get clock status interfaces
3. provide the read registers interfaces
4. provide read the regulators' status
5. provide set/get the specified gpio
6. get the ISP buffer states

Change-Id: I5ddb6ac5488aa46914a5fc6b642d8330e72d9b70
Signed-off-by: Chunhuan Zhan <zhanc@codeaurora.org>
6 years agoMerge "adv7481: Add support for interlaced HDMI and CVBS input"
Linux Build Service Account [Mon, 11 Jun 2018 03:58:37 +0000 (20:58 -0700)]
Merge "adv7481: Add support for interlaced HDMI and CVBS input"

6 years agocamera: add pix fmt Y10 to support RDI for mono sensor
Zhaohong Chen [Thu, 7 Jun 2018 10:16:33 +0000 (18:16 +0800)]
camera: add pix fmt Y10 to support RDI for mono sensor

 - V4L2_PIX_FMT_Y10 is a format for mono sensor. Add this format in isp
   axi driver to support RDI(RAW data interface) output for mono sensor
   of 10 bits per pix.

Change-Id: Id602731349ff41330a2aaa587c46279707004856
Signed-off-by: Zhaohong Chen <zhaohong@codeaurora.org>
6 years agoMerge "msm: ais: translate wall clock time to userspace"
Linux Build Service Account [Sun, 10 Jun 2018 05:23:50 +0000 (22:23 -0700)]
Merge "msm: ais: translate wall clock time to userspace"

6 years agoMerge "ARM: dts: msm: update pcie boot option on msm8996au"
Linux Build Service Account [Sat, 9 Jun 2018 19:58:52 +0000 (12:58 -0700)]
Merge "ARM: dts: msm: update pcie boot option on msm8996au"

6 years agoMerge "drm: msm: Fix blue screen glitch problem on DSI"
Linux Build Service Account [Sat, 9 Jun 2018 01:42:15 +0000 (18:42 -0700)]
Merge "drm: msm: Fix blue screen glitch problem on DSI"

6 years agoMerge "ais: sensor: fixing invalid address access issue during cci read"
Linux Build Service Account [Sat, 9 Jun 2018 01:42:14 +0000 (18:42 -0700)]
Merge "ais: sensor: fixing invalid address access issue during cci read"

6 years agoASoC: msm: qdsp6v2: add lsm support for tdm ports
Derek Chen [Mon, 13 Nov 2017 23:26:12 +0000 (18:26 -0500)]
ASoC: msm: qdsp6v2: add lsm support for tdm ports

Add LSM routing and kcontrol support for TDM
backend ports.

Change-Id: Ie6d05691a3e763fe1b7f37dd86415091f7da0e6d
Signed-off-by: Derek Chen <chenche@codeaurora.org>
6 years agoMerge "diag: Prevent accessing uninitialized diag_md_info member"
Linux Build Service Account [Fri, 8 Jun 2018 17:20:26 +0000 (10:20 -0700)]
Merge "diag: Prevent accessing uninitialized diag_md_info member"

6 years agoMerge "q6asm: retry asm open in case of session id conflict"
Linux Build Service Account [Fri, 8 Jun 2018 17:20:25 +0000 (10:20 -0700)]
Merge "q6asm: retry asm open in case of session id conflict"

6 years agoMerge "power: smb-lib: Modify usb max voltage reflected for QC 3.0 charger"
Linux Build Service Account [Fri, 8 Jun 2018 17:20:24 +0000 (10:20 -0700)]
Merge "power: smb-lib: Modify usb max voltage reflected for QC 3.0 charger"

6 years agoMerge "ARM: SMMU: clear page table ops of attached device"
Linux Build Service Account [Fri, 8 Jun 2018 17:20:23 +0000 (10:20 -0700)]
Merge "ARM: SMMU: clear page table ops of attached device"

6 years agoadv7481: Add support for interlaced HDMI and CVBS input
Suprith Malligere Shankaregowda [Mon, 14 May 2018 14:28:07 +0000 (19:58 +0530)]
adv7481: Add support for interlaced HDMI and CVBS input

Set active lines based on input standard returned by SD core.
Add vid parameter to sd_timings to return number of active lines
to user. Increase SDP_NUM_TRIES to lock stable input.
Return v4l2_field type of HDMI and CVBS INPUT to userspace.

Change-Id: Ifbde4ca32fad40bc3235fed0715c11854a8aa08c
Signed-off-by: Suprith Malligere Shankaregowda <supgow@codeaurora.org>
6 years agodiag: Prevent accessing uninitialized diag_md_info member
Manoj Prabhu B [Fri, 8 Jun 2018 07:11:15 +0000 (12:41 +0530)]
diag: Prevent accessing uninitialized diag_md_info member

The patch prevents accessing uninitialized diag_md_info
struct with a check on variable set only upon structure
initialization.

Change-Id: Ie0b5ece24fbacfabac876aa4bf2295354374ed57
Signed-off-by: Manoj Prabhu B <bmanoj@codeaurora.org>
6 years agoais: sensor: fixing invalid address access issue during cci read
Andy Sun [Thu, 7 Jun 2018 06:33:04 +0000 (14:33 +0800)]
ais: sensor: fixing invalid address access issue during cci read

Should use copy_to_user to pass data to userspace pointer.

Change-Id: Ide5fe1b1f4c76e5c75cfa634ac6913b0908e0d72
Signed-off-by: Andy Sun <bins@codeaurora.org>
6 years agocnss2: Fix PCIe D3hot for WLAN suspend
jiad [Thu, 7 Jun 2018 03:34:00 +0000 (11:34 +0800)]
cnss2: Fix PCIe D3hot for WLAN suspend

Setting D3hot is newly added for Napier platform. And system hang is
observed on legacy Rome platform. In previous implementations for Rome
PCIe platforms, setting D3hot is not needed.

Fix is to not set D3hot for legacy platforms.

Change-Id: I1fce39eff4aa674553a214e7d0f99a81b0e6b93d
CRs-Fixed: 2255872
Signed-off-by: Jia Ding <jiad@codeaurora.org>
6 years agoMerge changes into msm-4.4
Gerrit - the friendly Code Review server [Thu, 7 Jun 2018 05:56:16 +0000 (22:56 -0700)]
Merge changes  into msm-4.4

6 years agopower: smb-lib: Modify usb max voltage reflected for QC 3.0 charger
Umang Agrawal [Thu, 7 Jun 2018 04:10:30 +0000 (09:40 +0530)]
power: smb-lib: Modify usb max voltage reflected for QC 3.0 charger

Modify usb VOLTAGE_MAX property's reporting function to add support
for QC 3.0 chargers to reflect maximum VBUS voltage that can be attained
by QC3.0 chargers.

Change-Id: I45c15b4d8daab6eeec5c0bc5b0c19c4baa4ca15f
Signed-off-by: Umang Agrawal <uagrawal@codeaurora.org>
6 years agoARM: dts: msm: update pcie boot option on msm8996au
Dilip Gudlur [Wed, 6 Jun 2018 01:10:59 +0000 (18:10 -0700)]
ARM: dts: msm: update pcie boot option on msm8996au

Change allows client driver to do enumeration
for neutrino endpoint connected to pcie RC2.

Change-Id: I995fd0c003bfd83005ad450e57d262d283f6c59e
Signed-off-by: Dilip Gudlur <dgudlur@codeaurora.org>
6 years agoMerge "soc: qcom: scm_qcpe: use uninterruptible habmm_socket_recv()"
Linux Build Service Account [Wed, 6 Jun 2018 21:16:16 +0000 (14:16 -0700)]
Merge "soc: qcom: scm_qcpe: use uninterruptible habmm_socket_recv()"

6 years agoMerge changes into msm-4.4
Gerrit - the friendly Code Review server [Wed, 6 Jun 2018 20:58:49 +0000 (13:58 -0700)]
Merge changes  into msm-4.4

6 years agoMerge "ARM: dts: msm: Add WLAN SSR support on msm8996 vplatform"
Linux Build Service Account [Wed, 6 Jun 2018 13:27:44 +0000 (06:27 -0700)]
Merge "ARM: dts: msm: Add WLAN SSR support on msm8996 vplatform"

6 years agoMerge "mmc: sdhci-msm: Add boot marker"
Linux Build Service Account [Wed, 6 Jun 2018 13:27:39 +0000 (06:27 -0700)]
Merge "mmc: sdhci-msm: Add boot marker"

6 years agosoc: qcom: scm_qcpe: use uninterruptible habmm_socket_recv()
Yong Ding [Mon, 4 Jun 2018 09:26:59 +0000 (17:26 +0800)]
soc: qcom: scm_qcpe: use uninterruptible habmm_socket_recv()

This is necessary to support scm call in system shutdown
procedure. With interruptible habmm_socket_recv(), it will
return immediately without blocking until the response
arrives.

Change-Id: Ia7ef95e4c6878a149ec373c8d2b5ae19a36f4125
Signed-off-by: Yong Ding <yongding@codeaurora.org>
6 years agoARM: dts: msm: Add WLAN SSR support on msm8996 vplatform
Ferry Zhou [Tue, 5 Jun 2018 09:22:17 +0000 (17:22 +0800)]
ARM: dts: msm: Add WLAN SSR support on msm8996 vplatform

Add WLAN SSR support on msm8996 vplatform for Android GVM based
on the subsystem notification virtualization.

Change-Id: I5008b09053fff5866ab26c9558cf2fccafabd670
Signed-off-by: Ferry Zhou <tianguiz@codeaurora.org>
6 years agoMerge "ASoC: msm: Add mixer controls for module enabling"
Linux Build Service Account [Wed, 6 Jun 2018 03:30:52 +0000 (20:30 -0700)]
Merge "ASoC: msm: Add mixer controls for module enabling"

6 years agoMerge "adv7481: Support 1080p60 in EDID"
Linux Build Service Account [Tue, 5 Jun 2018 18:30:47 +0000 (11:30 -0700)]
Merge "adv7481: Support 1080p60 in EDID"

6 years agoMerge "ARM: dts: msm: add wifi cnss ramdump support on msm8996 vplatform"
Linux Build Service Account [Tue, 5 Jun 2018 09:26:46 +0000 (02:26 -0700)]
Merge "ARM: dts: msm: add wifi cnss ramdump support on msm8996 vplatform"

6 years agomsm: ais: translate wall clock time to userspace
Dilip Gudlur [Fri, 1 Jun 2018 17:17:55 +0000 (10:17 -0700)]
msm: ais: translate wall clock time to userspace

Translate wall clock time in camera kernel buffers
to camera userspace application.

Change-Id: I5ad66766e9557dfe7897940b66decf7cc699787f
Signed-off-by: Dilip Gudlur <dgudlur@codeaurora.org>
6 years agoARM: SMMU: clear page table ops of attached device
vkakani [Tue, 29 May 2018 10:11:04 +0000 (15:41 +0530)]
ARM: SMMU: clear page table ops of attached device

incase of error during dynamic attach,
added smmu attach device cleanup along with
free page table ops

Change-Id: Id8984d05002700014307a905fc7166702fa64a7d
Signed-off-by: vkakani <vkakani@codeaurora.org>
6 years agoMerge "usb: core: Resume the devices on pm restore"
Linux Build Service Account [Mon, 4 Jun 2018 20:49:04 +0000 (13:49 -0700)]
Merge "usb: core: Resume the devices on pm restore"

6 years agoMerge "msm: pcie: change PCIe to suspend after suspend_noirq"
Linux Build Service Account [Mon, 4 Jun 2018 20:49:03 +0000 (13:49 -0700)]
Merge "msm: pcie: change PCIe to suspend after suspend_noirq"

6 years agoadv7481: Support 1080p60 in EDID
Suprith Malligere Shankaregowda [Tue, 29 May 2018 17:14:31 +0000 (22:44 +0530)]
adv7481: Support 1080p60 in EDID

Add 1080p60 support in EDID.

Change-Id: I03d3dacbf5af9fde519de66f9eb9c1ad24279d1c
Signed-off-by: Suprith Malligere Shankaregowda <supgow@codeaurora.org>
6 years agoMerge "qmp-phy: Power down PHY durng disconnect to avoid leakage"
Linux Build Service Account [Mon, 4 Jun 2018 11:30:58 +0000 (04:30 -0700)]
Merge "qmp-phy: Power down PHY durng disconnect to avoid leakage"

6 years agoMerge "soc: qcom: boot_marker: add mpm timer interface"
Linux Build Service Account [Mon, 4 Jun 2018 11:30:57 +0000 (04:30 -0700)]
Merge "soc: qcom: boot_marker: add mpm timer interface"

6 years agoMerge "hbtp_inpu.c: add 800s power down uevent in suspend func"
Linux Build Service Account [Mon, 4 Jun 2018 11:30:56 +0000 (04:30 -0700)]
Merge "hbtp_inpu.c: add 800s power down uevent in suspend func"

6 years agoMerge "soc: qcom: hab: add performance test mechanism for HAB"
Linux Build Service Account [Mon, 4 Jun 2018 11:30:54 +0000 (04:30 -0700)]
Merge "soc: qcom: hab: add performance test mechanism for HAB"

6 years agoqmp-phy: Power down PHY durng disconnect to avoid leakage
Vijayavardhan Vennapusa [Thu, 17 May 2018 12:26:01 +0000 (17:56 +0530)]
qmp-phy: Power down PHY durng disconnect to avoid leakage

Currently driver is not powering down QMP PHY if target is booted
up without cable connected. Due to this, 0.3mA leakage current is seen
during standby mode if power measured after bootup. Fix this by
putting QMP PHY in power down state during disconnect.

Change-Id: Idbf7e06ca14649797c50853cf3b9ee182f70749e
Signed-off-by: Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
6 years agoq6asm: retry asm open in case of session id conflict
Han Lu [Tue, 9 Jan 2018 12:24:47 +0000 (20:24 +0800)]
q6asm: retry asm open in case of session id conflict

The ADSP asm session ids are managed by the kernel driver. It's all right
for native use cases. But for virtualization use cases, there's no way to
synchronize the session ids' status among virtual machines.  Playing back
in one virtual machine is probably failed, because the session id may had
been occupied by a use case in another virtual machine.

The patch allowed audio playback stream to try all available session ids
in case of session id conflict error, to support concurrent playback from
multiple virtual machines.

Change-Id: If98d05898cec3f05d80c750ec8a014add3b1f34c
Signed-off-by: Han Lu <hanlu@codeaurora.org>
6 years agomsm: pcie: change PCIe to suspend after suspend_noirq
Tony Truong [Sat, 21 Jan 2017 01:25:58 +0000 (17:25 -0800)]
msm: pcie: change PCIe to suspend after suspend_noirq

Some PCIe clients support suspend_noirq and need the PCIe
link to be up. Change PCIe to have its power down sequence
after clients suspend_noirq.

Change-Id: I32063f6adf795f8a49cd7d9fe340403ffaf6fd94
Signed-off-by: Tony Truong <truong@codeaurora.org>
6 years agoMerge "soc: msm: add size check to fix out of bounds on ANC"
Linux Build Service Account [Mon, 4 Jun 2018 02:10:46 +0000 (19:10 -0700)]
Merge "soc: msm: add size check to fix out of bounds on ANC"

6 years agoMerge "Merge android-4.4.133 (3f51ea2) into msm-4.4"
Linux Build Service Account [Sat, 2 Jun 2018 08:13:34 +0000 (01:13 -0700)]
Merge "Merge android-4.4.133 (3f51ea2) into msm-4.4"

6 years agoMerge "spi: spi_qsd: add boot marker"
Linux Build Service Account [Fri, 1 Jun 2018 21:39:22 +0000 (14:39 -0700)]
Merge "spi: spi_qsd: add boot marker"

6 years agoMerge "serial: msm_serial_hs: add boot marker"
Linux Build Service Account [Fri, 1 Jun 2018 21:39:20 +0000 (14:39 -0700)]
Merge "serial: msm_serial_hs: add boot marker"

6 years agosoc: msm: add size check to fix out of bounds on ANC
Timothy Sham [Mon, 28 May 2018 21:17:41 +0000 (17:17 -0400)]
soc: msm: add size check to fix out of bounds on ANC

Before calling audio ANC ioctl functions, compare the
allocated buffer size to the size of the header and ANC cmd header
to ensure the buffer is big enough.

Change-Id: I8fcd0a830853d802bbb11fc243a4d392fbe384f3
Signed-off-by: Timothy Sham <tsham@codeaurora.org>
6 years agoMerge "ARM: dts: msm: remove USB3 device in msm8996-ivi-lv-mt vplatform"
Linux Build Service Account [Fri, 1 Jun 2018 13:35:14 +0000 (06:35 -0700)]
Merge "ARM: dts: msm: remove USB3 device in msm8996-ivi-lv-mt vplatform"

6 years agousb: core: Resume the devices on pm restore
Sriharsha Allenki [Thu, 17 May 2018 05:55:06 +0000 (11:25 +0530)]
usb: core: Resume the devices on pm restore

On system restoring from hibernation to reset-resume
the connected USB devices, resume the devices
on pm restore irrespective of the skip_resume
flag.

Change-Id: I56e46c579db572e39eabdc6d2be95b00f2c7d9cb
Signed-off-by: Sriharsha Allenki <sallenki@codeaurora.org>
Signed-off-by: Ajay Agarwal <ajaya@codeaurora.org>
6 years agoxhci-plat: Add hibernation support to xhci platform
Sriharsha Allenki [Thu, 17 May 2018 06:04:11 +0000 (11:34 +0530)]
xhci-plat: Add hibernation support to xhci platform

Add hibernation support to xhci platform by adding
the proper PM ops freeze and restore.
Also set the hibernated argument to xhci_resume which
will trigger the reset-resume of the connected
root-hubs and the devices.

Change-Id: Ib536bb2485928326f34bfc3422b672cc62309efe
Signed-off-by: Sriharsha Allenki <sallenki@codeaurora.org>
Signed-off-by: Ajay Agarwal <ajaya@codeaurora.org>
6 years agousb: dwc3: Add support for USB hibernation in host mode
Sriharsha Allenki [Wed, 25 Apr 2018 13:43:44 +0000 (19:13 +0530)]
usb: dwc3: Add support for USB hibernation in host mode

Add support for hibernation of USB in host mode and
cable disconnected mode by adding proper pm operations
freeze and restore.

Change-Id: Ie1761a8afb0bb44a37d6ed4d046e8a09e1f53c5c
Signed-off-by: Sriharsha Allenki <sallenki@codeaurora.org>
Signed-off-by: Ajay Agarwal <ajaya@codeaurora.org>
6 years agospi: spi_qsd: add boot marker
Zhiqiang Tu [Tue, 22 May 2018 07:44:52 +0000 (15:44 +0800)]
spi: spi_qsd: add boot marker

Add boot marker for booting KPI measurement

Change-Id: I8ba79f1b0e71e662ad20fcded128d43363e8302f
Signed-off-by: Zhiqiang Tu <ztu@codeaurora.org>
6 years agoserial: msm_serial_hs: add boot marker
Zhiqiang Tu [Tue, 22 May 2018 07:34:41 +0000 (15:34 +0800)]
serial: msm_serial_hs: add boot marker

Add boot marker for booting KPI measurement.

Change-Id: Ia54411a901cc09493f2085af42c3a2188438e29d
Signed-off-by: Zhiqiang Tu <ztu@codeaurora.org>
6 years agosoc: qcom: boot_marker: add mpm timer interface
Zhiqiang Tu [Fri, 1 Jun 2018 06:34:56 +0000 (14:34 +0800)]
soc: qcom: boot_marker: add mpm timer interface

Provide a debugfs interface to get count of mpm timer.

Change-Id: I24e927b6219b8bd4c2f4ddecb8f51518f0db663a
Signed-off-by: Zhiqiang Tu <ztu@codeaurora.org>
6 years agoARM: dts: msm: remove USB3 device in msm8996-ivi-lv-mt vplatform
Yong Ding [Mon, 14 May 2018 04:58:35 +0000 (12:58 +0800)]
ARM: dts: msm: remove USB3 device in msm8996-ivi-lv-mt vplatform

In the latest multiple GVMs(Guest Virtual Machines)
environment, USB3 is expected to be used by LA GVM with
the passthrough mode. So it is necessary to remove its
access from LV GVM, or there will be conflict.

Change-Id: I8409a81a636ca38e64b8e00e25170c064549dc61
Signed-off-by: Yong Ding <yongding@codeaurora.org>
6 years agoMerge "defconfig: msm: Enable CONFIG_CGROUP_DEBUG"
Linux Build Service Account [Thu, 31 May 2018 23:44:27 +0000 (16:44 -0700)]
Merge "defconfig: msm: Enable CONFIG_CGROUP_DEBUG"

6 years agoMerge "adv7481: Add support for AVI Infoframe"
Linux Build Service Account [Thu, 31 May 2018 12:11:46 +0000 (05:11 -0700)]
Merge "adv7481: Add support for AVI Infoframe"

6 years agoMerge "soc: qcom: scm_qcpe: Close hab socket on error"
Linux Build Service Account [Thu, 31 May 2018 12:11:45 +0000 (05:11 -0700)]
Merge "soc: qcom: scm_qcpe: Close hab socket on error"

6 years agoMerge "selinux: KASAN: slab-out-of-bounds in xattr_getsecurity"
Linux Build Service Account [Thu, 31 May 2018 12:11:44 +0000 (05:11 -0700)]
Merge "selinux: KASAN: slab-out-of-bounds in xattr_getsecurity"

6 years agoMerge "defconfig: msm: Disable config EXT2_FS and EXT3_FS for sdm660"
Linux Build Service Account [Thu, 31 May 2018 12:11:43 +0000 (05:11 -0700)]
Merge "defconfig: msm: Disable config EXT2_FS and EXT3_FS for sdm660"

6 years agoMerge "soc: qcom: boot_stats: Fix compilation issue"
Linux Build Service Account [Thu, 31 May 2018 12:11:41 +0000 (05:11 -0700)]
Merge "soc: qcom: boot_stats: Fix compilation issue"

6 years agoMerge "ARM: dts: msm: Add support for new speed bin for SDM660"
Linux Build Service Account [Thu, 31 May 2018 12:11:40 +0000 (05:11 -0700)]
Merge "ARM: dts: msm: Add support for new speed bin for SDM660"

6 years agoMerge "clk: qcom: Add support for 585MHz GPU frequency"
Linux Build Service Account [Thu, 31 May 2018 12:11:39 +0000 (05:11 -0700)]
Merge "clk: qcom: Add support for 585MHz GPU frequency"

6 years agoMerge "audit: Checks valid value of audit_signals and tsk->audit_context"
Linux Build Service Account [Thu, 31 May 2018 12:11:33 +0000 (05:11 -0700)]
Merge "audit: Checks valid value of audit_signals and tsk->audit_context"

6 years agoMerge "defconfig: Sync automotive gvm defconfig with metal defconfig"
Linux Build Service Account [Thu, 31 May 2018 12:11:29 +0000 (05:11 -0700)]
Merge "defconfig: Sync automotive gvm defconfig with metal defconfig"

6 years agoMerge "defconfig: reduce HZ value from 250 to 100"
Linux Build Service Account [Thu, 31 May 2018 12:11:26 +0000 (05:11 -0700)]
Merge "defconfig: reduce HZ value from 250 to 100"