Commit graph

582698 commits

Author SHA1 Message Date
Deepak Kushwah
764080cfb9 ARM: dts: msm: Add video support for SDM630
Add Video support in respective SDM630, SDA630 variants.

CRs-Fixed: 2001023
Change-Id: I579887eddb706365da0e8a5b3967e7beb8453dcd
Signed-off-by: Deepak Kushwah <dkushwah@codeaurora.org>
2017-02-02 18:40:00 +05:30
Manikanta Sivapala
37245e8b29 msm: vidc: Correct enum value for vpx colorspace extradata
Change  enum value of vpx colorspace extradata to align with
the hfi value of vpx colorspace extradata

Change-Id: I3f32842d3ed6d6aa427d5c80a9078efce6c11012
Signed-off-by: Manikanta Sivapala <msivap@codeaurora.org>
2017-02-02 04:48:17 -08:00
Govind Singh
9c3ac0ca01 ath10k: disable HW checksum for WCN3990
HW checksum is not enabled in current release
of WCN3990.

Disable HW checksum for WCN3990.

CRs-Fixed: 2000365
Change-Id: I3b8ee3664150ee8c0c2a8fe9ed1d61c6d32f16b0
Signed-off-by: Govind Singh <govinds@codeaurora.org>
2017-02-02 04:09:31 -08:00
Govind Singh
02ed94d532 ath10k: Fix STA disconnect issue
vdev params are being set after vdev is in down state, this
is resulting in firmware crash.

Fix this by skipping vdev access after vdev is in down state.

CRs-Fixed: 2000365
Change-Id: Ib15f038624682fb324fbd5c43fa5cddf462443cd
Signed-off-by: Govind Singh <govinds@codeaurora.org>
2017-02-02 04:08:51 -08:00
Linux Build Service Account
8ae485387d Merge "ASOC: msm: Restrict loop index to avoid buffer overread" 2017-02-02 04:00:06 -08:00
Linux Build Service Account
c0ce43f344 Merge "msm: kgsl: Add efuse read capabilities for A512 GPU" 2017-02-02 04:00:05 -08:00
Linux Build Service Account
e2bbb8045f Merge "USB: dwc3-msm: Add sysfs entry to manually set speed" 2017-02-02 04:00:04 -08:00
Linux Build Service Account
063de8de6b Merge "spmi: pmic-arb: do not ack and clear peripheral interrupts in cleanup_irq" 2017-02-02 04:00:03 -08:00
Linux Build Service Account
154a46eb53 Merge "msm: kgsl: Relocate the pagefault tracepoint" 2017-02-02 04:00:02 -08:00
Linux Build Service Account
fa68c42f78 Merge "ARM: dts: msm: add support for R63417 truly 1080p panel on sdm660" 2017-02-02 04:00:01 -08:00
Linux Build Service Account
df19f1baeb Merge "ARM: config: Enable CONFIG_MMC_SDHCI_MSM_ICE flag" 2017-02-02 04:00:00 -08:00
Linux Build Service Account
d7f59ad382 Merge "mmc: sdhci-msm-ice: Changes for supporting ICE HCI in non CMDQ mode" 2017-02-02 03:59:59 -08:00
Linux Build Service Account
8249790ee9 Merge "mmc: cmdq_hci: ice: Changes for supporting ICE HCI in CMDQ mode" 2017-02-02 03:59:59 -08:00
Linux Build Service Account
bbe6f5b291 Merge "defconfig: arm64: Enabled msm Ipv4 multicast support in kernel" 2017-02-02 03:59:54 -08:00
Sandeep Panda
e677fbbfaf msm: mdss: fix frame rate calculation for DP interface
In the current implementation the frame rate value for
DP interface is returning wrong value which in turn
results in wrong estimate of bandwidth votes and causes
underrun on DP panels. Fix the issue by back calculating
frame rate from pixel clock value read from EDID.

Change-Id: I611fab423d2230a44c46d9eda0b31aa3a856fa98
Signed-off-by: Sandeep Panda <spanda@codeaurora.org>
2017-02-02 16:08:59 +05:30
Rama Krishna Phani A
73cbdbfcb9 iio: rradc: Update charger die temperature coefficients
Update slope and offset coefficients for charger die
temperature to compensate for temperature compensation
for PM660.

Change-Id: I7884acfdefede6aff2fe4cd3a5745dff0767b4fc
Signed-off-by: Rama Krishna Phani A <rphani@codeaurora.org>
2017-02-02 15:49:51 +05:30
Pavankumar Kondeti
00b29ff455 sysctl: disallow setting sched_time_avg_ms to 0
The sched average period can not be 0, disallow setting
it to 0. Otherwise CPUs stuck in sched_avg_update().

