OSDN Git Service

sagit-ice-cold/kernel_xiaomi_msm8998.git
7 years agoMerge "ASoC: msm: q6dspv2: fix potentional information leak"
Linux Build Service Account [Sat, 19 Nov 2016 04:32:06 +0000 (20:32 -0800)]
Merge "ASoC: msm: q6dspv2: fix potentional information leak"

7 years agoMerge "ASoC: wcd934x: Fix adie loopback through sidetone src path"
Linux Build Service Account [Sat, 19 Nov 2016 04:32:05 +0000 (20:32 -0800)]
Merge "ASoC: wcd934x: Fix adie loopback through sidetone src path"

7 years agoMerge "Asoc: clean up bootup errors"
Linux Build Service Account [Sat, 19 Nov 2016 04:32:04 +0000 (20:32 -0800)]
Merge "Asoc: clean up bootup errors"

7 years agoMerge "Revert "defconfig: msm: avoid compilation of MDSS DP driver for 32-bit msmfalcon""
Linux Build Service Account [Sat, 19 Nov 2016 04:32:03 +0000 (20:32 -0800)]
Merge "Revert "defconfig: msm: avoid compilation of MDSS DP driver for 32-bit msmfalcon""

7 years agoMerge "ARM: dts: msm: Add support for USB device for msmfalcon and msmtriton"
Linux Build Service Account [Sat, 19 Nov 2016 04:32:03 +0000 (20:32 -0800)]
Merge "ARM: dts: msm: Add support for USB device for msmfalcon and msmtriton"

7 years agoMerge "ARM: dts: msm: enable mdss power supplies for falcon track3"
Linux Build Service Account [Sat, 19 Nov 2016 04:32:02 +0000 (20:32 -0800)]
Merge "ARM: dts: msm: enable mdss power supplies for falcon track3"

7 years agoMerge "usb: pd: Don't suspend charging unless changing voltages"
Linux Build Service Account [Sat, 19 Nov 2016 04:32:01 +0000 (20:32 -0800)]
Merge "usb: pd: Don't suspend charging unless changing voltages"

7 years agoMerge "iio: rradc: Update reading USBIN_V channel"
Linux Build Service Account [Sat, 19 Nov 2016 04:32:00 +0000 (20:32 -0800)]
Merge "iio: rradc: Update reading USBIN_V channel"

7 years agoMerge "icnss: Reset mpm_wcssaon_config bits before top level reset"
Linux Build Service Account [Sat, 19 Nov 2016 04:31:59 +0000 (20:31 -0800)]
Merge "icnss: Reset mpm_wcssaon_config bits before top level reset"

7 years agoMerge "qcom-charger: smb2: Disable try.SINK mode in the probe"
Linux Build Service Account [Sat, 19 Nov 2016 04:31:58 +0000 (20:31 -0800)]
Merge "qcom-charger: smb2: Disable try.SINK mode in the probe"

7 years agoMerge "msm: ipa3: header file change for wdi-stats"
Linux Build Service Account [Sat, 19 Nov 2016 04:31:58 +0000 (20:31 -0800)]
Merge "msm: ipa3: header file change for wdi-stats"

7 years agoMerge "ARM: dts: msm: Set USB core clock rate for USB2/USB3 for msm8996"
Linux Build Service Account [Sat, 19 Nov 2016 04:31:57 +0000 (20:31 -0800)]
Merge "ARM: dts: msm: Set USB core clock rate for USB2/USB3 for msm8996"

7 years agoMerge "ARM: dts: msm: Add gladiator support on msmfalcon and msmtriton"
Linux Build Service Account [Sat, 19 Nov 2016 04:31:56 +0000 (20:31 -0800)]
Merge "ARM: dts: msm: Add gladiator support on msmfalcon and msmtriton"

7 years agoMerge "ARM: dts: msm: Correct interrupt assignments for msmcobalt"
Linux Build Service Account [Sat, 19 Nov 2016 04:31:55 +0000 (20:31 -0800)]
Merge "ARM: dts: msm: Correct interrupt assignments for msmcobalt"

7 years agoMerge "clk: qcom: Add support for RCGs with dynamic and fixed sources"
Linux Build Service Account [Sat, 19 Nov 2016 04:31:54 +0000 (20:31 -0800)]
Merge "clk: qcom: Add support for RCGs with dynamic and fixed sources"

7 years agoMerge "qcom-charger: WA for legacy bit set on hard reboot"
Linux Build Service Account [Sat, 19 Nov 2016 04:31:54 +0000 (20:31 -0800)]
Merge "qcom-charger: WA for legacy bit set on hard reboot"

7 years agoMerge "usb: phy: qusb: Make sure QUSB PHY is into proper state"
Linux Build Service Account [Sat, 19 Nov 2016 04:31:53 +0000 (20:31 -0800)]
Merge "usb: phy: qusb: Make sure QUSB PHY is into proper state"

