OSDN Git Service

sagit-ice-cold/kernel_xiaomi_msm8998.git
7 years agoMerge "ARM: dts: msm: change CX handle for all PCIe nodes on msm8996"
Linux Build Service Account [Thu, 6 Oct 2016 19:25:33 +0000 (12:25 -0700)]
Merge "ARM: dts: msm: change CX handle for all PCIe nodes on msm8996"

7 years agoMerge "msm: mdss: fix 32-bit compilation errors in MDSS PP/interfaces"
Linux Build Service Account [Thu, 6 Oct 2016 14:14:28 +0000 (07:14 -0700)]
Merge "msm: mdss: fix 32-bit compilation errors in MDSS PP/interfaces"

7 years agomsm: mdss: fix 32-bit compilation errors in MDSS PP/interfaces
Padmanabhan Komanduru [Thu, 1 Sep 2016 07:23:18 +0000 (12:53 +0530)]
msm: mdss: fix 32-bit compilation errors in MDSS PP/interfaces

Add required changes to fix 32-bit compilation issues in
MDSS PP and DP/HDMI interface drivers.

Change-Id: I0b342c0307b257cb8c66fcae73dd94d0fb3122db
Signed-off-by: Padmanabhan Komanduru <pkomandu@codeaurora.org>
7 years agoMerge "arm/arm64: Kconfig: Add support to use the CLK_QCOM for MSMfalcon"
Linux Build Service Account [Thu, 6 Oct 2016 08:07:20 +0000 (01:07 -0700)]
Merge "arm/arm64: Kconfig: Add support to use the CLK_QCOM for MSMfalcon"

7 years agoMerge "hwmon: qpnp-adc-common: Clamp voltage value"
Linux Build Service Account [Thu, 6 Oct 2016 08:07:19 +0000 (01:07 -0700)]
Merge "hwmon: qpnp-adc-common: Clamp voltage value"

7 years agoMerge "iio: rradc: Remove scaled support for battery thermistor"
Linux Build Service Account [Thu, 6 Oct 2016 08:07:19 +0000 (01:07 -0700)]
Merge "iio: rradc: Remove scaled support for battery thermistor"

7 years agoMerge "ARM: dts: msm: Configure bimc-bwmon4 only for msmcobaltv2"
Linux Build Service Account [Thu, 6 Oct 2016 08:07:18 +0000 (01:07 -0700)]
Merge "ARM: dts: msm: Configure bimc-bwmon4 only for msmcobaltv2"

7 years agoMerge "sched: Fix a division by zero bug in scale_exec_time()"
Linux Build Service Account [Thu, 6 Oct 2016 08:07:17 +0000 (01:07 -0700)]
Merge "sched: Fix a division by zero bug in scale_exec_time()"

7 years agoMerge "ARM: dts: msm: Vote for 681 MHz DDR for Fmax of all CPU speed bins"
Linux Build Service Account [Thu, 6 Oct 2016 08:07:16 +0000 (01:07 -0700)]
Merge "ARM: dts: msm: Vote for 681 MHz DDR for Fmax of all CPU speed bins"

7 years agoMerge "clk: qcom: Add support for RPM clocks for MSMfalcon"
Linux Build Service Account [Thu, 6 Oct 2016 08:07:15 +0000 (01:07 -0700)]
Merge "clk: qcom: Add support for RPM clocks for MSMfalcon"

7 years agoMerge "clk: qcom: Add support for gfx clock to ping pong PLLs"
Linux Build Service Account [Thu, 6 Oct 2016 08:07:14 +0000 (01:07 -0700)]
Merge "clk: qcom: Add support for gfx clock to ping pong PLLs"

7 years agoMerge "usb: gadget: f_qc_rndis: Add support for configfs"
Linux Build Service Account [Thu, 6 Oct 2016 08:07:13 +0000 (01:07 -0700)]
Merge "usb: gadget: f_qc_rndis: Add support for configfs"

7 years agoMerge "usb: gadget: f_qc_rndis: Add RNDIS support using IPA over BAM2BAM"
Linux Build Service Account [Thu, 6 Oct 2016 08:07:13 +0000 (01:07 -0700)]
Merge "usb: gadget: f_qc_rndis: Add RNDIS support using IPA over BAM2BAM"

7 years agoMerge "ASoC: msm: qdsp6v2: Update device mapping for 7 channel"
Linux Build Service Account [Thu, 6 Oct 2016 08:07:12 +0000 (01:07 -0700)]
Merge "ASoC: msm: qdsp6v2: Update device mapping for 7 channel"

7 years agoMerge "ARM: dts: msm: add ref_clk entries needed for DisplayPort"
Linux Build Service Account [Thu, 6 Oct 2016 08:07:11 +0000 (01:07 -0700)]
Merge "ARM: dts: msm: add ref_clk entries needed for DisplayPort"

7 years agoMerge "msm: mdss: increase SMMU mapping range for all context banks"
Linux Build Service Account [Thu, 6 Oct 2016 08:07:10 +0000 (01:07 -0700)]
Merge "msm: mdss: increase SMMU mapping range for all context banks"

