Commit graph

580339 commits

Author SHA1 Message Date
Amey Telawane
bd1bdabd9f coresight: fix spinlock corruption issue
Spinlock corruption is observed on secure fuse
enabled devices due to invalid data present in
etmdrvdata array. Initialise the array
to fix the issue.

Change-Id: Ib16e3c3f6dc7d194af4eeca6f58c78483af71482
CRs-fixed: 1084892
Signed-off-by: Amey Telawane <ameyt@codeaurora.org>
2017-01-03 19:19:17 +05:30
Linux Build Service Account
2f817b68f0 Merge "mmc: core: Remove flag MMC_PM_WAKE_SDIO_IRQ in mmc_resume_host" 2017-01-02 14:25:03 -08:00
Linux Build Service Account
d14f6599ce Merge "mmc: core: add deferred resume support" 2017-01-02 14:25:02 -08:00
Linux Build Service Account
b6579def54 Merge "ARM: dts: msm: add support of PM660a based SDM630 platform" 2017-01-02 14:25:01 -08:00
Linux Build Service Account
eb0ef42d3a Merge "mmc: sdhci: Ignore data end bit error interrupts." 2017-01-02 14:25:00 -08:00
Linux Build Service Account
4509e16fc9 Merge "mmc: core: Avoid frequent enable/disable of Auto BKOPS" 2017-01-02 14:25:00 -08:00
Linux Build Service Account
39d46f4b21 Merge "rmnet_data: queue QMAP control packets if start_xmit fails" 2017-01-02 14:24:59 -08:00
Linux Build Service Account
83dbf65a2d Merge "defconfig: msm: Enable CONFIG_MMC_CQ_HCI for sdm660" 2017-01-02 04:48:52 -08:00
Linux Build Service Account
1537b3e7ea Merge "msm: vidc: Cache invalidate performance fix" 2017-01-02 04:48:51 -08:00
Linux Build Service Account
d6dc904e21 Merge "clk: qcom: smd-rpm: Update the number of rpm clocks for sdm660" 2017-01-02 04:48:50 -08:00
Linux Build Service Account
048afaa352 Merge "regulator: qpnp-labibb: Add support for PM660A" 2017-01-02 04:48:50 -08:00
Linux Build Service Account
fff9b2fc21 Merge "scripts: build_all: build sdm defconfigs" 2017-01-02 04:48:49 -08:00
Ritesh Harjani
10803b9f2e mmc: core: Remove flag MMC_PM_WAKE_SDIO_IRQ in mmc_resume_host
MMC_PM_WAKE_SDIO_IRQ flag is used by platform driver(sdhci-msm
here) to determine if SDIO wakeup IRQ needs to be enabled
or not. If this flag is not removed in every mmc_resume_host,
then while suspend, platform driver will configure the sdio
wakeup IRQ even though wlan is disabled from UI.
This flag can be enabled by wlan driver before entring into suspend.
In this case since Wlan is not enable and thus not entering WoW mode,
pull up present on this SDIO GPIO line will pull the line high (which
otherwise is pulled low by wlan firmware in WoW mode and triggers
interrupt by pulling it high in WoW mode) which eventually will
trigger a false SDIO wakeup interrupt thus breaking the suspend
everytime.
Hence disable the flag everytime in mmc_sdio_resume and let
wlan driver enables it (-by sdio_set_host_pm_flags)
before entering into suspend if needed
for sdio wakeup part.

Change-Id: Iecf9eef4d91a741116bc8b8bb59c49ae7f2891fd
Signed-off-by: Ritesh Harjani <riteshh@codeaurora.org>
2017-01-02 01:44:13 -08:00
Asutosh Das
3059e03a6b mmc: core: add deferred resume support
This patch enables the deferred resume support which would
prevent initialization of the card each time the system resumes.
With this change, the resume process would only be initiated if
a request is received.

Following scenario can occur:
1. device runtime suspended, system suspend is triggered
   When resumed, the device would not be resumed until a
   request is received.
2. device is runtime active, system suspend is triggered
   When resumed, the device would be marked as BUS_NEEDS_RESUME
   and actual resume would happen, when a request is received.
   At this point, the device may also enter runtime-suspend or
   system suspend may also occur. In both the cases, since the
   device has not been resumed, it won't be suspended again.
   However, the platform device would be runtime suspended
   and resumed as before.
   It can so happen that the card is removed even before a
   request is received. In this case the device would be
   resumed and card would be removed from core layer and
   upper layers would be notified.
