OSDN Git Service
Subbaraman Narayanamurthy [Fri, 17 Feb 2017 23:48:47 +0000 (15:48 -0800)]
leds: qpnp-wled: add support to control PSM dynamically
As per the hardware recommendation, keep PSM disabled 10 ms after
WLED module is enabled. Enable PSM back when the module is
disabled. This is to ensure that PFM mode is operational without
the precedence from PSM. Make this configurable through a device
tree property.
Change-Id: Ic6be160a88be40e94a4a0798646b8aa3f169ab49
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
Subbaraman Narayanamurthy [Fri, 17 Feb 2017 23:14:06 +0000 (15:14 -0800)]
leds: qpnp-wled: improve OVP fault interrupt handling
If there is an OVP event happened in the bootloader and the
interrupt is not handled before, then as soon as the WLED
module is enabled, fault interrupt can fire. This is seen
sometimes during bootup. This is harmless as such and cannot
be stopped completely. However, it would be good to keep the
OVP fault interrupt disabled at the startup. When WLED module
is enabled again, it will get enabled anyways after ~10 ms.
While at it, print the error message in OVP fault interrupt
handler only when the fault status is set.
Change-Id: I0759c87137a52a8872b37d126e71c13f76d10e05
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
Subbaraman Narayanamurthy [Fri, 3 Mar 2017 01:48:56 +0000 (17:48 -0800)]
ARM: dts: msm: change WLED interrupt configuration for pm660l
Currently, WLED over-voltage and short-circuit fault interrupts
are configured for both rising and falling edge. Configure them
to be on rising edge alone as that should be sufficient.
Change-Id: I9e19cf08e77432a4db5f18894ee445d38f1ad802
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
Subbaraman Narayanamurthy [Fri, 17 Feb 2017 23:12:02 +0000 (15:12 -0800)]
ARM: dts: msm: change WLED interrupt configuration for pmi8998
Currently, WLED over-voltage and short-circuit fault interrupts
are configured for both rising and falling edge. Configure them
to be on rising edge alone as that should be sufficient.
Change-Id: I7cdaf126c07daa9afb2c0db68ee760a9a4a2956a
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
Linux Build Service Account [Thu, 16 Feb 2017 21:09:28 +0000 (13:09 -0800)]
Merge "drm/msm/sde: signal pending PAGE_FLIP events"
Linux Build Service Account [Thu, 16 Feb 2017 11:05:23 +0000 (03:05 -0800)]
Merge "ARM: dts: msm: update CPU efficiency values for sdm660"
Linux Build Service Account [Thu, 16 Feb 2017 11:05:22 +0000 (03:05 -0800)]
Merge "proc: fix conversion of oom_score_adj to oom_adj"
Linux Build Service Account [Thu, 16 Feb 2017 11:05:21 +0000 (03:05 -0800)]
Merge "USB: gadget: Replace %pK with %pM"
Linux Build Service Account [Thu, 16 Feb 2017 11:05:20 +0000 (03:05 -0800)]
Merge "ARM: dts: msm: Enable support for LPM Errata feature on msm8998"
Linux Build Service Account [Thu, 16 Feb 2017 11:05:19 +0000 (03:05 -0800)]
Merge "uio: fix potential use after free issue when accessing debug_buffer"
Linux Build Service Account [Thu, 16 Feb 2017 11:05:18 +0000 (03:05 -0800)]
Merge "BACKPORT: aio: mark AIO pseudo-fs noexec"
Linux Build Service Account [Thu, 16 Feb 2017 11:05:17 +0000 (03:05 -0800)]
Merge "diag: dci: Initialize the stat variable before using it"
Linux Build Service Account [Thu, 16 Feb 2017 11:05:15 +0000 (03:05 -0800)]
Merge "diag: dci: Send masks information to only supported peripherals"
Linux Build Service Account [Thu, 16 Feb 2017 11:05:14 +0000 (03:05 -0800)]
Merge "drivers: lmh_lite: Invalidate cache after the scm call"
Linux Build Service Account [Thu, 16 Feb 2017 11:05:13 +0000 (03:05 -0800)]
Merge "msm: thermal: Ignore thermal bite for secure device"
Linux Build Service Account [Thu, 16 Feb 2017 11:05:13 +0000 (03:05 -0800)]
Merge "drivers: thermal: Exit sysfs notify kthread when sensor unregisters"
Linux Build Service Account [Thu, 16 Feb 2017 11:05:11 +0000 (03:05 -0800)]
Merge "defconfig: msmcortex: Enable regmap debugfs write"
Linux Build Service Account [Thu, 16 Feb 2017 11:05:10 +0000 (03:05 -0800)]
Merge "regmap: Kconfig: make ALLOW_WRITE_DEBUGFS default unset"
Linux Build Service Account [Thu, 16 Feb 2017 11:05:09 +0000 (03:05 -0800)]
Merge "pinctrl: qcom: Add syscore system suspend/resume"
Linux Build Service Account [Thu, 16 Feb 2017 11:05:08 +0000 (03:05 -0800)]
Merge "power: qpnp-fg: Fix possible race condition in FG debugfs"
Linux Build Service Account [Thu, 16 Feb 2017 11:05:07 +0000 (03:05 -0800)]
Merge "soc: qcom: spcom: fix error handling"
Linux Build Service Account [Thu, 16 Feb 2017 11:05:06 +0000 (03:05 -0800)]
Merge "soc: qcom: spss_utils: fix error handling"
Linux Build Service Account [Thu, 16 Feb 2017 11:05:01 +0000 (03:05 -0800)]
Merge "defconfig: msmcortex: Disable CONFIG_ICNSS_DEBUG"
Linux Build Service Account [Thu, 16 Feb 2017 11:05:00 +0000 (03:05 -0800)]
Merge "soc: qcom: glink_spi_xprt: Add check for SSR during RX polling"
Liam Mark [Tue, 22 Apr 2014 00:16:11 +0000 (17:16 -0700)]
proc: fix conversion of oom_score_adj to oom_adj
Ensure that oom_score_adj values are properly converted to
oom_adj values by rounding appropriately.
When there is an attempt to calculate an oom_adj value from its
oom_score_adj value the lack of precision results in an oom_adj
value that is one less than it should be.
For example the oom_adj calculated from oom_score_adj 117 is
calculated as 1.989 (117*17 / 1000), and this is rounded to
1 (and not 2 as it should be).
By properly generating oom_adj values backward compatibility is
better supported.
Change-Id: I7f102cf445e572b8e855a9d6b0cf91e3c438eabf
Signed-off-by: Liam Mark <lmark@codeaurora.org>
Signed-off-by: Vinayak Menon <vinmenon@codeaurora.org>
Sahitya Tummala [Fri, 3 Feb 2017 07:54:19 +0000 (13:24 +0530)]
uio: fix potential use after free issue when accessing debug_buffer
The variable debug_buffer is a global variable which is allocated
and free'd when open/close is called on debugfs file -
"/sys/kernel/debug/rmt_storage/info". The current code doesn't
have locks to handle concurrent accesses to the above file.
This results into use after free issue when debug_buffer is
accessed by two threads at the same time. Fix this by adding
a mutex lock to protect this global variable.
Change-Id: I6bc3f0ae2d7fca3ca9fe8561612f5863b6c3268a
Signed-off-by: Sahitya Tummala <stummala@codeaurora.org>
Hemant Kumar [Thu, 9 Feb 2017 02:32:30 +0000 (18:32 -0800)]
ARM: dts: msm: Enable support for LPM Errata feature on msm8998
LPM Errata feature is enabled on dwc3 controller which has
DWC3_REVISION_300A.
Change-Id: Icec177f2bcb4ebc335e5c71550d6ce2f933c1619
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
Linux Build Service Account [Thu, 16 Feb 2017 01:01:39 +0000 (17:01 -0800)]
Merge "msm: mdss: fix Display Port boot-up with default resolution"
Linux Build Service Account [Thu, 16 Feb 2017 01:01:38 +0000 (17:01 -0800)]
Merge "msm: mdss: dp: add support to parse maximum PCLK from dtsi for display port"
Linux Build Service Account [Thu, 16 Feb 2017 01:01:37 +0000 (17:01 -0800)]
Merge "msm: mdss: Add HDR Metadata Interface"
Linux Build Service Account [Thu, 16 Feb 2017 01:01:36 +0000 (17:01 -0800)]
Merge "msm: mdss: mask DSI FIFO overflow errors during BTA operation"
Linux Build Service Account [Thu, 16 Feb 2017 01:01:35 +0000 (17:01 -0800)]
Merge "msm: sde: Disable client driven prefetch for rotator"
Linux Build Service Account [Thu, 16 Feb 2017 01:01:34 +0000 (17:01 -0800)]
Merge "qos: Add NULL checking for irq descriptor"
Linux Build Service Account [Thu, 16 Feb 2017 01:01:33 +0000 (17:01 -0800)]
Merge "soc: qcom: fingerprint: keep QSEE handle in kernel space"
Linux Build Service Account [Thu, 16 Feb 2017 01:01:32 +0000 (17:01 -0800)]
Merge "defconfig: msm: new flag for mediabox specific demux changes"
Linux Build Service Account [Thu, 16 Feb 2017 01:01:31 +0000 (17:01 -0800)]
Merge "media: platform: msm: Add demux support for mediabox"
Linux Build Service Account [Thu, 16 Feb 2017 01:01:30 +0000 (17:01 -0800)]
Merge "leds: qpnp-flash: Fix possible race condition in debugfs"
Linux Build Service Account [Thu, 16 Feb 2017 01:01:29 +0000 (17:01 -0800)]
Merge "fuse: fix use after free issue in fuse_dev_do_read()"
Linux Build Service Account [Thu, 16 Feb 2017 01:01:28 +0000 (17:01 -0800)]
Merge "USB: phy-msm-qusb: Fix race conditions during fast PI/PO"
Linux Build Service Account [Thu, 16 Feb 2017 01:01:28 +0000 (17:01 -0800)]
Merge "core_ctl: redo offline_delay_ms tunable implementation"
Linux Build Service Account [Thu, 16 Feb 2017 01:01:25 +0000 (17:01 -0800)]
Merge "sched: don't assume higher capacity means higher power in tick migration"
Linux Build Service Account [Thu, 16 Feb 2017 01:01:25 +0000 (17:01 -0800)]
Merge "ARM: dts: msm: add support of devfreq and cpufreq on SDM630"
Linux Build Service Account [Thu, 16 Feb 2017 01:01:24 +0000 (17:01 -0800)]
Merge "USB: u_data_ipa: Fix NULL pointer dereference before starting RX/TX"
Linux Build Service Account [Thu, 16 Feb 2017 01:01:18 +0000 (17:01 -0800)]
Merge "defconfig: sdm660: enable video for 32bit"
Linux Build Service Account [Thu, 16 Feb 2017 01:01:17 +0000 (17:01 -0800)]
Merge "msm: vidc: Enable port reconfig for thumbnail session"
Linux Build Service Account [Thu, 16 Feb 2017 01:01:16 +0000 (17:01 -0800)]
Merge "qseecom: add new SCM ID to register listener when smcinvoke is supported"
Linux Build Service Account [Thu, 16 Feb 2017 01:01:15 +0000 (17:01 -0800)]
Merge "qcom: smb-lib: expose fcc value change in batt psy"
Linux Build Service Account [Thu, 16 Feb 2017 01:01:13 +0000 (17:01 -0800)]
Merge "msm: ipa3: UL event based completion"
Linux Build Service Account [Thu, 16 Feb 2017 01:01:12 +0000 (17:01 -0800)]
Merge "iommu: dma-mapping: alloc bitmap while fragmented"
Linux Build Service Account [Thu, 16 Feb 2017 01:01:11 +0000 (17:01 -0800)]
Merge "smb138x-charger: Fix max conn temp config"
Linux Build Service Account [Thu, 16 Feb 2017 01:01:10 +0000 (17:01 -0800)]
Merge "iommu/io-pgtable-fast: alloc pgtable while fragmented"
Linux Build Service Account [Thu, 16 Feb 2017 01:01:09 +0000 (17:01 -0800)]
Merge "msm: mdss: Handle ping pong split configuration in splash done"
Linux Build Service Account [Thu, 16 Feb 2017 01:01:08 +0000 (17:01 -0800)]
Merge "msm: mdss: Add mdss capabilities for sdm630"
Linux Build Service Account [Thu, 16 Feb 2017 01:01:08 +0000 (17:01 -0800)]
Merge "ARM: dts: msm: fix wb qos for msm8998"
Linux Build Service Account [Thu, 16 Feb 2017 01:01:07 +0000 (17:01 -0800)]
Merge "msm: mdss: avoid overflow in mdp clock rate calculation for rotator"
Linux Build Service Account [Thu, 16 Feb 2017 01:01:06 +0000 (17:01 -0800)]
Merge "smb-lib: fix icl changed interrupt storm"
Linux Build Service Account [Thu, 16 Feb 2017 01:01:05 +0000 (17:01 -0800)]
Merge "msm: sde: Correct bandwidth for TP10 and P010 in SDE rotator"
Linux Build Service Account [Thu, 16 Feb 2017 01:01:03 +0000 (17:01 -0800)]
Merge "ARM: dts: msm: update sdm660 rotator xin id values"
Linux Build Service Account [Thu, 16 Feb 2017 01:01:03 +0000 (17:01 -0800)]
Merge "msm: sde: Ensure mdp splash cleanup before initiating rotation request"
Linux Build Service Account [Thu, 16 Feb 2017 01:01:02 +0000 (17:01 -0800)]
Merge "scsi: ufs: handle LINERESET error only during hibern8 enter"
Linux Build Service Account [Thu, 16 Feb 2017 01:01:01 +0000 (17:01 -0800)]
Merge "qcom: smb-lib: enable parallel charging for SDP/CDP/OCP/FLOAT adapter"
Linux Build Service Account [Thu, 16 Feb 2017 01:01:00 +0000 (17:01 -0800)]
Merge "spi: spi_qsd: Set DMA mask for SPI device"
Linux Build Service Account [Thu, 16 Feb 2017 01:00:59 +0000 (17:00 -0800)]
Merge "scsi: ufs: renable AH8 timer on reset"
Linux Build Service Account [Thu, 16 Feb 2017 01:00:58 +0000 (17:00 -0800)]
Merge "clk: qcom: Add support to log PLL/RCGR values in case of failure"
Linux Build Service Account [Thu, 16 Feb 2017 01:00:57 +0000 (17:00 -0800)]
Merge "ARM: dts: msm: Move sdcc and ufs ice nodes"
Linux Build Service Account [Thu, 16 Feb 2017 01:00:56 +0000 (17:00 -0800)]
Merge "rpm-rail-stats: Add support to read RPM rail stats"
Linux Build Service Account [Thu, 16 Feb 2017 01:00:56 +0000 (17:00 -0800)]
Merge "input: touchpanel: Add ST Touchscreen version 4.1.0 driver"
Linux Build Service Account [Thu, 16 Feb 2017 01:00:53 +0000 (17:00 -0800)]
Merge "input: touchscreen: gt9xx: fix memory corruption in Goodix driver"
Linux Build Service Account [Thu, 16 Feb 2017 01:00:53 +0000 (17:00 -0800)]
Merge "ARM: dts: msm: Disable home key for SDM660 QRD"
Linux Build Service Account [Thu, 16 Feb 2017 01:00:52 +0000 (17:00 -0800)]
Merge "ath10k: Remove redundant code from snoc layer"
Linux Build Service Account [Thu, 16 Feb 2017 01:00:51 +0000 (17:00 -0800)]
Merge "ARM: dts: msm: Config sdm660 CPR controllers to use default step_quot"
Sreelakshmi Gownipalli [Mon, 13 Feb 2017 21:51:12 +0000 (13:51 -0800)]
diag: dci: Initialize the stat variable before using it
Initialize the stat variable before using it while sending
notification to dci client.
Change-Id: Ie5f98d0f45a797f4f122d8c4e2bae1a92bf4e7c9
Signed-off-by: Sreelakshmi Gownipalli <sgownipa@codeaurora.org>
Ram Chandrasekar [Tue, 14 Feb 2017 17:39:21 +0000 (10:39 -0700)]
drivers: lmh_lite: Invalidate cache after the scm call
LMH driver passes a buffer to TZ for fetching information. The driver
flushes the memory before passing the buffer to TZ. Though the flush
call will clean and invalidate the cache line, it is recommended to
invalidate the cache after the scam call.
Update the LMH driver to invalidate the payload buffer after the scm
call returns.
Change-Id: I4b599f4d1e8bf174ece5503fc4ff204dcb57b423
Signed-off-by: Ram Chandrasekar <rkumbako@codeaurora.org>
Ram Chandrasekar [Fri, 10 Feb 2017 22:14:50 +0000 (15:14 -0700)]
msm: thermal: Ignore thermal bite for secure device
KTM triggers a secure watchdog bite, when temperature reaches very high
threshold. In the secure device this call is not supported.
Avoid triggering the watchdog bite, on a secure device. This bite is
triggered in KTM for debug purpose to save the software state.
In the latest hardware, the tsens controller is capable of initiating a
hardware reset after saving the software state. So this feature is used
only to print the tsens ID which crossed the very high threshold.
Change-Id: Iacef4b64e16f9c2d9789d8faba474429dfcecd4e
Signed-off-by: Ram Chandrasekar <rkumbako@codeaurora.org>
Ram Chandrasekar [Fri, 10 Feb 2017 21:58:30 +0000 (14:58 -0700)]
drivers: thermal: Exit sysfs notify kthread when sensor unregisters
When a thermal zone unregisters, it initiates a blocking call
kthread_stop for the sysfs notify kthread to exit. But the sysfs notify
kthread is blocked on a completion event, which may not be triggered after
the sensor driver initiates a thermal zone unregister call. So, the
kthread_stop will be blocked forever.
As a part of thermal zone unregister, set a thermal zone unregister flag
and send a completion event before calling kthread_stop. Make the sysfs
notify kthread to be aware of thermal zone unregister flag and exit
after the completion event is triggered.
Change-Id: Icf045e0ad6e28135cd3a54c15d9923f095a286ff
Signed-off-by: Ram Chandrasekar <rkumbako@codeaurora.org>
Prasad Sodagudi [Fri, 1 Jul 2016 08:42:20 +0000 (14:12 +0530)]
pinctrl: qcom: Add syscore system suspend/resume
Add syscore system suspend and resume handlers,
to print gpio interrupts status during device resume.
Change-Id: I7c574d2e44a7e318ac9ef89063d2081bf63c09b6
Signed-off-by: Prasad Sodagudi <psodagud@codeaurora.org>
Fenglin Wu [Wed, 15 Feb 2017 15:54:08 +0000 (23:54 +0800)]
defconfig: msmcortex: Enable regmap debugfs write
Add CONFIG_REGMAP_ALLOW_DEBUGFS_WRITE to enable regmap debugfs write in
msmcortex_defconfig.
CRs-Fixed:
1103178
Change-Id: Ifa17f4799d873b4e9e0f3799350ccf38a90ebbc2
Signed-off-by: Fenglin Wu <fenglinw@codeaurora.org>
Fenglin Wu [Wed, 15 Feb 2017 15:44:33 +0000 (23:44 +0800)]
regmap: Kconfig: make ALLOW_WRITE_DEBUGFS default unset
Set REGMAP_ALLOW_WRITE_DEBUGFS default to n to disable regmap debug
write by default.
Rs-Fixed:
1103178
Change-Id: I8e89530b5a1b46dce64455244f20cd7aded84b24
Signed-off-by: Fenglin Wu <fenglinw@codeaurora.org>
Linux Build Service Account [Wed, 15 Feb 2017 14:11:41 +0000 (06:11 -0800)]
Merge "clk: qcom: Clean up the MSM8996 multimedia clock controller (MMCC) driver"
Linux Build Service Account [Wed, 15 Feb 2017 14:11:41 +0000 (06:11 -0800)]
Merge "ath10k: Refactor htt rx descriptor and remove last msdu check for WCN3990"
Linux Build Service Account [Wed, 15 Feb 2017 14:11:40 +0000 (06:11 -0800)]
Merge "ARM: dts: msm: configure interrupt types for charger for pmi8998"
Linux Build Service Account [Wed, 15 Feb 2017 14:11:39 +0000 (06:11 -0800)]
Merge "ASoC: msm: qdsp6v2: Add initialization and range check in q6afe"
Linux Build Service Account [Wed, 15 Feb 2017 14:11:38 +0000 (06:11 -0800)]
Merge "ASoC: wcd934x: Do not prevent the core entering power collapse"
Linux Build Service Account [Wed, 15 Feb 2017 14:11:38 +0000 (06:11 -0800)]
Merge "ASoC: msm: qdsp6v2: NOIRQ dynamic perf mode control"
Linux Build Service Account [Wed, 15 Feb 2017 14:11:37 +0000 (06:11 -0800)]
Merge "ASoC: msm8998: Add DoP support on QUAT TDM"
Linux Build Service Account [Wed, 15 Feb 2017 14:11:36 +0000 (06:11 -0800)]
Merge "ASoC: msm: qdsp6v2: Add TDM support for PCM compressed mode"
Linux Build Service Account [Wed, 15 Feb 2017 14:11:35 +0000 (06:11 -0800)]
Merge "ASoC: msm: qdspv2: Add mixer controls for drift query"
Linux Build Service Account [Wed, 15 Feb 2017 14:11:34 +0000 (06:11 -0800)]
Merge "ARM: dts: msm: limit the maximum PCLK supported for DP on SDM660"
Linux Build Service Account [Wed, 15 Feb 2017 14:11:33 +0000 (06:11 -0800)]
Merge "ARM: dts: msm: enable etr as default sink on sdm660"
Linux Build Service Account [Wed, 15 Feb 2017 14:11:33 +0000 (06:11 -0800)]
Merge "ARM: dts: msm: modify dcc ram size for sdm660 and sdm630"
Linux Build Service Account [Wed, 15 Feb 2017 14:11:28 +0000 (06:11 -0800)]
Merge "input: synaptics_dsx: reallocate buffer under lock."
Linux Build Service Account [Wed, 15 Feb 2017 14:11:27 +0000 (06:11 -0800)]
Merge "wil6210: support loading dedicated image for sparrow-plus devices"
Linux Build Service Account [Wed, 15 Feb 2017 14:11:26 +0000 (06:11 -0800)]
Merge "firmware_class: Add null check in firmware_direct_write"
Linux Build Service Account [Wed, 15 Feb 2017 14:11:25 +0000 (06:11 -0800)]
Merge "msm: ipa: use GFP_ATOMIC for DMA memory allocation during SSR"
Linux Build Service Account [Wed, 15 Feb 2017 14:11:24 +0000 (06:11 -0800)]
Merge "leds: qpnp-flash-v2: add delay between LMH mitigation and LED strobe"
Linux Build Service Account [Wed, 15 Feb 2017 14:11:24 +0000 (06:11 -0800)]
Merge "soc: qcom: pil: Clear elf memory on validation failure"
Linux Build Service Account [Wed, 15 Feb 2017 14:11:23 +0000 (06:11 -0800)]
Merge "defconfig: msm: enable ATH10k WCN3990 WLAN module for APQ8098"
Linux Build Service Account [Wed, 15 Feb 2017 14:11:22 +0000 (06:11 -0800)]
Merge "msm: camera: sensor: Validate destination step position"
Linux Build Service Account [Wed, 15 Feb 2017 14:11:21 +0000 (06:11 -0800)]
Merge "msm: cpp: Check for validity of processed frame in cpp timeout"
Linux Build Service Account [Wed, 15 Feb 2017 14:11:21 +0000 (06:11 -0800)]
Merge "msm: camera: isp: Handle page fault in case of overflow"