Commit graph

578304 commits

Author SHA1 Message Date
Linux Build Service Account
46c5a88fdf Merge "sched/core: Do not free task while holding rq lock" 2016-11-28 23:57:56 -08:00
Linux Build Service Account
c62f791a9d Merge "ARM: dts: msm: remove msm8998-mtp reference for msm8998 QRD device" 2016-11-28 23:57:55 -08:00
Linux Build Service Account
52ce5dee28 Merge "clk: WARN_ON about to disable a critical clock" 2016-11-28 23:57:53 -08:00
Linux Build Service Account
608623f6b3 Merge "mdss: display-port: fix MSA settings for 5.4 Ghz link rate" 2016-11-28 23:57:52 -08:00
Linux Build Service Account
ea956df8a1 Merge "ARM: dts: msm: Add bluetooth node for WCN3990 in msm8998 QRD SKUK" 2016-11-28 23:57:47 -08:00
Linux Build Service Account
7476049131 Merge "ARM: dts: msm: Add bluetooth node for WCN3990 in msm8998 QRD VR1" 2016-11-28 23:57:46 -08:00
Linux Build Service Account
52b94c7f09 Merge "clk: msm: Add clock_debug_print_enabled for common clock" 2016-11-28 23:57:45 -08:00
Linux Build Service Account
592203a5ae Merge "adreno_tz: Fix divide by zero problem in gpu_load_show()" 2016-11-28 23:57:44 -08:00
Linux Build Service Account
48a508c8de Merge "msm: camera: ispif: Ratelimit message" 2016-11-28 23:57:43 -08:00
Linux Build Service Account
ed5bf14e0e Merge "ARM: dts: msm: Modify ACD_EXTINT_CFG value for msm8998 v2" 2016-11-28 23:57:36 -08:00
Linux Build Service Account
737b90d9f8 Merge "msm: mdss: fix intf_num in irq enable/disable for CWB" 2016-11-28 23:57:34 -08:00
Linux Build Service Account
148939c0a4 Merge "defconfig: msm: Add the perf config for msmfalcon target" 2016-11-28 23:57:33 -08:00
Linux Build Service Account
6f133efb36 Merge "ARM: dts: msm: update clock regulator nodes for msm8998 interposer" 2016-11-28 23:57:32 -08:00
Linux Build Service Account
40493b8042 Merge "qos: Register irq notify after adding the qos request" 2016-11-28 23:57:32 -08:00
Linux Build Service Account
215aba36c9 Merge "wil6210: support FTM/AOA while unassociated" 2016-11-28 23:57:30 -08:00
Linux Build Service Account
4f8eca79ce Merge "ARM: dts: msm: Add VADC_HC and BTM channels for QVR8998" 2016-11-28 23:57:30 -08:00
Linux Build Service Account
e447498cb4 Merge "ARM: dts: msm: Add VADC_HC and BTM channels for QRD8998 SKUK" 2016-11-28 23:57:29 -08:00
Linux Build Service Account
09f47a9c14 Merge "diag: Fix possible access to freed variable" 2016-11-28 23:57:27 -08:00
Linux Build Service Account
894ba12732 Merge "arm64: avoid segfault on el0 cache maintenance" 2016-11-28 23:57:26 -08:00
Linux Build Service Account
2c6ca087da Merge "msm: mdss: Fix potential deferencing of null pointer" 2016-11-28 23:57:25 -08:00
Linux Build Service Account
a471456332 Merge "msm: mdss: hdmi: fix potential null deference errors" 2016-11-28 23:56:42 -08:00
Runmin Wang
9b0c12f0c4 ARM: dts: msm: remove msm8998-mtp reference for msm8998 QRD device
Remove redundant inclusion of mtp dtsi in msm8998-qrd.dtsi file.

