OSDN Git Service

sagit-ice-cold/kernel_xiaomi_msm8998.git
7 years agoMerge "ARM: dts: msm: add regulators and clk in icnss device node for sdm630"
Linux Build Service Account [Wed, 5 Apr 2017 19:17:02 +0000 (12:17 -0700)]
Merge "ARM: dts: msm: add regulators and clk in icnss device node for sdm630"

7 years agoMerge "sdm660: ADSPRPC: Null check file session ctx during mmap create"
Linux Build Service Account [Wed, 5 Apr 2017 19:17:01 +0000 (12:17 -0700)]
Merge "sdm660: ADSPRPC: Null check file session ctx during mmap create"

7 years agoMerge "ARM: dts: msm: add regulators and clk in icnss device node for sdm660"
Linux Build Service Account [Wed, 5 Apr 2017 19:17:00 +0000 (12:17 -0700)]
Merge "ARM: dts: msm: add regulators and clk in icnss device node for sdm660"

7 years agoMerge "ARM: dts: msm: update itech and st1031ga battery profile parameters"
Linux Build Service Account [Wed, 5 Apr 2017 19:16:59 +0000 (12:16 -0700)]
Merge "ARM: dts: msm: update itech and st1031ga battery profile parameters"

7 years agoMerge "ARM: dts: msm: enable SDR104 workaround for MSM8998"
Linux Build Service Account [Wed, 5 Apr 2017 19:16:57 +0000 (12:16 -0700)]
Merge "ARM: dts: msm: enable SDR104 workaround for MSM8998"

7 years agoMerge "msm: kgsl: Use legacy PM4 check instead of adreno version"
Linux Build Service Account [Wed, 5 Apr 2017 19:16:56 +0000 (12:16 -0700)]
Merge "msm: kgsl: Use legacy PM4 check instead of adreno version"

7 years agoMerge "msm: ADSPRPC: Unmap remote heap buffer only for ADSP SSR"
Linux Build Service Account [Wed, 5 Apr 2017 11:05:40 +0000 (04:05 -0700)]
Merge "msm: ADSPRPC: Unmap remote heap buffer only for ADSP SSR"

7 years agoMerge "power: smb-lib: update USBIN_V_VOTER usage"
Linux Build Service Account [Wed, 5 Apr 2017 11:05:39 +0000 (04:05 -0700)]
Merge "power: smb-lib: update USBIN_V_VOTER usage"

7 years agoMerge "msm: pcie: support PCIe MSI QGIC with stage 1 SMMU enabled"
Linux Build Service Account [Wed, 5 Apr 2017 11:05:38 +0000 (04:05 -0700)]
Merge "msm: pcie: support PCIe MSI QGIC with stage 1 SMMU enabled"

7 years agoMerge "Revert "defconfig: msm: Enable RCU_STALL_WATCHDOG_BITE flag""
Linux Build Service Account [Wed, 5 Apr 2017 11:05:37 +0000 (04:05 -0700)]
Merge "Revert "defconfig: msm: Enable RCU_STALL_WATCHDOG_BITE flag""

7 years agoMerge "Input: stm: optimize the laser sensor driver"
Linux Build Service Account [Wed, 5 Apr 2017 11:05:36 +0000 (04:05 -0700)]
Merge "Input: stm: optimize the laser sensor driver"

7 years agoMerge "ARM: dts: msm: Update camera clock sources for sdm630"
Linux Build Service Account [Wed, 5 Apr 2017 11:05:35 +0000 (04:05 -0700)]
Merge "ARM: dts: msm: Update camera clock sources for sdm630"

7 years agoMerge "ARM: dts: msm: Add flash and OIS node to camera sensor mtp for msm8998"
Linux Build Service Account [Wed, 5 Apr 2017 11:05:34 +0000 (04:05 -0700)]
Merge "ARM: dts: msm: Add flash and OIS node to camera sensor mtp for msm8998"

7 years agomsm: kgsl: Use legacy PM4 check instead of adreno version
Lynus Vaz [Mon, 27 Mar 2017 12:50:00 +0000 (18:20 +0530)]
msm: kgsl: Use legacy PM4 check instead of adreno version

Check for legacy PM4 commands instead of adreno version to calculate
ringbuffer space for PM4 commands that write to memory.

