OSDN Git Service

sagit-ice-cold/kernel_xiaomi_msm8998.git
7 years agoMerge "ARM: dts: msm: Add bluetooth node for WCN3990 in msm8998 QRD SKUK"
Linux Build Service Account [Tue, 29 Nov 2016 07:57:47 +0000 (23:57 -0800)]
Merge "ARM: dts: msm: Add bluetooth node for WCN3990 in msm8998 QRD SKUK"

7 years agoMerge "ARM: dts: msm: Add bluetooth node for WCN3990 in msm8998 QRD VR1"
Linux Build Service Account [Tue, 29 Nov 2016 07:57:47 +0000 (23:57 -0800)]
Merge "ARM: dts: msm: Add bluetooth node for WCN3990 in msm8998 QRD VR1"

7 years agoMerge "clk: msm: Add clock_debug_print_enabled for common clock"
Linux Build Service Account [Tue, 29 Nov 2016 07:57:45 +0000 (23:57 -0800)]
Merge "clk: msm: Add clock_debug_print_enabled for common clock"

7 years agoMerge "adreno_tz: Fix divide by zero problem in gpu_load_show()"
Linux Build Service Account [Tue, 29 Nov 2016 07:57:44 +0000 (23:57 -0800)]
Merge "adreno_tz: Fix divide by zero problem in gpu_load_show()"

7 years agoMerge "msm: camera: ispif: Ratelimit message"
Linux Build Service Account [Tue, 29 Nov 2016 07:57:43 +0000 (23:57 -0800)]
Merge "msm: camera: ispif: Ratelimit message"

7 years agoMerge "ARM: dts: msm: Modify ACD_EXTINT_CFG value for msm8998 v2"
Linux Build Service Account [Tue, 29 Nov 2016 07:57:36 +0000 (23:57 -0800)]
Merge "ARM: dts: msm: Modify ACD_EXTINT_CFG value for msm8998 v2"

7 years agoMerge "msm: mdss: fix intf_num in irq enable/disable for CWB"
Linux Build Service Account [Tue, 29 Nov 2016 07:57:35 +0000 (23:57 -0800)]
Merge "msm: mdss: fix intf_num in irq enable/disable for CWB"

7 years agoMerge "defconfig: msm: Add the perf config for msmfalcon target"
Linux Build Service Account [Tue, 29 Nov 2016 07:57:33 +0000 (23:57 -0800)]
Merge "defconfig: msm: Add the perf config for msmfalcon target"

7 years agoMerge "ARM: dts: msm: update clock regulator nodes for msm8998 interposer"
Linux Build Service Account [Tue, 29 Nov 2016 07:57:33 +0000 (23:57 -0800)]
Merge "ARM: dts: msm: update clock regulator nodes for msm8998 interposer"

7 years agoMerge "qos: Register irq notify after adding the qos request"
Linux Build Service Account [Tue, 29 Nov 2016 07:57:32 +0000 (23:57 -0800)]
Merge "qos: Register irq notify after adding the qos request"

7 years agoMerge "wil6210: support FTM/AOA while unassociated"
Linux Build Service Account [Tue, 29 Nov 2016 07:57:31 +0000 (23:57 -0800)]
Merge "wil6210: support FTM/AOA while unassociated"

7 years agoMerge "ARM: dts: msm: Add VADC_HC and BTM channels for QVR8998"
Linux Build Service Account [Tue, 29 Nov 2016 07:57:30 +0000 (23:57 -0800)]
Merge "ARM: dts: msm: Add VADC_HC and BTM channels for QVR8998"

7 years agoMerge "ARM: dts: msm: Add VADC_HC and BTM channels for QRD8998 SKUK"
Linux Build Service Account [Tue, 29 Nov 2016 07:57:29 +0000 (23:57 -0800)]
Merge "ARM: dts: msm: Add VADC_HC and BTM channels for QRD8998 SKUK"

7 years agoMerge "diag: Fix possible access to freed variable"
Linux Build Service Account [Tue, 29 Nov 2016 07:57:28 +0000 (23:57 -0800)]
Merge "diag: Fix possible access to freed variable"

7 years agoMerge "arm64: avoid segfault on el0 cache maintenance"
Linux Build Service Account [Tue, 29 Nov 2016 07:57:26 +0000 (23:57 -0800)]
Merge "arm64: avoid segfault on el0 cache maintenance"

7 years agoMerge "msm: mdss: Fix potential deferencing of null pointer"
Linux Build Service Account [Tue, 29 Nov 2016 07:57:25 +0000 (23:57 -0800)]
Merge "msm: mdss: Fix potential deferencing of null pointer"

7 years agoMerge "msm: mdss: hdmi: fix potential null deference errors"
Linux Build Service Account [Tue, 29 Nov 2016 07:56:44 +0000 (23:56 -0800)]
Merge "msm: mdss: hdmi: fix potential null deference errors"

7 years agoMerge "qseecom: fix incomplete error handling for several functions"
Linux Build Service Account [Mon, 28 Nov 2016 22:56:48 +0000 (14:56 -0800)]
Merge "qseecom: fix incomplete error handling for several functions"