In case of SDIO cards, this change would not have any effect
since manual resume would be enabled for devices supporting
a block read/write commands.

CRs-Fixed: 561382
Change-Id: Id39befea109ee24864dfde0898395b972d0a1b3a
Signed-off-by: Asutosh Das <asutoshd@codeaurora.org>
Signed-off-by: Ritesh Harjani <riteshh@codeaurora.org>
2017-01-02 01:31:34 -08:00
Pavan Anamula
fa5e1372df mmc: sdhci: Ignore data end bit error interrupts.
Avoid printing of the error messages and register dumps,
incase of data endbit errors like other data errors.

Change-Id: If8ed082cc97a895cfbf959201c579914d5768b23
Signed-off-by: Pavan Anamula <pavana@codeaurora.org>
Signed-off-by: Veerabhadrarao Badiganti <vbadigan@codeaurora.org>
2017-01-01 23:46:13 -08:00
Vijay Viswanath
f649debf15 mmc: core: Avoid frequent enable/disable of Auto BKOPS
During suspend/resume, the driver writes to AUTOBKOPS_EN bit in
EXT_CSD register of eMMC which is R/W/E. Even after power off
R/W/E bit will retain it's value, as it will be stored in NAND
flash. Multiple writes can wear out the specific NAND block which
store the system data(AUTO BKOPS bit in this case). So to avoid
this, enabling/disabling of autobkops has been removed from
suspend and resume. The background operations, if any, will stop
when sleep command is sent during suspend process.

Change-Id: I8aa7eda86beafacb3337be81c5a7f1f1e86f4998
Signed-off-by: Vijay Viswanath <vviswana@codeaurora.org>
2017-01-01 22:58:15 -08:00
Ashay Jaiswal
0efed03409 ARM: dts: msm: add support of PM660a based SDM630 platform
SDM630 platform can support either PM660l or PM660a PMICs,
add support for the same.

CRs-Fixed: 1106556
Change-Id: I82e35ef278ea5900c4023ab714cbf31f8c01151f
Signed-off-by: Ashay Jaiswal <ashayj@codeaurora.org>
2017-01-02 09:52:33 +05:30
Linux Build Service Account
c88fe01f9a Merge "clk: Fix handoff counts for parent of handoff enabled clocks" 2017-01-01 20:19:53 -08:00
Taniya Das
e88c34c32c clk: qcom: smd-rpm: Update the number of rpm clocks for sdm660
The total number of rpm clocks are required to be updated to the correct
index else it would not send RPM the first vote. Also update the bimc mux
sel value. Add an extra mmssnoc_axi active vote of 19.2MHz.

Change-Id: I502c72a18a3e3493f44cdf72f48efcbae41efb7b
Signed-off-by: Taniya Das <tdas@codeaurora.org>
2017-01-02 09:01:06 +05:30
Neeraj Upadhyay
24d5515b41 scripts: build_all: build sdm defconfigs
Add support for building new sdm defconfigs.

Change-Id: I7d1ae9fb0a3888a92ee4df850061afe3d2e378c6
Signed-off-by: Neeraj Upadhyay <neeraju@codeaurora.org>
2017-01-01 21:01:10 +05:30
Linux Build Service Account
6137652043 Merge "defconfig: arm64: Add OLEDB regulator support" 2017-01-01 00:29:58 -08:00
Linux Build Service Account
046e487756 Merge "staging: android: ion: fix up file mode" 2016-12-31 02:17:47 -08:00
Linux Build Service Account
89c77097ad Merge "ARM: dts: msm: Add GFX CPR device configuration for sdm660" 2016-12-31 02:17:46 -08:00
Linux Build Service Account
0d0e807793 Merge "msm-camera: Addressing possible overflow conditions" 2016-12-31 02:17:46 -08:00
Kiran Gunda
0921bd891f defconfig: arm64: Add OLEDB regulator support
The OLEDB driver provides the regulator interface to control the AVDD
bias voltage for AMOLED display.

