OSDN Git Service
Linux Build Service Account [Tue, 27 Jun 2017 11:28:23 +0000 (04:28 -0700)]
Merge "btfm: Enable multichannel bit for SCO Rx"
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"
Linux Build Service Account [Tue, 27 Jun 2017 11:28:19 +0000 (04:28 -0700)]
Merge "drm/msm: add sink capabilities for HDR support"
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"
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"
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"
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"
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"
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"
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Linux Build Service Account [Fri, 23 Jun 2017 19:09:25 +0000 (12:09 -0700)]
Merge "ath10k: Add change interface handler"
Linux Build Service Account [Fri, 23 Jun 2017 19:09:24 +0000 (12:09 -0700)]
Merge "qpnp-smb2: configure DRP mode after interrupt request"
Linux Build Service Account [Fri, 23 Jun 2017 19:09:23 +0000 (12:09 -0700)]
Merge "arm/arm64: Export save_stack_trace_tsk()"
Linux Build Service Account [Fri, 23 Jun 2017 12:56:57 +0000 (05:56 -0700)]
Merge "ath10k: wait for vdev delete response from firmware"
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"
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"
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"
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"
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"
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"
Linux Build Service Account [Fri, 23 Jun 2017 12:56:39 +0000 (05:56 -0700)]
Merge "smb-lib: add support for float charger reporting"
Linux Build Service Account [Fri, 23 Jun 2017 12:56:38 +0000 (05:56 -0700)]
Merge "power: power_supply_sysfs: Add support for Floating charger"
Linux Build Service Account [Fri, 23 Jun 2017 12:56:37 +0000 (05:56 -0700)]
Merge "msm:ipa: Fix to kasan use-after-free issue"
Linux Build Service Account [Fri, 23 Jun 2017 12:56:36 +0000 (05:56 -0700)]
Merge "btfm: provide a way to query wcn3990 status"
Linux Build Service Account [Fri, 23 Jun 2017 12:56:21 +0000 (05:56 -0700)]
Merge "scsi: ufs: Fix initialization of pointer"
Maria Yu [Wed, 14 Jun 2017 09:34:56 +0000 (17:34 +0800)]
ARM: dts: msm: Add mdss panel file nodes for msm8998 QRD
Add the mdss panel file to support qrd device tree overlay.
Change-Id: I65152ee6a7cafdbba299f0e0a3cac2e77c8c2660
Signed-off-by: Maria Yu <aiquny@codeaurora.org>
Ashay Jaiswal [Wed, 21 Jun 2017 08:41:41 +0000 (14:11 +0530)]
qpnp-smb2: configure DRP mode after interrupt request
During hardware initialization charger is configured in
DRP mode from force UFP mode and after mode configuration
hardware takes ~300/400 msec for UFP/DFP detection. In case
if the delay between moving to DRP mode and software enabling
interrupts is more than hardware detection delay then software
will miss the detection interrupt. Fix this by moving DRP
configuration after interrupt request this ensures software will
receive interrupt once hardware detection completes.
CRs-Fixed:
2065296
Change-Id: I55c59ed558e8db40a7b1af7638832da1f9547222
Signed-off-by: Ashay Jaiswal <ashayj@codeaurora.org>
Sriraj Hebbar [Thu, 22 Jun 2017 05:05:18 +0000 (10:35 +0530)]
msm: camera: Fix Use after free bug in msm_vb2.c
There is no syncronization between msm_vb2_get_buf
and msm_delete_stream which can lead to use after
free.
Fixed it by using read/write lock.
Change-Id: Icff5cd81b1a4e9c28f19936dec570751feab0ccf
Signed-off-by: Manish Poddar <mpoddar@codeaurora.org>
Signed-off-by: Trishansh Bhardwaj <tbhardwa@codeaurora.org>
Signed-off-by: Andy Sun <bins@codeaurora.org>
Linux Build Service Account [Fri, 23 Jun 2017 06:41:18 +0000 (23:41 -0700)]
Merge "drm: msm: add support for a custom hotplug event"
Linux Build Service Account [Fri, 23 Jun 2017 06:41:17 +0000 (23:41 -0700)]
Merge "soc: qcom: sleepstate: Enable/Disable IPCRTR wakelocks"
Linux Build Service Account [Fri, 23 Jun 2017 06:41:16 +0000 (23:41 -0700)]
Merge "thermal: qpnp-adc-tm: Fix shutdown path for ADC_TM"
Linux Build Service Account [Fri, 23 Jun 2017 06:41:15 +0000 (23:41 -0700)]
Merge "Merge branch 'android-4.4@
e76c0fa' into branch 'msm-4.4'"
Linux Build Service Account [Fri, 23 Jun 2017 06:41:11 +0000 (23:41 -0700)]
Merge "drm/msm: add PLL_ENABLE property to support clock recovery"
Linux Build Service Account [Fri, 23 Jun 2017 06:41:10 +0000 (23:41 -0700)]
Merge "ath10k: Add interface combinations for wcn3990"
Linux Build Service Account [Fri, 23 Jun 2017 06:41:08 +0000 (23:41 -0700)]
Merge "ASoC: msm: qdsp6v2: Remove size checks when finding ADM cal"
Linux Build Service Account [Fri, 23 Jun 2017 06:41:07 +0000 (23:41 -0700)]
Merge "ARM: dts: msm: Update temperature threshold limits for EA for 8998/660/630"
Linux Build Service Account [Fri, 23 Jun 2017 06:41:06 +0000 (23:41 -0700)]
Merge "msm: vidc: Scale clocks with inst load during dcvs setup period"
Linux Build Service Account [Fri, 23 Jun 2017 06:41:05 +0000 (23:41 -0700)]
Merge "qcom: scm: Remove inputs printing from scm_call2_atomic"
Linux Build Service Account [Fri, 23 Jun 2017 06:41:04 +0000 (23:41 -0700)]
Merge "usb: core: Add support to handle multi config audio device"
Linux Build Service Account [Fri, 23 Jun 2017 06:41:02 +0000 (23:41 -0700)]
Merge "qseecom: use strnlen in qseecom_start_app"
Linux Build Service Account [Fri, 23 Jun 2017 06:41:02 +0000 (23:41 -0700)]
Merge "power: qcom: qpnp-fg-gen3: add missing break in switch statement"
Linux Build Service Account [Fri, 23 Jun 2017 06:41:01 +0000 (23:41 -0700)]
Merge "soc: qcom: glink: Move tx_info allocation in beginning"
Linux Build Service Account [Fri, 23 Jun 2017 06:41:00 +0000 (23:41 -0700)]
Merge "ARM: dts: msm: Remove HDMI hotplug feature for msm8996 ADP"
Linux Build Service Account [Fri, 23 Jun 2017 06:40:59 +0000 (23:40 -0700)]
Merge "drm/msm: gracefully handle NULL return from setup_pagetable()"
Rakesh Pillai [Wed, 21 Jun 2017 18:55:24 +0000 (00:25 +0530)]
ath10k: Add change interface handler
Change interface handler is not registered with mac80211.
The change interface handler is needed to run p2p go/cli
on the same interface as p2p control interface.
Add change interface handler for ath10k.
CRs-Fixed:
2063870
Change-Id: Ia06850a938b9d5e89d970792e3f0a776693a5f25
Signed-off-by: Rakesh Pillai <pillair@codeaurora.org>
Rakesh Pillai [Wed, 21 Jun 2017 19:12:42 +0000 (00:42 +0530)]
ath10k: wait for vdev delete response from firmware
When we add an interface immediately after removing
the interface the vdev deletion in firmware might not
have been completed. We need to synchronize the vdev creation
with the firmware.
Wait for vdev delete response from firmware when we
remove an interface.
CRs-Fixed:
2065345
Change-Id: Id045087b03d5c5e6451f79b9c1177aca26ed34a2
Signed-off-by: Rakesh Pillai <pillair@codeaurora.org>
Ajay Agarwal [Thu, 22 Jun 2017 05:39:33 +0000 (11:09 +0530)]
sound: usb: Add quirk to issue SET_CUR volume on 2nd channel
Some audio devices with two channels require the host
to issue SET_CUR command on the Volume control on
both the channels in order to function (playback or
record). Currently, the Linux Host driver issues SET_CUR
only for the 1st channel. Hence, add the quirk for
concerned devices for SET_CUR on 2nd channel.
Change-Id: I6f0bbcdfd3a8b3ccb33a1d56c252c701849a442f
Signed-off-by: Ajay Agarwal <ajaya@codeaurora.org>
Ramakrishnan Ganesh [Fri, 26 May 2017 19:39:38 +0000 (12:39 -0700)]
soc: qcom: sleepstate: Enable/Disable IPCRTR wakelocks
The acquiring of wakelock prevents the system from entering
suspend for high frequency non-wakeup sensor requests. With
the change IPCRTR now does not acquire a wakelock while cpu
is out of suspend. This allows the cpu to enter suspend.
The wakelocks are enabled in the suspend path so that future
wakeup capable sensor events gets handled without issues.
The wakelocks are disabled post resume from suspend.
This change affects only the data on the SLPI edge.
Change-Id: Iae3dafb735bfb0d3000487f2fa2216d68e9a026f
Signed-off-by: Ramakrishnan Ganesh <ramakris@codeaurora.org>
Tatenda Chipeperekwa [Thu, 1 Jun 2017 23:35:59 +0000 (16:35 -0700)]
drm: msm: add support for a custom hotplug event
Add support for a custom hotplug event that is triggered when the
status of the connector has changed. The event string of the
custom event will be in the following format:
"name=<connector name> status=<connector status>"
For example, when the DisplayPort connector has its status
updated to connected then the event string that is used as part
of the hotplug event will be as follows:
"name=DP-1 status=connected"
If the connector name is not known or is invalid at the time that
the event is triggered then the name will be reported as "unknown".
Change-Id: I5d6164d1e8e651cb05527733d68fa86fefb9e6ce
Signed-off-by: Tatenda Chipeperekwa <tatendac@codeaurora.org>
Signed-off-by: Abhinav Kumar <abhinavk@codeaurora.org>
Linux Build Service Account [Thu, 22 Jun 2017 21:00:22 +0000 (14:00 -0700)]
Merge "Revert "msm: kgsl: Offload mementry destroy work to separate thread""
Linux Build Service Account [Thu, 22 Jun 2017 21:00:21 +0000 (14:00 -0700)]
Merge "sched: avoid migrating when softint on tgt cpu should be short"
Linux Build Service Account [Thu, 22 Jun 2017 21:00:20 +0000 (14:00 -0700)]
Merge "arm64: dma-mapping: fix aliasing issues with non-CMA alloc"
Linux Build Service Account [Thu, 22 Jun 2017 21:00:19 +0000 (14:00 -0700)]
Merge "mmc: sdhci-msm: Don't turnoff Vcc during initialization"
Linux Build Service Account [Thu, 22 Jun 2017 21:00:18 +0000 (14:00 -0700)]
Merge "power: smb-lib: Add support to detect weak charger"
Linux Build Service Account [Thu, 22 Jun 2017 21:00:17 +0000 (14:00 -0700)]
Merge "soc: qcom: glink: Move tx_wakeup_worker to rx tasklet"
Linux Build Service Account [Thu, 22 Jun 2017 21:00:15 +0000 (14:00 -0700)]
Merge "diag: Update msg mask tables for new SSID"
Linux Build Service Account [Thu, 22 Jun 2017 21:00:12 +0000 (14:00 -0700)]
Merge "drm/msm: Move memptrs to msm_gpu and reorganize"
Dustin Brown [Tue, 13 Jun 2017 20:54:38 +0000 (13:54 -0700)]
arm/arm64: Export save_stack_trace_tsk()
The kernel watchdog is a great debugging tool for finding tasks that
consume a disproportionate amount of CPU time in contiguous chunks. One
can imagine building a similar watchdog for arbitrary driver threads
using save_stack_trace_tsk() and print_stack_trace(). However, this is
not viable for dynamically loaded driver modules on ARM platforms
because save_stack_trace_tsk() is not exported for those architectures.
Export save_stack_trace_tsk() for the ARM64 architecture to align with
x86 and support various debugging use cases such as arbitrary driver
thread watchdog timers.
Change-Id: I61e9d2afc4703a786fa6dcaf82fe46c0ed250045
CRs-Fixed:
2061326
Signed-off-by: Dustin Brown <dustinb@codeaurora.org>
Linux Build Service Account [Thu, 22 Jun 2017 14:40:35 +0000 (07:40 -0700)]
Merge "icnss: fix the memory and kernel info leak due to the race condition"
Linux Build Service Account [Thu, 22 Jun 2017 14:40:34 +0000 (07:40 -0700)]
Merge "msm: kgsl: convert some workqueues to use kthreads."
Linux Build Service Account [Thu, 22 Jun 2017 14:40:33 +0000 (07:40 -0700)]
Merge "power: smb-lib: Rearrange BOOST_BACK voting logic"
Linux Build Service Account [Thu, 22 Jun 2017 14:40:32 +0000 (07:40 -0700)]
Merge "msm: vidc: Recompute extradata address of buffers with ref 2"
Linux Build Service Account [Thu, 22 Jun 2017 14:40:31 +0000 (07:40 -0700)]
Merge "msm: vidc: Renaming the AU-Delimiter params/extens"
Linux Build Service Account [Thu, 22 Jun 2017 14:40:30 +0000 (07:40 -0700)]
Merge "msm: camera: validate num_streams in stream_cfg_cmd before using it"
Linux Build Service Account [Thu, 22 Jun 2017 14:40:29 +0000 (07:40 -0700)]
Merge "ARM: dts: msm: Update sensor device node for SDM660 QRD"
Linux Build Service Account [Thu, 22 Jun 2017 14:40:28 +0000 (07:40 -0700)]
Merge "ath10k: Increase peer delete response wait to 500msec"
Linux Build Service Account [Thu, 22 Jun 2017 14:40:27 +0000 (07:40 -0700)]
Merge "msm:camera: correct stats query out of boundary"
Linux Build Service Account [Thu, 22 Jun 2017 14:40:26 +0000 (07:40 -0700)]
Merge "clk: qcom: osm: Initialize ACD when the cluster is online"
Linux Build Service Account [Thu, 22 Jun 2017 14:40:25 +0000 (07:40 -0700)]
Merge "ais: refine some code style issues"
Linux Build Service Account [Thu, 22 Jun 2017 14:40:24 +0000 (07:40 -0700)]
Merge "ARM: dts: msm: override initial pwrlevel for MSM8996ProAU"
Linux Build Service Account [Thu, 22 Jun 2017 14:40:23 +0000 (07:40 -0700)]
Merge "Merge branch 'android-4.4@
6fc0573' into branch 'msm-4.4'"
Linux Build Service Account [Thu, 22 Jun 2017 14:40:22 +0000 (07:40 -0700)]
Merge "wil6210: protect against invalid length of tx management frame"
Linux Build Service Account [Thu, 22 Jun 2017 14:40:20 +0000 (07:40 -0700)]
Merge "msm: camera: Add error check for cmd in IOCTL."
Linux Build Service Account [Thu, 22 Jun 2017 14:40:19 +0000 (07:40 -0700)]
Merge "drivers: soc: qcom: rpm_stats: Add mutex lock for shared data"
Linux Build Service Account [Thu, 22 Jun 2017 14:40:18 +0000 (07:40 -0700)]
Merge "msm: camera: fix untrusted pointer for power down setting"
Linux Build Service Account [Thu, 22 Jun 2017 14:40:17 +0000 (07:40 -0700)]
Merge "msm: ipa3: fix compatibility with ipa_nat driver"
Linux Build Service Account [Thu, 22 Jun 2017 14:40:17 +0000 (07:40 -0700)]
Merge "msm: sps: Fix race condition in SPS debugfs APIs"
Linux Build Service Account [Thu, 22 Jun 2017 14:40:16 +0000 (07:40 -0700)]
Merge "msm: camera: fix untrusted pointer for power down setting"
Linux Build Service Account [Thu, 22 Jun 2017 14:40:15 +0000 (07:40 -0700)]
Merge "msm: camera: Use mutex lock to avoid race condition"
Vinayak Menon [Wed, 21 Jun 2017 05:47:39 +0000 (11:17 +0530)]
arm64: dma-mapping: fix aliasing issues with non-CMA alloc
Cache flush and clearing of logical mapping is done right now
only when the allocation is from CMA, for allocation requests
with DMA_ATTR_STRONGLY_ORDERED or DMA_ATTR_NO_KERNEL_MAPPING
set. Extend this to non-CMA allocations too, to avoid cache
aliasing issues.
Change-Id: I133d34d79665ee7159fe384121e933d7768748c2
Signed-off-by: Vinayak Menon <vinmenon@codeaurora.org>
Hareesh Gundu [Fri, 16 Jun 2017 11:36:57 +0000 (17:06 +0530)]
Revert "msm: kgsl: Offload mementry destroy work to separate thread"
This reverts commit
281fcb5e184b9d1074dd404016cebacce12a8664.
To address the issue with the OOMkiller causing to kill the
foreground application.
Change-Id: Ie4c078d706fdf1c13ad45840f72b414ddc37c1d0
Signed-off-by: Hareesh Gundu <hareeshg@codeaurora.org>
Signed-off-by: Venkateswara Rao Tadikonda <vtadik@codeaurora.org>
Siddartha Mohanadoss [Fri, 16 Jun 2017 04:15:15 +0000 (21:15 -0700)]
thermal: qpnp-adc-tm: Fix shutdown path for ADC_TM
Update ADC_TM shutdown path for VADC HC peripheral.
Change-Id: I3d524c6189402e39bf1911288ab4691f5df84066
Signed-off-by: Siddartha Mohanadoss <smohanad@codeaurora.org>
Sarada Prasanna Garnayak [Thu, 8 Jun 2017 10:04:13 +0000 (15:34 +0530)]
icnss: fix the memory and kernel info leak due to the race condition
The icnss register read/write debugfs entry can be accessed by
multiple user space thread. Memory allocation and deallocation
in the register read/write file operation leads to potential memory
leak during concurrency access of debugfs device file.
Add protection to avoid the memory leak and kernel information
leak due to the race condition in the register read/write ops.
CRs-Fixed:
2012572
Change-Id: I22c6af9a396c0df4e68f75702fc68a5dff5af032
Signed-off-by: Sarada Prasanna Garnayak <sgarna@codeaurora.org>
Tim Murray [Mon, 20 Feb 2017 10:29:32 +0000 (15:59 +0530)]
msm: kgsl: convert some workqueues to use kthreads.
adreno_dispatch_work and _kgsl_event_worker are both low-latency
low-runtime functions that are in the critical path of GPU
rendering. Moving them out of workqueues and into a dedicated FIFO
kthread avoids significant jitter.
bug
30342017
Git-commit:
1a7a93bd33f48a369de29f6f2b56251127bf6ab4
Git-repo: https://android.googlesource.com/kernel/msm
Change-Id: I83562f488c34c2ab001c8ea79e7f09b633c658bd
Signed-off-by: Tim Murray <timmurray@google.com>
Signed-off-by: Abhilash Kumar <krabhi@codeaurora.org>
Veerabhadrarao Badiganti [Wed, 21 Jun 2017 13:57:32 +0000 (19:27 +0530)]
mmc: sdhci-msm: Don't turnoff Vcc during initialization
As per emmc specification, device should be notified either with
power-off or sleep notification before turning off the Vcc.
Failing to do so might affect the device longevity.
In mmc driver initialization phase even before device probing
gets completed, Vcc is getting turned off without these notifications.
Since it can't send commands at this stage, So just ensure that Vcc
is not turned off till initialization gets completed.
Change-Id: I0bbf0077357d66c888147be40a0c5d312b9ce063
Signed-off-by: Veerabhadrarao Badiganti <vbadigan@codeaurora.org>
Ray Zhang [Tue, 13 Jun 2017 07:54:33 +0000 (15:54 +0800)]
drm/msm: add PLL_ENABLE property to support clock recovery
PLL_ENABLE property is used to enable or disable the PLL
update function. With this property PLL update function
only works when PLL_ENABLE is set, and all changes done
to hardware will be discarded once PLL_ENABLE is cleared.
CRs-Fixed:
2042852
Change-Id: Ia321918382b8622101cff566049284810833f63e
Signed-off-by: Ray Zhang <rayz@codeaurora.org>
Chris Lew [Thu, 11 May 2017 23:54:10 +0000 (16:54 -0700)]
soc: qcom: glink: Move tx_wakeup_worker to rx tasklet
Do tx wakeup worker functionality in rx worker tasklet instead
of scheduling the work to be done in worker context to improve
performance.
CRs-Fixed:
2050701
Change-Id: Iba620e7e264805ed02a35603da1fb6c985de7d43
Signed-off-by: Chris Lew <clew@codeaurora.org>
Ashay Jaiswal [Wed, 14 Jun 2017 10:34:45 +0000 (16:04 +0530)]
power: smb-lib: Add support to detect weak charger
A weak charger might trigger switcher_power_ok interrupt storm
which gets incorrectly detected as a boost_back condition and
input gets suspended. Add a logic to distinguish a weak charger
and the boost_back condition by first reducing the ICL current
to a lower value (500mA by default) on detecting a
switcher_power_ok storm. If the switcher_ok storm disappears
then its indeed a weak charger and if the storm continues its
possibly a boost_back condition.
Change-Id: I46b406e403aa16a502e6da149b180545848fc906
Signed-off-by: Ashay Jaiswal <ashayj@codeaurora.org>
Anirudh Ghayal [Fri, 26 May 2017 04:11:25 +0000 (09:41 +0530)]
power: smb-lib: Rearrange BOOST_BACK voting logic
The BOOST_BACK USB-ICL voter needs to be removed in the
following conditions -
1. VBUS falling path during PD hard-reset
2. typeC removal
3. False boost-back detected
For (1) and (2) - remove the boost_back vote in the usbin_handler
and typec_removal path. For (3) add a worker which removes the
boost_back vote after the boost-back condition is detected. The
delay is sufficient to recover from both a valid and an incorrectly
detected boost-back condition.
CRs-Fixed:
2051908
Change-Id: I9d1d04f392bb6040b0565510ff7d1032bb036de2
Signed-off-by: Anirudh Ghayal <aghayal@codeaurora.org>
Rakesh Pillai [Fri, 14 Apr 2017 05:52:33 +0000 (11:22 +0530)]
ath10k: Add interface combinations for wcn3990
Interface combinations were not present for wnc3990.
Add interface combinations for wcn3990.
CRs-Fixed:
2063866
Change-Id: I20a4db54c87c91a154ca63125a06ff78958b12cd
Signed-off-by: Rakesh Pillai <pillair@codeaurora.org>