OSDN Git Service
Sujeev Dias [Tue, 31 Jan 2017 19:59:23 +0000 (11:59 -0800)]
mhi: mhi_uci: add support for shutdown and system error notification
Add support to handle system error and shutdown
notifications from mhi host.
CRs-Fixed:
1097560
Change-Id: Ied6c907586aa4dc2ed3b1a7c19305877144b3b21
Signed-off-by: Sujeev Dias <sdias@codeaurora.org>
Linux Build Service Account [Tue, 4 Apr 2017 10:08:17 +0000 (03:08 -0700)]
Merge "ASoC: mbhc: Modify special headset detection"
Linux Build Service Account [Tue, 4 Apr 2017 10:08:17 +0000 (03:08 -0700)]
Merge "ASoC: msm-lsm-client: cleanup ioctl functions"
Linux Build Service Account [Tue, 4 Apr 2017 10:08:16 +0000 (03:08 -0700)]
Merge "ASoC: wcd934x: Fix sequence for efuse sensing"
Linux Build Service Account [Tue, 4 Apr 2017 10:08:15 +0000 (03:08 -0700)]
Merge "drivers: soc: apr: remove GLINK_TX_REQ_INTENT flag in apr write"
Linux Build Service Account [Tue, 4 Apr 2017 10:08:14 +0000 (03:08 -0700)]
Merge "ARM: dts: msm: add support for secondary TDM on msm8996 adp/cdp"
Linux Build Service Account [Tue, 4 Apr 2017 10:08:13 +0000 (03:08 -0700)]
Merge "ARM: dts: msm: add support for secondary MI2S on msm8996 adp/cdp"
Linux Build Service Account [Tue, 4 Apr 2017 10:08:12 +0000 (03:08 -0700)]
Merge "msm: mdss: Validating data values before passing on as operand"
Linux Build Service Account [Tue, 4 Apr 2017 10:08:10 +0000 (03:08 -0700)]
Merge "msm: thermal-dev: Protect IOCTL from race condition"
Linux Build Service Account [Tue, 4 Apr 2017 10:08:09 +0000 (03:08 -0700)]
Merge "msm: ipa3: fix Q6 statuses exception path"
Linux Build Service Account [Tue, 4 Apr 2017 10:08:08 +0000 (03:08 -0700)]
Merge "mhi: mhi_uci: redesign mhi_uci driver"
Linux Build Service Account [Tue, 4 Apr 2017 10:08:08 +0000 (03:08 -0700)]
Merge "mhi: core: add support for subsystem restart and shutdown"
Linux Build Service Account [Tue, 4 Apr 2017 10:08:04 +0000 (03:08 -0700)]
Merge "usb: dwc3: Use high priority worker as bottom half handler"
Linux Build Service Account [Tue, 4 Apr 2017 10:08:03 +0000 (03:08 -0700)]
Merge "ath10k: add qmi service for snoc wlan enable and disable"
Linux Build Service Account [Tue, 4 Apr 2017 10:08:02 +0000 (03:08 -0700)]
Merge "soc: qcom: service-locator: Return in case of no matching domains found"
Linux Build Service Account [Tue, 4 Apr 2017 10:08:01 +0000 (03:08 -0700)]
Merge "clk: msm: clock-gcc-8998: Update parent src for qup_spi/uart_apps clocks"
Linux Build Service Account [Tue, 4 Apr 2017 10:08:00 +0000 (03:08 -0700)]
Merge "CHROMIUM: usb: gadget: configfs: Fix KASAN use-after-free"
Linux Build Service Account [Mon, 3 Apr 2017 13:24:50 +0000 (06:24 -0700)]
Merge "block: Move bdi_unregister() to del_gendisk()"
Linux Build Service Account [Mon, 3 Apr 2017 13:24:48 +0000 (06:24 -0700)]
Merge "icnss: Send FW CRASHED uevent only if driver is probed"
Linux Build Service Account [Mon, 3 Apr 2017 13:24:47 +0000 (06:24 -0700)]
Merge "msm_11ad: copy FW crash dump before starting SSR flow"
Linux Build Service Account [Mon, 3 Apr 2017 13:24:46 +0000 (06:24 -0700)]
Merge "scsi: ufs: Abort gating if clock on request is pending"
Linux Build Service Account [Mon, 3 Apr 2017 13:24:45 +0000 (06:24 -0700)]
Merge "regulator: qpnp-lcdb: Add a WA to toggle SC before module_enable"
Linux Build Service Account [Mon, 3 Apr 2017 13:24:44 +0000 (06:24 -0700)]
Merge "Revert "input: synaptics_dsx: remove array declaration in write function""
Linux Build Service Account [Mon, 3 Apr 2017 13:24:43 +0000 (06:24 -0700)]
Merge "ARM: dts: msm: Update KTM boot mitigation config for msm8996pro"
Linux Build Service Account [Mon, 3 Apr 2017 13:24:43 +0000 (06:24 -0700)]
Merge "msm: mdss: fix validation checks for qseed3 params"
Linux Build Service Account [Mon, 3 Apr 2017 13:24:42 +0000 (06:24 -0700)]
Merge "msm: mdss: configure gpio to enable backlight"
Linux Build Service Account [Mon, 3 Apr 2017 13:24:41 +0000 (06:24 -0700)]
Merge "msm: mdss: Add support to read BL level for userspace"
Linux Build Service Account [Mon, 3 Apr 2017 13:24:40 +0000 (06:24 -0700)]
Merge "input: touchscreen: remove synaptics v2.6 touch driver"
Linux Build Service Account [Mon, 3 Apr 2017 13:24:39 +0000 (06:24 -0700)]
Merge "icnss: pre-alloc memory leak check on probe failure and remove"
Linux Build Service Account [Mon, 3 Apr 2017 13:24:38 +0000 (06:24 -0700)]
Merge "msm: camera: isp: Use single tasklet for dual vfe"
Linux Build Service Account [Mon, 3 Apr 2017 13:24:37 +0000 (06:24 -0700)]
Merge "msm: camera: isp: Set the clock rate for camss vfe clock"
Linux Build Service Account [Mon, 3 Apr 2017 13:24:36 +0000 (06:24 -0700)]
Merge "msm: isp: fix bug in cfg_camif"
Sarada Prasanna Garnayak [Fri, 17 Mar 2017 15:00:31 +0000 (20:30 +0530)]
ath10k: add qmi service for snoc wlan enable and disable
To enable WLAN ath10k snoc needs to send the host and target
copy engine info and driver operation mode to WLAN firmware.
The WLAN firmware configure the hardware component according
to the configure request send by ath10k snoc host driver.
Add QMI service to support this WLAN enable and disable
feature for the ath10k snoc WLAN driver.
Change-Id: I2648d90c1adddf72fa3977b6da52ab41b4ebd539
Signed-off-by: Sarada Prasanna Garnayak <sgarna@codeaurora.org>
Sarada Prasanna Garnayak [Fri, 17 Mar 2017 11:33:47 +0000 (17:03 +0530)]
ath10k: register qmi service notifier for ath10k snoc
Add support to configure the bus and wlan copy engine
component. Register event notifier to communicate with
the WLAN firmware over qmi communication interface.
Define data structure and method to process the QMI service
arrive, exit, msa ready and firmware event.
This feature adds support to maintain the SSR state machine
and ath10k core restart handler for the ath10k snoc driver.
Change-Id: I594611a104ef4eef499270996990a278e151101c
Signed-off-by: Sarada Prasanna Garnayak <sgarna@codeaurora.org>
Jan Kara [Wed, 8 Feb 2017 07:05:56 +0000 (08:05 +0100)]
block: Move bdi_unregister() to del_gendisk()
Commit
6cd18e711dd8 "block: destroy bdi before blockdev is
unregistered." moved bdi unregistration (at that time through
bdi_destroy()) from blk_release_queue() to blk_cleanup_queue() because
it needs to happen before blk_unregister_region() call in del_gendisk()
for MD. SCSI though will free up the device number from sd_remove()
called through a maze of callbacks from device_del() in
__scsi_remove_device() before blk_cleanup_queue() and thus similar races
as described in
6cd18e711dd8 can happen for SCSI as well as reported by
Omar [1].
Moving bdi_unregister() to del_gendisk() works for MD and fixes the
problem for SCSI since del_gendisk() gets called from sd_remove() before
freeing the device number.
This also makes device_add_disk() (calling bdi_register_owner()) more
symmetric with del_gendisk().
[1] http://marc.info/?l=linux-block&m=
148554717109098&w=2
Tested-by: Lekshmi Pillai <lekshmicpillai@in.ibm.com>
Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jan Kara <jack@suse.cz>
Tested-by: Omar Sandoval <osandov@fb.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
Git-commit:
165a5e22fafb127ecb5914e12e8c32a1f0d3f820
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git
Change-Id: I006db1a645adffb79d6b2f46f5ccc94fa21dfd0a
Signed-off-by: Ritesh Harjani <riteshh@codeaurora.org>
Anurag Chouhan [Fri, 24 Mar 2017 10:35:00 +0000 (16:05 +0530)]
icnss: Send FW CRASHED uevent only if driver is probed
If host driver fails to probed for the first time, and SSR/PDR
get triggered, as part of PD down uevent is sent to host driver
which inturn set recovery in progress which never gets reset
and the next time on FW Ready host driver is not able
to probe successfully
To fix this add a check if driver is probed or not
before sending the uevent.
Change-Id: Idceab059821c0b0e2a8806ad9fee5b6c75aec8c7
CRs-fixed:
2027920
Signed-off-by: Anurag Chouhan <achouhan@codeaurora.org>
Anurag Chouhan [Tue, 21 Mar 2017 13:46:53 +0000 (19:16 +0530)]
icnss: Send FW Down indication to WLAN host driver
If FW is down irrespective of crash, a uevent
is sent to wlan host driver to indicate FW is down.
Change-Id: I9fe2a2a11178f72ea27150d74d93a1e411eac030
CRs-fixed:
2027902
Signed-off-by: Hardik Kantilal Patel <hkpatel@codeaurora.org>
Signed-off-by: Anurag Chouhan <achouhan@codeaurora.org>
Sarada Prasanna Garnayak [Wed, 8 Mar 2017 08:49:17 +0000 (14:19 +0530)]
ath10k: Add support for WCN3990 QMI service
The ath10k snoc driver is a client to WLAN firmware service
started at Q6. Initial control messages to WLAN firmware is
exchanged through QMI interface. This change also adds
the APIs required for WLAN driver to enable and disable
WLAN at firmware.
CRs-Fixed:
2016532
Change-Id: I0572c70db4c693e0d03ed1ad930841a92e60c340
Signed-off-by: Sarada Prasanna Garnayak <sgarna@codeaurora.org>
Shantanu Jain [Fri, 31 Mar 2017 10:52:56 +0000 (03:52 -0700)]
Revert "input: synaptics_dsx: remove array declaration in write function"
This reverts commit
bcde95e2e697 ("input: synaptics_dsx: remove array
declaration in write function").
Change-Id: I49d05213a473d35bd6ab7fb4149f69ec56f18a8b
Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
Linux Build Service Account [Mon, 3 Apr 2017 05:02:29 +0000 (22:02 -0700)]
Merge "drivers: cpuidle: Minimize round off errors in wake up time"
Asutosh Das [Thu, 23 Mar 2017 09:31:56 +0000 (15:01 +0530)]
scsi: ufs: Abort gating if clock on request is pending
This change attempts to abort gating of clocks if a
request to turn-on clocks is pending.
This would in turn avoid turning OFF and back ON the
clocks.
CRs-fixed:
2002742
Change-Id: I3d80ed503d4ddb29ac613b11e5e93f84c8362978
Signed-off-by: Asutosh Das <asutoshd@codeaurora.org>
Amir Levy [Sun, 2 Apr 2017 15:21:09 +0000 (18:21 +0300)]
msm: ipa3: fix Q6 statuses exception path
Set APPS_LAN_CONS pipe as the statuses exception pipe for all
Q6 pipes instead setting this pipe as exception pipe only for
pipe 0.
Change-Id: Id00abb0ddabddd5c76a45e0878e327cba950176c
CRs-Fixed:
2027835
Signed-off-by: Amir Levy <alevy@codeaurora.org>
Linux Build Service Account [Sat, 1 Apr 2017 04:24:37 +0000 (21:24 -0700)]
Merge "ANDROID: ion: check for kref overflow"
Linux Build Service Account [Sat, 1 Apr 2017 04:24:36 +0000 (21:24 -0700)]
Merge "qcom: qnovo: Fix PCURx reporting error"
Linux Build Service Account [Sat, 1 Apr 2017 04:24:35 +0000 (21:24 -0700)]
Merge "drivers: net: rmnet: Initial implementation"
Linux Build Service Account [Sat, 1 Apr 2017 04:24:34 +0000 (21:24 -0700)]
Merge "msm: mdss: re-configure DP mainlink clocks during link training"
Linux Build Service Account [Sat, 1 Apr 2017 04:24:33 +0000 (21:24 -0700)]
Merge "ARM: dts: msm: add sde rotator reg bus scale properties"
Linux Build Service Account [Sat, 1 Apr 2017 04:24:32 +0000 (21:24 -0700)]
Merge "sde: rotator: add support to configure bus scale vectors"
Linux Build Service Account [Sat, 1 Apr 2017 04:24:30 +0000 (21:24 -0700)]
Merge "msm: mdss: Update write gather register value for MDSS"
Linux Build Service Account [Sat, 1 Apr 2017 04:24:29 +0000 (21:24 -0700)]
Merge "ARM: dts: msm: update vote on ldo11 for amoled panel on sdm630"
Linux Build Service Account [Sat, 1 Apr 2017 04:24:28 +0000 (21:24 -0700)]
Merge "msm: mdss: make hpd call asynchronous for HDMI in certain cases"
Linux Build Service Account [Sat, 1 Apr 2017 04:24:27 +0000 (21:24 -0700)]
Merge "msm: mdss: dp: set failsafe link params when DPCD read fails"
Linux Build Service Account [Sat, 1 Apr 2017 04:24:26 +0000 (21:24 -0700)]
Merge "trace: ipc_logging: Avoid buffer overflow in ipc_log_string()"
Linux Build Service Account [Sat, 1 Apr 2017 04:24:26 +0000 (21:24 -0700)]
Merge "msm: pcie: log PCIe LTSSM state during link training"
Linux Build Service Account [Sat, 1 Apr 2017 04:24:25 +0000 (21:24 -0700)]
Merge "power: smb-lib: Rerun APSD regardless of charger-type"
Linux Build Service Account [Sat, 1 Apr 2017 04:24:24 +0000 (21:24 -0700)]
Merge "usb: gadget: f_mass_storage: Perform async runtime resume upon set_alt"
Linux Build Service Account [Sat, 1 Apr 2017 04:24:23 +0000 (21:24 -0700)]
Merge "qcom: smb-lib: Disable HW trigger when forcing sink-only mode"
Linux Build Service Account [Sat, 1 Apr 2017 04:24:22 +0000 (21:24 -0700)]
Merge "ARM: dts: msm: Update GFX PM-QoS values for SDM630"
Linux Build Service Account [Sat, 1 Apr 2017 04:24:21 +0000 (21:24 -0700)]
Merge "net: ipv6: Add early demux handler for UDP unicast"
Linux Build Service Account [Sat, 1 Apr 2017 04:24:21 +0000 (21:24 -0700)]
Merge "drm/msm: Add performance counter tracking"
Linux Build Service Account [Sat, 1 Apr 2017 04:24:20 +0000 (21:24 -0700)]
Merge "icnss: Separate debug and verbose log"
Linux Build Service Account [Sat, 1 Apr 2017 04:24:19 +0000 (21:24 -0700)]
Merge "msm: qpnp-haptic: Enable HW auto-resonance for PM660"
Linux Build Service Account [Sat, 1 Apr 2017 04:24:18 +0000 (21:24 -0700)]
Merge "msm_11ad: 11AD SMMU changes to allow enabling of SMMU stage1"
Linux Build Service Account [Sat, 1 Apr 2017 04:24:17 +0000 (21:24 -0700)]
Merge "msm: media: Allocate extra memory after alignment"
Linux Build Service Account [Sat, 1 Apr 2017 04:24:17 +0000 (21:24 -0700)]
Merge "soc: qcom: spcom: lock ion buf, decrement ref count if no free entry"
Linux Build Service Account [Sat, 1 Apr 2017 04:24:16 +0000 (21:24 -0700)]
Merge "diag: Add support for header untagging"
Linux Build Service Account [Sat, 1 Apr 2017 04:24:15 +0000 (21:24 -0700)]
Merge "ASoC: codecs: Correct stream name, add dapm sync"
Linux Build Service Account [Sat, 1 Apr 2017 04:24:14 +0000 (21:24 -0700)]
Merge "drivers: soc: Add mutex lock in audio_notifier_late_init"
Anirudh Ghayal [Fri, 31 Mar 2017 10:04:05 +0000 (15:34 +0530)]
regulator: qpnp-lcdb: Add a WA to toggle SC before module_enable
There is a possibility of the NCP failing to turn on due
to an invalid (short circuit) SC event before the LCDB module
is enabled.
Force a SC re-enable to recover from this condition. Enable this
for PM660L V1.1.
Also, disable the SC handling logic for PM660L to avoid
permanently disabling the module due to the above mentioned
issue.
CRs-Fixed:
2025449
Change-Id: I191d11c35c3d96727874818b8b57fa1c254879bf
Signed-off-by: Anirudh Ghayal <aghayal@codeaurora.org>
Anirudh Ghayal [Fri, 31 Mar 2017 10:48:24 +0000 (16:18 +0530)]
include: qpnp-revid: Add PM660L version info
Add PM660L v1.1 version macros.
Change-Id: I14c3f2110efc474686df488748b0a671f34ced90
Signed-off-by: Anirudh Ghayal <aghayal@codeaurora.org>
Daniel Rosenberg [Tue, 6 Dec 2016 00:28:28 +0000 (16:28 -0800)]
ANDROID: ion: check for kref overflow
Userspace can cause the kref to handles to increment
arbitrarily high. Ensure it does not overflow.
Signed-off-by: Daniel Rosenberg <drosen@google.com>
Bug:
31992382
Test: See bug for poc
Change-Id: I6bff1df385742b1d836d43180dc87fadcea80782
Git-repo: https://android.googlesource.com/kernel/msm
Git-commit:
0c702db4d90de88df11057bcf0d8fb2dfe741605
Signed-off-by: Dennis Cagle <d-cagle@codeaurora.org>
Satya Durga Srinivasu Prabhala [Mon, 27 Mar 2017 20:10:09 +0000 (13:10 -0700)]
soc: qcom: service-locator: Return in case of no matching domains found
If no matching domains found in response to the request, return error
instead of going ahead with memory allocation which would lead to
other issues.
CRs-Fixed:
2025293
Change-Id: I327b3494812cddc643f6b355c04f85f4baa7c399
Signed-off-by: Satya Durga Srinivasu Prabhala <satyap@codeaurora.org>
Harry Yang [Fri, 31 Mar 2017 21:28:20 +0000 (14:28 -0700)]
qcom: qnovo: Fix PCURx reporting error
PCURx[MSB:LSB] is a 14-bit signed raw data, but treated as two full bytes
during reg reading, as a result bit 14 and 15 are filled with 0s. When
the raw data is negative, the mistreated reading gives positive result.
Hence the eventual PCURx after applying the gain and offset corrections
is incorrect.
Fix it by extending sign bit when negative.
Change-Id: Ia35406809355bd5e2d6cfeb890dd870430e38f66
Signed-off-by: Harry Yang <harryy@codeaurora.org>
Sujeev Dias [Fri, 27 Jan 2017 00:28:11 +0000 (16:28 -0800)]
mhi: mhi_uci: redesign mhi_uci driver
As a prerequisite for subsystem restart support,
redesign driver main operations such as open,
read, write, poll, and close methods.
CRs-Fixed:
1097560
Change-Id: I7eb99a09de75a2afa1eb408cace6a03dca85f5fe
Signed-off-by: Sujeev Dias <sdias@codeaurora.org>
Mayank Rana [Mon, 20 Mar 2017 23:10:39 +0000 (16:10 -0700)]
usb: dwc3: Use high priority worker as bottom half handler
Latency involved in handling dwc3 interrupt in real time threaded
interrupt is sometimes resulting into RT throttling. Hence queue
bottom half work from dwc3 hard irq handler to a high priority
workqueue. Also, update the corresponding irq flag in host
controller platform driver.
Change-Id: If65a522efb6d792eea7fa7afc4c5e4dcd1cb6fb8
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
John Youn [Mon, 14 Nov 2016 20:32:45 +0000 (12:32 -0800)]
usb: dwc3: Workaround for irq mask issue
This is a workaround for STAR
9000961433 which affects only version
3.00a of the DWC_usb3 core. This prevents the controller interrupt from
being masked while handling events. Enabling interrupt moderation allows
us to work around this issue because once the GEVNTCOUNT.count is
written the IRQ is immediately deasserted and won't be asserted again
until GEVNTCOUNT.EHB is cleared.
Signed-off-by: John Youn <johnyoun@synopsys.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Change-Id: I18d507ec98401341d08537cd347aefd940c24da0
Git-commit:
28632b44d129cd2dc677475197a01cced307cfc5
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
[hemantk@codeaurora.org: Moved WA to dwc3_core_init()]
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
John Youn [Mon, 14 Nov 2016 20:32:43 +0000 (12:32 -0800)]
usb: dwc3: Implement interrupt moderation
Implement interrupt moderation which allows the interrupt rate to be
throttled. To enable this feature the dwc->imod_interval must be set to
1 or greater. This value specifies the minimum inter-interrupt interval,
in 250 ns increments. A value of 0 disables interrupt moderation.
This applies for DWC_usb3 version 3.00a and higher and for DWC_usb31
version 1.20a and higher.
Signed-off-by: John Youn <johnyoun@synopsys.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Change-Id: I5c5997c6eea817e49102b8e080f3a9bcf45305b4
Git-commit:
cf40b86b6ef6df5262ef5a8463b42524e6aa5590
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
[hemantk@codeaurora.org: removed write to DWC3_DEV_IMOD in dwc3_interrupt,
and fixed merge conflicts]
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
John Youn [Fri, 11 Nov 2016 01:08:48 +0000 (17:08 -0800)]
usb: dwc3: Add a check for the DWC_usb3 core
Add a helper function to check if we are running on a DWC_usb3 core.
Signed-off-by: John Youn <johnyoun@synopsys.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Change-Id: Ic0c3810b798df8bf34a2ad7e1879884e7bf3c8f5
Git-commit:
a987a906e95c4d80a364629d6bcb7cf69d2018e4
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
[mrana@codeaurora.org: resolved merge conflicts]
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
John Youn [Sat, 6 Feb 2016 01:08:18 +0000 (17:08 -0800)]
usb: dwc3: DWC_usb31 controller check
Add a convenience function to check if the controller is DWC_usb31.
Signed-off-by: John Youn <johnyoun@synopsys.com>
Signed-off-by: Felipe Balbi <balbi@kernel.org>
Change-Id: I2f9080a4a54269790e3594d0e61a76bd37d8b2c9
Git-commit:
c4137a9c841ec7fb300782d211f2d6907f4d6e20
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
John Youn [Tue, 15 Nov 2016 11:08:59 +0000 (13:08 +0200)]
usb: dwc3: gadget: clear events in top-half handler
Now that all the infrastructure is in place, we can
clear events in the top-half handler in order to
bring IRQ line low ASAP.
This is also a necessary step in order to implement
workaround for known erratum in follow-up patches.
Signed-off-by: John Youn <johnyoun@synopsys.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Change-Id: Ic0823f85c0386045ab4865544bef0403ec047a99
Git-commit:
65aca3205046d159b2c79f7531203a53aec9cf35
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
[hemantk@codeaurora.org: resolved merge conflict by replacing
DWC3_GEVNTCOUNT(0) with DWC3_GEVNTCOUNT(buf)]
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
Subash Abhinov Kasiviswanathan [Mon, 13 Mar 2017 02:40:24 +0000 (20:40 -0600)]
drivers: net: rmnet: Initial implementation
RmNet driver provides a transport agnostic MAP (multiplexing and
aggregation protocol) support in embedded and bridge modes. Module
provides virtual network devices which can be attached to any IP-mode
physical device. This will be used to provide all MAP functionality
on future hardware in a single consistent location.
CRs-Fixed:
2022292
Change-Id: I4dd0f4fcf00bbf9dcbec65cec82436d48a813ecc
Signed-off-by: Subash Abhinov Kasiviswanathan <subashab@codeaurora.org>
Sujeev Dias [Sun, 5 Feb 2017 05:04:46 +0000 (21:04 -0800)]
mhi: core: add support for subsystem restart and shutdown
Add support for subsystem restart and shutdown processing
for slave mode and master mode.
CRs-Fixed:
1097560
Change-Id: I8c60605d202d38a7a8f8fb587a179f95ec402692
Signed-off-by: Sujeev Dias <sdias@codeaurora.org>
Ram Chandrasekar [Tue, 12 Apr 2016 21:56:09 +0000 (15:56 -0600)]
ARM: dts: msm: Update KTM boot mitigation config for msm8996pro
Update the KTM boot mitigation configuration to poll at
50 milliseconds and do frequency mitigation at 80c and
hotplug at 90C for msm8996pro.
CRs-Fixed:
1007266
Change-Id: I8537c5d8fd86d90f607a719c618157f4a2fbfad9
Signed-off-by: Ram Chandrasekar <rkumbako@codeaurora.org>
Hardik Kantilal Patel [Fri, 31 Mar 2017 07:32:47 +0000 (13:02 +0530)]
icnss: pre-alloc memory leak check on probe failure and remove
After wlan host driver probe failure and driver unload check the
memory leak and reset the memory pool.
CRs-Fixed:
2027407
Change-Id: Id6e413416ec7ea1d1bf0e69aab7eccb06de753d7
Signed-off-by: Hardik Kantilal Patel <hkpatel@codeaurora.org>
Shantanu Jain [Fri, 17 Mar 2017 14:00:40 +0000 (19:30 +0530)]
input: touchscreen: remove synaptics v2.6 touch driver
Remove synaptics v2.6 touch driver from the kernel code
as it has never been used in any of the recent platforms.
Change-Id: Ibf14dec548a180e517d9b41098af642577c4328b
Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
Sarada Prasanna Garnayak [Mon, 6 Jun 2016 09:52:49 +0000 (15:22 +0530)]
net: cnss_prealloc: add debugfs entry to check the memory status
This feature adds support to check the pre allocated memory
pool status at runtime. This debugfs entry provide the required
information for wlan host driver memory profiling and adds support
to debug the pre-alloc memory failure issue.
feature:
1. Total amount of pre-alloc memory avail and used in the
memory pool.
2. Pre-alloc memory status per slots(used/free).
CRs-Fixed:
2027352
Change-Id: I61c51f93dd7462b1fa9c36f6eea3814a6acbdd34
Signed-off-by: Sarada Prasanna Garnayak <sgarna@codeaurora.org>
Signed-off-by: Hardik Kantilal Patel <hkpatel@codeaurora.org>
Maulik Shah [Fri, 24 Mar 2017 13:49:17 +0000 (19:19 +0530)]
drivers: cpuidle: Minimize round off errors in wake up time
Current implementation adds more delay in wake up time programmed
due to round off errors. Minimize round off errors in calculation.
Change-Id: Iddb19c6dae79c999de9fae444f0c64aac0500f42
Signed-off-by: Maulik Shah <mkshah@codeaurora.org>
Deepak Kumar [Fri, 24 Mar 2017 11:58:58 +0000 (17:28 +0530)]
ARM: dts: msm: Update GFX PM-QoS values for SDM630
Update GFX PM-QoS entries according to the measured
LPM latencies for SDM630 to prevent l2-pc.
Change-Id: I3a59a26bf19d79393c4b45c8a3b243897f3f6eb2
Signed-off-by: Deepak Kumar <dkumar@codeaurora.org>
Walter Yang [Wed, 29 Mar 2017 05:45:34 +0000 (13:45 +0800)]
ASoC: mbhc: Modify special headset detection
Modify detection sequence to support the fast special headset
detection with more reliable plug type result.
Change-Id: I74df2c8c54e49a3888511843a15122ca708425ed
CRs-Fixed:
2022622
Signed-off-by: Walter Yang <yandongy@codeaurora.org>
Anirudh Ghayal [Mon, 27 Mar 2017 10:49:20 +0000 (16:19 +0530)]
power: smb-lib: Rerun APSD regardless of charger-type
It is observed that the USB_PHY may interfere with APSD
when the charger is inserted at PON. This may lead to
incorrect charger type detection.
Fix this by doing a APSD re-run during driver initialization
if USB is present and regardless of the charger type.
CRs-Fixed:
2011764
Change-Id: Icc9ee7bacf0eecdb311ca52979758514abca154e
Signed-off-by: Anirudh Ghayal <aghayal@codeaurora.org>
Mayank Rana [Wed, 15 Mar 2017 23:12:35 +0000 (16:12 -0700)]
usb: gadget: f_mass_storage: Perform async runtime resume upon set_alt
commit
82f29356165b6a584 ("usb: gadget: f_mass_storage: Allow USB LPM
upon ep disable") just increments power usage count by 1 for dwc3 device
in thread handler. Since child count for dwc3 parent remains 0, there is
possibility of dwc3 parent going into suspend even if dwc3 power usage
count is set to 1. This causes unclocked register access as mdwc gets
runtime suspended and mass storage thread handler disables the endpoint.
Fix this issue by calling usb_gadget_autopm_get_async() in set_alt which
increments dwc3 power usage count and carry out resume asynchronously.
Change-Id: Iccce928590d8e67e234f0aa371f78eb1e6a326b7
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
Jack Pham [Thu, 30 Mar 2017 16:53:53 +0000 (09:53 -0700)]
trace: ipc_logging: Avoid buffer overflow in ipc_log_string()
In ipc_log_string() the return value from vsnprintf(), data_size,
is used to increment ectxt.offset. However, this length could
actually be much larger than that of ectxt.buff itself. This is a
typical mistake of [v]snprintf() usage [1], in that it returns
not the number of characters written but how many characters
*would* have been written regardless of whether it was truncated.
The result is that even though ectxt.buff itself is not overrun,
the incorrect size in ectxt.offset will be later used as the length
parameter when memcpy()'ing to the ipc_log_page's data, overflowing
that memory and beyond. The write_page's write_offset would also
indicate an out-of-bounds (greater than PAGE_SIZE) length.
The fix is simple: use vscnprintf() instead of vsnprintf().
[1] https://lwn.net/Articles/69419/
Change-Id: I2e9d44e74f5f30a009732e31a554d82e31946999
Signed-off-by: Jack Pham <jackp@codeaurora.org>
Linux Build Service Account [Thu, 30 Mar 2017 22:31:40 +0000 (15:31 -0700)]
Merge "drm/msm: Remove ringbuffer restriction from idle"
Linux Build Service Account [Thu, 30 Mar 2017 22:31:39 +0000 (15:31 -0700)]
Merge "drm/msm: Update registers for performance counters"
Linux Build Service Account [Thu, 30 Mar 2017 22:31:38 +0000 (15:31 -0700)]
Merge "ARM: dts: msm: Update QoS priority for pimem bus master for sdm660"
Linux Build Service Account [Thu, 30 Mar 2017 22:31:38 +0000 (15:31 -0700)]
Merge "msm_serial_hs: Change GPIO config sequence during runtime resume/suspend"
Linux Build Service Account [Thu, 30 Mar 2017 22:31:35 +0000 (15:31 -0700)]
Merge "msm: sde: Protect concurrent access to resources in SDE rotator"
Linux Build Service Account [Thu, 30 Mar 2017 22:31:34 +0000 (15:31 -0700)]
Merge "msm-4.4: driver to create cld80211 nl family at bootup time"
Linux Build Service Account [Thu, 30 Mar 2017 22:31:33 +0000 (15:31 -0700)]
Merge "wil6210: do not start regular scan on stopped p2p device"
Linux Build Service Account [Thu, 30 Mar 2017 22:31:32 +0000 (15:31 -0700)]
Merge "msm: ipa: Fix to reset the sticky_rear flag"