OSDN Git Service

sagit-ice-cold/kernel_xiaomi_msm8998.git
7 years agomsm: pcie: expand PCIe boot option
Tony Truong [Tue, 28 Feb 2017 23:02:27 +0000 (15:02 -0800)]
msm: pcie: expand PCIe boot option

PCIe clients and endpoints have different boot
sequence. Expand the boot options in PCIe bus
driver to meet their requirements.

Change-Id: Ia244fd402b784e511eefb550d9814d3b708879fd
Signed-off-by: Tony Truong <truong@codeaurora.org>
7 years agoMerge "soc: qcom: fix to avoid multiple memory allocations"
Linux Build Service Account [Thu, 30 Mar 2017 14:20:58 +0000 (07:20 -0700)]
Merge "soc: qcom: fix to avoid multiple memory allocations"

7 years agoMerge "input: touchpanel: Add ST Touchscreen version 4.1.0 driver"
Linux Build Service Account [Thu, 30 Mar 2017 14:20:53 +0000 (07:20 -0700)]
Merge "input: touchpanel: Add ST Touchscreen version 4.1.0 driver"

7 years agoMerge "mmc: host: sdhci-msm: Skip reading GENERICS register in check_pwr_status"
Linux Build Service Account [Thu, 30 Mar 2017 14:20:49 +0000 (07:20 -0700)]
Merge "mmc: host: sdhci-msm: Skip reading GENERICS register in check_pwr_status"

7 years agoMerge "wil6210: fix memory access violation in wil_memcpy_from/toio_32"
Linux Build Service Account [Thu, 30 Mar 2017 14:20:46 +0000 (07:20 -0700)]
Merge "wil6210: fix memory access violation in wil_memcpy_from/toio_32"

7 years agoMerge "fs: fat: ratelimit the IO errors"
Linux Build Service Account [Thu, 30 Mar 2017 14:20:43 +0000 (07:20 -0700)]
Merge "fs: fat: ratelimit the IO errors"

7 years agoMerge "power: qpnp-fg-gen3: Whitelist the values in profile integrity word"
Linux Build Service Account [Thu, 30 Mar 2017 14:20:37 +0000 (07:20 -0700)]
Merge "power: qpnp-fg-gen3: Whitelist the values in profile integrity word"

7 years agoMerge "diag: Fix race condition while accessing mdlog session info"
Linux Build Service Account [Thu, 30 Mar 2017 14:20:35 +0000 (07:20 -0700)]
Merge "diag: Fix race condition while accessing mdlog session info"

7 years agoMerge "soc: qcom: glink_ssr: Add kref for cb_data"
Linux Build Service Account [Thu, 30 Mar 2017 14:20:31 +0000 (07:20 -0700)]
Merge "soc: qcom: glink_ssr: Add kref for cb_data"

7 years agoMerge "msm: pcie: add sysfs entry for PCIe enumeration"
Linux Build Service Account [Thu, 30 Mar 2017 14:20:28 +0000 (07:20 -0700)]
Merge "msm: pcie: add sysfs entry for PCIe enumeration"

7 years agoMerge "input: touchscreen: synaptics_dsx: Remove fw_update sysfs entries"
Linux Build Service Account [Thu, 30 Mar 2017 14:20:25 +0000 (07:20 -0700)]
Merge "input: touchscreen: synaptics_dsx: Remove fw_update sysfs entries"

7 years agoMerge "mmc: sdhci-msm: Change pm_qos cpu groups latency to PM_QOS_DEFAULT_VALUE"
Linux Build Service Account [Thu, 30 Mar 2017 14:20:22 +0000 (07:20 -0700)]
Merge "mmc: sdhci-msm: Change pm_qos cpu groups latency to PM_QOS_DEFAULT_VALUE"

7 years agoMerge "ARM: dts: msm: enable display for SDM630 PM660A QRD"
Linux Build Service Account [Thu, 30 Mar 2017 14:20:20 +0000 (07:20 -0700)]
Merge "ARM: dts: msm: enable display for SDM630 PM660A QRD"

7 years agoMerge "ASoC: sdm660-cdc: Change val_bits to 8 from 32 in digital cdc regmap"
Linux Build Service Account [Thu, 30 Mar 2017 14:20:17 +0000 (07:20 -0700)]
Merge "ASoC: sdm660-cdc: Change val_bits to 8 from 32 in digital cdc regmap"

7 years agoinput: touchpanel: Add ST Touchscreen version 4.1.0 driver
chenx [Tue, 21 Mar 2017 13:11:25 +0000 (21:11 +0800)]
input: touchpanel: Add ST Touchscreen version 4.1.0 driver

This is the reference driver source code for ST
Touchscreen of version 4.1.0. It is used for QVR8998
touchscreen.
(cherry picked from commit 2cd09314337d614e69d0ebd99afb71d99d31b69a)