Change-Id: I5d1d4cfbc70bc73ddee9ee752de24aae154a04dc
Signed-off-by: Lynus Vaz <lvaz@codeaurora.org>
7 years agoARM: dts: msm: add regulators and clk in icnss device node for sdm630
Sarada Prasanna Garnayak [Thu, 16 Mar 2017 14:22:47 +0000 (19:52 +0530)]
ARM: dts: msm: add regulators and clk in icnss device node for sdm630

During recovery, there are cases where in WLAN driver running on
APPS can access WLAN copy engine register causing exceptions
because of WLAN hardware in reset state.

Add voltage regulator and clk in icnss device node to vote for WLAN
hardware resources by the icnss platform driver during WLAN recovery.

CRs-Fixed: 2029173
Change-Id: I00bbad40ee152c8dac187ff1f541e34b254589cb
Signed-off-by: Sarada Prasanna Garnayak <sgarna@codeaurora.org>
7 years agoARM: dts: msm: add regulators and clk in icnss device node for sdm660
Sarada Prasanna Garnayak [Thu, 16 Mar 2017 13:35:27 +0000 (19:05 +0530)]
ARM: dts: msm: add regulators and clk in icnss device node for sdm660

During recovery, there are cases where in WLAN driver running on
APPS can access WLAN copy engine register causing exceptions
because of WLAN hardware in reset state.

Add voltage regulator and clk in icnss device node to vote for WLAN
hardware resources by the icnss platform driver during WLAN recovery.

CRs-Fixed: 2029102
Change-Id: Iba785acc391fb56ea068199598ddc14d20bb3481
Signed-off-by: Sarada Prasanna Garnayak <sgarna@codeaurora.org>
7 years agomsm: ADSPRPC: Unmap remote heap buffer only for ADSP SSR
Tharun Kumar Merugu [Thu, 30 Mar 2017 09:03:56 +0000 (14:33 +0530)]
msm: ADSPRPC: Unmap remote heap buffer only for ADSP SSR

Unmap remote heap buffer only for ADSP SSR

Change-Id: I9abff20cfdcc4588a3a377e73d38d3ea91316d25
Acked-by: Himateja Reddy <hmreddy@qti.qualcomm.com>
Signed-off-by: Tharun Kumar Merugu <mtharu@codeaurora.org>
7 years agopower: smb-lib: update USBIN_V_VOTER usage
Ashay Jaiswal [Tue, 21 Mar 2017 05:45:51 +0000 (11:15 +0530)]
power: smb-lib: update USBIN_V_VOTER usage

The current code enables parallel charging if a high voltage
charger is seen (QC or PD) or a high current charger is seen.

This means that parallel charger could remain enabled when PD
transitions its voltage even though it has reduced the current
to 500mA. It is desirable to disable parallel charging during
such voltage transition.

So prepare for this change by first ensuring that only a QC
charger votes for USBIN_V_VOTER. The PD charger, even while
operating at higher voltages will need to depend on USBIN_I_VOTER,
just like a simple DCP charger, to enable parallel charger.

CRs-Fixed: 2014572
Change-Id: I03dfcff44b30b06918ebf176043873fb141f485f
Signed-off-by: Ashay Jaiswal <ashayj@codeaurora.org>
7 years agoMerge "defconfig: msm: Enable CONFIG_UID_CPUTIME flag"
Linux Build Service Account [Wed, 5 Apr 2017 03:07:32 +0000 (20:07 -0700)]
Merge "defconfig: msm: Enable CONFIG_UID_CPUTIME flag"

7 years agoMerge "mmc: core: prefer SDR50 mode over DDR50 for SD card"
Linux Build Service Account [Wed, 5 Apr 2017 03:07:31 +0000 (20:07 -0700)]
Merge "mmc: core: prefer SDR50 mode over DDR50 for SD card"

7 years agoMerge "ASoC: msm: qdsp6v2: Add support for 7 channel mapping"
Linux Build Service Account [Wed, 5 Apr 2017 03:07:30 +0000 (20:07 -0700)]
Merge "ASoC: msm: qdsp6v2: Add support for 7 channel mapping"

7 years agoMerge "mmc: core: Increase the runtime PM reference count in try_claim_host"
Linux Build Service Account [Wed, 5 Apr 2017 03:07:29 +0000 (20:07 -0700)]
Merge "mmc: core: Increase the runtime PM reference count in try_claim_host"