7 years agoMerge "USB: phy: qusb: Turn on vdd along with 1p8/3p3 LDOs when PMI requests"
Linux Build Service Account [Sat, 19 Nov 2016 04:31:52 +0000 (20:31 -0800)]
Merge "USB: phy: qusb: Turn on vdd along with 1p8/3p3 LDOs when PMI requests"

7 years agoMerge "soc: qcom: smem: Redesign smem memory architecture"
Linux Build Service Account [Sat, 19 Nov 2016 04:31:51 +0000 (20:31 -0800)]
Merge "soc: qcom: smem: Redesign smem memory architecture"

7 years agoMerge "ARM: dts: msm: Update the console uart gpios for msmfalcon"
Linux Build Service Account [Sat, 19 Nov 2016 04:31:50 +0000 (20:31 -0800)]
Merge "ARM: dts: msm: Update the console uart gpios for msmfalcon"

7 years agoMerge "msm: mdss: move warnings and errors out of mdss spinlock"
Linux Build Service Account [Sat, 19 Nov 2016 04:31:50 +0000 (20:31 -0800)]
Merge "msm: mdss: move warnings and errors out of mdss spinlock"

7 years agoMerge "msm: mdss: fix pp timeout during transition from LP1 to power on"
Linux Build Service Account [Sat, 19 Nov 2016 04:31:49 +0000 (20:31 -0800)]
Merge "msm: mdss: fix pp timeout during transition from LP1 to power on"

7 years agoMerge "msm: mdss: fix autorefresh disable during handoff"
Linux Build Service Account [Sat, 19 Nov 2016 04:31:48 +0000 (20:31 -0800)]
Merge "msm: mdss: fix autorefresh disable during handoff"

7 years agoMerge "ASoC: wcd-mbhc: correct cross connection check"
Linux Build Service Account [Sat, 19 Nov 2016 04:31:45 +0000 (20:31 -0800)]
Merge "ASoC: wcd-mbhc: correct cross connection check"

7 years agoMerge "msm: wlan: update regulatory database" into msm-4.4
Service qcabuildsw [Fri, 18 Nov 2016 23:41:21 +0000 (15:41 -0800)]
Merge "msm: wlan: update regulatory database" into msm-4.4

7 years agoMerge "msm: kgsl: Make sure USE_CPU_MAP + MAP_USER_MEM work together"
Linux Build Service Account [Fri, 18 Nov 2016 09:55:05 +0000 (01:55 -0800)]
Merge "msm: kgsl: Make sure USE_CPU_MAP + MAP_USER_MEM work together"

7 years agoMerge "msm: kgsl: Fix pagetable member of struct kgsl_memdesc"
Linux Build Service Account [Fri, 18 Nov 2016 09:55:03 +0000 (01:55 -0800)]
Merge "msm: kgsl: Fix pagetable member of struct kgsl_memdesc"

7 years agoMerge "ARM: dts: msm: Enable auto GM for WLED in pmicobalt"
Linux Build Service Account [Fri, 18 Nov 2016 09:55:02 +0000 (01:55 -0800)]
Merge "ARM: dts: msm: Enable auto GM for WLED in pmicobalt"

7 years agoMerge "leds: qpnp-wled: Add support to configure auto PFM for pmicobalt"
Linux Build Service Account [Fri, 18 Nov 2016 09:55:01 +0000 (01:55 -0800)]
Merge "leds: qpnp-wled: Add support to configure auto PFM for pmicobalt"

7 years agoMerge "msm: ipa3: linearize large skbs"
Linux Build Service Account [Fri, 18 Nov 2016 09:55:00 +0000 (01:55 -0800)]
Merge "msm: ipa3: linearize large skbs"

7 years agoMerge "msm: mdss: hide additional kernel addresses from unprivileged users"
Linux Build Service Account [Fri, 18 Nov 2016 09:55:00 +0000 (01:55 -0800)]
Merge "msm: mdss: hide additional kernel addresses from unprivileged users"

7 years agoMerge "ASoC: msm: Fix sound card registration failure"
Linux Build Service Account [Fri, 18 Nov 2016 09:54:58 +0000 (01:54 -0800)]
Merge "ASoC: msm: Fix sound card registration failure"

7 years agoMerge "msm: sde: remove secure camera ctrl_id definition"
Linux Build Service Account [Fri, 18 Nov 2016 09:54:58 +0000 (01:54 -0800)]
Merge "msm: sde: remove secure camera ctrl_id definition"

7 years agoMerge "ARM: dts: msm: Add ufs regulators for msmfalcon interposer"
Linux Build Service Account [Fri, 18 Nov 2016 09:54:57 +0000 (01:54 -0800)]
Merge "ARM: dts: msm: Add ufs regulators for msmfalcon interposer"

7 years agoMerge "usb: pd: Stop processing SVDM if handler found"
Linux Build Service Account [Fri, 18 Nov 2016 09:54:56 +0000 (01:54 -0800)]
Merge "usb: pd: Stop processing SVDM if handler found"

7 years agoMerge "sched/hmp: Enhance co-location and scheduler boost features"
Linux Build Service Account [Fri, 18 Nov 2016 09:54:54 +0000 (01:54 -0800)]
Merge "sched/hmp: Enhance co-location and scheduler boost features"

