OSDN Git Service

sagit-ice-cold/kernel_xiaomi_msm8998.git
7 years agoMerge "ath10k: Populate ACS survey results"
Linux Build Service Account [Mon, 3 Jul 2017 14:57:49 +0000 (07:57 -0700)]
Merge "ath10k: Populate ACS survey results"

7 years agoMerge "cgroup: Fix potential race between cgroup_exit and migrate path"
Linux Build Service Account [Mon, 3 Jul 2017 14:57:48 +0000 (07:57 -0700)]
Merge "cgroup: Fix potential race between cgroup_exit and migrate path"

7 years agoMerge "msm: kgsl: Limit the frequency of logging on memory allocation failure"
Linux Build Service Account [Sun, 2 Jul 2017 23:11:43 +0000 (16:11 -0700)]
Merge "msm: kgsl: Limit the frequency of logging on memory allocation failure"

7 years agoMerge "msm: kgsl: Directly return page size of the supported pool"
Linux Build Service Account [Sun, 2 Jul 2017 23:11:41 +0000 (16:11 -0700)]
Merge "msm: kgsl: Directly return page size of the supported pool"

7 years agomsm: kgsl: Limit the frequency of logging on memory allocation failure
Deepak Kumar [Wed, 21 Jun 2017 07:42:33 +0000 (13:12 +0530)]
msm: kgsl: Limit the frequency of logging on memory allocation failure

Excessive logging due to several successive memory allocation failure
may cause a watchdog bite. Hence, this change adds ratelimit to logging
on memory allocation failure.

Change-Id: I8e5d78918a32c48ef7fa587f3dc63cbd1f065d5f
Signed-off-by: Deepak Kumar <dkumar@codeaurora.org>
7 years agoMerge "ARM: dts: msm: Add non-removable ufs property for SDM630"
Linux Build Service Account [Thu, 29 Jun 2017 18:34:49 +0000 (11:34 -0700)]
Merge "ARM: dts: msm: Add non-removable ufs property for SDM630"

7 years agoMerge "msm: mdss: Allow post-processing clean-up for primary display"
Linux Build Service Account [Thu, 29 Jun 2017 18:34:48 +0000 (11:34 -0700)]
Merge "msm: mdss: Allow post-processing clean-up for primary display"

7 years agoMerge "msm: mdss: Correct PP register programming deferring"
Linux Build Service Account [Thu, 29 Jun 2017 18:34:47 +0000 (11:34 -0700)]
Merge "msm: mdss: Correct PP register programming deferring"

7 years agoMerge "scsi: ufs: Unblock UFS while ICE HW configuration"
Linux Build Service Account [Thu, 29 Jun 2017 18:34:46 +0000 (11:34 -0700)]
Merge "scsi: ufs: Unblock UFS while ICE HW configuration"

7 years agoMerge "msm: camera: Use mutex lock to avoid race condition"
Linux Build Service Account [Thu, 29 Jun 2017 10:32:33 +0000 (03:32 -0700)]
Merge "msm: camera: Use mutex lock to avoid race condition"

7 years agoMerge "soc: qcom: glink: Move get reference to valid location"
Linux Build Service Account [Thu, 29 Jun 2017 10:32:33 +0000 (03:32 -0700)]
Merge "soc: qcom: glink: Move get reference to valid location"

7 years agoMerge "soc: qcom: glink: Remove magic number logic"
Linux Build Service Account [Thu, 29 Jun 2017 10:32:32 +0000 (03:32 -0700)]
Merge "soc: qcom: glink: Remove magic number logic"

7 years agoath10k: Populate ACS survey results
Ashutosh Kumar [Mon, 27 Mar 2017 15:59:20 +0000 (21:29 +0530)]
ath10k: Populate ACS survey results

ACS fails as channel details are null in survey info.
Add the missing fields in survey_info structure and
populate the channel details in survey results.

CRs-Fixed: 2027495
Change-Id: I1ca933ded4ca039845203ccd51d77cf7cef1c000
Signed-off-by: Ashutosh Kumar <askuma@codeaurora.org>
7 years agoARM: dts: msm: Add non-removable ufs property for SDM630
Sayali Lokhande [Thu, 29 Jun 2017 03:38:09 +0000 (09:08 +0530)]
ARM: dts: msm: Add non-removable ufs property for SDM630

Defines the non-removable property for UFS device node.
This basically lets the driver know that UFS is the
boot device.

Change-Id: I1c8aa298af4afc7e42d0c8a3690f7d3360e37647
Signed-off-by: Sayali Lokhande <sayalil@codeaurora.org>
7 years agoMerge "drm/msm/sde: add kernel traces to measure enable/disable/kickoff times"
Linux Build Service Account [Thu, 29 Jun 2017 03:09:04 +0000 (20:09 -0700)]
Merge "drm/msm/sde: add kernel traces to measure enable/disable/kickoff times"

7 years agoMerge "ARM: dts: msm: update rmtfs shared memory address for SDM660/630"
Linux Build Service Account [Thu, 29 Jun 2017 03:09:03 +0000 (20:09 -0700)]
Merge "ARM: dts: msm: update rmtfs shared memory address for SDM660/630"