7 years agoMerge "msm: kgsl: Remove incorrect check to cap AB vote to IB vote"
Linux Build Service Account [Wed, 5 Apr 2017 03:07:29 +0000 (20:07 -0700)]
Merge "msm: kgsl: Remove incorrect check to cap AB vote to IB vote"

7 years agoMerge "msm: gsi: continue probe on ipc log failure"
Linux Build Service Account [Wed, 5 Apr 2017 03:07:28 +0000 (20:07 -0700)]
Merge "msm: gsi: continue probe on ipc log failure"

7 years agoMerge "msm: kgsl: Disable memory retention for core clock before entering SLUMBER"
Linux Build Service Account [Wed, 5 Apr 2017 03:07:27 +0000 (20:07 -0700)]
Merge "msm: kgsl: Disable memory retention for core clock before entering SLUMBER"

7 years agoMerge "mmc: core: Remove unused variable cached_ext_csd"
Linux Build Service Account [Wed, 5 Apr 2017 03:07:26 +0000 (20:07 -0700)]
Merge "mmc: core: Remove unused variable cached_ext_csd"

7 years agoMerge "ARM: dts: msm: Add dt support for platforms with audio over USBC"
Linux Build Service Account [Wed, 5 Apr 2017 03:07:25 +0000 (20:07 -0700)]
Merge "ARM: dts: msm: Add dt support for platforms with audio over USBC"

7 years agoMerge "block: Make del_gendisk() safer for disks without queues"
Linux Build Service Account [Wed, 5 Apr 2017 03:07:24 +0000 (20:07 -0700)]
Merge "block: Make del_gendisk() safer for disks without queues"

7 years agoMerge "scsi: ufs: scale up the gear in 2 steps"
Linux Build Service Account [Wed, 5 Apr 2017 03:07:23 +0000 (20:07 -0700)]
Merge "scsi: ufs: scale up the gear in 2 steps"

7 years agoMerge "drivers/base: cpu: Add node for core control isolation"
Linux Build Service Account [Wed, 5 Apr 2017 03:07:22 +0000 (20:07 -0700)]
Merge "drivers/base: cpu: Add node for core control isolation"

7 years agoMerge "ASoC: msm: qdsp6v2: add route for TERT_TDM_RX_4 playback"
Linux Build Service Account [Wed, 5 Apr 2017 03:07:21 +0000 (20:07 -0700)]
Merge "ASoC: msm: qdsp6v2: add route for TERT_TDM_RX_4 playback"

7 years agomsm: pcie: support PCIe MSI QGIC with stage 1 SMMU enabled
Tony Truong [Fri, 24 Mar 2017 01:00:34 +0000 (18:00 -0700)]
msm: pcie: support PCIe MSI QGIC with stage 1 SMMU enabled

When Stage 1 SMMU is enabled, the QGIC doorbell address needs to
be mapped or else there will be a translation fault when an endpoint
tries to trigger an interrupt via MSI. PCIe host driver will map
this address on behalf of the client.

Change-Id: I7fdbe62daeb5dbecc459e4d9bc7832785f5b9fb7
Signed-off-by: Tony Truong <truong@codeaurora.org>
7 years agomsm: pcie: update teardown sequence for PCIe MSI interrupt
Tony Truong [Wed, 29 Mar 2017 19:16:51 +0000 (12:16 -0700)]
msm: pcie: update teardown sequence for PCIe MSI interrupt

Update the teardown sequence for PCIe MSI to support
multiple endpoints.

Change-Id: I1fbdb840bf3677e30d4d27a50503c5cc70ece272
Signed-off-by: Tony Truong <truong@codeaurora.org>
7 years agoMerge "pinctrl: lpi: Avoid initial SSR notifications at bootup"
Linux Build Service Account [Tue, 4 Apr 2017 19:10:28 +0000 (12:10 -0700)]
Merge "pinctrl: lpi: Avoid initial SSR notifications at bootup"

7 years agoMerge "qcom: smb-lib: disable VCONN operations for micro USB mode"
Linux Build Service Account [Tue, 4 Apr 2017 19:10:27 +0000 (12:10 -0700)]
Merge "qcom: smb-lib: disable VCONN operations for micro USB mode"

7 years agoMerge "wil6210: remove HALP voting in debugfs ioblob"
Linux Build Service Account [Tue, 4 Apr 2017 19:10:26 +0000 (12:10 -0700)]
Merge "wil6210: remove HALP voting in debugfs ioblob"