Signed-off-by: chenx <chenxiang0527@thundersoft.com>
Git-commit: 2cd09314337d614e69d0ebd99afb71d99d31b69a
Git-repo: https://source.codeaurora.org/quic/la/kernel/msm-3.10
CRs-Fixed: 1106217
Change-Id: I5c26deaa3943ff300ce9835678bb4a550e40f096
Signed-off-by: Jin Fu <jinf@codeaurora.org>
7 years agowil6210: fix memory access violation in wil_memcpy_from/toio_32
Dedy Lansky [Tue, 28 Mar 2017 18:25:42 +0000 (21:25 +0300)]
wil6210: fix memory access violation in wil_memcpy_from/toio_32

In case count is not multiple of 4, there is a read access in
wil_memcpy_toio_32() from outside src buffer boundary.
In wil_memcpy_fromio_32(), in case count is not multiple of 4, there
is a write access to outside dst io memory boundary.

Fix these issues with proper handling of the last 1 to 4 copied bytes.

Change-Id: Iff7853bc4803a01449ddcee996a54a0dccc1db1a
Signed-off-by: Dedy Lansky <dlansky@codeaurora.org>
7 years agoinput: touchscreen: synaptics_dsx: Remove fw_update sysfs entries
Andrew Chant [Fri, 10 Mar 2017 06:47:47 +0000 (12:17 +0530)]
input: touchscreen: synaptics_dsx: Remove fw_update sysfs entries

Remove the sysfs entrypoints to fw_update of synaptics_dsx
touch driver.

BUG: 32769717
Change-Id: I1b2ea28e6a8c5c6c583077fbc6801ebb17447a38
Git-commit: 2615c5f302441568e6dd20007bc5246d72837e80
Git-repo: https://android.googlesource.com/kernel/msm.git
Signed-off-by: Andrew Chant <achant@google.com>
Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
7 years agommc: host: sdhci-msm: Skip reading GENERICS register in check_pwr_status
Veerabhadrarao Badiganti [Mon, 27 Mar 2017 17:16:20 +0000 (22:46 +0530)]
mmc: host: sdhci-msm: Skip reading GENERICS register in check_pwr_status

Skip checking the SWITCHABLE_SIGNALING_VOLTAGE bit of MCI_GENERICS
register while checking power status on SDHC v5.0 onwards.

This bit shows whether controller supports switching of IO signaling
voltage or not.  On SDHC v5.0, switchable signaling voltage support
is present by default and this bit was removed. So we can skip checking
this bit in case of v5.0 controller.

Without this patch, driver tries to read a non-existing bit field which is
causing driver to proceed without waiting for pwr-irq. In some case its
turning off the clock even before pwr irq finishes thus resulting in
un-clocked access errors.

Change-Id: I5beaf5bf043999522e3f2ec537568524c5aec4bf
Signed-off-by: Veerabhadrarao Badiganti <vbadigan@codeaurora.org>
7 years agofs: fat: ratelimit the IO errors
Sahitya Tummala [Tue, 28 Mar 2017 08:19:34 +0000 (13:49 +0530)]
fs: fat: ratelimit the IO errors

In case the application is still issuing the requests after
the low-level driver is shutdown, IO errors are expected.
Ratelimit those errors with the default ratelimit to avoid
watchdog bark issue in some cases.

Change-Id: Ida436cbf1be9556f456652e72bc1dac508abd047
Signed-off-by: Sahitya Tummala <stummala@codeaurora.org>
7 years agopower: qpnp-fg-gen3: Whitelist the values in profile integrity word
Subbaraman Narayanamurthy [Mon, 20 Mar 2017 21:37:54 +0000 (14:37 -0700)]
power: qpnp-fg-gen3: Whitelist the values in profile integrity word

While checking the profile integrity word to determine whether a
profile load is required or not, whitelist the values so that
profile loading cannot be skipped because of a garbage value
present.

Change-Id: Iff1d116541d07dbb39de966d98fa69b76aeab93d
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
7 years agopower: qpnp-fg-gen3: Use votable for controlling delta_bsoc irq
Subbaraman Narayanamurthy [Wed, 15 Mar 2017 19:47:00 +0000 (12:47 -0700)]
power: qpnp-fg-gen3: Use votable for controlling delta_bsoc irq

Instead of using a flag to retain the interrupt enabled status
of delta_bsoc interrupt, switch it to use a votable instead. This
improves the readability of code by not worrying about the flag.

While at it, fix cleaning up the resources in some error paths
during driver probe.

Change-Id: I2c17a9d90c7b549435caa75da81f4c4779ea3344
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
7 years agomsm: pcie: add sysfs entry for PCIe enumeration
Tony Truong [Tue, 28 Feb 2017 02:30:13 +0000 (18:30 -0800)]
msm: pcie: add sysfs entry for PCIe enumeration

Create a sysfs entry for each RC (root complex) so
that clients can manually trigger enumeration from
userspace.