7 years agoMerge "Revert "scsi: ufs: disable ah8 during suspend and enable it on resume""
Linux Build Service Account [Mon, 28 Nov 2016 22:56:47 +0000 (14:56 -0800)]
Merge "Revert "scsi: ufs: disable ah8 during suspend and enable it on resume""

7 years agoMerge "usb: pd: pdphy: Update Tx Trim setting"
Linux Build Service Account [Mon, 28 Nov 2016 22:56:45 +0000 (14:56 -0800)]
Merge "usb: pd: pdphy: Update Tx Trim setting"

7 years agoMerge "USB: dwc3-msm: clear in_restart flag always in restart work"
Linux Build Service Account [Mon, 28 Nov 2016 22:56:44 +0000 (14:56 -0800)]
Merge "USB: dwc3-msm: clear in_restart flag always in restart work"

7 years agoMerge "USB: dwc3-msm: Fix issue related to error recovery for ERRATIC ERROR"
Linux Build Service Account [Mon, 28 Nov 2016 22:56:43 +0000 (14:56 -0800)]
Merge "USB: dwc3-msm: Fix issue related to error recovery for ERRATIC ERROR"

7 years agoMerge "msm: mdss: Fix disabling destination scalar using 4K panel"
Linux Build Service Account [Mon, 28 Nov 2016 22:56:42 +0000 (14:56 -0800)]
Merge "msm: mdss: Fix disabling destination scalar using 4K panel"

7 years agoMerge "msm: mdss: fix some potential issues in HDMI driver"
Linux Build Service Account [Mon, 28 Nov 2016 22:56:41 +0000 (14:56 -0800)]
Merge "msm: mdss: fix some potential issues in HDMI driver"

7 years agoMerge "msm: mdss: add support to change HDMI PLL PPM"
Linux Build Service Account [Mon, 28 Nov 2016 22:56:40 +0000 (14:56 -0800)]
Merge "msm: mdss: add support to change HDMI PLL PPM"

7 years agoMerge "ARM: dts: msm: add UFS_RESET pin ctrl data for msm8998"
Linux Build Service Account [Mon, 28 Nov 2016 22:56:38 +0000 (14:56 -0800)]
Merge "ARM: dts: msm: add UFS_RESET pin ctrl data for msm8998"

7 years agoMerge "pinctrl: qcom: add UFS_RESET pin data for msm8998"
Linux Build Service Account [Mon, 28 Nov 2016 22:56:37 +0000 (14:56 -0800)]
Merge "pinctrl: qcom: add UFS_RESET pin data for msm8998"

7 years agoMerge "smb-lib: fix vbus-error handler"
Linux Build Service Account [Mon, 28 Nov 2016 22:56:35 +0000 (14:56 -0800)]
Merge "smb-lib: fix vbus-error handler"

7 years agoMerge "msm: mdss: add atraces to track switch cmd delays"
Linux Build Service Account [Mon, 28 Nov 2016 22:56:34 +0000 (14:56 -0800)]
Merge "msm: mdss: add atraces to track switch cmd delays"

7 years agoARM: dts: msm: Modify ACD_EXTINT_CFG value for msm8998 v2
Osvaldo Banuelos [Tue, 15 Nov 2016 18:35:01 +0000 (10:35 -0800)]
ARM: dts: msm: Modify ACD_EXTINT_CFG value for msm8998 v2

Modify ACD_EXTINT_CFG so that ACD calibrates every time OSM toggles
full freq signal. This is recommended by hardware guidelines to
prevent ACD from mitigating when CPU clock frequency is boosted.

CRs-Fixed: 1088429
Change-Id: I07856ea8b332dbf12654fdd0b5d5518355f1c350
Signed-off-by: Osvaldo Banuelos <osvaldob@codeaurora.org>
7 years agoARM: dts: msm: add mem-acc thresholds for msm8998 v2
Osvaldo Banuelos [Thu, 10 Nov 2016 02:26:44 +0000 (18:26 -0800)]
ARM: dts: msm: add mem-acc thresholds for msm8998 v2

Add mem-acc threshold and crossover voltage properties to the
VDD_APC0/1 CPR devices and a matching mem-acc crossover voltage
to the OSM device. Update the APM threshold voltage
to 800 mV for both clusters.

CRs-Fixed: 1088429
Change-Id: I747fd7665401803998b2824ace6dedbc5797b17f
Signed-off-by: Osvaldo Banuelos <osvaldob@codeaurora.org>
7 years agoclk: msm: clock-osm: add support for MEM ACC threshold voltage
David Collins [Wed, 9 Nov 2016 02:38:34 +0000 (18:38 -0800)]
clk: msm: clock-osm: add support for MEM ACC threshold voltage

Add support for configuring the highest memory accelerator
(MEM ACC) threshold voltage.  This threshold voltage is used at
runtime to determine which CPRh virtual corner to program into
the OSM sequencer registers in place of the fixed MEM ACC
configuration specified in the OSM LUT.