7 years agoMerge "ASoC: msm: support 5 and 7 channel for TDM hw param"
Linux Build Service Account [Tue, 4 Apr 2017 19:10:25 +0000 (12:10 -0700)]
Merge "ASoC: msm: support 5 and 7 channel for TDM hw param"

7 years agoMerge "ASoC: msm: Fix mute on speaker in VoWLAN calls"
Linux Build Service Account [Tue, 4 Apr 2017 19:10:24 +0000 (12:10 -0700)]
Merge "ASoC: msm: Fix mute on speaker in VoWLAN calls"

7 years agoASoC: msm: qdsp6v2: Add support for 7 channel mapping
Rohit Kumar [Tue, 14 Feb 2017 06:45:45 +0000 (12:15 +0530)]
ASoC: msm: qdsp6v2: Add support for 7 channel mapping

Add support for 7 channel mapping in asm to support
7 channel playback.

CRs-Fixed: 1114041
Change-Id: I0daf306d4495d3966406d05fc6328b2956a2d11f
Signed-off-by: Rohit Kumar <rohitkr@codeaurora.org>
7 years agommc: core: Increase the runtime PM reference count in try_claim_host
Veerabhadrarao Badiganti [Tue, 4 Apr 2017 07:08:24 +0000 (12:38 +0530)]
mmc: core: Increase the runtime PM reference count in try_claim_host

Runtime PM reference count is being increased in mmc_claim_host() and
is decreased in mmc_release_host(). This reference count is kept
during the complete cycle of a claim -> release host.

Same need to be done even in mmc_try_claim_host() as well. Increase
the runtime PM reference count by invoking pm_runtime_get_sync() from
mmc_try_claim_host() upon first successful claim.

Without this change the runtime PM reference count goes for a toss
since count is not getting incremented in mmc_try_claim_host() but is
getting decremented in mmc_release_host().

Change-Id: I77836875b4700a4bf3dbde2bf1abdf2ad36c4cac
Signed-off-by: Veerabhadrarao Badiganti <vbadigan@codeaurora.org>
7 years agoMerge "ASoC: mbhc: Modify special headset detection"
Linux Build Service Account [Tue, 4 Apr 2017 10:08:17 +0000 (03:08 -0700)]
Merge "ASoC: mbhc: Modify special headset detection"

7 years agoMerge "ASoC: msm-lsm-client: cleanup ioctl functions"
Linux Build Service Account [Tue, 4 Apr 2017 10:08:17 +0000 (03:08 -0700)]
Merge "ASoC: msm-lsm-client: cleanup ioctl functions"

7 years agoMerge "ASoC: wcd934x: Fix sequence for efuse sensing"
Linux Build Service Account [Tue, 4 Apr 2017 10:08:16 +0000 (03:08 -0700)]
Merge "ASoC: wcd934x: Fix sequence for efuse sensing"

7 years agoMerge "drivers: soc: apr: remove GLINK_TX_REQ_INTENT flag in apr write"
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"

7 years agoMerge "ARM: dts: msm: add support for secondary TDM on msm8996 adp/cdp"
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"

7 years agoMerge "ARM: dts: msm: add support for secondary MI2S 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"

7 years agoMerge "msm: mdss: Validating data values before passing on as operand"
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"

7 years agoMerge "msm: thermal-dev: Protect IOCTL from race condition"
Linux Build Service Account [Tue, 4 Apr 2017 10:08:10 +0000 (03:08 -0700)]
Merge "msm: thermal-dev: Protect IOCTL from race condition"

7 years agoMerge "msm: ipa3: fix Q6 statuses exception path"
Linux Build Service Account [Tue, 4 Apr 2017 10:08:09 +0000 (03:08 -0700)]
Merge "msm: ipa3: fix Q6 statuses exception path"

7 years agoMerge "mhi: mhi_uci: redesign mhi_uci driver"
Linux Build Service Account [Tue, 4 Apr 2017 10:08:08 +0000 (03:08 -0700)]
Merge "mhi: mhi_uci: redesign mhi_uci driver"

7 years agoMerge "mhi: core: add support for subsystem restart and shutdown"
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"

7 years agoMerge "usb: dwc3: Use high priority worker as bottom half handler"
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"

7 years agoMerge "ath10k: add qmi service for snoc wlan enable and disable"
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"