Change-Id: I88b1276d95a2a894759a2f122621e10e171d6528
Signed-off-by: Tony Truong <truong@codeaurora.org>
7 years agoMerge "msm: isp: Fix stream off failure in LPM"
Linux Build Service Account [Wed, 29 Mar 2017 21:30:49 +0000 (14:30 -0700)]
Merge "msm: isp: Fix stream off failure in LPM"

7 years agoMerge "qcom: smb2: Disable parallel charging on qnovo charging below 2A"
Linux Build Service Account [Wed, 29 Mar 2017 21:30:47 +0000 (14:30 -0700)]
Merge "qcom: smb2: Disable parallel charging on qnovo charging below 2A"

7 years agoMerge "qpnp-fg-gen3: use IMA single mode for pm660 fuel gauge"
Linux Build Service Account [Wed, 29 Mar 2017 21:30:44 +0000 (14:30 -0700)]
Merge "qpnp-fg-gen3: use IMA single mode for pm660 fuel gauge"

7 years agoMerge "usb: phy: qmp: Select usb3 phy mode during PHY reset"
Linux Build Service Account [Wed, 29 Mar 2017 21:30:43 +0000 (14:30 -0700)]
Merge "usb: phy: qmp: Select usb3 phy mode during PHY reset"

7 years agoMerge "msm: ispif: fix a bug in checking the validity of vfe intf"
Linux Build Service Account [Wed, 29 Mar 2017 21:30:42 +0000 (14:30 -0700)]
Merge "msm: ispif: fix a bug in checking the validity of vfe intf"

7 years agoMerge "ath10k: Use atomic read for fw_crashed state"
Linux Build Service Account [Wed, 29 Mar 2017 13:49:33 +0000 (06:49 -0700)]
Merge "ath10k: Use atomic read for fw_crashed state"

7 years agoMerge "ASoC: msm: add support for ADSP Stream Cmd and Callback"
Linux Build Service Account [Wed, 29 Mar 2017 13:49:32 +0000 (06:49 -0700)]
Merge "ASoC: msm: add support for ADSP Stream Cmd and Callback"

7 years agoMerge "soc: qcom: pil: Explicitly clear the subsystem loading address"
Linux Build Service Account [Wed, 29 Mar 2017 13:49:32 +0000 (06:49 -0700)]
Merge "soc: qcom: pil: Explicitly clear the subsystem loading address"

7 years agoMerge "soc: qcom: Separate out qmi handle destruction and PD notification"
Linux Build Service Account [Wed, 29 Mar 2017 13:49:31 +0000 (06:49 -0700)]
Merge "soc: qcom: Separate out qmi handle destruction and PD notification"

7 years agoqcom: smb2: Disable parallel charging on qnovo charging below 2A
Harry Yang [Fri, 24 Mar 2017 05:40:31 +0000 (22:40 -0700)]
qcom: smb2: Disable parallel charging on qnovo charging below 2A

Add qnovo as pl charging voter and disable parallel charging  when
qnovo is enabled with fcc below 2A.

Change-Id: Ic03a18318a89344f2bd5c8a72445abe22cd3d142
Signed-off-by: Harry Yang <harryy@codeaurora.org>
7 years agoqcom: qnovo: Add property to report charge errors
Harry Yang [Fri, 24 Mar 2017 04:41:48 +0000 (21:41 -0700)]
qcom: qnovo: Add property to report charge errors

Report status that indicates individual charger errors,
including JEITA, battery, charing disabled, etc.

Change-Id: I5a02d9f86237ae1a05b71e78f17db8c39f35594f
Signed-off-by: Harry Yang <harryy@codeaurora.org>
7 years agoqcom: qnovo: Add support to enable qnovo charging
Harry Yang [Fri, 24 Feb 2017 09:06:00 +0000 (01:06 -0800)]
qcom: qnovo: Add support to enable qnovo charging

Add property qnovo_enable to enable qnovo charging. Also add
property pt_enable to enable pulse train.

Extend QNOVO algorithm's control of voltage and current after
pulse train stops and as long as qnovo_enable = 1.

The interrupt ptrain_done is configured wakeup capable.

CRs-Fixed: 2013069
Change-Id: Icb61e0e0169283f5f52a4994431489dde0af1c73
Signed-off-by: Harry Yang <harryy@codeaurora.org>
7 years agosoc: qcom: glink_ssr: Add kref for cb_data
Dhoat Harpal [Thu, 23 Mar 2017 12:11:45 +0000 (17:41 +0530)]
soc: qcom: glink_ssr: Add kref for cb_data

The variable cb_data is accessed from parallel threads where one thread
can free it anytime, this creates use after free scenerio.

To avoid use after free cases cb_data is freed only when kref count
goes to zero.

CRs-Fixed: 2023620
Change-Id: I74225fc61f8ede03a40ff35d2b963d90c0d4689f
Signed-off-by: Dhoat Harpal <hdhoat@codeaurora.org>
7 years agodiag: Fix race condition while accessing mdlog session info
Gopikrishna Mogasati [Mon, 27 Mar 2017 09:57:50 +0000 (15:27 +0530)]
diag: Fix race condition while accessing mdlog session info