CRs-Fixed: 1088429
Change-Id: Ida29eaca139c1ddd6439d11a8bd51526366f2a34
Signed-off-by: David Collins <collinsd@codeaurora.org>
7 years agoregulator: cprh-regulator: add support for MEM ACC threshold voltage
David Collins [Wed, 9 Nov 2016 01:05:09 +0000 (17:05 -0800)]
regulator: cprh-regulator: add support for MEM ACC threshold voltage

Add support for configuring the memory accelerator (MEM ACC)
threshold voltage and the MEM ACC crossover voltage.
The threshold voltage is used to restrict the floor to ceiling
voltage range of all corners so that they cannot cross the
the MEM ACC threshold voltage due to CPR operation.  The
crossover voltage is set when switching the MEM ACC
configuration.

If specified, the APM and MEM ACC crossover voltages are added
to the array of corners after all true corners.  If both are
specified, then the APM crossover corner is added before the MEM
ACC crossover corner (i.e. last corner = MEM ACC crossover and
second to last corner = APM crossover).

CRs-Fixed: 1088429
Change-Id: I2b9b746071579ba9d4bcdcfb6cb755ca08a73182
Signed-off-by: David Collins <collinsd@codeaurora.org>
7 years agomsm: camera: ispif: Ratelimit message
Shubhraprakash Das [Tue, 15 Nov 2016 03:39:54 +0000 (19:39 -0800)]
msm: camera: ispif: Ratelimit message

Ratelimit the overflow message to prevent WD bark.

Change-Id: Icb098d6f3bf7ff309a315b05c571df8c870f27a2
CRs-Fixed: 1086892
Signed-off-by: Shubhraprakash Das <sadas@codeaurora.org>
7 years agoARM: dts: msm: support perf cluster speed bins 2 and 3 for msm8998 v2
Osvaldo Banuelos [Tue, 1 Nov 2016 16:41:59 +0000 (09:41 -0700)]
ARM: dts: msm: support perf cluster speed bins 2 and 3 for msm8998 v2

Add support for addtional performance cluster speed bins. Speed bin
fuse 2 and 3 devices can run with a quad core CPU fmax of 2.361 GHz and
single core CPU fmax of 2.457 GHz.

CRs-Fixed: 1086294
Change-Id: I08c3b8bc7e4d40c80be588f05b9439b339f46afc
Signed-off-by: Osvaldo Banuelos <osvaldob@codeaurora.org>
7 years agoARM: dts: msm: add support for VDD_APC CPR speed bins 2/3 for msm8998v2
Osvaldo Banuelos [Mon, 14 Nov 2016 21:27:34 +0000 (13:27 -0800)]
ARM: dts: msm: add support for VDD_APC CPR speed bins 2/3 for msm8998v2

Update the VDD_APC0 and VDD_APC1 CPR devices to support two additional
speed bins. This allows CPR operation on bin 2 and 3 parts which have
different performance cluster frequency configurations compared to bin
0 and 1.

CRs-Fixed: 1086294
Change-Id: Id0854f1094ee3e4d4b1961f98a77003f7bcca1da
Signed-off-by: Osvaldo Banuelos <osvaldob@codeaurora.org>
7 years agoclk: msm: osm: refactor logic to handle multiple boost frequencies
Osvaldo Banuelos [Sat, 29 Oct 2016 03:12:30 +0000 (20:12 -0700)]
clk: msm: osm: refactor logic to handle multiple boost frequencies

The OSM LUT may have duplicate frequencies between one
and four core count compatible frequencies. If the selected
frequency exists for both single and quad core, select the quad
core frequency by default. Also, expose only 4-core frequencies
and the absolute maximum frequency to clock consumers.

CRs-Fixed: 1086294
Change-Id: I2424bfdfd381241d307862113451082a9727a903
Signed-off-by: Osvaldo Banuelos <osvaldob@codeaurora.org>
7 years agoclk: msm: clock-osm: correct OSM sequencer register virtual corner writes
David Collins [Wed, 9 Nov 2016 00:06:56 +0000 (16:06 -0800)]
clk: msm: clock-osm: correct OSM sequencer register virtual corner writes

The values written into OSM sequencer registers #55 to #58
correspond to indexes into the CPRh virtual corner table not
indexes into the OSM table.  Correct this.

Change-Id: I02baca9a410f08c82c34fe82925c0ead22111e5b
CRs-Fixed: 1086294
Signed-off-by: David Collins <collinsd@codeaurora.org>
7 years agoARM: dts: msm: update L2 SAW configuration for msm8998 v2
Osvaldo Banuelos [Sat, 5 Nov 2016 00:52:43 +0000 (17:52 -0700)]
ARM: dts: msm: update L2 SAW configuration for msm8998 v2

The maximum VDD_APC1 voltage has been increased to 1.136 V
for msm8998 v2. Update the AVS limits of L2 SAW and the
CPR aging reference voltage to reflect this.

CRs-Fixed: 1086294
Change-Id: I863bee32e1e66d9656fc70748628b25606b59e47
Signed-off-by: Osvaldo Banuelos <osvaldob@codeaurora.org>
7 years agoregulator: cprh-kbss-regulator: increase supported fuse combo count
Osvaldo Banuelos [Fri, 4 Nov 2016 19:01:36 +0000 (12:01 -0700)]
regulator: cprh-kbss-regulator: increase supported fuse combo count