7 years agoMerge "USB: Allow skipping device resume during system resume"
Linux Build Service Account [Fri, 18 Nov 2016 09:54:54 +0000 (01:54 -0800)]
Merge "USB: Allow skipping device resume during system resume"

7 years agoMerge "clk: msm: Add the CLKFLAG_NO_RATE_CACHE flag for MM clocks on MSM COBALT"
Linux Build Service Account [Fri, 18 Nov 2016 09:54:53 +0000 (01:54 -0800)]
Merge "clk: msm: Add the CLKFLAG_NO_RATE_CACHE flag for MM clocks on MSM COBALT"

7 years agoMerge "clk: qcom: Add support to be able to slew PLL"
Linux Build Service Account [Fri, 18 Nov 2016 09:54:52 +0000 (01:54 -0800)]
Merge "clk: qcom: Add support to be able to slew PLL"

7 years agoMerge "qseecom: improve error checks in qseecom_probe()"
Linux Build Service Account [Fri, 18 Nov 2016 09:54:51 +0000 (01:54 -0800)]
Merge "qseecom: improve error checks in qseecom_probe()"

7 years agoMerge "msm: mdss: Add systrace for readptr_done"
Linux Build Service Account [Fri, 18 Nov 2016 09:54:50 +0000 (01:54 -0800)]
Merge "msm: mdss: Add systrace for readptr_done"

7 years agoMerge "ARM: dts: msm: Add physical dimensions for NT35597 panel"
Linux Build Service Account [Fri, 18 Nov 2016 09:54:50 +0000 (01:54 -0800)]
Merge "ARM: dts: msm: Add physical dimensions for NT35597 panel"

7 years agoMerge "msm: mdss: fix incorrect mutex unlocking during NOTIFY_UPDATE_STOP"
Linux Build Service Account [Fri, 18 Nov 2016 09:54:48 +0000 (01:54 -0800)]
Merge "msm: mdss: fix incorrect mutex unlocking during NOTIFY_UPDATE_STOP"

7 years agoMerge "msm: mdss: fix race condition in dsi clk off request"
Linux Build Service Account [Fri, 18 Nov 2016 09:54:47 +0000 (01:54 -0800)]
Merge "msm: mdss: fix race condition in dsi clk off request"

7 years agoMerge "ARM: dts: msm: specify I2C configuration for msmfalcon"
Linux Build Service Account [Fri, 18 Nov 2016 09:54:46 +0000 (01:54 -0800)]
Merge "ARM: dts: msm: specify I2C configuration for msmfalcon"

7 years agoMerge "ARM: dts: msm: specify UART configuration on msmfalcon."
Linux Build Service Account [Fri, 18 Nov 2016 09:54:45 +0000 (01:54 -0800)]
Merge "ARM: dts: msm: specify UART configuration on msmfalcon."

7 years agoMerge "clk: qcom: Add support for debugfs support"
Linux Build Service Account [Fri, 18 Nov 2016 09:54:43 +0000 (01:54 -0800)]
Merge "clk: qcom: Add support for debugfs support"

7 years agoMerge "clk: Add support to allow client to print all enabled clocks"
Linux Build Service Account [Fri, 18 Nov 2016 09:54:42 +0000 (01:54 -0800)]
Merge "clk: Add support to allow client to print all enabled clocks"

7 years agoMerge "scsi: ufs: enable auto hibern8 only after device initialization"
Linux Build Service Account [Fri, 18 Nov 2016 09:54:42 +0000 (01:54 -0800)]
Merge "scsi: ufs: enable auto hibern8 only after device initialization"

7 years agoMerge "scsi: ufs: fix sleep in atomic context"
Linux Build Service Account [Fri, 18 Nov 2016 09:54:41 +0000 (01:54 -0800)]
Merge "scsi: ufs: fix sleep in atomic context"

7 years agoMerge "phy: qcom-ufs: update ufs phy 1-lane settings"
Linux Build Service Account [Fri, 18 Nov 2016 09:54:37 +0000 (01:54 -0800)]
Merge "phy: qcom-ufs: update ufs phy 1-lane settings"

7 years agoMerge "diag: Set the diag write buffers to busy state on channel close"
Linux Build Service Account [Fri, 18 Nov 2016 09:54:35 +0000 (01:54 -0800)]
Merge "diag: Set the diag write buffers to busy state on channel close"

7 years agoARM: dts: msm: enable mdss power supplies for falcon track3
Ashish Garg [Tue, 15 Nov 2016 06:03:01 +0000 (11:33 +0530)]
ARM: dts: msm: enable mdss power supplies for falcon track3

Specify the regulators for mdss on falcon track3.

Change-Id: Ie828c8568ef09c89cff157d16d3cb322647b6f6e
Signed-off-by: Ashish Garg <ashigarg@codeaurora.org>
7 years agoARM: dts: msm: Add dummy regulator for LCDB bias
Anirudh Ghayal [Tue, 15 Nov 2016 14:10:48 +0000 (19:40 +0530)]
ARM: dts: msm: Add dummy regulator for LCDB bias