This fix allows to avoid possible race condition while
accessing mdlog session info. Without this check there
is a possibility of poison overwritten occurrence.
Also this fix allows mdlog client to check the validity
of process descriptor. Without this fix there is
possibility of crash.

CRs-Fixed: 2022664
Change-Id: Ia10e83c7376de5cab92dd2ec4ec4aa8074223ff3
Signed-off-by: Gopikrishna Mogasati <gmogas@codeaurora.org>
7 years agoqpnp-fg-gen3: use IMA single mode for pm660 fuel gauge
Subbaraman Narayanamurthy [Mon, 27 Mar 2017 23:29:25 +0000 (16:29 -0700)]
qpnp-fg-gen3: use IMA single mode for pm660 fuel gauge

Because of HW issues, burst mode access cannot be done with
pm660 parts. Use IMA in single mode for it.

Change-Id: I4e86601d713140e559ba8a6f92715f2075c7b8ee
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
7 years agoqcom: fg-memif: add support for using IMA single mode
Subbaraman Narayanamurthy [Thu, 23 Mar 2017 18:06:08 +0000 (11:06 -0700)]
qcom: fg-memif: add support for using IMA single mode

Currently, based on the number of bytes read/written, IMA is
configured for single or burst mode. Add an option to override
to single mode whenever required.

While at it, change pr_err() statements to print some more debug
information which might be useful.

Change-Id: If19e135ed4014732a0efe56250f56f0760a1fb93
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
7 years agommc: sdhci-msm: Change pm_qos cpu groups latency to PM_QOS_DEFAULT_VALUE
Ritesh Harjani [Tue, 28 Mar 2017 07:49:26 +0000 (13:19 +0530)]
mmc: sdhci-msm: Change pm_qos cpu groups latency to PM_QOS_DEFAULT_VALUE

In current pm_qos implementation - when the new pm_qos vote request
comes, the previous cpu group where pm_qos vote was put
is determined and removed if the current cpu group is different
than previous.

If the pm_qos vote of performance mode latency is put during
initialization, there can be a case where this vote will never be
released - since during init phase we can't cache the prev pm_qos cpu
group (pm_qos_prev_cpu = -1). Thus during the actual I/O sdhci_request
the pm_qos_prev_cpu will be -1 and unless the request comes once onto
each of those cpu group, the pm_qos voting can never be released.

Hence change this pm_qos vote for all cpu groups to PM_QOS_DEFAULT_VALUE
during init phase.

Change-Id: I71249b58f41850a8a84e6165d6df936eba13b218
Signed-off-by: Ritesh Harjani <riteshh@codeaurora.org>
7 years agoath10k: Use atomic read for fw_crashed state
Govind Singh [Tue, 28 Mar 2017 04:20:48 +0000 (09:50 +0530)]
ath10k: Use atomic read for fw_crashed state

fw_crashed is atomic state variable, use atomic
read operation for reading the value

Change-Id: Ieaad558cad684a0eb7daaad9d220b44c032d69ca
Signed-off-by: Govind Singh <govinds@codeaurora.org>
7 years agoMerge "qpnp-fg-gen3: prime CC_SOC_SW when capacity learning begins"
Linux Build Service Account [Tue, 28 Mar 2017 03:43:43 +0000 (20:43 -0700)]
Merge "qpnp-fg-gen3: prime CC_SOC_SW when capacity learning begins"

7 years agoMerge "esoc: add support for additonal physical link info"
Linux Build Service Account [Tue, 28 Mar 2017 03:43:42 +0000 (20:43 -0700)]
Merge "esoc: add support for additonal physical link info"

7 years agoMerge "defconfig: msm: enable EDAC_CORTEX_ARM64_DBE_IRQ_ONLY for SDM660"
Linux Build Service Account [Tue, 28 Mar 2017 03:43:41 +0000 (20:43 -0700)]
Merge "defconfig: msm: enable EDAC_CORTEX_ARM64_DBE_IRQ_ONLY for SDM660"

7 years agoMerge "BACKPORT: f2fs: add a max block check for get_data_block_bmap"
Linux Build Service Account [Tue, 28 Mar 2017 03:43:38 +0000 (20:43 -0700)]
Merge "BACKPORT: f2fs: add a max block check for get_data_block_bmap"

7 years agoMerge "qcom: smblib: Only enable hdc and icl irqs on QC/PD chargers"
Linux Build Service Account [Tue, 28 Mar 2017 03:43:38 +0000 (20:43 -0700)]
Merge "qcom: smblib: Only enable hdc and icl irqs on QC/PD chargers"

7 years agoqpnp-revid: add pm660 1.0 and 1.1 definitions
Subbaraman Narayanamurthy [Thu, 23 Mar 2017 18:46:25 +0000 (11:46 -0700)]
qpnp-revid: add pm660 1.0 and 1.1 definitions

