Commit graph

578456 commits

Author SHA1 Message Date
Linux Build Service Account
36b534d1ff Merge "msm: sde: Force setting SDE rotator clock even rate is the same" 2016-11-28 23:57:59 -08:00
Linux Build Service Account
f2f8e391d8 Merge "msm: mdss: Remove backlight min level checks during backlight scaling" 2016-11-28 23:57:58 -08:00
Linux Build Service Account
d7ab29dbb6 Merge "diag: Set in_busy only after initialization of read buffers" 2016-11-28 23:57:57 -08:00
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
Shankar Ravi
5e13a312f7 ARM: dts: msm: Camera configuration for msmfalcon interposer
1. Voltage regulator changes for rear camera
   and eeprom.
2. Gpio changes for rear camera and eeprom.

Change-Id: Ie59a748d016211d5ddbab2593ec310a313690f9e
Signed-off-by: Shankar Ravi <rshankar@codeaurora.org>
2016-11-29 12:35:09 +05:30
Jordan Crouse
eed663a48b msm: kgsl: Reserve a context ID slot but don't populate immediately
When creating a context allocate an ID but don't populate the slot
with the context pointer until we are done setup up the rest of the
process. This avoids a race if somebody tries to free the same
identifier before the create operation is complete.

Change-Id: Ic0dedbadca5b4cc4ce567afad48a33078b549439
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
Signed-off-by: Dumpeti Sathish Kumar <sathyanov14@codeaurora.org>
2016-11-29 12:32:52 +05:30
Mohit Aggarwal
59045a4916 diag: Set in_busy only after initialization of read buffers
Currently, there is a possibility that read buffers are
not initialized but diag ends up marking buffers busy and
stops reading from peripheral, which leads to port loss.
Also reset the in_busy variable for the buffer that reads
the data from smd channel when diag smd state is closed.

CRs-Fixed: 1093989
Change-Id: I1990d0ded5a212c9185c149ac297a3630d64bc59
Signed-off-by: Mohit Aggarwal <maggarwa@codeaurora.org>
2016-11-28 19:47:57 -08:00
Pengfei Liu
39c1b136f5 ARM: dts: msm: Add actuator and flash src for msm8998 qrd skuk board
Add actuator src and flash src of camera0 node for
support focus and flash function on msm8998 qrd skuk board.

Change-Id: I92ed864aedfdd38c8670e08fb35a6545e8abb142
Signed-off-by: Pengfei Liu <pengfeiliu@codeaurora.org>
2016-11-28 18:12:51 -08:00
Yuanyuan Liu
aa8243259a ARM: dts: msm: Remove msm_bus bandwidth vote for msm8998
Remove msm_bus bandwidth vote from DT for msm8998
as WLAN FW will take care of it.

CRs-Fixed: 1094917
Change-Id: Ied5dcb9e3283dc2ec7f5fd6f03465b070f989d8b
Signed-off-by: Yuanyuan Liu <yuanliu@codeaurora.org>
2016-11-28 17:44:17 -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
Ingrid Gallardo
c6576956d1 msm: mdss: add support to set mdp clock rate before enable
Current clock driver requires that before enabling
the core clock after power collapse, the set rate
must be called. Ensure this sequence by always calling
the set rate for the mdp core clock before enable.

Change-Id: I872f18235b0b1685dfdee3de99827d031077a012
Signed-off-by: Ingrid Gallardo <ingridg@codeaurora.org>
2016-11-28 15:13:17 -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
Eric Dumazet
9cce01579c Crash due to mutex genl_lock called from RCU context
Grabbing the mutex should not be done from netlink_sock_destruct() but
from netlink_release()

CRs-Fixed: 1094434
Change-Id: I69ae0d8589a0878b9758619893848afc272179c5
Signed-off-by: Eric Dumazet <edumazet@google.com>
Patch-mainline: linux-netdev @ 11/26/16, 04:54
Signed-off-by: Subash Abhinov Kasiviswanathan <subashab@codeaurora.org>
2016-11-28 15:03:48 -07: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
Eric Dumazet
68610ce9d9 net: add SOCK_RCU_FREE socket flag
We want a generic way to insert an RCU grace period before socket
freeing for cases where RCU_SLAB_DESTROY_BY_RCU is adding too
much overhead.

SLAB_DESTROY_BY_RCU strict rules force us to take a reference
on the socket sk_refcnt, and it is a performance problem for UDP
encapsulation, or TCP synflood behavior, as many CPUs might
attempt the atomic operations on a shared sk_refcnt

UDP sockets and TCP listeners can set SOCK_RCU_FREE so that their
lookup can use traditional RCU rules, without refcount changes.
They can set the flag only once hashed and visible by other cpus.

CRs-Fixed: 1094434
Change-Id: Ib4967b801cc5b48c8ac4793b7a03fbfafba2234a
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Tom Herbert <tom@herbertland.com>
Tested-by: Tom Herbert <tom@herbertland.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Git-commit: a4298e4522d687a79af8f8fbb7eca68399ab2d81
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
[subashab@codeaurora.org: resolve trivial merge conflicts]
Signed-off-by: Subash Abhinov Kasiviswanathan <subashab@codeaurora.org>
2016-11-28 14:42:09 -07:00