Add the LDO and NCP display +ve and -ve bias for LCD
display.

Change-Id: Ia85688854f26fe871d5c1253c2d51d75d84deb8f
Signed-off-by: Anirudh Ghayal <aghayal@codeaurora.org>
7 years agoARM: dts: msm: Add support for USB device for msmfalcon and msmtriton
Chandana Kishori Chiluveru [Fri, 21 Oct 2016 04:29:35 +0000 (09:59 +0530)]
ARM: dts: msm: Add support for USB device for msmfalcon and msmtriton

Add common dtsi file for msmfalcon and msmtriton. Also Add
device tree entry for super speed USB3 controller, super speed
phy and high speed phy.

Change-Id: I326eceeddff8e77d346c3365fa46cd539324451f
Signed-off-by: Chandana Kishori Chiluveru <cchiluve@codeaurora.org>
7 years agousb: pd: Don't suspend charging unless changing voltages
Jack Pham [Thu, 17 Nov 2016 21:19:49 +0000 (13:19 -0800)]
usb: pd: Don't suspend charging unless changing voltages

To optimize charging during power negotiation and the voltage
is not changing, for example when transitioning from implicit
contract to the default 5V PDO, there is no requirement to
suspend the charging and hence setting the charger's
PROP_PD_CURRENT_MAX can be avoided. It is only needed when
changing voltages, in which case current limit should be
calculated based on pSnkStdby (2.5W), or when staying at the
same voltage and decreasing current.

Also fix the incorrect setting of PROP_CURRENT_MAX to
PROP_PD_CURRENT_MAX when doing a sink->source swap.

Change-Id: Ib53902459646e590df4dc7fcb00f833d5e8f41ed
Signed-off-by: Jack Pham <jackp@codeaurora.org>
7 years agoiio: rradc: Update reading USBIN_V channel
Siddartha Mohanadoss [Wed, 16 Nov 2016 22:04:47 +0000 (14:04 -0800)]
iio: rradc: Update reading USBIN_V channel

Increase the refresh rate for the RRADC to support
reading refreshed USBIN voltage at a higher frequency.
To support the higher frequency at which the data
is refreshed enable continuous mode and force update
on reading every cycle on the USBIN_V trigger.
After reading the USBIN_V result set the RRADC to non
continuous mode with default trigger setting.

Change-Id: I7e9ada5de1f619c6a34a4b2e1764f5e908564ce5
Signed-off-by: Siddartha Mohanadoss <smohanad@codeaurora.org>
7 years agoicnss: Reset mpm_wcssaon_config bits before top level reset
Yuanyuan Liu [Tue, 15 Nov 2016 01:05:25 +0000 (17:05 -0800)]
icnss: Reset mpm_wcssaon_config bits before top level reset

Clear mpm_wcssaon_config bits before top level reset.
If those bits are non-zero during WLAN is enabled,
there could be random failures.

CRs-Fixed: 1086372
Change-Id: Ia03380dfa4852c80fedb38f3c79f55d8d1a9a7f6
Signed-off-by: Yuanyuan Liu <yuanliu@codeaurora.org>
7 years agoqcom-charger: smb2: Disable try.SINK mode in the probe
Harry Yang [Thu, 17 Nov 2016 20:50:04 +0000 (12:50 -0800)]
qcom-charger: smb2: Disable try.SINK mode in the probe

Currently we disable try.SINK right before pd becomes active and
re-enable it right after inactive. This breaks typec compliance.

To fix it, disable try.SINK mode in the probe and never enable it.

Change-Id: I61523188f45daca026b90943c845b43a8327f51e
Signed-off-by: Harry Yang <harryy@codeaurora.org>
7 years agoqcom-charger: Change usb_icl votable for PD vote
Harry Yang [Thu, 17 Nov 2016 19:24:25 +0000 (11:24 -0800)]
qcom-charger: Change usb_icl votable for PD vote

Currently there is an issue introduced by forcing the results of
the icl_votable while pd is active. icl_votable is a min voter
and since the DEFAULT_VOTER votes 1.5Amps that becomes the max
one could draw when pd is active. This is incorrect and hence the
issue.

Note that DEFAULT_VOTER is only needed while DCP is present.

So, to fix it, rename DEFAULT_VOTER to DCP_VOTER and make DCP_VOTER
unvote and vote when pd_active is set and unset respectively.

CRs-Fixed: 1091477
Change-Id: I7435f05f20e12a7704ae5d9597b5cdc9b5a61d00
Signed-off-by: Harry Yang <harryy@codeaurora.org>
7 years agomsm: wlan: update regulatory database
Amar Singhal [Wed, 16 Nov 2016 19:20:33 +0000 (11:20 -0800)]
msm: wlan: update regulatory database

Incorporate the 2016-10-31 updates to the internal regulatory
database. Update countries Bahrain, Belize, Chile, Egypt, Honduras,
India, S Korea, Nepal, Panama, Russia, Senegal, TT and UAE. Also
update St. Kitts&Navis and St. Lucia dfs region.