Add revision definitions for pm660 v1.0 and v1.1.

Change-Id: I7aefdbe07d6c01562f9ffb17616419880cea1831
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
7 years agoqpnp-revid: move pmi8998 and pm660 FAB_ID definitions to qpnp-revid.h
Subbaraman Narayanamurthy [Thu, 23 Mar 2017 18:34:28 +0000 (11:34 -0700)]
qpnp-revid: move pmi8998 and pm660 FAB_ID definitions to qpnp-revid.h

FAB_ID can be used across multiple drivers that gets revid
information from qpnp-revid driver. Move the FAB_ID definitions
in RR_ADC driver for pmi8998 and pm660 so that they can be
reused by other clients.

Change-Id: Ia61af56244161c948b0f458a77e699c1cac871b1
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
7 years agosoc: qcom: pil: Explicitly clear the subsystem loading address
Gaurav Kohli [Sat, 25 Mar 2017 12:06:30 +0000 (17:36 +0530)]
soc: qcom: pil: Explicitly clear the subsystem loading address

Explicitly clear the subsystem loading address in case of any
memory failure. It will help to avoid any platform dependency.

Change-Id: I3be8f6318d68f02c02e637fc34f4a868e9fafa45
Signed-off-by: Gaurav Kohli <gkohli@codeaurora.org>
7 years agoMerge "ARM: dts: msm: Update LPM parameter values for sdm630"
Linux Build Service Account [Mon, 27 Mar 2017 07:00:25 +0000 (00:00 -0700)]
Merge "ARM: dts: msm: Update LPM parameter values for sdm630"

7 years agoMerge "usb: gadget: f_ncm: allocate/free net device upon driver bind/unbind"
Linux Build Service Account [Mon, 27 Mar 2017 07:00:24 +0000 (00:00 -0700)]
Merge "usb: gadget: f_ncm: allocate/free net device upon driver bind/unbind"

7 years agoMerge "ath10k: msm: enable ATH10k DEBUG config for APQ8098"
Linux Build Service Account [Mon, 27 Mar 2017 07:00:23 +0000 (00:00 -0700)]
Merge "ath10k: msm: enable ATH10k DEBUG config for APQ8098"

7 years agoMerge "ath10k: Fix ATH10K_DBG_SNOC debug mask"
Linux Build Service Account [Mon, 27 Mar 2017 07:00:22 +0000 (00:00 -0700)]
Merge "ath10k: Fix ATH10K_DBG_SNOC debug mask"

7 years agoMerge "msm: isp: initialize pd stats buffer index"
Linux Build Service Account [Mon, 27 Mar 2017 07:00:21 +0000 (00:00 -0700)]
Merge "msm: isp: initialize pd stats buffer index"

7 years agoMerge "msm: isp: Fix unbalanced hvx clk disable"
Linux Build Service Account [Mon, 27 Mar 2017 07:00:20 +0000 (00:00 -0700)]
Merge "msm: isp: Fix unbalanced hvx clk disable"

7 years agoMerge "msm: camera: isp: Set max address for stats write master"
Linux Build Service Account [Mon, 27 Mar 2017 07:00:19 +0000 (00:00 -0700)]
Merge "msm: camera: isp: Set max address for stats write master"

7 years agosoc: qcom: Separate out qmi handle destruction and PD notification
Avaneesh Kumar Dwivedi [Sat, 25 Mar 2017 12:31:09 +0000 (18:01 +0530)]
soc: qcom: Separate out qmi handle destruction and PD notification

This patch move qmi handle destruction in a new function which is
executed in a worker thread and PD notification is issued in
blocking call. This  avoid issue of late PD notification due to
delay in qmi handle destruction.

Change-Id: I0c7efa336f7849ffde95143e3a0134ebb9e33022
Signed-off-by: Avaneesh Kumar Dwivedi <akdwived@codeaurora.org>
7 years agoMerge "Merge tag v4.4.55 into branch 'msm-4.4'"
Linux Build Service Account [Sat, 25 Mar 2017 20:54:58 +0000 (13:54 -0700)]
Merge "Merge tag v4.4.55 into branch 'msm-4.4'"

7 years agoMerge "qcom: smb138x-charger: add vbus regulator"
Linux Build Service Account [Sat, 25 Mar 2017 20:54:56 +0000 (13:54 -0700)]
Merge "qcom: smb138x-charger: add vbus regulator"

7 years agoMerge "qcom: smb138x-charger: Add support for setting parallel mode"
Linux Build Service Account [Sat, 25 Mar 2017 20:54:56 +0000 (13:54 -0700)]
Merge "qcom: smb138x-charger: Add support for setting parallel mode"

7 years agoMerge "ARM: dts: msm: add gpio irq for laser sensor on msm8998"
Linux Build Service Account [Sat, 25 Mar 2017 13:51:47 +0000 (06:51 -0700)]
Merge "ARM: dts: msm: add gpio irq for laser sensor on msm8998"