Support a total of 32 fuse combos to cater to MSM8998
parts blown with speed-bins 2 and 3.

CRs-Fixed: 1086294
Change-Id: Id03a418f66c9cbb51c2be6904f682d15e82f78c8
Signed-off-by: Osvaldo Banuelos <osvaldob@codeaurora.org>
7 years agoARM: dts: msm: Update VDD_APC CPR voltages for msm8998 v2
Osvaldo Banuelos [Mon, 7 Nov 2016 18:12:41 +0000 (10:12 -0800)]
ARM: dts: msm: Update VDD_APC CPR voltages for msm8998 v2

Update the VDD_APC0/1 max floor to ceiling range as well
as the open-loop and closed-loop Nominal fuse corner
adjustments to match the latest hardware characterization.

CRs-Fixed: 1086294
Change-Id: I920175ab16d5a3fc5cd3f117bba3fd1d37db3c5d
Signed-off-by: Osvaldo Banuelos <osvaldob@codeaurora.org>
7 years agoARM: dts: msm: Enable ACD on msm8998 v2
Osvaldo Banuelos [Fri, 9 Sep 2016 20:42:02 +0000 (13:42 -0700)]
ARM: dts: msm: Enable ACD on msm8998 v2

Add the necessary configuration to the OSM clock device in
msm8998 v2 to initialize ACD.

Change-Id: Ibdb861a50ad654be34e14e2bcc012fdf5063acaf
CRs-Fixed: 1053383
Signed-off-by: Osvaldo Banuelos <osvaldob@codeaurora.org>
7 years agoqseecom: fix incomplete error handling for several functions
Zhen Kong [Mon, 7 Nov 2016 23:39:43 +0000 (15:39 -0800)]
qseecom: fix incomplete error handling for several functions

Perform a complete or adequate check of return codes for several
functions, including __qseecom_enable_clk, ion_do_cache_op and
ion_sg_table(), used by qseecom.

Change-Id: Ib1682bdc6d3034a22586af62a3d8986c54d369d5
Signed-off-by: Zhen Kong <zkong@codeaurora.org>
7 years agoclk: msm: Add clock_debug_print_enabled for common clock
Taniya Das [Mon, 28 Nov 2016 07:56:48 +0000 (13:26 +0530)]
clk: msm: Add clock_debug_print_enabled for common clock

Allow clients of common clock framework to be able to use the
clock_debug_print_enable API.

Change-Id: Ia8e69dca8c0b84e4daf8ff1f4fb902d11435db76
Signed-off-by: Taniya Das <tdas@codeaurora.org>
7 years agoARM: dts: msm: update clock regulator nodes for msm8998 interposer
Taniya Das [Mon, 21 Nov 2016 08:56:31 +0000 (14:26 +0530)]
ARM: dts: msm: update clock regulator nodes for msm8998 interposer

The clock nodes require the regulator nodes to be updated for interposer,
so add the same. Also update the gfx rail regulator phandle.

Change-Id: I08580f4eb04660cd1d123065976ba9bfec61b7d8
Signed-off-by: Taniya Das <tdas@codeaurora.org>
7 years agodefconfig: msm: Add the perf config for msmfalcon target
Venkatesh Yadav Abbarapu [Thu, 3 Nov 2016 09:40:12 +0000 (15:10 +0530)]
defconfig: msm: Add the perf config for msmfalcon target

Add the new perf configuration for msmfalcon and msmtriton.
Update the msmfalcon_defconfig also.

Change-Id: I8c3be2d0235395a338b758e4dc27a4b243bff62d
Signed-off-by: Venkatesh Yadav Abbarapu <vabbar@codeaurora.org>
7 years agoMerge "sched: Ensure proper synch between isolation, hotplug, and suspend"
Linux Build Service Account [Mon, 28 Nov 2016 03:40:22 +0000 (19:40 -0800)]
Merge "sched: Ensure proper synch between isolation, hotplug, and suspend"

7 years agomsm: mdss: fix some potential issues in HDMI driver
Ray Zhang [Wed, 16 Nov 2016 06:46:02 +0000 (14:46 +0800)]
msm: mdss: fix some potential issues in HDMI driver

Fix some potential issues in HDMI driver such as suspicious
dereference of NULL pointer and variable reference without
initialization.

CRs-Fixed: 1091211
Change-Id: I81a99bcc4201ccd72de1f812e9c4da36d6a81958
Signed-off-by: Ray Zhang <rayz@codeaurora.org>
7 years agomsm: mdss: add support to change HDMI PLL PPM
Ray Zhang [Fri, 21 Oct 2016 18:15:10 +0000 (02:15 +0800)]
msm: mdss: add support to change HDMI PLL PPM

Add sysfs and ioctl to adjust HDMI clock rate by certain PPM.
This function is required by clock recovery in broadcast in
which HDMI PLL should be adjusted in order to reduce the clock
drift in broadcast.