7 years agoMerge "defconfig: enable secure touch option for Synaptics 2.0 for msmcobalt"
Linux Build Service Account [Thu, 6 Oct 2016 08:07:09 +0000 (01:07 -0700)]
Merge "defconfig: enable secure touch option for Synaptics 2.0 for msmcobalt"

7 years agoMerge "msm: camera: isp: Fix overflow recovery"
Linux Build Service Account [Thu, 6 Oct 2016 08:07:05 +0000 (01:07 -0700)]
Merge "msm: camera: isp: Fix overflow recovery"

7 years agoMerge "defconfig: msm: disable RMI4 dev module"
Linux Build Service Account [Thu, 6 Oct 2016 08:07:04 +0000 (01:07 -0700)]
Merge "defconfig: msm: disable RMI4 dev module"

7 years agoMerge "icnss: Ignore PD down if WLAN FW doesn't exists"
Linux Build Service Account [Thu, 6 Oct 2016 08:07:03 +0000 (01:07 -0700)]
Merge "icnss: Ignore PD down if WLAN FW doesn't exists"

7 years agoMerge "icnss: Handle graceful Modem shutdown"
Linux Build Service Account [Thu, 6 Oct 2016 08:07:03 +0000 (01:07 -0700)]
Merge "icnss: Handle graceful Modem shutdown"

7 years agoMerge "qpnp-smb2: smb-lib: expose step charging via battery psy properties"
Linux Build Service Account [Thu, 6 Oct 2016 08:06:56 +0000 (01:06 -0700)]
Merge "qpnp-smb2: smb-lib: expose step charging via battery psy properties"

7 years agoMerge "msm: sps: correct device base address for register dumping"
Linux Build Service Account [Thu, 6 Oct 2016 08:06:55 +0000 (01:06 -0700)]
Merge "msm: sps: correct device base address for register dumping"

7 years agoMerge "ARM: dts: msm: Add Temperature sensor support for msmtriton"
Linux Build Service Account [Thu, 6 Oct 2016 08:06:54 +0000 (01:06 -0700)]
Merge "ARM: dts: msm: Add Temperature sensor support for msmtriton"

7 years agoMerge "thermal: tsens: Enable TSENS for msmtriton"
Linux Build Service Account [Thu, 6 Oct 2016 08:06:54 +0000 (01:06 -0700)]
Merge "thermal: tsens: Enable TSENS for msmtriton"

7 years agoarm/arm64: Kconfig: Add support to use the CLK_QCOM for MSMfalcon
Taniya Das [Fri, 30 Sep 2016 05:37:37 +0000 (11:07 +0530)]
arm/arm64: Kconfig: Add support to use the CLK_QCOM for MSMfalcon

MSMfalcon requires to use COMMON_CLK and COMMON_CLK_QCOM as the clock
framework. Fix the following for CLK_QCOM
 - Add new configs for common clock framework.
 - Remove compilation of audio-ext for COMMON_CLK.
 - Remove ARCH hamster and cobalt from falcon defconfig.
 - Remove ARCH falcon from cobalt defconfig.

Change-Id: I560d62f9698ddf73848186a6740632735d574b0f
Signed-off-by: Taniya Das <tdas@codeaurora.org>
7 years agoMerge "soc: qcom: Use syncronization while freeing the qmi_client data"
Linux Build Service Account [Thu, 6 Oct 2016 02:29:28 +0000 (19:29 -0700)]
Merge "soc: qcom: Use syncronization while freeing the qmi_client data"

7 years agoMerge "Revert "scsi: ufs: gate ref_clk during aggressive clk gating""
Linux Build Service Account [Thu, 6 Oct 2016 02:29:27 +0000 (19:29 -0700)]
Merge "Revert "scsi: ufs: gate ref_clk during aggressive clk gating""

7 years agoMerge "msm: sensor: validate the i2c table index before use"
Linux Build Service Account [Thu, 6 Oct 2016 02:29:27 +0000 (19:29 -0700)]
Merge "msm: sensor: validate the i2c table index before use"

7 years agoMerge "ARM: dts: msm: Update VMEM bw for msmcobalt"
Linux Build Service Account [Thu, 6 Oct 2016 02:29:26 +0000 (19:29 -0700)]
Merge "ARM: dts: msm: Update VMEM bw for msmcobalt"

7 years agoMerge "power: bcl: Listen to battery power supply notification for soc"
Linux Build Service Account [Thu, 6 Oct 2016 02:29:25 +0000 (19:29 -0700)]
Merge "power: bcl: Listen to battery power supply notification for soc"

7 years agoMerge "sched: Fix integer overflow in sched_update_nr_prod()"
Linux Build Service Account [Thu, 6 Oct 2016 02:29:24 +0000 (19:29 -0700)]
Merge "sched: Fix integer overflow in sched_update_nr_prod()"