7 years agodefconfig: msm: enable EDAC_CORTEX_ARM64_DBE_IRQ_ONLY for SDM660
Neeraj Upadhyay [Sat, 25 Mar 2017 13:40:09 +0000 (19:10 +0530)]
defconfig: msm: enable EDAC_CORTEX_ARM64_DBE_IRQ_ONLY for SDM660

Disable handling of single bit errors for SDM660, as they are
correctable.

Change-Id: I14618e5f2685c08c57a6375e7a80d1090bbf0eaa
Signed-off-by: Neeraj Upadhyay <neeraju@codeaurora.org>
7 years agoBACKPORT: f2fs: add a max block check for get_data_block_bmap
Mark Salyzyn [Mon, 25 Apr 2016 22:52:05 +0000 (15:52 -0700)]
BACKPORT: f2fs: add a max block check for get_data_block_bmap

(cherry pick from commit 179448bfe4cd201e98e728391c6b01b25c849fe8)

This patch adds a max block check for get_data_block_bmap.

Trinity test program will send a block number as parameter into
ioctl_fibmap, which will be used in get_node_path(), when the block
number large than f2fs max blocks, it will trigger kernel bug.

Signed-off-by: Yunlei He <heyunlei@huawei.com>
Signed-off-by: Xue Liu <liuxueliu.liu@huawei.com>
[Jaegeuk Kim: fix missing condition, pointed by Chao Yu]
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Bug: 28271368
Git-repo: https://android.googlesource.com/kernel/tegra.git
Git-commit: 3c714201e02ec08652be4b9544a5267e79bde3a9
Change-Id: Ia5acae04522993d5b60a0bcb5ccc184c66532be8
[d-cagle@codeaurora.org Resolve trivial merge conflicts]
Signed-off-by: Dennis Cagle <d-cagle@codeaurora.org>
7 years agoqcom: smb138x-charger: add vbus regulator
Harry Yang [Tue, 14 Mar 2017 19:58:32 +0000 (12:58 -0700)]
qcom: smb138x-charger: add vbus regulator

Add vbus regulator in USBIN-USBIN parallel mode.

Change-Id: I57d5cc54aa789a942d5b1a5bc33677ba263d3284
Signed-off-by: Harry Yang <harryy@codeaurora.org>
7 years agoqcom: smb138x-charger: Add support for setting parallel mode
Harry Yang [Tue, 14 Mar 2017 19:23:01 +0000 (12:23 -0700)]
qcom: smb138x-charger: Add support for setting parallel mode

More than one parallel configurations between PMI8998 and SMB138x are
supported. Update the parallel mode from DT.

Change-Id: I07c30e8d4d860acaf24dd5d0608dca6ba3e65559
Signed-off-by: Harry Yang <harryy@codeaurora.org>
Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
7 years agoesoc: add support for additonal physical link info
Satya Durga Srinivasu Prabhala [Tue, 14 Mar 2017 23:51:50 +0000 (16:51 -0700)]
esoc: add support for additonal physical link info

Some of the device configurations support multiple external SOCs.
To differentiate physical links, add support for additonal info
about the physical link.

CRs-Fixed: 2024578
Change-Id: If71bf23d798f8bf0b6594a686415fe9b806e4226
Signed-off-by: Satya Durga Srinivasu Prabhala <satyap@codeaurora.org>
7 years agoMerge "ath10k: Add rx rate histogram for data packet"
Linux Build Service Account [Fri, 24 Mar 2017 19:13:09 +0000 (12:13 -0700)]
Merge "ath10k: Add rx rate histogram for data packet"

7 years agoMerge "input: synaptics_dsx: remove array declaration in write function"
Linux Build Service Account [Fri, 24 Mar 2017 19:13:08 +0000 (12:13 -0700)]
Merge "input: synaptics_dsx: remove array declaration in write function"

7 years agoMerge "i2c-msm-v2: Create rx completion object for dma mode"
Linux Build Service Account [Fri, 24 Mar 2017 19:13:07 +0000 (12:13 -0700)]
Merge "i2c-msm-v2: Create rx completion object for dma mode"

7 years agoMerge "iio: qcom-rradc: Update reading battery ID channel"
Linux Build Service Account [Fri, 24 Mar 2017 19:13:06 +0000 (12:13 -0700)]
Merge "iio: qcom-rradc: Update reading battery ID channel"

7 years agoMerge "msm: ipa: add retry to channel stop"
Linux Build Service Account [Fri, 24 Mar 2017 19:13:05 +0000 (12:13 -0700)]
Merge "msm: ipa: add retry to channel stop"

7 years agoMerge "ath10k: Enable Subsystem Restart for ath10k WCN3990 driver"
Linux Build Service Account [Fri, 24 Mar 2017 19:13:04 +0000 (12:13 -0700)]
Merge "ath10k: Enable Subsystem Restart for ath10k WCN3990 driver"