Change-Id: Ia151b2dd5229f07790ac961af298305b24e098fb
CRs-Fixed: 1091511
Signed-off-by: Amar Singhal <asinghal@codeaurora.org>
7 years agoMerge "leds: qpnp-wled: Add support to configure AUTO_GM settings"
Linux Build Service Account [Thu, 17 Nov 2016 18:08:46 +0000 (10:08 -0800)]
Merge "leds: qpnp-wled: Add support to configure AUTO_GM settings"

7 years agoMerge "tcp: take care of truncations done by sk_filter()"
Linux Build Service Account [Thu, 17 Nov 2016 18:08:45 +0000 (10:08 -0800)]
Merge "tcp: take care of truncations done by sk_filter()"

7 years agoMerge "scsi: ufs: handle LINERESET during hibern8"
Linux Build Service Account [Thu, 17 Nov 2016 18:08:44 +0000 (10:08 -0800)]
Merge "scsi: ufs: handle LINERESET during hibern8"

7 years agoMerge "scsi: ufs-qcom: update clock scaling sequence"
Linux Build Service Account [Thu, 17 Nov 2016 18:08:43 +0000 (10:08 -0800)]
Merge "scsi: ufs-qcom: update clock scaling sequence"

7 years agoMerge "ARM: dts: msm: ensure contiguous MSI for PCIe on msmcobalt"
Linux Build Service Account [Thu, 17 Nov 2016 18:08:42 +0000 (10:08 -0800)]
Merge "ARM: dts: msm: ensure contiguous MSI for PCIe on msmcobalt"

7 years agoMerge "driver: thermal: msm_thermal: Enable Reliability algorithm"
Linux Build Service Account [Thu, 17 Nov 2016 18:08:41 +0000 (10:08 -0800)]
Merge "driver: thermal: msm_thermal: Enable Reliability algorithm"

7 years agoMerge "leds: qpnp-flash: Fix the mask in the flash prepare API"
Linux Build Service Account [Thu, 17 Nov 2016 18:08:40 +0000 (10:08 -0800)]
Merge "leds: qpnp-flash: Fix the mask in the flash prepare API"

7 years agoMerge "leds: qpnp-flash-v2: change from dev_*() to pr_*() for logging"
Linux Build Service Account [Thu, 17 Nov 2016 18:08:38 +0000 (10:08 -0800)]
Merge "leds: qpnp-flash-v2: change from dev_*() to pr_*() for logging"

7 years agoMerge "leds: qpnp-flash-v2: Add support for configuring OTST thresholds"
Linux Build Service Account [Thu, 17 Nov 2016 18:08:38 +0000 (10:08 -0800)]
Merge "leds: qpnp-flash-v2: Add support for configuring OTST thresholds"

7 years agoMerge "leds: qpnp-flash-v2: Add support for thermal derate features"
Linux Build Service Account [Thu, 17 Nov 2016 18:08:37 +0000 (10:08 -0800)]
Merge "leds: qpnp-flash-v2: Add support for thermal derate features"

7 years agoMerge "msm: kgsl: preserve ISENSE registers across GPU power collapse"
Linux Build Service Account [Thu, 17 Nov 2016 18:08:36 +0000 (10:08 -0800)]
Merge "msm: kgsl: preserve ISENSE registers across GPU power collapse"

7 years agoMerge "scsi: ufs: error out all issued requests after shutdown"
Linux Build Service Account [Thu, 17 Nov 2016 18:08:34 +0000 (10:08 -0800)]
Merge "scsi: ufs: error out all issued requests after shutdown"

7 years agosoc: qcom: smem: Redesign smem memory architecture
Dhoat Harpal [Mon, 14 Nov 2016 11:11:04 +0000 (16:41 +0530)]
soc: qcom: smem: Redesign smem memory architecture

Smem uses static array to store legacy partition information.
New comm partition is used to replace existing legacy partition.

CRs-Fixed: 1074985
Change-Id: Ib2268181a617c23d62b5b6f857be5327113b2a67
Signed-off-by: Dhoat Harpal <hdhoat@codeaurora.org>
7 years agoARM: dts: msm: Enable auto GM for WLED in pmicobalt
Fenglin Wu [Thu, 10 Nov 2016 02:17:02 +0000 (10:17 +0800)]
ARM: dts: msm: Enable auto GM for WLED in pmicobalt

Enable auto GM for WLED module in pmicobalt to make LOOP_GM adaptively
changes with brightness change.

CRs-Fixed: 1081738
Change-Id: I10a788726358c56df9bfe11f2332e3823d7cd332
Signed-off-by: Fenglin Wu <fenglinw@codeaurora.org>
7 years agoleds: qpnp-wled: Add support to configure auto PFM for pmicobalt
Fenglin Wu [Wed, 9 Nov 2016 05:37:08 +0000 (13:37 +0800)]
leds: qpnp-wled: Add support to configure auto PFM for pmicobalt