7 years agoMerge "msm: kgsl: Reschedule idle work in case transition to idle state fails"
Linux Build Service Account [Thu, 6 Oct 2016 02:29:24 +0000 (19:29 -0700)]
Merge "msm: kgsl: Reschedule idle work in case transition to idle state fails"

7 years agoMerge "clk: msm: clock-osm: Fix for programming the APM threshold on MSMCOBALT"
Linux Build Service Account [Thu, 6 Oct 2016 02:29:23 +0000 (19:29 -0700)]
Merge "clk: msm: clock-osm: Fix for programming the APM threshold on MSMCOBALT"

7 years agoMerge "clk: msm: clock-osm: Fix check to write to the LLM OVERRIDE register"
Linux Build Service Account [Thu, 6 Oct 2016 02:29:22 +0000 (19:29 -0700)]
Merge "clk: msm: clock-osm: Fix check to write to the LLM OVERRIDE register"

7 years agoMerge "rmnet_data: Changing format specifier to %pK"
Linux Build Service Account [Thu, 6 Oct 2016 02:29:21 +0000 (19:29 -0700)]
Merge "rmnet_data: Changing format specifier to %pK"

7 years agoMerge "defconfig: add the iommu options on msmfalcon"
Linux Build Service Account [Thu, 6 Oct 2016 02:29:21 +0000 (19:29 -0700)]
Merge "defconfig: add the iommu options on msmfalcon"

7 years agoMerge "coresight: hwtracing: fix dangling pointer issues"
Linux Build Service Account [Thu, 6 Oct 2016 02:29:20 +0000 (19:29 -0700)]
Merge "coresight: hwtracing: fix dangling pointer issues"

7 years agoMerge "input: synaptics_dsx: allocate heap memory for temp buf"
Linux Build Service Account [Thu, 6 Oct 2016 02:29:19 +0000 (19:29 -0700)]
Merge "input: synaptics_dsx: allocate heap memory for temp buf"

7 years agoMerge "sched: Add a device tree property to specify the sched boost type"
Linux Build Service Account [Thu, 6 Oct 2016 02:29:19 +0000 (19:29 -0700)]
Merge "sched: Add a device tree property to specify the sched boost type"

7 years agoMerge "wil6210: extract firmware version from file header"
Linux Build Service Account [Thu, 6 Oct 2016 02:29:18 +0000 (19:29 -0700)]
Merge "wil6210: extract firmware version from file header"

7 years agoMerge "arm: topology: Allow specifying the CPU efficiency from device tree"
Linux Build Service Account [Thu, 6 Oct 2016 02:29:17 +0000 (19:29 -0700)]
Merge "arm: topology: Allow specifying the CPU efficiency from device tree"

7 years agoMerge "ARM: dts: msm: add support for qdss nodes on msmfalcon"
Linux Build Service Account [Thu, 6 Oct 2016 02:29:16 +0000 (19:29 -0700)]
Merge "ARM: dts: msm: add support for qdss nodes on msmfalcon"

7 years agoMerge "RFC: FROMLIST: cgroup: reduce read locked section of cgroup_threadgroup_rwsem...
Linux Build Service Account [Thu, 6 Oct 2016 02:29:14 +0000 (19:29 -0700)]
Merge "RFC: FROMLIST: cgroup: reduce read locked section of cgroup_threadgroup_rwsem during fork"

7 years agosoc: qcom: Use syncronization while freeing the qmi_client data
Gaurav Kohli [Wed, 5 Oct 2016 07:04:02 +0000 (12:34 +0530)]
soc: qcom: Use syncronization while freeing the qmi_client data

Potential use after free possibility when trying to access qmi client
data in the ssr notification and root pd_down notification handling.

CRs-Fixed: 1074483
Change-Id: I5390810861dbc1da368757df2b20e5daa35bd081
Signed-off-by: Gaurav Kohli <gkohli@codeaurora.org>
7 years agoRevert "scsi: ufs: gate ref_clk during aggressive clk gating"
Venkat Gopalakrishnan [Wed, 5 Oct 2016 21:23:55 +0000 (14:23 -0700)]
Revert "scsi: ufs: gate ref_clk during aggressive clk gating"