7 years agoMerge "defconfig: msm: enable remote debugger driver"
Linux Build Service Account [Thu, 29 Jun 2017 03:09:02 +0000 (20:09 -0700)]
Merge "defconfig: msm: enable remote debugger driver"

7 years agoMerge "mm: avoid taking zone lock in pagetypeinfo_showmixed()"
Linux Build Service Account [Thu, 29 Jun 2017 03:09:01 +0000 (20:09 -0700)]
Merge "mm: avoid taking zone lock in pagetypeinfo_showmixed()"

7 years agoMerge "icnss: Fix incorrect clean-up of stats"
Linux Build Service Account [Thu, 29 Jun 2017 03:09:00 +0000 (20:09 -0700)]
Merge "icnss: Fix incorrect clean-up of stats"

7 years agoMerge "icnss: Add specific statistics for PDR"
Linux Build Service Account [Thu, 29 Jun 2017 03:09:00 +0000 (20:09 -0700)]
Merge "icnss: Add specific statistics for PDR"

7 years agoMerge "input: synaptics_dsx: validate bounds of intr_reg_num"
Linux Build Service Account [Wed, 28 Jun 2017 18:59:59 +0000 (11:59 -0700)]
Merge "input: synaptics_dsx: validate bounds of intr_reg_num"

7 years agoMerge "soc: qcom: glink_smem_native_xport: Allocate smem item in non cache region"
Linux Build Service Account [Wed, 28 Jun 2017 18:59:58 +0000 (11:59 -0700)]
Merge "soc: qcom: glink_smem_native_xport: Allocate smem item in non cache region"

7 years agoMerge "power: reset: msm: add support to select both dumps"
Linux Build Service Account [Wed, 28 Jun 2017 18:59:57 +0000 (11:59 -0700)]
Merge "power: reset: msm: add support to select both dumps"

7 years agoMerge "ARM: dts: msm: Update USB PHY0 parameters for SDA660/630 HDK platform"
Linux Build Service Account [Wed, 28 Jun 2017 18:59:56 +0000 (11:59 -0700)]
Merge "ARM: dts: msm: Update USB PHY0 parameters for SDA660/630 HDK platform"

7 years agoMerge "drm/msm: program hdr information to HDMI registers"
Linux Build Service Account [Wed, 28 Jun 2017 18:59:55 +0000 (11:59 -0700)]
Merge "drm/msm: program hdr information to HDMI registers"

7 years agoMerge "drm/msm/sde: add sde_connector kickoff callbacks"
Linux Build Service Account [Wed, 28 Jun 2017 18:59:54 +0000 (11:59 -0700)]
Merge "drm/msm/sde: add sde_connector kickoff callbacks"

7 years agoMerge "soc: qcom: ipc_router: Improve IPC attribution"
Linux Build Service Account [Wed, 28 Jun 2017 18:59:54 +0000 (11:59 -0700)]
Merge "soc: qcom: ipc_router: Improve IPC attribution"

7 years agoMerge "msm: camera: Fix a deadlock in power-up sequence of the I2C-TZ relay"
Linux Build Service Account [Wed, 28 Jun 2017 18:59:53 +0000 (11:59 -0700)]
Merge "msm: camera: Fix a deadlock in power-up sequence of the I2C-TZ relay"

7 years agoMerge "msm: camera: isp: Set the sync mode to async"
Linux Build Service Account [Wed, 28 Jun 2017 18:59:52 +0000 (11:59 -0700)]
Merge "msm: camera: isp: Set the sync mode to async"

7 years agosoc: qcom: glink_smem_native_xport: Allocate smem item in non cache region
Dhoat Harpal [Wed, 19 Apr 2017 06:16:59 +0000 (11:46 +0530)]
soc: qcom: glink_smem_native_xport: Allocate smem item in non cache region

rx fifo is allocated in cached region of smem, this leads to
inconsistency when reading at remote side.

rx fifo is allocated in non cached region of smem.

CRs-Fixed: 2056955
Change-Id: I0c7d5bf55222920cffdcd2c7f48968a4f49ee790
Signed-off-by: Dhoat Harpal <hdhoat@codeaurora.org>
7 years agoMerge "ARM: dts: msm: Disable adv7481 on Mojave lite platform"
Linux Build Service Account [Wed, 28 Jun 2017 11:35:59 +0000 (04:35 -0700)]
Merge "ARM: dts: msm: Disable adv7481 on Mojave lite platform"

7 years agoMerge "ARM: dts: msm: Enable ACD functionality for SDM660 silver cluster"
Linux Build Service Account [Wed, 28 Jun 2017 11:35:58 +0000 (04:35 -0700)]
Merge "ARM: dts: msm: Enable ACD functionality for SDM660 silver cluster"

7 years agoMerge "perf: stop deadlock if attempt to bring cpu up fails"
Linux Build Service Account [Wed, 28 Jun 2017 11:35:57 +0000 (04:35 -0700)]
Merge "perf: stop deadlock if attempt to bring cpu up fails"