Change-Id: Ib9fcc5b35dface09d848ba7a737dc4ac0f05d8ee
Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
2017-02-02 14:52:11 +05:30
yidongh
192fc99e6e ASOC: msm: Restrict loop index to avoid buffer overread
Add restriction in msm_dolby_dap_param_to_get_control_get
function to avoid reading buffer data with index over
buffer size.

Change-Id: I2bd443d4db1a272d20341fbb5b15891a8acf0bc8
CRs-Fixed: 1096076
Signed-off-by: Yidong Huang <yidongh@codeaurora.org>
2017-02-01 23:39:56 -08:00
Rakesh Pillai
9cd9125bc4 ath10k: Refactor HTT RX datapath for WCN3990
WCN3990 is a 37 bit target and needs DMA_MAP of 37 bits.
The HTT RX datapath currently uses 32-bit address.
Refactor the HTT RX datapath to enable DMA MAP of 37 bits for WCN3990.
Fix ath10k_htt_rx_h_ppdu API usage.

CRs-Fixed: 2000491
Change-Id: I3d1505202a899796b0bfa7975844e3700326bfdf
Signed-off-by: Rakesh Pillai <pillair@codeaurora.org>
2017-02-02 13:09:41 +05:30
Brahmaji K
fb77e96735 crypto: ice: Fix NULL pointer exception in ice.
While enabling ICE setup and on error conditions, the regulator
is disabled. Before disabling the regulator, check if the
regulator is up and able to access the registers of regulator.

Change-Id: I94dd2b3e25444818f7bdf2f791f4fa9efaefce15
Signed-off-by: Brahmaji K <bkomma@codeaurora.org>
2017-02-02 12:56:34 +05:30
Conner Huff
85cccedb0c net: rmnet_data: Fix incorrect netlink handling
rmnet_data netlink handler currently does not check for the
incoming process pid and instead just loops back the pid.
A malicious root user could potentially send a message with
source pid 0 and this could cause rmnet_data to loop the message
back till an out of memory situation occurs.

rmnet_data also does not check for the message length of the
incoming netlink messages and instead casts the netlink message
without checking for the boundary.

Fix these two scenarios by adding the pid and message length checks
respectively.

Bug: 31252965
CRs-Fixed: 1098801
Change-Id: I172c1a7112e67e82959b397af7ddfd963d819bdc
Signed-off-by: Conner Huff <chuff@codeaurora.org>
2017-02-02 00:15:23 -07:00
Raviteja Tamatam
8591cb9b7b msm: mdss: fix mdp vbif writeback qos settings
Updated changes to apply writeback qos vbif remapper
settings for the writeback xin id.

Change-Id: I284598f0d5df5348220bae8ef9f2a83c3405a1ce
Signed-off-by: Raviteja Tamatam <travitej@codeaurora.org>
2017-02-02 12:05:44 +05:30
Dhoat Harpal
4513fe91d7 soc: qcom: glink_ssr: Set NULL after free
In function close_ch_worker variable ss_info->cb_data is not set to
NULL after free, this results in crash due to  use after free in
notify_for_subsystem function.

This variable is set to NULL to avoid any crash due to use after free.

CRs-Fixed: 2000384
Change-Id: Ia0c7b52e4c8f5d0215fd0ebfbca5e823530f205c
Signed-off-by: Dhoat Harpal <hdhoat@codeaurora.org>
2017-02-02 11:23:56 +05:30
Pavankumar Kondeti
f439dd8a41 sched: fix argument type in update_task_burst()
update_task_burst() function's runtime argument type should
be u64 not int. Fix this to avoid potential overflow.

Change-Id: I33757b7b42f142138c1a099bb8be18c2a3bed331
Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
2017-02-02 11:07:49 +05:30
Vamsi Krishna Samavedam
4a4acb8a9e USB: dwc3-msm: Add sysfs entry to manually set speed
In some cases it is useful to manually force the controller to
run at certain speeds (USB 2.0 or USB 3.0 speeds). For example,
EUD (Emebedded USB Debug) can only work when controller is
operating in USB 2.0 speeds.  User can force USB 2.0 if EUD is
required.

Change-Id: Id022f372014a9218537bd1b5477d4555aff4578c
Signed-off-by: Vamsi Krishna Samavedam <vskrishn@codeaurora.org>
2017-02-01 21:36:04 -08:00
Kalyan Thota
741fc8ee90 ARM: dts: msm: remove rotator smmu nodes from sdm660
Remove rotator smmu nodes for sdm660 target as
rotator will share the same SID with MDP.