CRs-Fixed: 1086894
Change-Id: I1df15dd6aec44ae3e78bd4f80dc70d0d04760687
Signed-off-by: Ray Zhang <rayz@codeaurora.org>
7 years agoARM: dts: msm: Add bluetooth node for WCN3990 in msm8998 QRD VR1
zhenchao [Thu, 17 Nov 2016 03:31:40 +0000 (11:31 +0800)]
ARM: dts: msm: Add bluetooth node for WCN3990 in msm8998 QRD VR1

Add bluetooth device tree node for WCN3990 chip in msm8998 QRD
VR1 board. Configure necessary power supply and clocks to enable
bluetooth.

CRs-Fixed: 1080773
Change-Id: I47b042dc79145a13142c02b0ef8da777efff3a8d
Signed-off-by: zhenchao <zhenchao@codeaurora.org>
7 years agoARM: dts: msm: Add bluetooth node for WCN3990 in msm8998 QRD SKUK
zhenchao [Thu, 17 Nov 2016 04:39:01 +0000 (12:39 +0800)]
ARM: dts: msm: Add bluetooth node for WCN3990 in msm8998 QRD SKUK

Add bluetooth device tree node for WCN3990 chip in msm8998 QRD
SKUK board. Configure necessary power supply and clocks to enable
bluetooth.

CRs-Fixed: 1080773
Change-Id: I433c349ddfd6d83629080afadc6fbf79c3b8c635
Signed-off-by: zhenchao <zhenchao@codeaurora.org>
7 years agoMerge "clk: msm: hdmi: correct the precision when calculating HDMI PLL"
Linux Build Service Account [Sun, 27 Nov 2016 21:09:03 +0000 (13:09 -0800)]
Merge "clk: msm: hdmi: correct the precision when calculating HDMI PLL"

7 years agoqos: Register irq notify after adding the qos request
Anil Kumar Mamidala [Fri, 22 Apr 2016 07:12:51 +0000 (12:42 +0530)]
qos: Register irq notify after adding the qos request

Before adding the irq affinity based qos request to the list, if
the affinity of the interrupt changes it will trigger notify call.
This notifier call will try to update the qos request. Accessing
the qos request which is not yet added to the list leads to a
NULL pointer exception.

Avoid this race by registering the notifier after adding the
qos request.

Change-Id: I99869cc233573b5db10e4f3224d65c29511050ea
Signed-off-by: Anil Kumar Mamidala <amami@codeaurora.org>
7 years agoMerge "ARM: dts: msm: include RPM regulator for MSM8998 interposer"
Linux Build Service Account [Sun, 27 Nov 2016 12:56:03 +0000 (04:56 -0800)]
Merge "ARM: dts: msm: include RPM regulator for MSM8998 interposer"

7 years agoMerge "usb: dwc3-msm: Fix restart usb work functionality"
Linux Build Service Account [Sun, 27 Nov 2016 05:27:50 +0000 (21:27 -0800)]
Merge "usb: dwc3-msm: Fix restart usb work functionality"

7 years agoMerge "qos: wake up cores based on the qos updated cpu mask"
Linux Build Service Account [Sun, 27 Nov 2016 05:27:49 +0000 (21:27 -0800)]
Merge "qos: wake up cores based on the qos updated cpu mask"

7 years agoMerge "scsi: ufs: perform full reset at initialization"
Linux Build Service Account [Sun, 27 Nov 2016 05:27:48 +0000 (21:27 -0800)]
Merge "scsi: ufs: perform full reset at initialization"

7 years agoMerge "scsi: ufs-qcom: update delay between assert/deassert in full reset"
Linux Build Service Account [Sun, 27 Nov 2016 05:27:48 +0000 (21:27 -0800)]
Merge "scsi: ufs-qcom: update delay between assert/deassert in full reset"

7 years agoMerge "soc: qcom: rpm: Change driver memory allocation to use GFP_NOIO"
Linux Build Service Account [Sun, 27 Nov 2016 05:27:47 +0000 (21:27 -0800)]
Merge "soc: qcom: rpm: Change driver memory allocation to use GFP_NOIO"

7 years agoMerge "msm: ion: Modified Secure Display buffer permissions"
Linux Build Service Account [Sun, 27 Nov 2016 05:27:46 +0000 (21:27 -0800)]
Merge "msm: ion: Modified Secure Display buffer permissions"

7 years agoMerge "usb: pd: Support Android dual_role_usb sysfs class"
Linux Build Service Account [Sun, 27 Nov 2016 05:27:45 +0000 (21:27 -0800)]
Merge "usb: pd: Support Android dual_role_usb sysfs class"

7 years agoMerge "clk: qcom: Add support to convert the clock rate to KHz"
Linux Build Service Account [Sun, 27 Nov 2016 05:27:44 +0000 (21:27 -0800)]
Merge "clk: qcom: Add support to convert the clock rate to KHz"

7 years agoMerge "ARM: dts: msm: Specify the configuration for audio on msmfalcon interposer"
Linux Build Service Account [Sat, 26 Nov 2016 22:26:51 +0000 (14:26 -0800)]
Merge "ARM: dts: msm: Specify the configuration for audio on msmfalcon interposer"