The WLED boost controller in pmicobalt supports auto PFM mode when
LCD mode is selected. Auto PFM mode is enabled by default except
on some specific hardware versions. Add a property to specify
AUTO_PFM_THRESHOLD for the boost controller so that it can enter
PFM mode when the adaptive headroom voltage falls below the
threshold.

CRs-Fixed: 1081738
Change-Id: I964b3452d0cdb3618b4ab446655ae75fa3a1049d
Signed-off-by: Fenglin Wu <fenglinw@codeaurora.org>
7 years agoMerge "leds: qpnp-wled: Add support to configure VREF_CONTROL for pmicobalt"
Linux Build Service Account [Thu, 17 Nov 2016 10:22:35 +0000 (02:22 -0800)]
Merge "leds: qpnp-wled: Add support to configure VREF_CONTROL for pmicobalt"

7 years agoMerge "msm: cpp: Use the src clock node to read the cpp src clock rate"
Linux Build Service Account [Thu, 17 Nov 2016 10:22:34 +0000 (02:22 -0800)]
Merge "msm: cpp: Use the src clock node to read the cpp src clock rate"

7 years agoMerge "ARM: dts: msm: Add cpp src clock rates configuration for msmcobalt"
Linux Build Service Account [Thu, 17 Nov 2016 10:22:34 +0000 (02:22 -0800)]
Merge "ARM: dts: msm: Add cpp src clock rates configuration for msmcobalt"

7 years agoRevert "defconfig: msm: avoid compilation of MDSS DP driver for 32-bit msmfalcon"
Padmanabhan Komanduru [Thu, 17 Nov 2016 08:15:50 +0000 (13:45 +0530)]
Revert "defconfig: msm: avoid compilation of MDSS DP driver for 32-bit msmfalcon"

This reverts 'commit d3c76b29e6d6 ("defconfig: msm: avoid compilation
of MDSS DP driver for 32-bit msmfalcon")'. The compilation of MDSS DP
driver was disabled for 32-bit msmfalcon earlier to avoid compilation
issues. The related issues are now resolved. Hence, enable back the
compilation of DP driver.

Change-Id: I9f928f0aad6af346de43965755beb039e422047a
Signed-off-by: Padmanabhan Komanduru <pkomandu@codeaurora.org>
7 years agoASoC: msm: Fix sound card registration failure
Laxminath Kasam [Wed, 16 Nov 2016 13:57:44 +0000 (19:27 +0530)]
ASoC: msm: Fix sound card registration failure

In external codec machine driver, register
SSR notifier after sound card register. Also,
add separate snd_soc_card variables for tavil
and tasha since same machine driver is used
for both codecs.

CRs-Fixed: 1083537
Change-Id: I73fc02b812f2e6694e2a6aa8bdad2381a5f19406
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
7 years agoASoC: msm: Add support for USB/WCN/TDM Audio
Laxminath Kasam [Mon, 14 Nov 2016 11:52:55 +0000 (17:22 +0530)]
ASoC: msm: Add support for USB/WCN/TDM Audio

Add required machine driver support for
USB Audio, BT, FM, TDM interfaces both
for internal and external codecs.

CRs-Fixed: 1083537
Change-Id: I3d2765535793d6ef9153cfcab4b44a9adad67e15
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
7 years agoARM: dts: msm: Set USB core clock rate for USB2/USB3 for msm8996
Vijayavardhan Vennapusa [Wed, 16 Nov 2016 11:57:59 +0000 (17:27 +0530)]
ARM: dts: msm: Set USB core clock rate for USB2/USB3 for msm8996

Set required USB core clock rate for USB3 working across connect/
disconnect for msm8996. Else USB enumeration fails after reconnection
due to this invalid clock rate setting for USB core clock. Also
set USB core clock rate for USB2 controller as well.

Change-Id: I6ce48512df5973bf8a2a3081a3a6f8759aeb499f
Signed-off-by: Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
7 years agoARM: dts: msm: Update the console uart gpios for msmfalcon
Venkatesh Yadav Abbarapu [Mon, 14 Nov 2016 06:04:02 +0000 (11:34 +0530)]
ARM: dts: msm: Update the console uart gpios for msmfalcon

Updating the debug uart BLSP1UART2 gpios as per the latest
hardware definitions.

Change-Id: I9cda84d1c199b72ce8b9e2997601bcc7430ddbf3
Signed-off-by: Venkatesh Yadav Abbarapu <vabbar@codeaurora.org>
7 years agopinctrl: qcom: msmfalcon: Update gpios as per latest gpio map
Venkatesh Yadav Abbarapu [Tue, 15 Nov 2016 05:58:43 +0000 (11:28 +0530)]
pinctrl: qcom: msmfalcon: Update gpios as per latest gpio map

UART and SPI gpios are changed as per latest hardware definitions,
so updating them.

Change-Id: I0e06be169edc2eb1d35ef7fc6c41ff1809aebd03
Signed-off-by: Venkatesh Yadav Abbarapu <vabbar@codeaurora.org>
7 years agoARM: dts: msm: Add gladiator support on msmfalcon and msmtriton
Venkatesh Yadav Abbarapu [Wed, 16 Nov 2016 12:18:48 +0000 (17:48 +0530)]
ARM: dts: msm: Add gladiator support on msmfalcon and msmtriton