7 years agoMerge "msm: msm_bus: initialize the local variable"
Linux Build Service Account [Fri, 24 Mar 2017 19:13:03 +0000 (12:13 -0700)]
Merge "msm: msm_bus: initialize the local variable"

7 years agoMerge "ARM: dts: msm: config SD card GPIO on SDM630 QRD"
Linux Build Service Account [Fri, 24 Mar 2017 19:13:02 +0000 (12:13 -0700)]
Merge "ARM: dts: msm: config SD card GPIO on SDM630 QRD"

7 years agoMerge "msm: msm_bus: fix the memory leak issue"
Linux Build Service Account [Fri, 24 Mar 2017 19:13:01 +0000 (12:13 -0700)]
Merge "msm: msm_bus: fix the memory leak issue"

7 years agoMerge "mmc: sdhci-msm: Cache mmc data structures for debugging"
Linux Build Service Account [Fri, 24 Mar 2017 19:13:00 +0000 (12:13 -0700)]
Merge "mmc: sdhci-msm: Cache mmc data structures for debugging"

7 years agoMerge "msm: mdss: Remove DSC parameters from MDP caps"
Linux Build Service Account [Fri, 24 Mar 2017 19:13:00 +0000 (12:13 -0700)]
Merge "msm: mdss: Remove DSC parameters from MDP caps"

7 years agoMerge "msm: mdss: Perform splash cleanup on slave control"
Linux Build Service Account [Fri, 24 Mar 2017 19:12:58 +0000 (12:12 -0700)]
Merge "msm: mdss: Perform splash cleanup on slave control"

7 years agoMerge "msm: mdss: handle force clock lane to HS option properly"
Linux Build Service Account [Fri, 24 Mar 2017 19:12:57 +0000 (12:12 -0700)]
Merge "msm: mdss: handle force clock lane to HS option properly"

7 years agoMerge "msm: mdss: ensure proper state transition during ULPS exit"
Linux Build Service Account [Fri, 24 Mar 2017 19:12:57 +0000 (12:12 -0700)]
Merge "msm: mdss: ensure proper state transition during ULPS exit"

7 years agoMerge "msm: mdss: initialize external BL level when fb probe"
Linux Build Service Account [Fri, 24 Mar 2017 19:12:56 +0000 (12:12 -0700)]
Merge "msm: mdss: initialize external BL level when fb probe"

7 years agoMerge "ion: ion_system_heap: Fix null pointer dereference"
Linux Build Service Account [Fri, 24 Mar 2017 19:12:55 +0000 (12:12 -0700)]
Merge "ion: ion_system_heap: Fix null pointer dereference"

7 years agoMerge "msm: wlan: Change EIRP value for country China"
Linux Build Service Account [Fri, 24 Mar 2017 19:12:53 +0000 (12:12 -0700)]
Merge "msm: wlan: Change EIRP value for country China"

7 years agoMerge "USB: qdss: Fix NULL pointer deference issue during QDSS transfers"
Linux Build Service Account [Fri, 24 Mar 2017 19:12:52 +0000 (12:12 -0700)]
Merge "USB: qdss: Fix NULL pointer deference issue during QDSS transfers"

7 years agoMerge "Revert "ARM: dts: msm: Enable midframe sampling timer on SDM660""
Linux Build Service Account [Fri, 24 Mar 2017 19:12:51 +0000 (12:12 -0700)]
Merge "Revert "ARM: dts: msm: Enable midframe sampling timer on SDM660""

7 years agoMerge "ARM: dts: msm: add speed bin 1 CPU clock boost frequency for msm8996pro"
Linux Build Service Account [Fri, 24 Mar 2017 19:12:50 +0000 (12:12 -0700)]
Merge "ARM: dts: msm: add speed bin 1 CPU clock boost frequency for msm8996pro"

7 years agoMerge "arm64: kaslr: Fix up the kernel image alignment"
Linux Build Service Account [Fri, 24 Mar 2017 19:12:50 +0000 (12:12 -0700)]
Merge "arm64: kaslr: Fix up the kernel image alignment"

7 years agoMerge "msm: camera: isp: Rate limit certain logs"
Linux Build Service Account [Fri, 24 Mar 2017 19:12:49 +0000 (12:12 -0700)]
Merge "msm: camera: isp: Rate limit certain logs"

7 years agoMerge "ARM: dts: msm: designate LDO10A as a parent of LDO7B on sdm660"
Linux Build Service Account [Fri, 24 Mar 2017 19:12:48 +0000 (12:12 -0700)]
Merge "ARM: dts: msm: designate LDO10A as a parent of LDO7B on sdm660"

7 years agoMerge "msm_serial_hs: modify uart driver to prevent race between timer calls"
Linux Build Service Account [Fri, 24 Mar 2017 19:12:47 +0000 (12:12 -0700)]
Merge "msm_serial_hs: modify uart driver to prevent race between timer calls"