7 years agoMerge "ARM: dts: msm: Make required changes for msm8998-interposer"
Linux Build Service Account [Sat, 26 Nov 2016 22:26:50 +0000 (14:26 -0800)]
Merge "ARM: dts: msm: Make required changes for msm8998-interposer"

7 years agoMerge "procfs: Update order of Ngid in /proc/PID/status"
Linux Build Service Account [Sat, 26 Nov 2016 22:26:48 +0000 (14:26 -0800)]
Merge "procfs: Update order of Ngid in /proc/PID/status"

7 years agoMerge "ARM: dts: msm: add support of pm3falcon PMIC for msmfalcon"
Linux Build Service Account [Sat, 26 Nov 2016 22:26:48 +0000 (14:26 -0800)]
Merge "ARM: dts: msm: add support of pm3falcon PMIC for msmfalcon"

7 years agoMerge "soc: qcom: Turn off MSM_PERFORMANCE_HOTPLUG_ON by default"
Linux Build Service Account [Sat, 26 Nov 2016 22:26:47 +0000 (14:26 -0800)]
Merge "soc: qcom: Turn off MSM_PERFORMANCE_HOTPLUG_ON by default"

7 years agoMerge "usb: pd: Fix VDM and misc timing issues"
Linux Build Service Account [Sat, 26 Nov 2016 22:26:44 +0000 (14:26 -0800)]
Merge "usb: pd: Fix VDM and misc timing issues"

7 years agoARM: dts: msm: include RPM regulator for MSM8998 interposer
Ashay Jaiswal [Sat, 26 Nov 2016 18:17:11 +0000 (23:47 +0530)]
ARM: dts: msm: include RPM regulator for MSM8998 interposer

Include RPM regulator dtsi to enable RPM regulator device
nodes for MSM8998 based interposer platform.

CRs-Fixed: 1077493
Change-Id: Ifcfd9f75e817561b17ec26a68f901a31c5a63a9a
Signed-off-by: Ashay Jaiswal <ashayj@codeaurora.org>
7 years agoMerge "soc: qcom: msm_bus: Set current index to default value"
Linux Build Service Account [Sat, 26 Nov 2016 01:47:08 +0000 (17:47 -0800)]
Merge "soc: qcom: msm_bus: Set current index to default value"

7 years agoMerge "ARM: dts: msm: Add thermal mitigation properties to msmfalcon"
Linux Build Service Account [Sat, 26 Nov 2016 01:47:06 +0000 (17:47 -0800)]
Merge "ARM: dts: msm: Add thermal mitigation properties to msmfalcon"

7 years agoMerge "input: synaptics_dsx: add checks of user input data"
Linux Build Service Account [Sat, 26 Nov 2016 01:47:05 +0000 (17:47 -0800)]
Merge "input: synaptics_dsx: add checks of user input data"

7 years agoMerge "ASoC: wcd9335: Add dapm ignore suspend for codec dai"
Linux Build Service Account [Sat, 26 Nov 2016 01:47:04 +0000 (17:47 -0800)]
Merge "ASoC: wcd9335: Add dapm ignore suspend for codec dai"

7 years agoMerge "ASoc: msm: qdsp6v2: Add support for compress capture"
Linux Build Service Account [Sat, 26 Nov 2016 01:47:03 +0000 (17:47 -0800)]
Merge "ASoc: msm: qdsp6v2: Add support for compress capture"

7 years agoMerge "include: clock: Add audio external clock of_index extries"
Linux Build Service Account [Sat, 26 Nov 2016 01:47:02 +0000 (17:47 -0800)]
Merge "include: clock: Add audio external clock of_index extries"

7 years agoMerge "msm: mdss: fix to handle multi-rect configuration in error cases"
Linux Build Service Account [Sat, 26 Nov 2016 01:47:00 +0000 (17:47 -0800)]
Merge "msm: mdss: fix to handle multi-rect configuration in error cases"

7 years agoMerge "msm: crypto: fix issues on digest buf and copy_from_user in qcedev.c"
Linux Build Service Account [Sat, 26 Nov 2016 01:46:58 +0000 (17:46 -0800)]
Merge "msm: crypto: fix issues on digest buf and copy_from_user in qcedev.c"

7 years agoMerge "Revert "msm: kgsl: Enable limits management on A540v2""
Linux Build Service Account [Sat, 26 Nov 2016 01:46:58 +0000 (17:46 -0800)]
Merge "Revert "msm: kgsl: Enable limits management on A540v2""

7 years agoMerge "smb-lib: fix null ptr access while handling src change interrupt"
Linux Build Service Account [Sat, 26 Nov 2016 01:46:56 +0000 (17:46 -0800)]
Merge "smb-lib: fix null ptr access while handling src change interrupt"

7 years agoMerge "msm: mdss: refine the calculation of tmds clock rate"
Linux Build Service Account [Sat, 26 Nov 2016 01:46:55 +0000 (17:46 -0800)]
Merge "msm: mdss: refine the calculation of tmds clock rate"