Enable the support for gladiator error reporting. Also enable
the gladiator hang detect feature.

Change-Id: I7220ad565212c325514301e4c59415b807deb99a
Signed-off-by: Venkatesh Yadav Abbarapu <vabbar@codeaurora.org>
7 years agoMerge "icnss: Update WLFW header file to the latest and add fw_build_id"
Linux Build Service Account [Thu, 17 Nov 2016 02:17:04 +0000 (18:17 -0800)]
Merge "icnss: Update WLFW header file to the latest and add fw_build_id"

7 years agoMerge "icnss: Collect ramdump from MSA memory space"
Linux Build Service Account [Thu, 17 Nov 2016 02:17:03 +0000 (18:17 -0800)]
Merge "icnss: Collect ramdump from MSA memory space"

7 years agoMerge "msm: sde: Fix SDE rotator context list locking"
Linux Build Service Account [Thu, 17 Nov 2016 02:17:02 +0000 (18:17 -0800)]
Merge "msm: sde: Fix SDE rotator context list locking"

7 years agosched/hmp: Enhance co-location and scheduler boost features
Syed Rameez Mustafa [Wed, 31 Aug 2016 23:54:12 +0000 (16:54 -0700)]
sched/hmp: Enhance co-location and scheduler boost features

The recent introduction of the schedtune cgroup controller has provided
the scheduler with added flexibility in terms of some of it's placement
features. In particular each cgroup under the schedtune controller can
now specify:

1) Whether it needs co-location along with other cgroups
2) Whether it is eligible for scheduler boost (sched_boost_enabled)
3) Whether the kernel can override the boost eligibility when necessary
   (sched_boost_no_override)

The scheduler now creates a reserved co-location group at boot. This
group is used to co-locate all tasks that form part of any one of the
cgroups that have co-location enabled. This reserved group can neither
be destroyed nor reused for other purposes. Furthermore, cgroups are
only allowed to indicate their co-location preference once at boot.
Further updates are disallowed.

Since we are now creating co-location groups for an extended period of
time, there are a few other factors to consider when determining the
preferred cluster for the group. We first exclude any tasks in the
group that have not been observed to be running for a significant
amount of time. Secondly we introduce the notion of group up and down
migrate tunables to allow different migration policies than individual
tasks. Lastly we break co-location if a single task in a group exceeds
up-migrate but the total load of the group does not exceed group
up-migrate.

In terms of sched_boost, the scheduler now supports multiple types of
boost. These are:

1) FULL_THROTTLE : Force up-migrate tasks belonging any cgroup that
                   has the sched_boost_enabled flag turned on. Little
                   CPUs will only be used when big CPUs can no longer
                   accommodate tasks. Also up-migrate all RT tasks.

2) CONSERVATIVE : Override the sched_boost_enabled flag for all cgroups
                  except those that have the sched_boost_no_override
                  flag set. Force up-migrate all tasks belonging to only
                  those cgroups that still remain eligible for boost.
                  RT tasks do not get force up migrated.

3) RESTRAINED : Start frequency aggregation for co-located tasks. This
                type of boost does not force up-migrate any task.

Finally the boost API removes ref-counting. This means that there can
only be a single entity using boost at any given time. If multiple
entities are managing boost, they are required to be well behaved so
that they don't interfere with one another. Even for a single client,
it is not possible to switch directly from one boost type to another.
Boost must be first turned off before switching over to a new type.

Change-Id: I8d224a70cbef162f27078b62b73acaa22670861d
Signed-off-by: Syed Rameez Mustafa <rameezmustafa@codeaurora.org>
7 years agosched: revise boost logic when boost_type is SCHED_BOOST_ON_BIG
Joonwoo Park [Fri, 23 Sep 2016 19:21:55 +0000 (12:21 -0700)]
sched: revise boost logic when boost_type is SCHED_BOOST_ON_BIG

At present HMP scheduler boost tends to pack tasks by taking into
account of power cost and cstate.  This is suboptimal to performance
as it can lead preemption and higher latency.

Revise logic to prefer the least loaded CPU among the big cluster CPUs
when boost type is SCHED_BOOST_ON_BIG.  New logic still honor the
behaviour that scheduler can place tasks on the little CPUs when the
big CPUs are all overcommitted.

Also, it's found that need_idle with boost can easily return previous
CPU when there is no idle CPU found.  Fix this issue by making
need_idle flag to take precedence over sched_boost.

CRs-fixed: 1074879
Change-Id: I470bcd0588e038b4a540d337fe6a412f2fa74920
Signed-off-by: Joonwoo Park <joonwoop@codeaurora.org>
Signed-off-by: Syed Rameez Mustafa <rameezmustafa@codeaurora.org>
7 years agosched: Remove thread group iteration from colocation
Syed Rameez Mustafa [Thu, 10 Nov 2016 01:22:23 +0000 (17:22 -0800)]
sched: Remove thread group iteration from colocation