7 years agoMerge "soc: qcom: avoid calling sleeping functions in interrupt context"
Linux Build Service Account [Wed, 28 Jun 2017 11:35:56 +0000 (04:35 -0700)]
Merge "soc: qcom: avoid calling sleeping functions in interrupt context"

7 years agoMerge "ARM: dts: msm: Change headset jack configuration for apq8098 mediabox"
Linux Build Service Account [Wed, 28 Jun 2017 11:35:55 +0000 (04:35 -0700)]
Merge "ARM: dts: msm: Change headset jack configuration for apq8098 mediabox"

7 years agoMerge "msm: rmnet_ipa3: fix QMAP command xfer"
Linux Build Service Account [Wed, 28 Jun 2017 11:35:54 +0000 (04:35 -0700)]
Merge "msm: rmnet_ipa3: fix QMAP command xfer"

7 years agoMerge "msm: sensor: Fix for variable being de-referenced without proper check"
Linux Build Service Account [Wed, 28 Jun 2017 11:35:52 +0000 (04:35 -0700)]
Merge "msm: sensor: Fix for variable being de-referenced without proper check"

7 years agoARM: dts: msm: update rmtfs shared memory address for SDM660/630
Sahitya Tummala [Fri, 23 Jun 2017 06:03:36 +0000 (11:33 +0530)]
ARM: dts: msm: update rmtfs shared memory address for SDM660/630

Use reserved memory as shared memory between apps and modem for
writing modem data using rmt_storage service on apps.

Change-Id: I0e5bc8b1e3dbe2f8d49686894667b4a6ee1a3529
Signed-off-by: Sahitya Tummala <stummala@codeaurora.org>
7 years agodefconfig: msm: enable remote debugger driver
tharun kumar [Fri, 23 Jun 2017 10:07:03 +0000 (15:37 +0530)]
defconfig: msm: enable remote debugger driver

Adding remote debugger device configuration. The Remote Debugger driver
allows a debugger running on a host PC to communicate with a remote
stub running on peripheral subsystems.

Change-Id: I14b3ef92e96819d119af335691e8902eb3b0178c
Acked-by: Chenna Kesava Raju <chennak@qti.qualcomm.com>
Signed-off-by: tharun kumar <mtharu@codeaurora.org>
7 years agopower: reset: msm: add support to select both dumps
Lingutla Chandrasekhar [Wed, 28 Jun 2017 07:43:16 +0000 (13:13 +0530)]
power: reset: msm: add support to select both dumps

With Minidump support enabled, user may need to request
to dump both fulldump as well as minidump for debug purpose.

Add support on dload_mode sysfs entry to select both dumps.
Enable both dumps with command:
echo both > /sys/kernel/dload/dload_mode

Change-Id: I2f7c4c6e26dc236c75ab89490990c87b7139880b
Signed-off-by: Lingutla Chandrasekhar <clingutla@codeaurora.org>
7 years agomm: avoid taking zone lock in pagetypeinfo_showmixed()
Vinayak Menon [Sat, 24 Jun 2017 01:48:33 +0000 (11:48 +1000)]
mm: avoid taking zone lock in pagetypeinfo_showmixed()

pagetypeinfo_showmixedcount_print is found to take a lot of time to
complete and it does this holding the zone lock and disabling interrupts.
In some cases it is found to take more than a second (On a 2.4GHz,8Gb
RAM,arm64 cpu).  Avoid taking the zone lock similar to what is done by
read_page_owner, which means possibility of inaccurate results.

Change-Id: I11ec4a3a445d602e47fcc18a3e40480b74ad98af
Link: http://lkml.kernel.org/r/1498045643-12257-1-git-send-email-vinmenon@codeaurora.org
Acked-by: Vlastimil Babka <vbabka@suse.cz>
Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Cc: zhongjiang <zhongjiang@huawei.com>
Cc: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Cc: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Mel Gorman <mgorman@techsingularity.net>
Cc: Michal Hocko <mhocko@suse.com>
Cc: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Cc: David Rientjes <rientjes@google.com>
Cc: Minchan Kim <minchan@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Git-commit: a94b5fd913ac55a32fe05dfba21eb6af0e539781
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
[vinmenon@codeaurora.org: fix trivial merge conflicts]
Signed-off-by: Vinayak Menon <vinmenon@codeaurora.org>
7 years agoMerge " base: firmware: add /lib64/firmware to firmware loading path"
Linux Build Service Account [Wed, 28 Jun 2017 05:10:52 +0000 (22:10 -0700)]
Merge " base: firmware: add /lib64/firmware to firmware loading path"

7 years agoperf: stop deadlock if attempt to bring cpu up fails
Neil Leeder [Thu, 24 Sep 2015 16:14:20 +0000 (12:14 -0400)]
perf: stop deadlock if attempt to bring cpu up fails