7 years agoMerge "msm: camera: Enable secure camera feature"
Linux Build Service Account [Sat, 26 Nov 2016 01:46:53 +0000 (17:46 -0800)]
Merge "msm: camera: Enable secure camera feature"

7 years agoMerge "soc: qcom: socinfo: Change offset of image OEM attribute"
Linux Build Service Account [Sat, 26 Nov 2016 01:46:52 +0000 (17:46 -0800)]
Merge "soc: qcom: socinfo: Change offset of image OEM attribute"

7 years agoMerge "qpnp-smb2: force UFP mode before shutdown"
Linux Build Service Account [Sat, 26 Nov 2016 01:46:51 +0000 (17:46 -0800)]
Merge "qpnp-smb2: force UFP mode before shutdown"

7 years agoMerge "qpnp-smb2: add support to configure auto recharge"
Linux Build Service Account [Sat, 26 Nov 2016 01:46:50 +0000 (17:46 -0800)]
Merge "qpnp-smb2: add support to configure auto recharge"

7 years agoMerge "qcom: scm: remove printing input arguments"
Linux Build Service Account [Fri, 25 Nov 2016 16:32:36 +0000 (08:32 -0800)]
Merge "qcom: scm: remove printing input arguments"

7 years agoMerge "audit: fix a double fetch in audit_log_single_execve_arg()"
Linux Build Service Account [Fri, 25 Nov 2016 16:32:35 +0000 (08:32 -0800)]
Merge "audit: fix a double fetch in audit_log_single_execve_arg()"

7 years agomsm: mdss: Fix disabling destination scalar using 4K panel
Benjamin Chan [Tue, 22 Nov 2016 22:22:47 +0000 (17:22 -0500)]
msm: mdss: Fix disabling destination scalar using 4K panel

4K panel uses split control path setup, so there is no need to correct
the panel width when updating the mixer width resolution during
destination scalar disabling.

CRs-Fixed: 1093549
Change-Id: I064987534124e025abaccec05ab70acf93538bce
Signed-off-by: Benjamin Chan <bkchan@codeaurora.org>
7 years agoqcom: scm: remove printing input arguments
Swetha Chikkaboraiah [Wed, 2 Nov 2016 11:19:41 +0000 (16:49 +0530)]
qcom: scm: remove printing input arguments

scm_call2 is printing the input arguments if TZ ret value is  < 0
leading to information leak. Remove printing input arguments.

Change-Id: I21dd6d83fa979aed2c79ebb2c9c8de63a247dded
CRs-Fixed: 1076407
Signed-off-by: Swetha Chikkaboraiah <schikk@codeaurora.org>
Signed-off-by: Paresh Purabhiya <ppurab@codeaurora.org>
Signed-off-by: Runmin Wang <runminw@codeaurora.org>
7 years agoclk: msm: hdmi: correct the precision when calculating HDMI PLL
Ray Zhang [Fri, 25 Nov 2016 09:16:25 +0000 (17:16 +0800)]
clk: msm: hdmi: correct the precision when calculating HDMI PLL

In existing HDMI PLL driver the VCO frequency value is truncated
so following PLL calculation could be impacted. Use 64 bit value
instead to maintain the necessary precision.

CRs-Fixed: 1086894
Change-Id: Iec3f65942dd152b0b7aa32af1a90039fff06cb34
Signed-off-by: Ray Zhang <rayz@codeaurora.org>
7 years agoARM: dts: msm: Add VADC_HC and BTM channels for QVR8998
King Li [Fri, 25 Nov 2016 09:07:42 +0000 (17:07 +0800)]
ARM: dts: msm: Add VADC_HC and BTM channels for QVR8998

Clients of VADC_HC and BTM include reading voltage phone
power, system thermistors for thermal mitigation such as
msm_therm, case_therm, XO therm. Add the supported VADC
and BTM channels for the msm8998-qrd-vr1 platforms.

CRs-Fixed: 1090542
Change-Id: I4cda24b1be20310f54ceba1297f424ede1c5d889
Signed-off-by: King Li <kjli@codeaurora.org>
7 years agoARM: dts: msm: Add VADC_HC and BTM channels for QRD8998 SKUK
King Li [Fri, 25 Nov 2016 09:01:43 +0000 (17:01 +0800)]
ARM: dts: msm: Add VADC_HC and BTM channels for QRD8998 SKUK

Clients of VADC_HC and BTM include reading voltage phone
power, system thermistors for thermal mitigation such as
msm_therm, case_therm, XO therm. Add the supported VADC
and BTM channels for the msm8998-qrd-skuk platforms.

CRs-Fixed: 1090579
Signed-off-by: King Li <kjli@codeaurora.org>
Change-Id: I7b7c0ec59e9a3ce8a3526bdc8eb7359a0c98ccd7

7 years agoclk: msm: hdmi: add support for live programming of HDMI PLL
Ray Zhang [Fri, 25 Nov 2016 09:04:44 +0000 (17:04 +0800)]
clk: msm: hdmi: add support for live programming of HDMI PLL