7 years agoMerge "soc: qcom: service-locator: Return in case of no matching domains found"
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"

7 years agoMerge "clk: msm: clock-gcc-8998: Update parent src for qup_spi/uart_apps clocks"
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"

7 years agoMerge "CHROMIUM: usb: gadget: configfs: Fix KASAN use-after-free"
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"

7 years agoblock: Make del_gendisk() safer for disks without queues
Jan Kara [Fri, 17 Mar 2017 14:27:15 +0000 (19:57 +0530)]
block: Make del_gendisk() safer for disks without queues

commit 165a5e22fafb "block: Move bdi_unregister() to del_gendisk()"
added disk->queue dereference to del_gendisk(). Although del_gendisk()
is not supposed to be called without disk->queue valid and
blk_unregister_queue() warns in that case, this change will make it oops
instead. Return to the old more robust behavior of just warning when
del_gendisk() gets called for gendisk with disk->queue being NULL.

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
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: 90f16fddcc2802726142b8386c65ccb89f044613
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git
Change-Id: I5ae377b2ace64d7a133979e656beb0eba45abc09
Signed-off-by: Ritesh Harjani <riteshh@codeaurora.org>
7 years agomsm: kgsl: Disable memory retention for core clock before entering SLUMBER
Deepak Kumar [Fri, 17 Mar 2017 11:57:42 +0000 (17:27 +0530)]
msm: kgsl: Disable memory retention for core clock before entering SLUMBER

Memory retention is needed only for NAP state but not for SLUMBER state.
Disables memory retention for core clock before entering SLUMBER to save
power.

Change-Id: I64a5ecec6fc90d662da8d9d793860e56b0c6473f
Signed-off-by: Deepak Kumar <dkumar@codeaurora.org>
7 years agommc: core: Remove unused variable cached_ext_csd
Sayali Lokhande [Tue, 4 Apr 2017 08:38:50 +0000 (14:08 +0530)]
mmc: core: Remove unused variable cached_ext_csd

There is one variable defined in mmc_card, which
is not being used anywhere. Also it is wrongly
being freed from mmc_remove_card and causing
"double kfree" related issues.
To handle this, remove unused cached_ext_csd variable.

Change-Id: I75f376ec787a46a2a16c38f88f444bd8ff9c86c4
Signed-off-by: Sayali Lokhande <sayalil@codeaurora.org>
7 years agoqcom: smb-lib: disable VCONN operations for micro USB mode
Ashay Jaiswal [Fri, 31 Mar 2017 17:59:58 +0000 (23:29 +0530)]
qcom: smb-lib: disable VCONN operations for micro USB mode

VCONN is not supported in micro USB mode, thus disable
registration and operations on VCONN regulator.

While at it, disable TRY.SOURCE while disabling typeC.

CRs-Fixed: 2027962
Change-Id: Ib92564160c48f52d77815b646b4cdd5c7d23e7b3
Signed-off-by: Ashay Jaiswal <ashayj@codeaurora.org>
7 years agodrivers/base: cpu: Add node for core control isolation
Sabyasachi Singh [Mon, 3 Apr 2017 18:57:15 +0000 (11:57 -0700)]
drivers/base: cpu: Add node for core control isolation

This cpu node can be used to check the isolated cores
which are made unavailable for scheduler and exempted
from waking up on interrupts or from running timers at
the given time based on the load. All the runnable tasks,
timers and hrtimers should have migrated to other online
running cores.

Change-Id: I32fed6cc131288b9c318f0dea65e2e59396225ca
Signed-off-by: Sabyasachi Singh <sssingh@codeaurora.org>
7 years agodefconfig: msm: Enable CONFIG_UID_CPUTIME flag
Prasad Sodagudi [Thu, 30 Mar 2017 17:49:27 +0000 (10:49 -0700)]
defconfig: msm: Enable CONFIG_UID_CPUTIME flag

Enable flag CONFIG_UID_CPUTIME to have uid_cputime stats.

Change-Id: Iee6ed05b4cb4443ec1fc347b186153c416d3f136
Signed-off-by: Prasad Sodagudi <psodagud@codeaurora.org>
7 years agoARM: dts: msm: enable SDR104 workaround for MSM8998
Subhash Jadavani [Sat, 1 Apr 2017 00:28:31 +0000 (17:28 -0700)]
ARM: dts: msm: enable SDR104 workaround for MSM8998