When an attempt is made to free an event on a CPU which is
no longer online, perf tries to bring the CPU online. This
can fail, resulting in an UP_CANCELLED notifier, which
eventually tries to acquire the ctx->mutex which is already
being held by the code, which brings up the CPU.

Removing the attempt to bring the cpu up will remove this
deadlock, but also requires temporarily removing support of
counting events across hotplug. This will be restored in a
later patch.

Conflicts:
kernel/events/core.c
kernel/events/hw_breakpoint.c

Change-Id: Iaafa3c6688d26508857472fd5bb32139a137880e
Signed-off-by: Neil Leeder <nleeder@codeaurora.org>
7 years agoARM: dts: msm: Disable adv7481 on Mojave lite platform
Shiju Mathew [Fri, 2 Dec 2016 14:55:38 +0000 (09:55 -0500)]
ARM: dts: msm: Disable adv7481 on Mojave lite platform

On Mojave lite, adv7481 hardware is not available hence
disable adv7481 and bridge abstraction driver.

CRs-Fixed: 1097877
Change-Id: I1969fc45e50f5ddff25fd70780458d23a9abeed8
Signed-off-by: Shiju Mathew <shijum@codeaurora.org>
7 years agoARM: dts: msm: Enable ACD functionality for SDM660 silver cluster
Tirupathi Reddy [Tue, 17 Jan 2017 06:53:22 +0000 (12:23 +0530)]
ARM: dts: msm: Enable ACD functionality for SDM660 silver cluster

The adaptive clock distribution (ACD) mitigates the impact of
high-frequency supply voltage (VDD) droops on microprocessor
performance.

Program ACD functional configuration for silver cluster of sdm660.

Also add the voltage margin savings with ACD to the existing
APC0 CPR closed-loop voltage margins.

Also set CPR_RAMP_EN and VCTL_RAMP_EN bits to 1 in AVS control
register of silver cluster.

Change-Id: Iaff7769cd1e71bbeb773658d0649092bff6e8916
Signed-off-by: Tirupathi Reddy <tirupath@codeaurora.org>
7 years agoMerge "drm/msm: pass the HDR metadata sent from userspace to sink"
Linux Build Service Account [Wed, 28 Jun 2017 00:07:46 +0000 (17:07 -0700)]
Merge "drm/msm: pass the HDR metadata sent from userspace to sink"

7 years agodrm/msm: program hdr information to HDMI registers
Abhinav Kumar [Thu, 22 Jun 2017 06:29:29 +0000 (23:29 -0700)]
drm/msm: program hdr information to HDMI registers

HDR metadata information is passed down from userspace
based on the HDR frame.

Program these properties to relevant HDMI registers
using the pre_kickoff callback registered for the
DRM HDMI connector.

This ensures that HDR information is updated on a
per-frame basis to the sink.

Change-Id: I20c4018316329b1b35a11b8ab4b96e923b3abb3a
Signed-off-by: Abhinav Kumar <abhinavk@codeaurora.org>
7 years agodrm/msm/sde: add sde_connector kickoff callbacks
Abhinav Kumar [Tue, 27 Jun 2017 04:59:30 +0000 (21:59 -0700)]
drm/msm/sde: add sde_connector kickoff callbacks

Add a callback into the connector framework to allow sending
per-frame parameters at kickoff time.

This is needed to support the HDR feature where the HDR
metadata shall be sent to the sink on a per-frame basis.

Change-Id: I48a3616509e2226ea9bf0f490f0f47873ca74781
Signed-off-by: Abhinav Kumar <abhinavk@codeaurora.org>
7 years agomsm: rmnet_ipa3: fix QMAP command xfer
Skylar Chang [Tue, 27 Jun 2017 22:17:41 +0000 (15:17 -0700)]
msm: rmnet_ipa3: fix QMAP command xfer

Fix QMAP command packets TX to modem.
These packets needs to be sent to Q6_WAN_CONS pipe.

Change-Id: Ib718ad7308004ba7727e30e64f4b50bf4e521da3
CRs-Fixed: 2068048
Acked-by: Ady Abraham <adya@qti.qualcomm.com>
Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
7 years agodrm/msm: pass the HDR metadata sent from userspace to sink
Abhinav Kumar [Tue, 27 Jun 2017 03:14:56 +0000 (20:14 -0700)]
drm/msm: pass the HDR metadata sent from userspace to sink

Use metadata information sent from userspace to configure sink.

This info shall be used later on to program the HDMI specific
infoframe registers.

Change-Id: I26634452d8c3ab7ab49a65e89ad52a3961c64855
Signed-off-by: Abhinav Kumar <abhinavk@codeaurora.org>
7 years agodrm/msm/sde: add kernel traces to measure enable/disable/kickoff times
Narendra Muppalla [Wed, 10 May 2017 20:53:11 +0000 (13:53 -0700)]
drm/msm/sde: add kernel traces to measure enable/disable/kickoff times

Add kernel debug traces in drm to measure the performance of
the driver during enable/disable/commit/kickoff.