Clock recovery and dynamic resolution change require changing
HDMI clock rate while HDMI PLL is on. There are two paths while
clock is changed, one is atomic update which doesn't require
PLL tear down, the other is when clock rate change is too big
and a full PLL tear down is needed.

CRs-Fixed: 1086894
Change-Id: Ia202e0aee09f506a7bbe4e13702f30dee119ce8e
Signed-off-by: Ray Zhang <rayz@codeaurora.org>
7 years agoMerge "soc: qcom: fix uninitialized references in gladiator_erp_v2"
Linux Build Service Account [Fri, 25 Nov 2016 08:10:26 +0000 (00:10 -0800)]
Merge "soc: qcom: fix uninitialized references in gladiator_erp_v2"

7 years agoMerge "ARM: dts: msm: Add support of IPA for falcon"
Linux Build Service Account [Fri, 25 Nov 2016 08:10:25 +0000 (00:10 -0800)]
Merge "ARM: dts: msm: Add support of IPA for falcon"

7 years agoprocfs: Update order of Ngid in /proc/PID/status
Neeraj Upadhyay [Tue, 14 Jun 2016 14:12:59 +0000 (07:12 -0700)]
procfs: Update order of Ngid in /proc/PID/status

Addition of Ngid breaks some third party applications, which
are dependent on a particular order of fields. This change
moves the field to the end, to fix this issue.

Change-Id: Ifdc781aca49dcb535d5fa5005b85dc87604560dc
Signed-off-by: Neeraj Upadhyay <neeraju@codeaurora.org>
7 years agoUSB: dwc3-msm: Fix issue related to error recovery for ERRATIC ERROR
Vijayavardhan Vennapusa [Thu, 1 Sep 2016 06:35:50 +0000 (12:05 +0530)]
USB: dwc3-msm: Fix issue related to error recovery for ERRATIC ERROR

If ERRATIC event irq is triggered by USB controller, it requires to perform
block reset USB controller as recovery mechanism as per SNPS data book.
Error recovery happens through allowing USB entering low power mode and
exit low power mode. We might see recovery failing as check for P3 state is
true as part of suspend and results in USB not entering low power mode.
Fix this issue by allowing USB enter low power mode in case of recovery
flag mdwc->in_restart set.

CRs-Fixed: 1060831
Change-Id: I41f935da3d4af1dd04eb4b3299e36a0f528633da
Signed-off-by: Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
7 years agousb: dwc3-msm: Fix restart usb work functionality
Azhar Shaikh [Thu, 11 Feb 2016 19:00:58 +0000 (11:00 -0800)]
usb: dwc3-msm: Fix restart usb work functionality

Commit 18cd808986ba101d ("usb: dwc3-msm: Make power collapse
and power-on-reset mandatory") removed the device tree properties
for power-collapse due to which the dwc3_restart_usb_work() which
was supposed to do a full POR sequence by simulating a cable
disconnection-reconnection sequence now only does a dbm reset.
Fix this, so that dwc3_restart_usb_work(), does a full POR.

CRs-Fixed: 975249
Change-Id: Iaabe9283ec80954a2e504a55f2b4cdf93ca8ae46
Signed-off-by: Azhar Shaikh <azhars@codeaurora.org>
7 years agoUSB: dwc3-msm: clear in_restart flag always in restart work
Vijayavardhan Vennapusa [Fri, 25 Nov 2016 05:55:35 +0000 (11:25 +0530)]
USB: dwc3-msm: clear in_restart flag always in restart work

Currenlty driver is clearing mdwc->inrestart flag only if vbus_active
is high only after making sure USB entered low power mode. There is a
chance cable is disconnected during execution of restart work and endup
not clearing mdwc->in_restart flag if disconnect happens. Hence fix this
by clearing mdwc->in_restart flag always irrespective of vbus_active set
or cleared.

Change-Id: I15fa1893c798946c7514bf8cb23773b5784e671e
Signed-off-by: Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
7 years agoqos: wake up cores based on the qos updated cpu mask
Anil Kumar Mamidala [Wed, 23 Mar 2016 15:14:18 +0000 (20:44 +0530)]
qos: wake up cores based on the qos updated cpu mask

If the qos value is increased only for a subset of cpu's
aggregated qos for those cpu's is still the previous value.
This is because the qos request list is maintained per
request and not per cpu. In this case as there is no change
in aggregated qos value, these cpu's are not wokenup to
take the new qos value into effect.

So wakeup cpu's even if the aggregated qos value does not change
but the cpumask changes.

Change-Id: If5a4a100108e85e04beb77e5249bd6c452672edf
Signed-off-by: Anil Kumar Mamidala <amami@codeaurora.org>
7 years agoARM: dts: msm: Make required changes for msm8998-interposer
Vijayavardhan Vennapusa [Fri, 25 Nov 2016 05:23:07 +0000 (10:53 +0530)]
ARM: dts: msm: Make required changes for msm8998-interposer

Add required changes for LDOs for msm8998-interposer-msmfalcon
for USB functionality to be working.

Change-Id: I121651a49ef27ba02f1960ed5c95baf93b00d1f5
Signed-off-by: Vijayavardhan Vennapusa <vvreddy@codeaurora.org>