Iterating a leader task's thread group in order to add them to a
colocation group involves a complex locking chain that ends up
causing a deadlock. The deadlock is as follows when the same task
is being referenced on three different CPUs:

-----                     ------                      -----
CPU 0                     CPU 1                       CPU 2
-----                     ------                      -----
                          add_task_to_group(p)

__schedule(prev = p)      write_lock(                 ttwu(p)
                          related_thread_grp_lock)
                                                      lock(pi_lock)

idle_balance()                                        wait for
                                                      p->on_cpu
load_balance()            unable to acquire
                          p->pi_lock
send_notification()

wait for read_lock(
related_thread_grp_lock)

unable to set p->on_cpu

There are a couple of ways to resolve this deadlock in the kernel,
however, they are not trivial. For the sake of simplicity, move
the responsibility of thread group iteration back to userspace. This
would apply to both adding and removing the leader task from a
colocation group. The kernel would continue to automatically add
newly forked children of the colocated leader to the colocation
group.

This still leaves an issue with the locking order of the pi_lock and
the related_thread_group_lock. To solve all deadlocks, we need to avoid
taking the pi_lock in reset_all_task_stats() and instead rely on a more
heavy handed approach of taking all rq locks. The pi_lock was taken to
avoid a race between reset_all_task_stats() and sched_exit(). The race
can be avoided with rq locks as well.

Change-Id: I15323e3ef91401142d3841db59c18fd8fee753fd
Signed-off-by: Syed Rameez Mustafa <rameezmustafa@codeaurora.org>
7 years agomsm: ipa3: linearize large skbs
Skylar Chang [Tue, 8 Nov 2016 17:56:24 +0000 (09:56 -0800)]
msm: ipa3: linearize large skbs

IPA can support scatter-gather of skbs up to the size of the TLV fifo.
In case the skb has to many frags, IPA driver will linearize it.

Change-Id: I2f994ae0250ffc8f740ea633324815ae429c74be
CRs-Fixed: 1088658
Acked-by: Ady Abraham <adya@qti.qualcomm.com>
Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
7 years agoUSB: Allow skipping device resume during system resume
Hemant Kumar [Wed, 16 Nov 2016 03:10:42 +0000 (19:10 -0800)]
USB: Allow skipping device resume during system resume

This allows xHC to remain in low power mode and not
resume the bus when system wide resume happens.
Controller comes out of low power mode only when usb
device issues a remote wakeup or if there is a host
initiated bus resume.

Change-Id: I96cdcb9e3642906b4afa08d9bde07e123d9b3977
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
7 years agoqseecom: improve error checks in qseecom_probe()
Zhen Kong [Mon, 24 Oct 2016 17:06:45 +0000 (10:06 -0700)]
qseecom: improve error checks in qseecom_probe()

Make change in qseecom_probe() to improve the error return value
checks on some subfunctions, and free memory allocated within
qseecom_retrieve_ce_data.

CRs-fixed: 1075082
Change-Id: I971e555ec8d02ccf4382e83132a696b065a8ff12
Signed-off-by: Zhen Kong <zkong@codeaurora.org>
7 years agomsm: mdss: hide additional kernel addresses from unprivileged users
Harsh Sahu [Fri, 11 Nov 2016 22:10:52 +0000 (14:10 -0800)]
msm: mdss: hide additional kernel addresses from unprivileged users

Starting commit Ie49eee9478f4657cfb2a994ba60da1ec4c356339
("msm: mdss: hide kernel addresses from unprevileged users"),
display driver removes the %p and uses %pK instead for printing kernel
pointers. This change missed some of the prints in some places.
This change fixes this by modifying the remaining pointer prints.

CRs-Fixed: 987021
Change-Id: I0d1797a4df9ff67f3b162a1b5d26320ca989f54a
Signed-off-by: Harsh Sahu <hsahu@codeaurora.org>
Signed-off-by: Abhijit Kulkarni <kabhijit@codeaurora.org>
7 years agoMerge "soc: qcom: secure_buffer: Fix an uninitialized variable"
Linux Build Service Account [Wed, 16 Nov 2016 07:39:32 +0000 (23:39 -0800)]
Merge "soc: qcom: secure_buffer: Fix an uninitialized variable"

7 years agoMerge "defconfig: msm: update mmap randomness for all targets"
Linux Build Service Account [Wed, 16 Nov 2016 07:39:31 +0000 (23:39 -0800)]
Merge "defconfig: msm: update mmap randomness for all targets"

7 years agoMerge "iommu/arm-smmu: Fix uninitialized use of variable error"
Linux Build Service Account [Wed, 16 Nov 2016 07:39:30 +0000 (23:39 -0800)]
Merge "iommu/arm-smmu: Fix uninitialized use of variable error"

7 years agoMerge "ARM: dts: msm: Enable the haptics in QRD SKUK and vr1"
Linux Build Service Account [Wed, 16 Nov 2016 07:39:29 +0000 (23:39 -0800)]
Merge "ARM: dts: msm:  Enable the haptics in QRD SKUK and vr1"