Change-Id: I7122e81b2c320f05bb42091971827908b7c6436f
Signed-off-by: Narendra Muppalla <NarendraM@codeaurora.org>
7 years agoMerge "ARM: dts: msm: Defer regulator disable for msm8998 GPU SMMU"
Linux Build Service Account [Tue, 27 Jun 2017 16:42:11 +0000 (09:42 -0700)]
Merge "ARM: dts: msm: Defer regulator disable for msm8998 GPU SMMU"

7 years agoMerge "soc: qcom: glink_pkt: fix number of intent queued"
Linux Build Service Account [Tue, 27 Jun 2017 16:42:10 +0000 (09:42 -0700)]
Merge "soc: qcom: glink_pkt: fix number of intent queued"

7 years agoMerge "cnss_pci: fix the race condition in firmware file setup"
Linux Build Service Account [Tue, 27 Jun 2017 16:42:09 +0000 (09:42 -0700)]
Merge "cnss_pci: fix the race condition in firmware file setup"

7 years agoMerge "drm/msm/sde: fix color component order in sde"
Linux Build Service Account [Tue, 27 Jun 2017 16:42:09 +0000 (09:42 -0700)]
Merge "drm/msm/sde: fix color component order in sde"

7 years agoARM: dts: msm: Change headset jack configuration for apq8098 mediabox
Ramprasad Katkam [Mon, 19 Jun 2017 13:32:59 +0000 (19:02 +0530)]
ARM: dts: msm: Change headset jack configuration for apq8098 mediabox

apq8098-mediabox form factor does not support headset detection, and
detection pin is floating. Hence change headset jack type to normally
open to avoid fake mbhc interrupts.

Change-Id: I0798ec425ee97f75a243462273fe84de8ed63ee3
Signed-off-by: Ramprasad Katkam <katkam@codeaurora.org>
7 years agoMerge "lpm-levels: Remove IPI check on hot plugged cores"
Linux Build Service Account [Tue, 27 Jun 2017 11:28:26 +0000 (04:28 -0700)]
Merge "lpm-levels: Remove IPI check on hot plugged cores"

7 years agoMerge "fs/mbcache: fix mb_cache_lru_list corruption"
Linux Build Service Account [Tue, 27 Jun 2017 11:28:25 +0000 (04:28 -0700)]
Merge "fs/mbcache: fix mb_cache_lru_list corruption"

7 years agoMerge "power: qpnp-smb2: Unset ONLINE for UNKNOWN USB charger type"
Linux Build Service Account [Tue, 27 Jun 2017 11:28:24 +0000 (04:28 -0700)]
Merge "power: qpnp-smb2: Unset ONLINE for UNKNOWN USB charger type"

7 years agoMerge "btfm: Enable multichannel bit for SCO Rx"
Linux Build Service Account [Tue, 27 Jun 2017 11:28:23 +0000 (04:28 -0700)]
Merge "btfm: Enable multichannel bit for SCO Rx"

7 years agoMerge "drm/msm/sde: expose 10 bit pixel format capabilities"
Linux Build Service Account [Tue, 27 Jun 2017 11:28:20 +0000 (04:28 -0700)]
Merge "drm/msm/sde: expose 10 bit pixel format capabilities"

7 years agoMerge "drm/msm: add sink capabilities for HDR support"
Linux Build Service Account [Tue, 27 Jun 2017 11:28:19 +0000 (04:28 -0700)]
Merge "drm/msm: add sink capabilities for HDR support"

7 years agoMerge "msm: camera: Fix Use after free bug in msm_vb2.c"
Linux Build Service Account [Tue, 27 Jun 2017 11:28:18 +0000 (04:28 -0700)]
Merge "msm: camera: Fix Use after free bug in msm_vb2.c"

7 years agoMerge "ARM: dts: msm: add non-removable ufs/emmc property for msm8996"
Linux Build Service Account [Tue, 27 Jun 2017 11:28:16 +0000 (04:28 -0700)]
Merge "ARM: dts: msm: add non-removable ufs/emmc property for msm8996"

7 years agoMerge "msm: ipa3: Assert on GSI MHI event ring fatal error"
Linux Build Service Account [Tue, 27 Jun 2017 11:28:16 +0000 (04:28 -0700)]
Merge "msm: ipa3: Assert on GSI MHI event ring fatal error"

7 years agoMerge "msm: ipa3: Ring IPA MHI event ring doorbell on channel start"
Linux Build Service Account [Tue, 27 Jun 2017 11:28:15 +0000 (04:28 -0700)]
Merge "msm: ipa3: Ring IPA MHI event ring doorbell on channel start"

7 years agoMerge "msm: ipa3: remove delay from AP if QMI fails"
Linux Build Service Account [Tue, 27 Jun 2017 11:28:14 +0000 (04:28 -0700)]
Merge "msm: ipa3: remove delay from AP if QMI fails"

7 years agoMerge "ARM: dts: msm: Add mdss panel file nodes for msm8998 QRD"
Linux Build Service Account [Tue, 27 Jun 2017 11:28:13 +0000 (04:28 -0700)]
Merge "ARM: dts: msm: Add mdss panel file nodes for msm8998 QRD"