7 years agoMerge "ARM: dts: msm: designate LDO10A as a parent of LDO7B on sdm630"
Linux Build Service Account [Fri, 24 Mar 2017 19:12:46 +0000 (12:12 -0700)]
Merge "ARM: dts: msm: designate LDO10A as a parent of LDO7B on sdm630"

7 years agoMerge "USB: f_audio_source: Use different names for multi instances"
Linux Build Service Account [Fri, 24 Mar 2017 19:12:45 +0000 (12:12 -0700)]
Merge "USB: f_audio_source: Use different names for multi instances"

7 years agoMerge "soc: qcom: service-locator: Free memory in case of error"
Linux Build Service Account [Fri, 24 Mar 2017 19:12:44 +0000 (12:12 -0700)]
Merge "soc: qcom: service-locator: Free memory in case of error"

7 years agoMerge "ARM: dts: msm: Set the rate for camss vfe clock on SDM660 & SDM630"
Linux Build Service Account [Fri, 24 Mar 2017 19:12:43 +0000 (12:12 -0700)]
Merge "ARM: dts: msm: Set the rate for camss vfe clock on SDM660 & SDM630"

7 years agoMerge "ARM: dts: msm: designate LDO12 as a parent of LDO24 on msm8998"
Linux Build Service Account [Fri, 24 Mar 2017 19:12:32 +0000 (12:12 -0700)]
Merge "ARM: dts: msm: designate LDO12 as a parent of LDO24 on msm8998"

7 years agoath10k: msm: enable ATH10k DEBUG config for APQ8098
Govind Singh [Fri, 24 Mar 2017 14:18:57 +0000 (19:48 +0530)]
ath10k: msm: enable ATH10k DEBUG config for APQ8098

CONFIG_ATH10K_DEBUG needs to enabled to get the
debug logs for various debug log levels.

Enable CONFIG_ATH10K_DEBUG to have debug log support
for ath10k driver.

Change-Id: Ibd8641fe79ca4cfb68e843247610dbd28d857cc7
Signed-off-by: Govind Singh <govinds@codeaurora.org>
Signed-off-by: Sarada Prasanna Garnayak <sgarna@codeaurora.org>
7 years agoinput: synaptics_dsx: remove array declaration in write function
Shantanu Jain [Fri, 29 Apr 2016 11:41:04 +0000 (17:11 +0530)]
input: synaptics_dsx: remove array declaration in write function

Remove array declaration in i2c write function of Synaptics DSX
touch driver and use the malloc function to allocate the memory.
This change is added to use heap memory instead of stack memory.

CRs-Fixed: 1010986
Change-Id: I8f2f75744bb442191d7d4577795d986e10ea1cf6
Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
7 years agoath10k: Fix ATH10K_DBG_SNOC debug mask
Govind Singh [Fri, 24 Mar 2017 07:17:27 +0000 (12:47 +0530)]
ath10k: Fix ATH10K_DBG_SNOC debug mask

ATH10K_DBG_SNOC debug mask is incorrectly assigned.
Fix this by correctly assigning the debug mask
for WCN3990.

Change-Id: I261e4789e4c69cf2493b8e18df9ffb538b256b20
Signed-off-by: Govind Singh <govinds@codeaurora.org>
7 years agoath10k: Add rx rate histogram for data packet
Ashutosh Kumar [Sat, 25 Feb 2017 05:14:32 +0000 (10:44 +0530)]
ath10k: Add rx rate histogram for data packet

Add the rate histogram for rate_index, band, ht,
vht and vht_nss for received data packet.

CRs-Fixed: 2019645
Change-Id: I52ae3b94c886b8a200162cd7d2a220548296bf91
Signed-off-by: Ashutosh Kumar <askuma@codeaurora.org>
7 years agoASoC: msm: add support for ADSP Stream Cmd and Callback
Xiaojun Sang [Tue, 7 Feb 2017 13:30:14 +0000 (21:30 +0800)]
ASoC: msm: add support for ADSP Stream Cmd and Callback

Add support for ADSP Stream Cmd and Callback for PCM
and compress driver. Mixer controls are added as interface
for ADSP stream cmd and callback event.

CRs-Fixed: 2023802
Change-Id: Ib2de5aebe257332171c3b1ebe3d26b3422d61c97
Signed-off-by: Xiaojun Sang <xsang@codeaurora.org>
7 years agommc: sdhci-msm: Cache mmc data structures for debugging
Sayali Lokhande [Wed, 14 Dec 2016 05:40:55 +0000 (11:10 +0530)]
mmc: sdhci-msm: Cache mmc data structures for debugging

Add debug RAM to store few important mmc data structures
on first point of failure(like mmc_card, mmc_host, sdhci_host)
for debugging purpose, otherwise it will be overwritten as
BUG_ON is removed now.

Change-Id: Ia1388a77aeed60d4d49a63b8798d3a925a60ac2c
Signed-off-by: Sayali Lokhande <sayalil@codeaurora.org>