CRs-Fixed: 1094871
Change-Id: Ibc9e99fd69cbd30e449d0fec728d71a1fa7f162c
Signed-off-by: Runmin Wang <runminw@codeaurora.org>
2016-11-28 16:29:13 -08:00
Linux Build Service Account
04947ea3d8 Merge "qseecom: fix incomplete error handling for several functions" 2016-11-28 14:56:48 -08:00
Linux Build Service Account
edaa2db04b Merge "Revert "scsi: ufs: disable ah8 during suspend and enable it on resume"" 2016-11-28 14:56:47 -08:00
Linux Build Service Account
e8b113ce8c Merge "usb: pd: pdphy: Update Tx Trim setting" 2016-11-28 14:56:45 -08:00
Linux Build Service Account
97f41c5dcb Merge "USB: dwc3-msm: clear in_restart flag always in restart work" 2016-11-28 14:56:44 -08:00
Linux Build Service Account
9935c9406d Merge "USB: dwc3-msm: Fix issue related to error recovery for ERRATIC ERROR" 2016-11-28 14:56:42 -08:00
Linux Build Service Account
19896c0df8 Merge "msm: mdss: Fix disabling destination scalar using 4K panel" 2016-11-28 14:56:41 -08:00
Linux Build Service Account
746f6de6dc Merge "msm: mdss: fix some potential issues in HDMI driver" 2016-11-28 14:56:40 -08:00
Linux Build Service Account
cab5267d39 Merge "msm: mdss: add support to change HDMI PLL PPM" 2016-11-28 14:56:39 -08:00
Linux Build Service Account
d664e19659 Merge "ARM: dts: msm: add UFS_RESET pin ctrl data for msm8998" 2016-11-28 14:56:37 -08:00
Linux Build Service Account
1c699f1930 Merge "pinctrl: qcom: add UFS_RESET pin data for msm8998" 2016-11-28 14:56:36 -08:00
Linux Build Service Account
08c4e0ff9b Merge "smb-lib: fix vbus-error handler" 2016-11-28 14:56:34 -08:00
Linux Build Service Account
e86657b5ad Merge "msm: mdss: add atraces to track switch cmd delays" 2016-11-28 14:56:32 -08:00
Osvaldo Banuelos
164e32f98e 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>
2016-11-28 14:54:39 -08:00
Osvaldo Banuelos
854e4572f4 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>
2016-11-28 14:54:34 -08:00
David Collins
466d6afc2d 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>
2016-11-28 14:54:29 -08:00
David Collins
1a9d62db8e 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>
2016-11-28 14:51:18 -08:00
Shubhraprakash Das
9598a2896a 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>
2016-11-28 13:49:50 -08:00
Osvaldo Banuelos
fcb69346a4 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>
2016-11-28 13:27:19 -08:00
Osvaldo Banuelos
10159460f8 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>
2016-11-28 13:27:18 -08:00
Osvaldo Banuelos
58f0a95267 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>
2016-11-28 13:27:17 -08:00
David Collins
b3051d25db clk: msm: clock-osm: correct OSM sequencer register virtual corner writes
The values written into OSM sequencer registers  to 
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>
2016-11-28 13:27:17 -08:00
Osvaldo Banuelos
5827fcea56 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>
2016-11-28 13:27:16 -08:00
Osvaldo Banuelos
6b7a5fd9d2 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>
2016-11-28 13:27:15 -08:00
Osvaldo Banuelos
86034c25bb 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>
2016-11-28 13:27:15 -08:00
Osvaldo Banuelos
d1a702ef2b 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>
2016-11-28 13:27:10 -08:00
Zhen Kong
ca828152be 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>
2016-11-28 12:32:06 -08:00
Olav Haugan
e5c095a2c7 sched/core: Do not free task while holding rq lock
Clearing the hmp request can cause a task to be freed. When a task is
freed the free call might wake up a kworker which will cause a
spinlock lockup (rq lock). Fix this by avoiding calling put_task_struct
when holding the rq lock.

In addition move call to clear_hmp_request out of stopper thread context
since it is not necessary to do this on the cpu being isolated.

Change-Id: Ie577db4701a88849560df385869ff7cf73695a05
Signed-off-by: Olav Haugan <ohaugan@codeaurora.org>
2016-11-28 11:00:29 -08:00
Taniya Das
11aa992510 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>
2016-11-28 04:15:19 -08:00