7 years agosoc: qcom: glink: Move get reference to valid location
Dhoat Harpal [Tue, 20 Jun 2017 15:42:42 +0000 (21:12 +0530)]
soc: qcom: glink: Move get reference to valid location

In function ch_name_to_ch_ctx_create reference for ctx is taken
without checking if ctx is valid. This leads to possible NULL pointer
dereference.

Take reference only when it is verified that ctx is not NULL.

CRs-Fixed: 2059742
Change-Id: I15998780b602e325a90e7c8c303cd442c5381fe8
Signed-off-by: Dhoat Harpal <hdhoat@codeaurora.org>
7 years agolpm-levels: Remove IPI check on hot plugged cores
Naresh Malladi [Fri, 16 Jun 2017 06:26:21 +0000 (11:56 +0530)]
lpm-levels: Remove IPI check on hot plugged cores

Currently checking the IPIs even on cores which are hotplugged out
successfully. This check should happen only for cores which are
online.

Change-Id: I8fe49638f308eab97455e7cca62b01b617596de4
Signed-off-by: Naresh Malladi <namall@codeaurora.org>
7 years agomsm: sensor: Fix for variable being de-referenced without proper check
Samyukta Mogily [Fri, 23 Jun 2017 08:59:20 +0000 (14:29 +0530)]
msm: sensor: Fix for variable being de-referenced without proper check

Pointer from userspace is de-referenced before the command is checked.
This might cause a crash if the command being sent is not a valid command.
Hence changing the de-reference such that the pointer is accessed after
checking if a valid command is sent from the userspace.

Change-Id: I731a015c952d131187a47a8d346fb6478fddeeb1
Signed-off-by: Samyukta Mogily <smogily@codeaurora.org>
7 years agobtfm: Enable multichannel bit for SCO Rx
Satish Kodishala [Wed, 14 Jun 2017 12:14:16 +0000 (17:44 +0530)]
btfm: Enable multichannel bit for SCO Rx

Enable multichannel bit for SCO Rx to fix random 0 bytes
insertion in SCO.

CRs-Fixed: 2063152
Change-Id: I6abe986251d042ef70701b614b8cef0ee1e30044
Signed-off-by: Satish Kodishala <skodisha@codeaurora.org>
7 years agodrm/msm/sde: fix color component order in sde
Dhaval Patel [Thu, 23 Mar 2017 19:33:14 +0000 (12:33 -0700)]
drm/msm/sde: fix color component order in sde

SDE drm driver should support the default color
component order instead of operating system
specific order. For opensource compositor; it will
use default color component order while android
compositors will take care of reversing the color
component order.

Change-Id: I61b953ce892834453e92a8c2cfdcb427456966bb
Signed-off-by: Dhaval Patel <pdhaval@codeaurora.org>
7 years agodrm/msm/sde: expose 10 bit pixel format capabilities
abeykun [Tue, 20 Dec 2016 18:06:09 +0000 (13:06 -0500)]
drm/msm/sde: expose 10 bit pixel format capabilities

Patch adds RGB 10bit both linear and compressed, P010 linear and
and TP10 compressed pixel formats to plane and writeback capabilities.

Change-Id: Ib5a0b2dacbc1ddc47c069b4348c0d1b9fbd7701e
Signed-off-by: Alexander Beykun <abeykun@codeaurora.org>
7 years agodrm/msm/sde: size check fix for NV12 buffer
Alexander Beykun [Wed, 19 Apr 2017 21:08:35 +0000 (17:08 -0400)]
drm/msm/sde: size check fix for NV12 buffer

Currently for NV12 linear/compressed format if the same gem
object assigned to both planes, total size becomes twice more
than actually allocated. In that case kernel cannot detect
case where meta data planes not allocated for NV12 compressed
buffer and smmu fault happens. Current patch sums sizes only
for different gem objects allowing kernel to detect insufficient
memory allocation for NV12 case.

Change-Id: I0d9f49b8b310f0dff1fb787b4ba821a6d4a68140
Signed-off-by: Alexander Beykun <abeykun@codeaurora.org>
7 years agodrm/msm/sde: move pixel format flags to bitmap
abeykun [Tue, 4 Oct 2016 15:34:15 +0000 (11:34 -0400)]
drm/msm/sde: move pixel format flags to bitmap

Patch changes type of pixel format flags from u32 to bitmap.

Change-Id: I117f3737d78d22b9bd6d78abdb8e96f52fc4e874
Signed-off-by: Alexander Beykun <abeykun@codeaurora.org>
7 years agodrm/msm/sde: add tp10 compressed format support
abeykun [Fri, 26 Aug 2016 15:31:44 +0000 (11:31 -0400)]
drm/msm/sde: add tp10 compressed format support

Add MOD_QCOM_TIGHT modifier on top of DRM_FORMAT_NV12
base pixel format and update plane size calculation
to support compressed tp10 buffers.