This reverts commit ca91fa16a7af ("scsi: ufs: gate ref_clk during
aggressive clk gating").

Reverting this change as its causing stability issues.

Change-Id: Ia04d33d84b5622179f7a496daee5584d4e2dde91
Signed-off-by: Venkat Gopalakrishnan <venkatg@codeaurora.org>
7 years agoqpnp-smb2: smb-lib: expose step charging via battery psy properties
Harry Yang [Wed, 31 Aug 2016 23:14:29 +0000 (16:14 -0700)]
qpnp-smb2: smb-lib: expose step charging via battery psy properties

Allow for easy track of step charging. Show step charging
status (enable/disable) and phases.

CRs-Fixed: 1052854
Change-Id: I525fcedda71c4928c61825faeea519355675457a
Signed-off-by: Harry Yang <harryy@codeaurora.org>
7 years agoqcom-charger: add storm watch to qpnp-smb2 and smb138x-charger
Nicholas Troast [Wed, 3 Aug 2016 16:49:36 +0000 (09:49 -0700)]
qcom-charger: add storm watch to qpnp-smb2 and smb138x-charger

Interrupts are subject to storming in bad or unexpected circumstances.
Add the necessary structures to detect interrupt storms using storm watch.

Change-Id: Id3491b6f8927cb1ae7cbc8260defa697ca555765
Signed-off-by: Nicholas Troast <ntroast@codeaurora.org>
7 years agoqcom-charger: add support to watch storm of events
Nicholas Troast [Tue, 19 Jan 2016 20:34:45 +0000 (12:34 -0800)]
qcom-charger: add support to watch storm of events

Storm watch provides a simple API for tracking the occurrence of event
storms.

An event storm is defined as a cluster of events where there are
X events with no more than Y milliseconds between them, where X and Y
are configurable per event.

Querying whether a storm has occurred marks a new event.

Change-Id: Idf4bb1421d0dbec295f92f84174cd4bbc6130250
Signed-off-by: Nicholas Troast <ntroast@codeaurora.org>
7 years agoqcom-charger: Fix CC settings for PD session
Harry Yang [Wed, 21 Sep 2016 21:56:06 +0000 (14:56 -0700)]
qcom-charger: Fix CC settings for PD session

CC_OUT is the signal/status to the PD that indicates which of
the CC line is active. When its low CC1 is active and when
high CC2 is active.

During Source -> Sink Power Role Swap, CC_OUT is reset default
low (CC1 = CC) when SW sets the UFP/SNK_EN_CMD bit, losing the
plug orientation info and causing USB PD message error if CC2
was the CC pin.

Fix this by ensuring that s/w overrides the CC_OUT signal to
reflect the actual one, in preparation for a possible upcoming
power

CRs-Fixed: 1050738
Change-Id: I5877666c39ac9cad713a5802521527dd8552440c
Signed-off-by: Harry Yang <harryy@codeaurora.org>
7 years agormnet_data: Changing format specifier to %pK
Ashwanth Goli [Fri, 26 Aug 2016 09:33:49 +0000 (15:03 +0530)]
rmnet_data: Changing format specifier to %pK

Using %pK instead of %p to hide kernel pointers
based on kptr_restrict.

Change-Id: I065cff2a9e092d74d0e8c35da6551fab3805e83e
Signed-off-by: Ashwanth Goli <ashwanth@codeaurora.org>
7 years agodefconfig: add the iommu options on msmfalcon
Charan Teja Reddy [Thu, 15 Sep 2016 09:32:44 +0000 (02:32 -0700)]
defconfig: add the iommu options on msmfalcon

Add the IOMMU config options that are used for the correct operation of
IOMMU driver on msmfalcon.

Change-Id: Ia6c446eca8a42800e781dfdaf46eab7bd44c126f
Signed-off-by: Charan Teja Reddy <charante@codeaurora.org>
7 years agocoresight: hwtracing: fix dangling pointer issues
Charan Teja Reddy [Tue, 13 Sep 2016 12:16:41 +0000 (17:46 +0530)]
coresight: hwtracing: fix dangling pointer issues

Fix the dangling pointer issues on CoreSight that can cause the kernel
panic.

Change-Id: Ic20405cf2f64c6bc38e994780577b7da42cf6aba
Signed-off-by: Charan Teja Reddy <charante@codeaurora.org>
7 years agomsm: kgsl: Reschedule idle work in case transition to idle state fails
Deepak Kumar [Mon, 19 Sep 2016 15:03:22 +0000 (20:33 +0530)]
msm: kgsl: Reschedule idle work in case transition to idle state fails

Reschedule the idle work in case transition to idle state is rejected
because the GPU is busy. This change avoids the condition where
transition to NAP state gets rejected due to a pending IRQ which is
currently getting served by IRQ handler because of which GPU remains
in active state even when GPU is idle.

Change-Id: I472a30b6a0e83cdd6957ed12eaa39d0c7731fcb5
Signed-off-by: Deepak Kumar <dkumar@codeaurora.org>
7 years agoARM: dts: msm: Configure bimc-bwmon4 only for msmcobaltv2
Rohit Gupta [Tue, 4 Oct 2016 21:36:18 +0000 (14:36 -0700)]
ARM: dts: msm: Configure bimc-bwmon4 only for msmcobaltv2

The bimc-bwmon4 hardware module is only available on msmcobalt-v2.
Therefore move the bimc-bwmon4 setting to msmcobalt-v2 DT so
that msmcobalt-v1 can continue to use bimc-bwmon3 to measure DDR
bandwidth.

Change-Id: If6a44d83a4088e34eda3604ffa770b46653989f5
Signed-off-by: Rohit Gupta <rohgup@codeaurora.org>
7 years agoARM: dts: msm: Vote for 681 MHz DDR for Fmax of all CPU speed bins
Rohit Gupta [Sat, 1 Oct 2016 01:11:27 +0000 (18:11 -0700)]
ARM: dts: msm: Vote for 681 MHz DDR for Fmax of all CPU speed bins

Change the mapping table of mincpubw to vote for 681MHz at the Fmax
of the lower speed bins of the CPUs.

Change-Id: Ie8b9abaceaa8585ab5b132076772b9c7ca71cbfe
Signed-off-by: Rohit Gupta <rohgup@codeaurora.org>
7 years agoclk: msm: clock-osm: Fix for programming the APM threshold on MSMCOBALT
Deepak Katragadda [Mon, 3 Oct 2016 22:08:06 +0000 (15:08 -0700)]
clk: msm: clock-osm: Fix for programming the APM threshold on MSMCOBALT

The clock driver does not currently use the secure API to write the
APM threshold value. This leads to the value being always left as 0.
Fix the write.

CRs-Fixed: 1074198
Change-Id: I61d8f930f7fe8c3539803a1e9b942095df0b0f86
Signed-off-by: Deepak Katragadda <dkatraga@codeaurora.org>
7 years agopower: bcl: Listen to battery power supply notification for soc
Ram Chandrasekar [Mon, 3 Oct 2016 19:37:55 +0000 (13:37 -0600)]
power: bcl: Listen to battery power supply notification for soc

BCL gets the state of charge(soc) from the BMS power supply, which will
not capture the HLOS overidden soc value. This can create a scenario
where the mitigation will not be released if the soc value is
overridden in HLOS.

Use the battery supply notification, which can get the state of charge
value from the BMS or the HLOS overridden soc value if present.

Change-Id: I66d1ba1c6c3a942a80d3cee24746b00541fde3bc
Signed-off-by: Ram Chandrasekar <rkumbako@codeaurora.org>
7 years agoqpnp-smb2: introduce workaround bit mask
Harry Yang [Fri, 16 Sep 2016 18:14:49 +0000 (11:14 -0700)]
qpnp-smb2: introduce workaround bit mask

Add a bit mask to enable workarounds only if they are needed for a
particular hardware revision.

Change-Id: Ibd9a896ff6746a48ddab249d7c8ab762ed3c2fbe
Signed-off-by: Harry Yang <harryy@codeaurora.org>
Signed-off-by: Nicholas Troast <ntroast@codeaurora.org>
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
7 years agoclk: msm: clock-osm: Fix check to write to the LLM OVERRIDE register
Deepak Katragadda [Fri, 30 Sep 2016 23:51:50 +0000 (16:51 -0700)]
clk: msm: clock-osm: Fix check to write to the LLM OVERRIDE register

On MSMCOBALT v2, the qcom,llm-sw-overr flag is no longer needed.
This causes an issue where the corresponding array in code is not
filled up but the check to make the writes to the llm register
still succeeds. This leads to us writing 0 to the register
erroneously multiple times. Fix this check.

CRs-Fixed: 1074141
Change-Id: I2dd529a78d06ac08a34546df39cb01ad4c6cb3d5
Signed-off-by: Deepak Katragadda <dkatraga@codeaurora.org>
7 years agoclk: qcom: Add support for gfx clock to ping pong PLLs
Taniya Das [Thu, 29 Sep 2016 08:14:03 +0000 (13:44 +0530)]
clk: qcom: Add support for gfx clock to ping pong PLLs

GFX3D clock source might require to ping pong between the available PLL
sources, so add support to check the current source and switch the next PLL
source for different frequency.

Change-Id: Iaf98e4d18fc0c3deb75ccce53e1c09cfc9dde550
Signed-off-by: Taniya Das <tdas@codeaurora.org>
7 years agoclk: qcom: Add support for RPM clocks for MSMfalcon
Taniya Das [Tue, 4 Oct 2016 05:49:33 +0000 (11:19 +0530)]
clk: qcom: Add support for RPM clocks for MSMfalcon

RPM controlled clocks are required by clients to be able to enable/disable.
Also add support for the PMIC XO clocks and QDSS clocks.

Change-Id: I210432d27f433f3160db53a842e503c83fd14891
Signed-off-by: Taniya Das <tdas@codeaurora.org>
7 years agosched: Fix integer overflow in sched_update_nr_prod()
Pavankumar Kondeti [Wed, 28 Sep 2016 06:51:03 +0000 (12:21 +0530)]
sched: Fix integer overflow in sched_update_nr_prod()

"int" type is used to hold the time difference between the successive
updates to nr_run in sched_update_nr_prod(). This can result in
overflow, if the function is called ~2.15 sec after it was called
before. The most probable scenarios are when CPU is idle and
hotplugged. But as we update the last_time of all possible CPUs in
sched_get_nr_running_avg() periodically from a deferrable timer context
(core_ctl module), this overflow is observed only when the system is
completely idle for long time. When this overflow happens we hit
a BUG_ON() in sched_get_nr_running_avg().

Use "u64" type instead of "int" for holding the time difference and
add additional BUG_ON() to catch the instances where sched_clock()
returns a backward value.

Change-Id: I284abb5889ceb8cf9cc689c79ed69422a0e74986
Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
7 years agoMerge "clk: msm: clock-gpu-cobalt: Update the graphics core clock frequency"
Linux Build Service Account [Mon, 3 Oct 2016 17:35:03 +0000 (10:35 -0700)]
Merge "clk: msm: clock-gpu-cobalt: Update the graphics core clock frequency"

7 years agoMerge "sched: Fix CPU selection when all online CPUs are isolated"
Linux Build Service Account [Mon, 3 Oct 2016 17:35:02 +0000 (10:35 -0700)]
Merge "sched: Fix CPU selection when all online CPUs are isolated"

7 years agoMerge "ARM: dts: msm: enable mi2s and aux pcm on msmcobalt"
Linux Build Service Account [Mon, 3 Oct 2016 17:35:01 +0000 (10:35 -0700)]
Merge "ARM: dts: msm: enable mi2s and aux pcm on msmcobalt"

7 years agoMerge "ARM: dts: msm: add support for TDM"
Linux Build Service Account [Mon, 3 Oct 2016 17:35:01 +0000 (10:35 -0700)]
Merge "ARM: dts: msm: add support for TDM"

7 years agoMerge "ARM: dts: msm: Remove clocks listed under GPU, PCIE, USB & MDSS GDSC nodes"
Linux Build Service Account [Mon, 3 Oct 2016 17:35:00 +0000 (10:35 -0700)]
Merge "ARM: dts: msm: Remove clocks listed under GPU, PCIE, USB & MDSS GDSC nodes"

7 years agoMerge "sched: Add a stub function for init_clusters()"
Linux Build Service Account [Mon, 3 Oct 2016 17:34:59 +0000 (10:34 -0700)]
Merge "sched: Add a stub function for init_clusters()"

7 years agoMerge "sched: add a knob to prefer the waker CPU for sync wakeups"
Linux Build Service Account [Mon, 3 Oct 2016 17:34:58 +0000 (10:34 -0700)]
Merge "sched: add a knob to prefer the waker CPU for sync wakeups"

7 years agoMerge "ASoC: msm: qdsp6v2: Fix improper channel config for aac"
Linux Build Service Account [Mon, 3 Oct 2016 17:34:58 +0000 (10:34 -0700)]
Merge "ASoC: msm: qdsp6v2: Fix improper channel config for aac"

7 years agoMerge "ASoC: msm: Update the error handling when APR sends packet failed"
Linux Build Service Account [Mon, 3 Oct 2016 17:34:57 +0000 (10:34 -0700)]
Merge "ASoC: msm: Update the error handling when APR sends packet failed"

7 years agoMerge "hrtimer: Ensure timer is not running before migrating"
Linux Build Service Account [Mon, 3 Oct 2016 17:34:56 +0000 (10:34 -0700)]
Merge "hrtimer: Ensure timer is not running before migrating"

7 years agoMerge "ARM: dts: msm: add TSPP support for msmcobalt"
Linux Build Service Account [Mon, 3 Oct 2016 17:34:55 +0000 (10:34 -0700)]
Merge "ARM: dts: msm: add TSPP support for msmcobalt"

7 years agoMerge "input: synaptics_dsx_core: make clocks as optional for secure touch"
Linux Build Service Account [Mon, 3 Oct 2016 17:34:54 +0000 (10:34 -0700)]
Merge "input: synaptics_dsx_core: make clocks as optional for secure touch"

7 years agoMerge "blk-mq: use static mapping"
Linux Build Service Account [Mon, 3 Oct 2016 17:34:53 +0000 (10:34 -0700)]
Merge "blk-mq: use static mapping"

7 years agoMerge "defconfig: msmcortex: disable RMI4 dev module"
Linux Build Service Account [Mon, 3 Oct 2016 17:34:52 +0000 (10:34 -0700)]
Merge "defconfig: msmcortex: disable RMI4 dev module"

7 years agodefconfig: enable secure touch option for Synaptics 2.0 for msmcobalt
Abinaya P [Wed, 28 Sep 2016 05:05:27 +0000 (10:35 +0530)]
defconfig: enable secure touch option for Synaptics 2.0 for msmcobalt

msmcobalt CDP/MTP uses Secure touch on Synaptics controller. Hence, enable
Secure touch for Synaptics 2.0 touch driver.

Change-Id: I8b89e71428f566d72e6c2e0026bda207ec53e71c
Signed-off-by: Abinaya P <abinayap@codeaurora.org>
7 years agoMerge "msm: vidc: Disable power collapse for HFR"
Linux Build Service Account [Mon, 3 Oct 2016 12:54:42 +0000 (05:54 -0700)]
Merge "msm: vidc: Disable power collapse for HFR"

7 years agoMerge "ASoC: msm: qdsp6v2: add routing map for multimedia6"
Linux Build Service Account [Mon, 3 Oct 2016 12:54:41 +0000 (05:54 -0700)]
Merge "ASoC: msm: qdsp6v2: add routing map for multimedia6"

7 years agoMerge "clk: qcom: Add support to force enable/disable the RCG"
Linux Build Service Account [Mon, 3 Oct 2016 12:54:40 +0000 (05:54 -0700)]
Merge "clk: qcom: Add support to force enable/disable the RCG"

7 years agoMerge "ARM: dts: msm: Add the pmfalcon and pm2falcon dtsi files"
Linux Build Service Account [Mon, 3 Oct 2016 12:54:38 +0000 (05:54 -0700)]
Merge "ARM: dts: msm: Add the pmfalcon and pm2falcon dtsi files"

7 years agoMerge "Bluetooth: HID: Add Bus type for specific HID Keyboard"
Linux Build Service Account [Mon, 3 Oct 2016 12:54:38 +0000 (05:54 -0700)]
Merge "Bluetooth: HID: Add Bus type for specific HID Keyboard"

7 years agoinput: synaptics_dsx: allocate heap memory for temp buf
Ravi Kumar Siddojigari [Tue, 20 Sep 2016 08:57:36 +0000 (14:27 +0530)]
input: synaptics_dsx: allocate heap memory for temp buf

There is a possible stack overflow vulnerability in the rmidev_write
function because the stack array size is from user space.
changes to allocate heap memory for the temporary buffer instead of
stack memory to prevent the stack overflow vulnerability.
As discussed under  CVE-2016-3865 and ANDROID-28799389.

Change-Id: I20f639e09aaf3c533c98a12a2413570feae3d6d0
Signed-off-by: Ravi Kumar Siddojigari <rsiddoji@codeaurora.org>
Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
7 years agoASoC: msm: qdsp6v2: Fix improper channel config for aac
Naresh Tanniru [Wed, 21 Sep 2016 11:26:40 +0000 (16:56 +0530)]
ASoC: msm: qdsp6v2: Fix improper channel config for aac

AAC encode is failing in ADSP due to mismatch
in channel config datatype.
Update channel config data type for aac encoder.

Change-Id: I844d6e1ac1b2b171cd74a2601ae09280a22589c9
Signed-off-by: Naresh Tanniru <ntanniru@codeaurora.org>
7 years agousb: gadget: f_qc_rndis: Add support for configfs
Chandana Kishori Chiluveru [Wed, 28 Sep 2016 05:30:23 +0000 (11:00 +0530)]
usb: gadget: f_qc_rndis: Add support for configfs

Add APIs to allocate and instanciate f_qc_rndis function
driver using configFS.

Change-Id: I24f3dcb14c6467ab4c2d2eda464dfacda2c5b426
Signed-off-by: Chandana Kishori Chiluveru <cchiluve@codeaurora.org>
7 years agousb: gadget: f_qc_rndis: Add RNDIS support using IPA over BAM2BAM
Chandana Kishori Chiluveru [Fri, 9 Sep 2016 09:41:32 +0000 (15:11 +0530)]
usb: gadget: f_qc_rndis: Add RNDIS support using IPA over BAM2BAM

On some targets RNDIS function uses BAM to BAM transport, and is
handled by the f_qc_rndis driver. This change adds RNDIS support
using IPA over BAM2BAM. Also removes all different supported control
and data transports and assume BAM2BAM_IPA as default mode. RNDIS UL
changes using software path also removed as IPA supports both UL
and DL on latest products.

DPL support will be added in subsequent patches.

Change-Id: I8f7bf069523a8f3ea37e0a32a2e32830944a5c97
Signed-off-by: Chandana Kishori Chiluveru <cchiluve@codeaurora.org>
7 years agodefconfig: msm: disable RMI4 dev module
Shantanu Jain [Thu, 29 Sep 2016 09:13:40 +0000 (14:43 +0530)]
defconfig: msm: disable RMI4 dev module

Synaptics driver supports an RMI4 dev module to
interact with userspace. Disable the module due to
security concerns.

CRs-Fixed: 1073043
Change-Id: I24e3f888167b7ff593373bfc4a55ce81cfc9e5c7
Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
7 years agoARM: dts: msm: enable mi2s and aux pcm on msmcobalt
Kuirong Wang [Fri, 16 Sep 2016 21:12:27 +0000 (14:12 -0700)]
ARM: dts: msm: enable mi2s and aux pcm on msmcobalt

Add device tree changes to enable mi2s and aux pcm so audio
can be playback and capture via mi2s and aux pcm interfaces.

CRs-Fixed: 1047362 1047365
Change-Id: I6d8f31cf841cb977bd1d7af3441b9d2c1da9b85c
Signed-off-by: Kuirong Wang <kuirongw@codeaurora.org>
7 years agosched: Add a device tree property to specify the sched boost type
Pavankumar Kondeti [Sat, 1 Oct 2016 05:36:54 +0000 (11:06 +0530)]
sched: Add a device tree property to specify the sched boost type

The HMP scheduler has two types of task placement boost policies.

(1) boost-on-big policy make use of all big CPUs up to their full capacity
before using the little CPUs. This improves performance on true b.L systems
where the big CPUs have higher efficiency compared to the little CPUs.

(2) boost-on-all policy place the tasks on the CPU having the highest
spare capacity. This policy is optimal for SMP like systems.

The scheduler sets the boost policy to boost-on-big on systems which has
CPUs of different efficiencies. However it is possible that CPUs of the
same micro architecture to have slight difference in efficiency due to
other factors like cache size. Selecting the boost-on-big policy based
on relative difference in efficiency is not optimal on such systems.
The boost-policy device tree property is introduced to specify the
required boost type and it overrides the default selection of boost
type in the scheduler. The possible values for this property are
"boost-on-big" and "boost-on-all".

Change-Id: Iac19183fa7d4bfd9e5746b02a02b2b19cf64b78d
Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
7 years agosched: Add a stub function for init_clusters()
Pavankumar Kondeti [Sat, 1 Oct 2016 05:36:13 +0000 (11:06 +0530)]
sched: Add a stub function for init_clusters()

Add a stub function for init_cluster() and remove a ifdefry
for SCHED_HMP in sched_init()

Change-Id: I6745485152d735436d8398818f7fb5e70ce5ee65
Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
7 years agosched: add a knob to prefer the waker CPU for sync wakeups
Pavankumar Kondeti [Tue, 6 Sep 2016 06:29:28 +0000 (11:59 +0530)]
sched: add a knob to prefer the waker CPU for sync wakeups

The current policy has a preference to select an idle CPU in the waker
cluster compared to the waker CPU running only 1 task. By selecting
an idle CPU, it eliminates the chance of waker migrating to a
different CPU after the wakee preempts it. This policy is also not
susceptible to the incorrect "sync" usage i.e the waker does not
goto sleep after waking up the wakee.

However LPM exit latency associated with an idle CPU outweigh the
above benefits on some targets. So add a knob to prefer the waker
CPU having only 1 runnable task over idle CPUs in the waker cluster.

Change-Id: Id974748c07625c1b19112235f426a5d204dfdb33
Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
7 years agoMerge "usb: gadget: f_cdev: Fix memory leak with func_name"
Linux Build Service Account [Sat, 1 Oct 2016 17:41:53 +0000 (10:41 -0700)]
Merge "usb: gadget: f_cdev: Fix memory leak with func_name"

7 years agoMerge "usb: gadget: f_cdev: Remove func_name and port_num attributes"
Linux Build Service Account [Sat, 1 Oct 2016 17:41:52 +0000 (10:41 -0700)]
Merge "usb: gadget: f_cdev: Remove func_name and port_num attributes"

7 years agosched: Fix a division by zero bug in scale_exec_time()
Pavankumar Kondeti [Fri, 30 Sep 2016 14:18:22 +0000 (19:48 +0530)]
sched: Fix a division by zero bug in scale_exec_time()

When cycle_counter is used to estimate the frequency, calling
update_task_ravg() twice on the same task without refreshing
the wallclock results in a division by zero bug. Add a safety
check in update_task_ravg() to prevent this.

The above bug is hit from __schedule() when next == prev. There
is no need to call update_task_ravg() twice for PUT_PREV_TASK
and PICK_NEXT_TASK events for the same task. Calling
update_task_ravg() with TASK_UPDATE event is sufficient.

Change-Id: Ib3af9004f2462618c535b8195377bedb584d0261
Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
7 years agoMerge "ASoC: soc: change audio cpe drivers to use %pK"
Linux Build Service Account [Sat, 1 Oct 2016 01:24:05 +0000 (18:24 -0700)]
Merge "ASoC: soc: change audio cpe drivers to use %pK"

7 years agoMerge "msm: secure_buffer: Add VMID_CP_CAMERA_PREVIEW"
Linux Build Service Account [Sat, 1 Oct 2016 01:24:04 +0000 (18:24 -0700)]
Merge "msm: secure_buffer: Add VMID_CP_CAMERA_PREVIEW"

7 years agoMerge "scsi: ufs: gate ref_clk during aggressive clk gating"
Linux Build Service Account [Sat, 1 Oct 2016 01:24:03 +0000 (18:24 -0700)]
Merge "scsi: ufs: gate ref_clk during aggressive clk gating"

7 years agoMerge "clk: qcom: Add support to register rpm-smd clocks"
Linux Build Service Account [Sat, 1 Oct 2016 01:24:02 +0000 (18:24 -0700)]
Merge "clk: qcom: Add support to register rpm-smd clocks"

7 years agoMerge "msm: kgsl: Change GPU clock gating sequence for A4XX and A5XX"
Linux Build Service Account [Sat, 1 Oct 2016 01:24:02 +0000 (18:24 -0700)]
Merge "msm: kgsl: Change GPU clock gating sequence for A4XX and A5XX"