Change-Id: I0b2a363f26f5ca3949892b2bbba3ff4d80184de4
Signed-off-by: Kiran Gunda <kgunda@codeaurora.org>
2016-12-30 20:16:10 +05:30
ansharma
959aeb8c1f regulator: oledb-regulator: Add OLEDB regulator device driver
The OLEDB module provides the AVDD bias supply for the AMOLED display.
The supported voltage range of the bias is 5 to 8.1V. This driver provides
the regulator interface to control the bias voltage.

Change-Id: Ide4af995ca9fd12b3467de42e5d08eddc3981344
Signed-off-by: ansharma <ansharma@codeaurora.org>
Signed-off-by: Kiran Gunda <kgunda@codeaurora.org>
2016-12-30 20:03:10 +05:30
Linux Build Service Account
115591fa9b Merge "cfg80211: Define macro to indicate support for beacon tx rate configuration" 2016-12-30 06:28:10 -08:00
Linux Build Service Account
915216e93d Merge "memshare: Fix possible memory leak" 2016-12-30 06:28:09 -08:00
Linux Build Service Account
89344f7147 Merge "msm: mdss: Add check to fix null pointer dereference" 2016-12-30 06:28:08 -08:00
Linux Build Service Account
b948ad14ae Merge "ARM: dts: msm: Add Dest-scalar reg dump setting for 8998 MDSS" 2016-12-30 06:28:07 -08:00
Linux Build Service Account
06dc59aba0 Merge "msm: sde: Switch to non-secure at session close" 2016-12-30 06:28:07 -08:00
Linux Build Service Account
1a8ee67acf Merge "msm: mdss: Fix error handling logic in MDSS DP driver" 2016-12-30 06:28:06 -08:00
Linux Build Service Account
45ee62bb0a Merge "msm: mdss: avoid cropping of pipe src/dst rect for MPU" 2016-12-30 06:28:05 -08:00
Linux Build Service Account
1f4589aad3 Merge "msm: mdss: fix data path for concurrent writeback" 2016-12-30 06:28:03 -08:00
Linux Build Service Account
8841674585 Merge "msm: mdss: Avoid overwriting dsc reconfiguration flag" 2016-12-30 06:28:03 -08:00
Linux Build Service Account
3e0cf8f89d Merge "msm: sde: correct polling to use software timestamp" 2016-12-30 06:28:02 -08:00
Linux Build Service Account
dc35156500 Merge "mdss: display-port: add support for multiple resolutions" 2016-12-30 06:27:59 -08:00
Linux Build Service Account
c6a73c839c Merge "msm: mdss: dp: fix compilation issues for 32-bit architectures" 2016-12-30 06:27:58 -08:00
Linux Build Service Account
3f317425d6 Merge "msm: mdss: dp: add support for downstream device power management" 2016-12-30 06:27:56 -08:00
Linux Build Service Account
36d9d0f8f4 Merge "msm: mdss: change retire fence signaling" 2016-12-30 06:27:55 -08:00
Linux Build Service Account
a14e665af6 Merge "diag: Fix error response during SSR" 2016-12-30 06:27:50 -08:00
Linux Build Service Account
62d89e4169 Merge "clk: qcom: clk-rcg2: Configure the RCGs to a safe frequency as needed" 2016-12-30 06:27:49 -08:00
Linux Build Service Account
6bfadc2729 Merge "soc: qcom: Increase length of crash reason smem buffer" 2016-12-30 06:27:45 -08:00
Linux Build Service Account
ef3248e7e4 Merge "wil6210: Protect against false interrupt during reset sequence" 2016-12-30 06:27:45 -08:00
Linux Build Service Account
c6b0a5297e Merge "spss_utils: add support to read debug regs" 2016-12-30 06:27:44 -08:00
Linux Build Service Account
55308e0dfe Merge "ASoC: wcd9335: Fix compander disable after SSR" 2016-12-30 06:27:43 -08:00
Linux Build Service Account
7169f0da4c Merge "ASoC: soc: msm: initialize buffer to prevent kernel data leakage" 2016-12-30 06:27:42 -08:00
Linux Build Service Account
607d1303c3 Merge "ASoC: msm-lsm-client: cleanup ioctl functions" 2016-12-30 06:27:41 -08:00
Linux Build Service Account
e8cece702f Merge "ASoC: wcd9335: Fix out of bounds for mad input value" 2016-12-30 06:27:40 -08:00
Linux Build Service Account
50f15acb6f Merge "ASoC: wcd9330: Fix out of bounds for mad input value" 2016-12-30 06:27:40 -08:00