Change-Id: I12eb9fecfd34d488eda92f6217b6ca51e466c6f6
Signed-off-by: Alexander Beykun <abeykun@codeaurora.org>
7 years agodrm/msm/sde: add p010 format support in sde
abeykun [Fri, 26 Aug 2016 14:48:09 +0000 (10:48 -0400)]
drm/msm/sde: add p010 format support in sde

Add MOD_QCOM_DX modifier on top of DRM_FORMAT_NV12
base format and update plane size calculation to support
linear and compressed p010 buffers.

Change-Id: I93bd9557e5c4a4a038891f24730edbbec1dba262
Signed-off-by: Alexander Beykun <abeykun@codeaurora.org>
7 years agoicnss: Fix incorrect clean-up of stats
Sameer Thalappil [Fri, 23 Jun 2017 23:40:44 +0000 (16:40 -0700)]
icnss: Fix incorrect clean-up of stats

Fix the copy paste error of clearing the statistics
as part of the fw_debug debugfs write interface.

CRs-Fixed: 2066394
Change-Id: I4ca848a05af06c2a9e6ce1efeb3bfa3b77c2f8d8
Signed-off-by: Sameer Thalappil <sameert@codeaurora.org>
7 years agoicnss: Add specific statistics for PDR
Sameer Thalappil [Fri, 23 Jun 2017 22:43:43 +0000 (15:43 -0700)]
icnss: Add specific statistics for PDR

Maintain separate statistics to track the number of PDR instances
from FW crash, host error, root PD crash and root PD shutdown cases.
Also add support to announce the PDR cause in the log.

CRs-Fixed: 2066366
Change-Id: I33995d694e3aae47dfcc9f249528a7f1815ee12f
Signed-off-by: Sameer Thalappil <sameert@codeaurora.org>
7 years agodrm/msm: add sink capabilities for HDR support
Srikanth Rajagopalan [Thu, 8 Jun 2017 22:23:31 +0000 (15:23 -0700)]
drm/msm: add sink capabilities for HDR support

Populate HDR sink capabilities to a DRM blob.

These capabilities shall be used by the userspace
to calculate the sink HDR properties and setting them.

Change-Id: I7c2dbca375c456052ad73889b011553090bcf8f1
Signed-off-by: Srikanth Rajagopalan <rasrik@codeaurora.org>
7 years agomsm: mdss: Correct PP register programming deferring
Ping Li [Fri, 16 Jun 2017 02:53:11 +0000 (19:53 -0700)]
msm: mdss: Correct PP register programming deferring