On MSM8998, SDR104 mode might be unstable causing CRC error on
the interface. So we need a workaround which would skip printing register
dumps on CRC errors and also downgrade bus speed mode to SDR50/DDR50 in
case of continuos CRC errors. This patch enables "qcom,sdr104-wa" property
to enable this workaround.

Change-Id: Ib2dbf974d1312c00ca22a114f0b9e8130624090c
Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org>
7 years agommc: sdhci: skip printing register dumps on CRC errors
Subhash Jadavani [Thu, 30 Mar 2017 21:42:44 +0000 (14:42 -0700)]
mmc: sdhci: skip printing register dumps on CRC errors

On Certain chipsets, SDR104 mode might be unstable causing CRC error on
the interface. So we need a workaround to skip printing register
dumps on CRC errors to reduce the recovery time.

Change-Id: I73986d89a080a842e01cdf88ad8d3b953755e993
Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org>
7 years agommc: sd: reduce the bus speed in case of multiple CRC errors in SDR104
Asutosh Das [Thu, 30 Mar 2017 21:41:16 +0000 (14:41 -0700)]
mmc: sd: reduce the bus speed in case of multiple CRC errors in SDR104

UHS-I SD cards support SDR104 mode which runs the SD card interface
clock upto 208 MHz. But we may see repeated CRC errors in SDR104
with some SDCC controllers. If this happens, this change would
reinit the card to lower speed (SDR50) hoping that CRC error
rate would reduce at lower clock speed (100MHz for SDR50).

Change-Id: I140d29fdf500bb89881a0f2c1f768fe0c5afa9d5
Signed-off-by: Asutosh Das <asutoshd@codeaurora.org>
Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org>
7 years agommc: sdhci-msm: add SDR104 CRC workaround enablement control
Subhash Jadavani [Fri, 31 Mar 2017 23:50:59 +0000 (16:50 -0700)]
mmc: sdhci-msm: add SDR104 CRC workaround enablement control

On Certain chipsets, SDR104 mode might be unstable causing CRC error on
the interface. So we need a workaround which would skip printing register
dumps on CRC errors and also downgrade bus speed mode to SDR50/DDR50 in
case of continuous CRC errors. This patch adds "qcom,sdr104-wa" property
to enable this workaround if required.

Change-Id: I626d8ef45a97e8e6558e7f20be496de1f5a2a438
Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org>
7 years agommc: core: prefer SDR50 mode over DDR50 for SD card
Subhash Jadavani [Wed, 29 Mar 2017 18:05:05 +0000 (11:05 -0700)]
mmc: core: prefer SDR50 mode over DDR50 for SD card

If Ultra High Speed SD card supports both SDR50 and DDR50 modes then
this change will give preference to SDR50 over DDR50 mode as it seems
to be more reliable for board designs. While we are doing this, this
change also fixes some indentation issues in the function we are have
modified.

Change-Id: Ifa075563ec41f43584d93f669caecbaed9369e24
Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org>
7 years agomsm: gsi: continue probe on ipc log failure
Skylar Chang [Mon, 3 Apr 2017 17:38:53 +0000 (10:38 -0700)]
msm: gsi: continue probe on ipc log failure

Do not fail GSI probe function if IPC logging is not available.

Change-Id: Icdccb9a8db637fc9c4fcff5f459831739c675173
CRs-Fixed: 2028149
Acked-by: Ady Abraham <adya@qti.qualcomm.com>
Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
7 years agoscsi: ufs: scale up the gear in 2 steps
Subhash Jadavani [Thu, 23 Mar 2017 19:55:25 +0000 (12:55 -0700)]
scsi: ufs: scale up the gear in 2 steps

Some UFS devices may stop responding after switching from HS-G1 to HS-G3.
Also, it is found that these devices work fine if we do 2 steps switch:
HS-G1 to HS-G2 followed by HS-G2 to HS-G3.
This change introduce UFS_DEVICE_QUIRK_HS_G1_TO_HS_G3_SWITCH quirk for
these devices to apply this 2 steps gear switch workaround.

Change-Id: I38eec2e1bfa842169cbfec441d900a807e715f8c
Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org>
7 years agoMerge "block: Move bdi_unregister() to del_gendisk()"
Linux Build Service Account [Mon, 3 Apr 2017 13:24:50 +0000 (06:24 -0700)]
Merge "block: Move bdi_unregister() to del_gendisk()"