Change-Id: Ia875ae125605d7ba7f446963c3325750169f871d
Signed-off-by: Kalyan Thota <kalyant@codeaurora.org>
2017-02-02 10:40:50 +05:30
Linux Build Service Account
110e102fe3 Merge "msm: thermal: Apply frequency limit on online CPU to LMH DCVSh" 2017-02-01 19:24:01 -08:00
Linux Build Service Account
7fba111f4f Merge "defconfig: msm8998: Enable USB CCID function driver" 2017-02-01 19:24:00 -08:00
Linux Build Service Account
6f6896aa64 Merge "usb: dwc3: Prevent pipe_PowerDown transition during U1 exit" 2017-02-01 19:23:59 -08:00
Linux Build Service Account
fd98835c43 Merge "usb: dwc3: Add maximum hw supported speed flag" 2017-02-01 19:23:58 -08:00
Linux Build Service Account
de0a1abf3d Merge "msm: ipa3: Use proper allocation flag in case of shutdown" 2017-02-01 19:23:57 -08:00
Linux Build Service Account
70c97d9407 Merge "sched: maintain group busy time counters in runqueue" 2017-02-01 19:23:56 -08:00
Linux Build Service Account
62e878fd30 Merge "Merge remote-tracking branch 'quic/dev/msm-4.4-drm_kms' into msm-4.4-01-29-tip" 2017-02-01 19:23:55 -08:00
Linux Build Service Account
989bc41eed Merge "mmc: sdhci-msm-ice: Add new sdhci host_op for updating ice config" 2017-02-01 19:23:54 -08:00
Linux Build Service Account
9bd6335532 Merge "mmc: sdhci-mmc-ice: Factor out ice_cfg_start from sdhci_msm_ice_cfg" 2017-02-01 19:23:53 -08:00
Linux Build Service Account
08450fb01c Merge "mmc: sdhci-msm-ice: Factor out update config from sdhci_msm_ice_cfg" 2017-02-01 19:23:53 -08:00
Linux Build Service Account
55f794cbfe Merge "ARM: dts: msm: enable pin control mode for RF clock of wcn3990 on sdm660" 2017-02-01 19:23:52 -08:00
Linux Build Service Account
ca8caf1a3a Merge "ARM: dts: msm: Enable WSA for sdm660 internal codec" 2017-02-01 19:23:51 -08:00
Linux Build Service Account
5a96c0ead1 Merge "ASoC: Enable WSA speaker over soundwire on SDM660" 2017-02-01 19:23:50 -08:00
Linux Build Service Account
56c25adf26 Merge "ARM: dts: msm: Enable cache-always for WSA in sdm660 internal codec" 2017-02-01 19:23:49 -08:00
Linux Build Service Account
f627f7aaa3 Merge "ASoC: wsa881x: Add cache-always mode for sdm660" 2017-02-01 19:23:49 -08:00
Linux Build Service Account
664d80e845 Merge "msm: kgsl: refcount irq to avoid racing against idle check" 2017-02-01 19:23:48 -08:00
Linux Build Service Account
48f5a37e3b Merge "ath10k: Add ce gather support for WCN3990 target" 2017-02-01 19:23:47 -08:00
Linux Build Service Account
1c2725e780 Merge "ARM: dts: msm: enable ESD feature for SDM660 target" 2017-02-01 19:23:46 -08:00
Linux Build Service Account
651b36e8c2 Merge "ath10k: Enable single queue NAPI for WCN3990 target" 2017-02-01 19:23:45 -08:00
Linux Build Service Account
20340ad56e Merge "ARM: dts: msm: Update Temperature sensor support for sdm660" 2017-02-01 19:23:44 -08:00
Linux Build Service Account
3474dde0ac Merge "ARM: dts: msm: Configure WLED for SDM630" 2017-02-01 19:23:43 -08:00
Linux Build Service Account
bc9cbaaa71 Merge "ARM: dts: msm: Disable two-pass-wfi quirk for SDM660 GPU" 2017-02-01 19:23:42 -08:00
Linux Build Service Account
f4bc6601e2 Merge "ext4/fscrypto: avoid RCU lookup in d_revalidate" 2017-02-01 19:23:41 -08:00
Linux Build Service Account
ebe8fc6799 Merge "clk: qcom: Add support for cpu clock for sdm630" 2017-02-01 19:23:41 -08:00