Commit 1b5894d38a00 ("msm: mdss: Separate PP programming to
advanced and deferred modes") separates the PP register
programming into two groups, the normal pp features and the
deferred pp features. However, the above change missed
to add the check in one place and caused mdss_mdp_ad_setup()
gets called two times for every dspp_setup, which breaks the
AD mode switch feature during idle power collapse.
This change fixes the above issue by adding the missing check.

Change-Id: I694299646f62ab29aeff49d4e3749d7858381db4
Signed-off-by: Ping Li <pingli@codeaurora.org>
7 years ago base: firmware: add /lib64/firmware to firmware loading path
Bharathraj Nagaraju [Thu, 22 Jun 2017 04:44:46 +0000 (21:44 -0700)]
 base: firmware: add /lib64/firmware to firmware loading path

 Adding /lib64/firmware to the driver for loading firmware from
 the target.

Change-Id: I1e489efc7e0d56991a0671950b88ce15afe3825b
Signed-off-by: Bharathraj Nagaraju <snbraj@codeaurora.org>
7 years agomsm: ipa3: Assert on GSI MHI event ring fatal error
Ghanim Fodi [Sun, 11 Jun 2017 09:35:41 +0000 (12:35 +0300)]
msm: ipa3: Assert on GSI MHI event ring fatal error

GSI MHI event ring error is a fatal error where there is
no recovery possible. Data path will be stalled.
This change will assert on this case.

Change-Id: I9c94e44b2f2d5e1b0b8d059b871d1bd9ad2d3fcf
Signed-off-by: Ghanim Fodi <gfodi@codeaurora.org>
7 years agomsm: ipa3: Ring IPA MHI event ring doorbell on channel start
Ghanim Fodi [Tue, 20 Jun 2017 07:35:20 +0000 (10:35 +0300)]
msm: ipa3: Ring IPA MHI event ring doorbell on channel start

Ringing IPA MHI event ring doorbell is done at MHI device
during MHI channel start. This is done after the rings
are allocated. The ring write pointer updated by the host is
used as the doorbell value. Doorbell ringing is required
in order to supply event credits to GSI H/W.

Change-Id: I2db110b4f99c8ab6c6878d426b3ebb37149b0b76
Signed-off-by: Ghanim Fodi <gfodi@codeaurora.org>
7 years agomsm: ipa3: remove delay from AP if QMI fails
Amir Levy [Sun, 25 Jun 2017 07:06:14 +0000 (10:06 +0300)]
msm: ipa3: remove delay from AP if QMI fails

In case of failure to send QMI message to modem
remove the delay from AP since modem is probably
down (SSR\reboot).

Change-Id: Iae4d5162d39cd05f5c50d75087ec90dfe04a6c43
Signed-off-by: Amir Levy <alevy@codeaurora.org>
7 years agoARM: dts: msm: add non-removable ufs/emmc property for msm8996
Lei wang [Wed, 21 Jun 2017 03:16:26 +0000 (11:16 +0800)]
ARM: dts: msm: add non-removable ufs/emmc property for msm8996

Defines the non-removable property for ufs/emmc device node
This basically lets the driver whether ufs/emmc is the boot
device

Change-Id: I7e583e0ecef064d1ed91b443fe35f98a3b2c0c8a
Signed-off-by: Lei wang <leiwan@codeaurora.org>
7 years agosoc: qcom: avoid calling sleeping functions in interrupt context
Vidyakumar Athota [Fri, 23 Jun 2017 05:27:08 +0000 (22:27 -0700)]
soc: qcom: avoid calling sleeping functions in interrupt context

Since glink callbacks are called in interrupt context, avoid using
functions that can sleep in the callbacks. Use separate work queue
to free the buffer.

Change-Id: I8abae4becb4c4ac1feb8794db4d2a6bb378943ac
Signed-off-by: Vidyakumar Athota <vathota@codeaurora.org>
7 years agoMerge "ath10k: Add change interface handler"
Linux Build Service Account [Fri, 23 Jun 2017 19:09:25 +0000 (12:09 -0700)]
Merge "ath10k: Add change interface handler"

7 years agoMerge "qpnp-smb2: configure DRP mode after interrupt request"
Linux Build Service Account [Fri, 23 Jun 2017 19:09:24 +0000 (12:09 -0700)]
Merge "qpnp-smb2: configure DRP mode after interrupt request"

7 years agoMerge "arm/arm64: Export save_stack_trace_tsk()"
Linux Build Service Account [Fri, 23 Jun 2017 19:09:23 +0000 (12:09 -0700)]
Merge "arm/arm64: Export save_stack_trace_tsk()"

7 years agosoc: qcom: glink: Remove magic number logic
Dhoat Harpal [Wed, 21 Jun 2017 16:03:45 +0000 (21:33 +0530)]
soc: qcom: glink: Remove magic number logic

Possible use after free issue while accessing magic number,
if the ctx is already freed.

Magic number check is removed.

CRs-Fixed: 2061287
Change-Id: Ie157a930c7eb310829766319e0af742114337e6c
Signed-off-by: Dhoat Harpal <hdhoat@codeaurora.org>
7 years agosoc: qcom: glink_pkt: fix number of intent queued
Dhoat Harpal [Fri, 23 Jun 2017 14:42:15 +0000 (20:12 +0530)]
soc: qcom: glink_pkt: fix number of intent queued

glink_pkt driver has no limit on number of intents auto queued for rx.
Intent are auto queued when remote side request for intent without checking
how many packets are pending to be read by client.

A max limit check is added to avoid memory exhaustion case with indefinite
intent queueing.

CRs-Fixed: 2042581
Change-Id: I68aa102b323716f591841b192477a70397a5536b
Signed-off-by: Dhoat Harpal <hdhoat@codeaurora.org>
7 years agoMerge "ath10k: wait for vdev delete response from firmware"
Linux Build Service Account [Fri, 23 Jun 2017 12:56:57 +0000 (05:56 -0700)]
Merge "ath10k: wait for vdev delete response from firmware"

7 years agoMerge "sound: usb: Add quirk to issue SET_CUR volume on 2nd channel"
Linux Build Service Account [Fri, 23 Jun 2017 12:56:56 +0000 (05:56 -0700)]
Merge "sound: usb: Add quirk to issue SET_CUR volume on 2nd channel"

7 years agoMerge "msm: mdss: dp: fix no display issue on second connection"
Linux Build Service Account [Fri, 23 Jun 2017 12:56:55 +0000 (05:56 -0700)]
Merge "msm: mdss: dp: fix no display issue on second connection"

7 years agoMerge "mdss: dp: check if sink device is connected before DP ON sequence"
Linux Build Service Account [Fri, 23 Jun 2017 12:56:54 +0000 (05:56 -0700)]
Merge "mdss: dp: check if sink device is connected before DP ON sequence"

7 years agoMerge "msm: sde: Remove output fence object after user request completed"
Linux Build Service Account [Fri, 23 Jun 2017 12:56:52 +0000 (05:56 -0700)]
Merge "msm: sde: Remove output fence object after user request completed"

7 years agoMerge "msm: mdss: Change IOMMU map sequence during splash cleanup"
Linux Build Service Account [Fri, 23 Jun 2017 12:56:41 +0000 (05:56 -0700)]
Merge "msm: mdss: Change IOMMU map sequence during splash cleanup"

7 years agoMerge "msm: sde: Convert workq to kernel thread in SDE rotator"
Linux Build Service Account [Fri, 23 Jun 2017 12:56:40 +0000 (05:56 -0700)]
Merge "msm: sde: Convert workq to kernel thread in SDE rotator"