7 years agoMerge "icnss: Send FW CRASHED uevent only if driver is probed"
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"

7 years agoMerge "msm_11ad: copy FW crash dump before starting SSR flow"
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"

7 years agoMerge "scsi: ufs: Abort gating if clock on request is pending"
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"

7 years agoMerge "regulator: qpnp-lcdb: Add a WA to toggle SC before module_enable"
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"

7 years agoMerge "Revert "input: synaptics_dsx: remove array declaration in write function""
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""

7 years agoMerge "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 "ARM: dts: msm: Update KTM boot mitigation config for msm8996pro"

7 years agoMerge "msm: mdss: fix validation checks for qseed3 params"
Linux Build Service Account [Mon, 3 Apr 2017 13:24:43 +0000 (06:24 -0700)]
Merge "msm: mdss: fix validation checks for qseed3 params"

7 years agoMerge "msm: mdss: configure gpio to enable backlight"
Linux Build Service Account [Mon, 3 Apr 2017 13:24:42 +0000 (06:24 -0700)]
Merge "msm: mdss: configure gpio to enable backlight"

7 years agoMerge "msm: mdss: Add support to read BL level for userspace"
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"

7 years agoMerge "input: touchscreen: remove synaptics v2.6 touch driver"
Linux Build Service Account [Mon, 3 Apr 2017 13:24:40 +0000 (06:24 -0700)]
Merge "input: touchscreen: remove synaptics v2.6 touch driver"

7 years agoMerge "icnss: pre-alloc memory leak check on probe failure and remove"
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"

7 years agoMerge "msm: camera: isp: Use single tasklet for dual vfe"
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"

7 years agoMerge "msm: camera: isp: Set the clock rate for camss vfe clock"
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"

7 years agoMerge "msm: isp: fix bug in cfg_camif"
Linux Build Service Account [Mon, 3 Apr 2017 13:24:36 +0000 (06:24 -0700)]
Merge "msm: isp: fix bug in cfg_camif"

7 years agowil6210: remove HALP voting in debugfs ioblob
Maya Erez [Mon, 3 Apr 2017 10:59:04 +0000 (13:59 +0300)]
wil6210: remove HALP voting in debugfs ioblob

debugfs ioblob function is called by the FW logs scripts
to copy the FW logs via PCIe.
As the FW logs collection is done in parallel to the operational
11AD actions, the HALP voting can take place during 11AD reset flow
and other sensitive scenarios.
To prevent that, remove HALP voting from the ioblob function.

Change-Id: I2d63bf0628f3cc88ba90063534f31b6a27b80d49
Signed-off-by: Maya Erez <merez@codeaurora.org>
7 years agoath10k: add qmi service for snoc wlan enable and disable
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>
7 years agoath10k: register qmi service notifier for ath10k snoc
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>
7 years agoblock: Move bdi_unregister() to del_gendisk()
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>
7 years agoicnss: Send FW CRASHED uevent only if driver is probed
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>
7 years agoicnss: Send FW Down indication to WLAN host driver
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>
7 years agoath10k: Add support for WCN3990 QMI service
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>
7 years agoRevert "input: synaptics_dsx: remove array declaration in write function"
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>
7 years agoMerge "drivers: cpuidle: Minimize round off errors in wake up time"
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"

7 years agoscsi: ufs: Abort gating if clock on request is pending
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>
7 years agomsm: ipa3: fix Q6 statuses exception path
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>
7 years agoMerge "ANDROID: ion: check for kref overflow"
Linux Build Service Account [Sat, 1 Apr 2017 04:24:37 +0000 (21:24 -0700)]
Merge "ANDROID: ion: check for kref overflow"

7 years agoMerge "qcom: qnovo: Fix PCURx reporting error"
Linux Build Service Account [Sat, 1 Apr 2017 04:24:36 +0000 (21:24 -0700)]
Merge "qcom: qnovo: Fix PCURx reporting error"

7 years agoMerge "drivers: net: rmnet: Initial implementation"
Linux Build Service Account [Sat, 1 Apr 2017 04:24:35 +0000 (21:24 -0700)]
Merge "drivers: net: rmnet: Initial implementation"

7 years agoMerge "msm: mdss: re-configure DP mainlink clocks during link training"
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"

7 years agoMerge "ARM: dts: msm: add sde rotator reg bus scale properties"
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"