OSDN Git Service

sagit-ice-cold/kernel_xiaomi_msm8998.git
7 years agoMerge "ARM: dts: msm: Add ERP device definition on msmtriton"
Linux Build Service Account [Tue, 6 Dec 2016 22:33:09 +0000 (14:33 -0800)]
Merge "ARM: dts: msm: Add ERP device definition on msmtriton"

7 years agoMerge "ARM: dts: msm: Add ERP device definition on msmfalcon"
Linux Build Service Account [Tue, 6 Dec 2016 22:33:08 +0000 (14:33 -0800)]
Merge "ARM: dts: msm: Add ERP device definition on msmfalcon"

7 years agoMerge "ARM: dts: msm: Add cpu cache nodes for msmtriton"
Linux Build Service Account [Tue, 6 Dec 2016 22:33:08 +0000 (14:33 -0800)]
Merge "ARM: dts: msm: Add cpu cache nodes for msmtriton"

7 years agoMerge "soc: qcom: glink: add NULL check for edge_ctx"
Linux Build Service Account [Tue, 6 Dec 2016 22:33:07 +0000 (14:33 -0800)]
Merge "soc: qcom: glink: add NULL check for edge_ctx"

7 years agoMerge "msm: camera: isp: Check reg update miss only for PIX stream"
Linux Build Service Account [Tue, 6 Dec 2016 22:33:04 +0000 (14:33 -0800)]
Merge "msm: camera: isp: Check reg update miss only for PIX stream"

7 years agoMerge "msm: camera: isp: Dual camera sync feature"
Linux Build Service Account [Tue, 6 Dec 2016 22:33:03 +0000 (14:33 -0800)]
Merge "msm: camera: isp: Dual camera sync feature"

7 years agoMerge "ARM: dts: msm: Front camera config for msmfalcon interposer"
Linux Build Service Account [Tue, 6 Dec 2016 22:33:02 +0000 (14:33 -0800)]
Merge "ARM: dts: msm: Front camera config for msmfalcon interposer"

7 years agoMerge "msm: mdss: dp: fix parity byte calculation"
Linux Build Service Account [Tue, 6 Dec 2016 22:32:57 +0000 (14:32 -0800)]
Merge "msm: mdss: dp: fix parity byte calculation"

7 years agoMerge "msm: vidc: Align release buffers with V4L2 states"
Linux Build Service Account [Sun, 4 Dec 2016 13:55:31 +0000 (05:55 -0800)]
Merge "msm: vidc: Align release buffers with V4L2 states"

7 years agoMerge "msm: vidc: Add debug info inside queue headers"
Linux Build Service Account [Sun, 4 Dec 2016 13:55:30 +0000 (05:55 -0800)]
Merge "msm: vidc: Add debug info inside queue headers"

7 years agoMerge "ARM: dts: msm: Set max non secure region to 0xE0000000 on msm8998"
Linux Build Service Account [Sun, 4 Dec 2016 01:18:07 +0000 (17:18 -0800)]
Merge "ARM: dts: msm: Set max non secure region to 0xE0000000 on msm8998"

7 years agoMerge "msm: vidc: avoid repeated calls to handle_sys_error"
Linux Build Service Account [Sun, 4 Dec 2016 01:18:06 +0000 (17:18 -0800)]
Merge "msm: vidc: avoid repeated calls to handle_sys_error"

7 years agoMerge "msm: vidc: fix lock issue in msm_comm_get_mbs_per_sec()"
Linux Build Service Account [Sun, 4 Dec 2016 01:18:06 +0000 (17:18 -0800)]
Merge "msm: vidc: fix lock issue in msm_comm_get_mbs_per_sec()"

7 years agoMerge "qcom-charger: smb2: add support of PMFALCON"
Linux Build Service Account [Sat, 3 Dec 2016 17:59:53 +0000 (09:59 -0800)]
Merge "qcom-charger: smb2: add support of PMFALCON"

7 years agoMerge "ARM: dts: msm: fix slave-id of charger and FG on PMFALCON"
Linux Build Service Account [Sat, 3 Dec 2016 17:59:53 +0000 (09:59 -0800)]
Merge "ARM: dts: msm: fix slave-id of charger and FG on PMFALCON"

7 years agoMerge "icnss: Add support of setting MAC address from platform driver"
Linux Build Service Account [Sat, 3 Dec 2016 10:17:52 +0000 (02:17 -0800)]
Merge "icnss: Add support of setting MAC address from platform driver"

7 years agoMerge "ARM: dts: msm: Change camera mount angle for msm8998 QRD device"
Linux Build Service Account [Sat, 3 Dec 2016 10:17:51 +0000 (02:17 -0800)]
Merge "ARM: dts: msm: Change camera mount angle for msm8998 QRD device"

7 years agoMerge "ARM: dts: msm: change ufs regulators for msmfalcon interposer QRD"
Linux Build Service Account [Fri, 2 Dec 2016 17:02:33 +0000 (09:02 -0800)]
Merge "ARM: dts: msm: change ufs regulators for msmfalcon interposer QRD"

7 years agoMerge "ARM: dts: msm: Add sdhc2 regulator for QRD msmfalcon interposer"
Linux Build Service Account [Fri, 2 Dec 2016 17:02:31 +0000 (09:02 -0800)]
Merge "ARM: dts: msm: Add sdhc2 regulator for QRD msmfalcon interposer"

7 years agoMerge "defconfig: msm: Disable CRYPTO_DEV_QCE config flag for msmfalcon"
Linux Build Service Account [Fri, 2 Dec 2016 17:02:30 +0000 (09:02 -0800)]
Merge "defconfig: msm: Disable CRYPTO_DEV_QCE config flag for msmfalcon"

7 years agoMerge "msm: kgsl: Reserve a context ID slot but don't populate immediately"
Linux Build Service Account [Fri, 2 Dec 2016 17:02:29 +0000 (09:02 -0800)]
Merge "msm: kgsl: Reserve a context ID slot but don't populate immediately"

7 years agoMerge "ASoC: msm: qdsp6v2: Fix an incorrect string comparison logic"
Linux Build Service Account [Fri, 2 Dec 2016 17:02:28 +0000 (09:02 -0800)]
Merge "ASoC: msm: qdsp6v2: Fix an incorrect string comparison logic"

7 years agoMerge "ASoC: msm8998: Update supported sample rates for USB backend."
Linux Build Service Account [Fri, 2 Dec 2016 17:02:26 +0000 (09:02 -0800)]
Merge "ASoC: msm8998: Update supported sample rates for USB backend."

7 years agoMerge "SoC: msm: q6dspv2: add null check for payload"
Linux Build Service Account [Fri, 2 Dec 2016 17:02:25 +0000 (09:02 -0800)]
Merge "SoC: msm: q6dspv2: add null check for payload"

7 years agoMerge "ASoC: wcd934x: enable lineout path in codec"
Linux Build Service Account [Fri, 2 Dec 2016 17:02:24 +0000 (09:02 -0800)]
Merge "ASoC: wcd934x: enable lineout path in codec"

7 years agoMerge "ASoC: soc-dapm: Invalidate DAPM path during dapm addition of routes"
Linux Build Service Account [Fri, 2 Dec 2016 17:02:22 +0000 (09:02 -0800)]
Merge "ASoC: soc-dapm: Invalidate DAPM path during dapm addition of routes"

7 years agoMerge "misc: qcom: qdsp6v2: register ioctl calls for g711mlaw driver"
Linux Build Service Account [Fri, 2 Dec 2016 17:02:18 +0000 (09:02 -0800)]
Merge "misc: qcom: qdsp6v2: register ioctl calls for g711mlaw driver"

7 years agoMerge "ASoC: audio-ext-clk: add new audio ext clock"
Linux Build Service Account [Fri, 2 Dec 2016 17:02:16 +0000 (09:02 -0800)]
Merge "ASoC: audio-ext-clk: add new audio ext clock"

7 years agoMerge "ARM: dts: msm: Update ascent battery profile for GEN3 FG"
Linux Build Service Account [Fri, 2 Dec 2016 17:02:15 +0000 (09:02 -0800)]
Merge "ARM: dts: msm: Update ascent battery profile for GEN3 FG"

7 years agoMerge "ARM: dts: msm: Add sdhc2 support for msmfalcon interposer"
Linux Build Service Account [Fri, 2 Dec 2016 17:02:13 +0000 (09:02 -0800)]
Merge "ARM: dts: msm: Add sdhc2 support for msmfalcon interposer"

7 years agoMerge "msm: kgsl: Check MMU type for memory and pagetable operations"
Linux Build Service Account [Fri, 2 Dec 2016 17:02:12 +0000 (09:02 -0800)]
Merge "msm: kgsl: Check MMU type for memory and pagetable operations"

7 years agoMerge "ARM: dts: msm: Remove clocks associated with GDSC for MSMfalcon/Trition"
Linux Build Service Account [Fri, 2 Dec 2016 17:02:11 +0000 (09:02 -0800)]
Merge "ARM: dts: msm: Remove clocks associated with GDSC for MSMfalcon/Trition"

7 years agoMerge "usb: gadget: f_rmnet: Add support for configfs"
Linux Build Service Account [Fri, 2 Dec 2016 17:02:09 +0000 (09:02 -0800)]
Merge "usb: gadget: f_rmnet: Add support for configfs"

7 years agoqcom-charger: smb2: add support of PMFALCON
Ashay Jaiswal [Wed, 30 Nov 2016 06:12:36 +0000 (11:42 +0530)]
qcom-charger: smb2: add support of PMFALCON

Add support of PMFALCON PMIC and enable PMIC specific
workarounds in charger driver.

Change-Id: Id21fde25b9b741b9cb570ab5348959715e53e6cb
Signed-off-by: Ashay Jaiswal <ashayj@codeaurora.org>
7 years agoARM: dts: msm: fix slave-id of charger and FG on PMFALCON
Ashay Jaiswal [Fri, 2 Dec 2016 11:38:22 +0000 (17:08 +0530)]
ARM: dts: msm: fix slave-id of charger and FG on PMFALCON

Charger and Fuel Gauge peripherals are on slave-id 0. Update
charger and FG device node to reflect the same.

Change-Id: I99d1e47a20fd5c3304249aa4f6c64e5967874312
Signed-off-by: Ashay Jaiswal <ashayj@codeaurora.org>
7 years agoARM: dts: msm: change ufs regulators for msmfalcon interposer QRD
xiaonian [Thu, 1 Dec 2016 07:21:26 +0000 (15:21 +0800)]
ARM: dts: msm: change ufs regulators for msmfalcon interposer QRD

Change ufs regulators for msmfalcon interposer QRD. Reduce
maximum power load that can be drawn from vcc and vccq2 supply.
Add the required minimum and maximum voltages of ufs phy.

CRs-Fixed: 1093028
Change-Id: Ic534c518116c18e98bd4e421365831400ef967f4
Signed-off-by: xiaonian <xiaonian@codeaurora.org>
7 years agoARM: dts: msm: Add sdhc2 regulator for QRD msmfalcon interposer
xiaonian [Thu, 1 Dec 2016 06:25:33 +0000 (14:25 +0800)]
ARM: dts: msm: Add sdhc2 regulator for QRD msmfalcon interposer

Add sdhc2 regulator corresponding to HW desgin.

CRs-Fixed: 1096038
Change-Id: Ib763bf5f58155fe2c6001357aa939d8098d2ff14
Signed-off-by: xiaonian <xiaonian@codeaurora.org>
7 years agodefconfig: msm: Disable CRYPTO_DEV_QCE config flag for msmfalcon
Brahmaji K [Tue, 4 Oct 2016 08:40:23 +0000 (14:10 +0530)]
defconfig: msm: Disable CRYPTO_DEV_QCE config flag for msmfalcon

Disable CONFIG_CRYPTO_DEV_QCE flag from defconfig,
which is not required for msmfalcon.

Change-Id: I29cf58d7069d758239c2f5712e70e94be20a42d3
Signed-off-by: Brahmaji K <bkomma@codeaurora.org>
7 years agoARM: dts: msm: Add ERP device definition on msmtriton
Srinivas Ramana [Wed, 30 Nov 2016 08:36:39 +0000 (14:06 +0530)]
ARM: dts: msm: Add ERP device definition on msmtriton

Add a device definition for the CPU Error Reporting
hardware on msmtriton, to allow hardware errors to be
reported to software.

Change-Id: I36561c446ade0ee36dfb266c6033ae7734af4df9
Signed-off-by: Srinivas Ramana <sramana@codeaurora.org>
7 years agoARM: dts: msm: Add ERP device definition on msmfalcon
Srinivas Ramana [Wed, 30 Nov 2016 08:35:43 +0000 (14:05 +0530)]
ARM: dts: msm: Add ERP device definition on msmfalcon

Add a device definition for the CPU Error Reporting
hardware on msmfalcon, to allow hardware errors to be
reported to software.

Change-Id: I73c3a129bd206e4c1c275a55f550e1ce847985c0
Signed-off-by: Srinivas Ramana <sramana@codeaurora.org>
7 years agoARM: dts: msm: Add cpu cache nodes for msmtriton
Srinivas Ramana [Wed, 30 Nov 2016 07:59:21 +0000 (13:29 +0530)]
ARM: dts: msm: Add cpu cache nodes for msmtriton

Add cpu cache nodes to represent the cache hierarchy and
to specify the dump size of each cache.

While at it also add the cache dump nodes which will enable
reserving the memory for cache dumps.

Change-Id: I1d80ac853eb283c411985ceebd0dc31ed046836a
Signed-off-by: Srinivas Ramana <sramana@codeaurora.org>
7 years agomsm: camera: isp: Check reg update miss only for PIX stream
Shubhraprakash Das [Tue, 15 Nov 2016 03:38:37 +0000 (19:38 -0800)]
msm: camera: isp: Check reg update miss only for PIX stream

Reg updates can only miss on PIX stream since reg updates
are forced for RDI streams. This also prevents the error
check from being called multiple times for PIX streams.

CRs-Fixed: 1089937
Change-Id: Ibe0ea7efabc5a8452f05fdc2ab8b3ec7931a66e7
Signed-off-by: Shubhraprakash Das <sadas@codeaurora.org>
7 years agomsm: camera: isp: Fix stats recovery
Shubhraprakash Das [Mon, 14 Nov 2016 21:52:59 +0000 (13:52 -0800)]
msm: camera: isp: Fix stats recovery

Stats buffer done was not coming after device reset because the
sequence for turning on stats was not right. Follow the same
sequence which is followed on start stream for stats during
recovery. Also, for vfe 46 version fix the write master offset.

CRs-Fixed: 1089758
Change-Id: I47849097022817dc411c31e3aadf037f6cae9a72
Signed-off-by: Shubhraprakash Das <sadas@codeaurora.org>
7 years agomsm: camera: isp: Stop camif based on user input
Shubhraprakash Das [Fri, 11 Nov 2016 20:06:55 +0000 (12:06 -0800)]
msm: camera: isp: Stop camif based on user input

If user requests the camif to be stopped immediately then do so.
Only user driver will know if input has already streamed off in
which case camif shopuld be stopped immediately as per the
user driver request.

CRs-Fixed: 1089754
Change-Id: I47df74cb72e41b3c00fcebaab9d709818820ed47
Signed-off-by: Shubhraprakash Das <sadas@codeaurora.org>
7 years agomsm: camera: isp: Return success if buffer not available
Shubhraprakash Das [Fri, 11 Nov 2016 18:45:27 +0000 (10:45 -0800)]
msm: camera: isp: Return success if buffer not available

If buffer is not available during stream start then do not treat
that as an error.

CRs-Fixed: 1087368
Change-Id: I8f56bbf621313676282e06449431d1961d4819eb
Signed-off-by: Shubhraprakash Das <sadas@codeaurora.org>
7 years agomsm: camera: isp: Reserve unified buffer(ub) space for rdi
Shubhraprakash Das [Mon, 7 Nov 2016 22:02:43 +0000 (14:02 -0800)]
msm: camera: isp: Reserve unified buffer(ub) space for rdi

Rdi and pix interfaces can operate on different camera and they
can start/stop independently. If once camera uses entire ub then
another camera will not get any ub resulting in overflow. Fix
this problem by reserving space for rdi interface in ub.

CRs-Fixed: 1087367
Change-Id: I66f03cec28d7e3ecda42c06f01eb18fd869c913b
Signed-off-by: Shubhraprakash Das <sadas@codeaurora.org>
7 years agomsm: camera: isp: Dual camera sync feature
Shubhraprakash Das [Fri, 2 Dec 2016 07:52:31 +0000 (23:52 -0800)]
msm: camera: isp: Dual camera sync feature

Add ioctl to swicth dual camera mode from sync to
unsync mode and vise versa. Also, change the logic
of frame id sync to support unsync mode.

CRs-Fixed: 1070296
Change-Id: I58e27c9ea66f1788d640bf523e7c6569cde162f7
Signed-off-by: Shubhraprakash Das <sadas@codeaurora.org>
Signed-off-by: Junzhe Zou <jnzhezou@codeaurora.org>
7 years agomsm: camera: isp: Increment stats active counter
Shubhraprakash Das [Mon, 31 Oct 2016 22:37:03 +0000 (15:37 -0700)]
msm: camera: isp: Increment stats active counter

The stats active counter was not being incremented, fix it.

CRs-Fixed: 1084238
Change-Id: I07b3c000836955eab9cf2273ce535c4317b3f166
Signed-off-by: Shubhraprakash Das <sadas@codeaurora.org>
7 years agoMerge "msm: mdss: hdcp_1x: remove obsolete code"
Linux Build Service Account [Fri, 2 Dec 2016 07:47:41 +0000 (23:47 -0800)]
Merge "msm: mdss: hdcp_1x: remove obsolete code"

7 years agoMerge "uapi/media: add additional ubwc compressed formats"
Linux Build Service Account [Fri, 2 Dec 2016 07:47:40 +0000 (23:47 -0800)]
Merge "uapi/media: add additional ubwc compressed formats"

7 years agoMerge "mm: Inform KASAN when allocating pages during isolation"
Linux Build Service Account [Fri, 2 Dec 2016 07:47:39 +0000 (23:47 -0800)]
Merge "mm: Inform KASAN when allocating pages during isolation"

7 years agoMerge "net: rmnet_data: Handle leaked packets when adding MAP fields in TX"
Linux Build Service Account [Fri, 2 Dec 2016 07:47:38 +0000 (23:47 -0800)]
Merge "net: rmnet_data: Handle leaked packets when adding MAP fields in TX"

7 years agomsm: camera: isp: Fix recovery in dual vfe mode
Shubhraprakash Das [Fri, 2 Dec 2016 07:41:31 +0000 (23:41 -0800)]
msm: camera: isp: Fix recovery in dual vfe mode

In case of dual vfe overflow recovery was failing because
the dual streams were not reset on both vfe. Fix the issue
with this change.

CRs-Fxied: 1076758
Change-Id: Iee81103263d95d93947a3967b1a3dbb568f76cf1
Signed-off-by: Shubhraprakash Das <sadas@codeaurora.org>
7 years agomsm: kgsl: Check MMU type for memory and pagetable operations
Rajesh Kemisetti [Fri, 11 Nov 2016 19:13:22 +0000 (00:43 +0530)]
msm: kgsl: Check MMU type for memory and pagetable operations

Check MMU type for below operations to make NOMMU functional:

- adreno_iommu_set_pt_ctx() tries to set pagetable during context
  switch without really checking on type of MMU.
- skip tracking of gpuaddr in case of NoMMU during
  kgsl_mem_entry_track_gpuaddr().
- In case of nommu the function kgsl_allocate_global() should
  always allocate contiguous memory from CMA.

Change-Id: I8cb59e1475376167c7a8a60c54df0939597f5083
Signed-off-by: Rajesh Kemisetti <rajeshk@codeaurora.org>
7 years agoARM: dts: msm: Remove clocks associated with GDSC for MSMfalcon/Trition
Taniya Das [Fri, 2 Dec 2016 03:52:38 +0000 (09:22 +0530)]
ARM: dts: msm: Remove clocks associated with GDSC for MSMfalcon/Trition

The clients of each GDSC would take care of any memory requirement of the
associated clocks, so remove them from GDSC.

Change-Id: Ic2df5ba83d1e7166aadc954aa137ec65ffa79133
Signed-off-by: Taniya Das <tdas@codeaurora.org>
7 years agoclk: msm: Remove overrides from clock header files for common clock
Taniya Das [Wed, 30 Nov 2016 05:48:20 +0000 (11:18 +0530)]
clk: msm: Remove overrides from clock header files for common clock

For clients using msm-clk-provider.h and msm-clk.h
header files, no override is expected for COMMON_CLK
framework so fixing the same by conditionally compiling
the clock header files.

Change-Id: I5f7393f3f486a884bfa881a93c01623c3cd2664d
Signed-off-by: Taniya Das <tdas@codeaurora.org>
7 years agoMerge "sched: pre-allocate colocation groups"
Linux Build Service Account [Fri, 2 Dec 2016 00:39:41 +0000 (16:39 -0800)]
Merge "sched: pre-allocate colocation groups"

7 years agoMerge "msm: mdss: restore pipe src/dst rect after multiple PU ROI update"
Linux Build Service Account [Fri, 2 Dec 2016 00:39:40 +0000 (16:39 -0800)]
Merge "msm: mdss: restore pipe src/dst rect after multiple PU ROI update"

7 years agoMerge "ASoc: msm: qdsp6v2: Add TX app type support in compress driver"
Linux Build Service Account [Fri, 2 Dec 2016 00:39:38 +0000 (16:39 -0800)]
Merge "ASoc: msm: qdsp6v2: Add TX app type support in compress driver"

7 years agoMerge "msm: camera: fix bound check of offset to avoid overread overwrite"
Linux Build Service Account [Fri, 2 Dec 2016 00:39:37 +0000 (16:39 -0800)]
Merge "msm: camera: fix bound check of offset to avoid overread overwrite"

7 years agoMerge "msm: camera: Print kernel pointer using correct specifier"
Linux Build Service Account [Fri, 2 Dec 2016 00:39:36 +0000 (16:39 -0800)]
Merge "msm: camera: Print kernel pointer using correct specifier"

7 years agoMerge "msm: camera: jpegdma: Check for compat config"
Linux Build Service Account [Fri, 2 Dec 2016 00:39:35 +0000 (16:39 -0800)]
Merge "msm: camera: jpegdma: Check for compat config"

7 years agoMerge "msm: camera2: cpp: Added secure buffer [un]mapping"
Linux Build Service Account [Fri, 2 Dec 2016 00:39:34 +0000 (16:39 -0800)]
Merge "msm: camera2: cpp: Added secure buffer [un]mapping"

7 years agoMerge "msm: mdss: dp: set crypto clock rate"
Linux Build Service Account [Fri, 2 Dec 2016 00:39:32 +0000 (16:39 -0800)]
Merge "msm: mdss: dp: set crypto clock rate"

7 years agoMerge "msm: mdss: hdcp_1x: update hdcp state on link integrity failures"
Linux Build Service Account [Fri, 2 Dec 2016 00:39:31 +0000 (16:39 -0800)]
Merge "msm: mdss: hdcp_1x: update hdcp state on link integrity failures"

7 years agoMerge "msm: mdss: dp: hdcp 2.2: add support for interrupt handling"
Linux Build Service Account [Fri, 2 Dec 2016 00:39:31 +0000 (16:39 -0800)]
Merge "msm: mdss: dp: hdcp 2.2: add support for interrupt handling"

7 years agoMerge "msm: mdss: avoid scheduling pp work during continuous updates"
Linux Build Service Account [Fri, 2 Dec 2016 00:39:29 +0000 (16:39 -0800)]
Merge "msm: mdss: avoid scheduling pp work during continuous updates"

7 years agouapi/media: add additional ubwc compressed formats
abeykun [Fri, 11 Nov 2016 15:36:54 +0000 (10:36 -0500)]
uapi/media: add additional ubwc compressed formats

Patch adds RGB565, RGBA 10-bit and P010 10-bit ubwc
compressed formats support to media API planes calculation.
Also fix in align macro when alignment is not a power of 2.

CRs-Fixed: 1096408
Change-Id: I4afcf7d5b22395eeda2e77131bd45592abaeb561
Signed-off-by: abeykun <abeykun@codeaurora.org>
Signed-off-by: Umesh Pandey <umeshp@codeaurora.org>
7 years agomsm: mdss: hdcp_1x: remove obsolete code
Ajay Singh Parmar [Sat, 19 Nov 2016 07:10:25 +0000 (23:10 -0800)]
msm: mdss: hdcp_1x: remove obsolete code

Remove HLOS and TZ communication mechanism which is
using SCM APIs. New hardware supports programming in
HLOS itself. Also, communication is now handled by
qseecom APIs. This makes SCM code obsolete and redundant.
Remove any such code which is not being used in current
hardware.

Change-Id: I9b120b88f92be517d1734697625038b28b32feb1
Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org>
7 years agoARM: dts: msm: Update ascent battery profile for GEN3 FG
Subbaraman Narayanamurthy [Wed, 30 Nov 2016 00:53:39 +0000 (16:53 -0800)]
ARM: dts: msm: Update ascent battery profile for GEN3 FG

As per the recent battery characterization, update the profile
data for ascent battery used with pmi8998 FG.

Change-Id: I405cb68749f63f6f779e4f3c2b47065b02ec07de
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
7 years agosched: pre-allocate colocation groups
Joonwoo Park [Mon, 28 Nov 2016 21:41:18 +0000 (13:41 -0800)]
sched: pre-allocate colocation groups

At present, sched_set_group_id() dynamically allocates structure for
colocation group to assign the given task to the group.  However
this can cause deadlock as memory allocator can wakeup a task which
also tries to acquire related_thread_group_lock.

Avoid such deadlock by pre-allocating colocation structures.  This
limits maximum colocation groups to static number but it's fine as it's
never expected to be a lot.

Change-Id: Ifc32ab4ead63c382ae390358ed86f7cc5b6eb2dc
Signed-off-by: Joonwoo Park <joonwoop@codeaurora.org>
7 years agoicnss: Add support of setting MAC address from platform driver
Yuanyuan Liu [Thu, 1 Dec 2016 18:55:25 +0000 (10:55 -0800)]
icnss: Add support of setting MAC address from platform driver

Add support of setting WLAN MAC address from platform driver.
The MAC address will be passed to WLAN driver when WLAN is
turned on.

CRs-Fixed: 1096286
Change-Id: I249222b419dd130241cbc84f4d41709b408941e0
Signed-off-by: Yuanyuan Liu <yuanliu@codeaurora.org>
7 years agomsm: mdss: restore pipe src/dst rect after multiple PU ROI update
Veera Sundaram Sankaran [Wed, 30 Nov 2016 22:27:19 +0000 (14:27 -0800)]
msm: mdss: restore pipe src/dst rect after multiple PU ROI update

During multiple partial update, each pipe is checked against
the two ROIs and the pipe's src and dst rect are cropped and
adjusted with respect to first_roi or second_roi, based on its
position. If the pipe is used with the same configs in the next
kickoff, restore the pipe's actual src/dst before continuing with
the kickoff.

Change-Id: I1db579626d96302e07fef1a755fb39944d3eaca8
Signed-off-by: Veera Sundaram Sankaran <veeras@codeaurora.org>
7 years agoASoc: msm: qdsp6v2: Add TX app type support in compress driver
Satish Babu Patakokila [Wed, 3 Aug 2016 15:54:53 +0000 (21:24 +0530)]
ASoc: msm: qdsp6v2: Add TX app type support in compress driver

Add TX app type support in compress driver to support different
post processing modules per COPP in the TX path

CRs-fixed: 1072067
Change-Id: I8e84577b5aff5e932632c4612a88808615d764ae
Signed-off-by: Satish Babu Patakokila <sbpata@codeaurora.org>
7 years agoASoc: msm: qdsp6v2: Add timestamp support for compress capture
Satish Babu Patakokila [Wed, 3 Aug 2016 15:17:59 +0000 (20:47 +0530)]
ASoc: msm: qdsp6v2: Add timestamp support for compress capture

Add timestamp support for compress driver.
Modify ASM driver to read the buffer from predefined offset.

CRs-fixed: 1072067
Change-Id: I1c46befc223285495b3c0650e6c3eaae81f58771
Signed-off-by: Satish Babu Patakokila <sbpata@codeaurora.org>
7 years agoMerge "msm: hdcp: add response timeout and new messages for sink"
Linux Build Service Account [Thu, 1 Dec 2016 17:23:50 +0000 (09:23 -0800)]
Merge "msm: hdcp: add response timeout and new messages for sink"

7 years agoMerge "Input: synaptics: check input, prevent sysfs races"
Linux Build Service Account [Thu, 1 Dec 2016 17:23:49 +0000 (09:23 -0800)]
Merge "Input: synaptics: check input, prevent sysfs races"

7 years agoMerge "mmc: core: check if CQE is already disabled before halt/unhalt"
Linux Build Service Account [Thu, 1 Dec 2016 17:23:47 +0000 (09:23 -0800)]
Merge "mmc: core: check if CQE is already disabled before halt/unhalt"

7 years agoMerge "msm: mdss: add support to set mdp clock rate before enable"
Linux Build Service Account [Thu, 1 Dec 2016 17:23:46 +0000 (09:23 -0800)]
Merge "msm: mdss: add support to set mdp clock rate before enable"

7 years agoMerge "msm ipa3: fix blocking faulty IOCTLs"
Linux Build Service Account [Thu, 1 Dec 2016 17:23:45 +0000 (09:23 -0800)]
Merge "msm ipa3: fix blocking faulty IOCTLs"

7 years agoMerge "mmc: block: send CMD13 when a response error detected in CQ mode"
Linux Build Service Account [Thu, 1 Dec 2016 17:23:45 +0000 (09:23 -0800)]
Merge "mmc: block: send CMD13 when a response error detected in CQ mode"

7 years agoARM: dts: msm: Add cpu cache nodes for msmfalcon
Srinivas Ramana [Wed, 16 Nov 2016 11:21:55 +0000 (16:51 +0530)]
ARM: dts: msm: Add cpu cache nodes for msmfalcon

Add cpu cache nodes to represent the cache hierarchy and
to specify the dump size of each cache.

While at it also add the cache dump nodes which will enable
reserving the memory for cache dumps.

Change-Id: I06eead417b77c74a6e12e6f6b5251c0c7e62c96b
Signed-off-by: Srinivas Ramana <sramana@codeaurora.org>
7 years agousb: gadget: f_rmnet: Add support for configfs
Ajay Agarwal [Thu, 27 Oct 2016 13:42:50 +0000 (19:12 +0530)]
usb: gadget: f_rmnet: Add support for configfs

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

Change-Id: Iad76a7e317dd9caf846dbe870baee63a8c5ce6c1
Signed-off-by: Ajay Agarwal <ajaya@codeaurora.org>
7 years agoARM: dts: msm: Add sdhc2 support for msmfalcon interposer
Sayali Lokhande [Mon, 21 Nov 2016 14:47:43 +0000 (20:17 +0530)]
ARM: dts: msm: Add sdhc2 support for msmfalcon interposer

Add sdhc2 support to enable SD card for msmfalcon
interposer platform.

Change-Id: I22df2ab1210d0ec7da1ac394e6c61beaa52eb712
Signed-off-by: Sayali Lokhande <sayalil@codeaurora.org>
7 years agommc: core: check if CQE is already disabled before halt/unhalt
Sahitya Tummala [Tue, 26 Apr 2016 09:30:04 +0000 (15:00 +0530)]
mmc: core: check if CQE is already disabled before halt/unhalt

Upon any CQ error, the driver tries to halt the CQE first and
if it fails to halt, then CQE is disabled. The error handling
work function mmc_blk_cmdq_err() also tries to HALT the CQE
at couple of places and takes some action based on the HALT
success/error status. But since CQE is disabled, we should not
treat any errors of CQE halt/unhalt as critical and in fact,
we should not even attempt to halt/unhalt.

Change-Id: I6bef9f2c033f78ad0959954acc5d7627e8a92139
Signed-off-by: Sahitya Tummala <stummala@codeaurora.org>
Signed-off-by: Sayali Lokhande <sayalil@codeaurora.org>
7 years agommc: cmdq_hci: enable legacy interrupts when CQ is disabled upon error
Sahitya Tummala [Tue, 26 Apr 2016 09:31:04 +0000 (15:01 +0530)]
mmc: cmdq_hci: enable legacy interrupts when CQ is disabled upon error

The legacy interrupts are enabled as part of CQE halt. But there could
be few cases, where halt fails. In those cases, CQE is disabled without
enabling legacy interrupts. Without this we cannot send any commands
like status CMD13 in legacy mode as part of error handling work.

Change-Id: I944ab4060e779c7f41a945532e6a65c30797d40f
Signed-off-by: Sahitya Tummala <stummala@codeaurora.org>
Signed-off-by: Sayali Lokhande <sayalil@codeaurora.org>
7 years agommc: sdhci: Handle legacy commands sent in CQ error cases properly
Sahitya Tummala [Tue, 26 Apr 2016 11:01:03 +0000 (16:31 +0530)]
mmc: sdhci: Handle legacy commands sent in CQ error cases properly

There could be cases where CQE halt might fail and in which
case, CQE gets disabled as part of error handling.
In this case, !mmc_host_halt() will be true and the commands
sent in legacy mode are getting software request timeout errors
as they are getting handled as cmdq irq.
Hence, add !mmc_host_cq_disable() check as well in addition to
!mmc_host_halt() in sdhci_irq() before considering it as a
cmdq irq.

Change-Id: Ic529aae53fdecd6b9ecbb17ba13147964dce55dc
Signed-off-by: Sahitya Tummala <stummala@codeaurora.org>
Signed-off-by: Sayali Lokhande <sayalil@codeaurora.org>
7 years agomsm: hdcp: add response timeout and new messages for sink
Ajay Singh Parmar [Tue, 29 Nov 2016 23:35:54 +0000 (15:35 -0800)]
msm: hdcp: add response timeout and new messages for sink

As per hdcp 2.2 specifications, send the stream type message
to sink at a specified address in case sink is a receiver.

Update the messages to be sent to sink with the message received
from TZ and tear down the session in case it time's out.

Also, enable encryption after stream management message
exchange for hdcp repeaters to avoid unnecessary link failures.

Change-Id: Ib77756c942abfbdd6e1522a3238d5d8499496fc9
Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org>
7 years agoInput: synaptics: check input, prevent sysfs races
Andrew Chant [Thu, 15 Sep 2016 23:19:50 +0000 (16:19 -0700)]
Input: synaptics: check input, prevent sysfs races

concurrent sysfs calls on the fw updater can cause
ugly race conditions.  Return EBUSY on concurrent sysfs calls.

For sysfs calls which generate deferred work, prevent
the deferred work from running concurrently with other
sysfs calls.

Also check that ext_data_source is appropriately sized
and allocated, based on a patch by
Gengjia Chen (chengjia4574@gmail.com).

Signed-off-by: Andrew Chant <achant@google.com>
Change-Id:I5bbe4992f3fd2d23db288296eaeb61f5831098e9
Bug: 30799828
Bug: 31252388
Git-repo: https://android.googlesource.com/kernel/msm.git
Git-commit: 287ce2ccfefe68067c1f9f5175b6664bf7397fe6
Signed-off-by: Srinivasa Rao Kuppala <srkupp@codeaurora.org>
7 years agoARM: dts: msm: Set max non secure region to 0xE0000000 on msm8998
Maheshwar Ajja [Thu, 1 Dec 2016 02:32:54 +0000 (18:32 -0800)]
ARM: dts: msm: Set max non secure region to 0xE0000000 on msm8998

Video hardware on msm8998 chipset limits the max non secure region
address to 0xE0000000. So reduce non secure region size to 0x6f800000
from 0x8f800000 to limit the max address to 0xE0000000.

CRs-Fixed: 1092881
Change-Id: Ib9602aa2298caf01ab01b4e0225c112c71bb81f4
Signed-off-by: Maheshwar Ajja <majja@codeaurora.org>
7 years agoMerge "ARM: dts: msm: Add qseecom device node for msmfalcon"
Linux Build Service Account [Thu, 1 Dec 2016 00:28:03 +0000 (16:28 -0800)]
Merge "ARM: dts: msm: Add qseecom device node for msmfalcon"

7 years agomsm: mdss: dp: set crypto clock rate
Ajay Singh Parmar [Tue, 29 Nov 2016 22:57:43 +0000 (14:57 -0800)]
msm: mdss: dp: set crypto clock rate

Crypto clock is needed for HDCP 1.x/2.x encryption. If not set,
it may result in link integrity failure as source and sink may
go out of synchronization. Set the crypto clock rate as per
hardware recommendations.

Change-Id: I768b3390fbe4728be285424d0ce27981e1a5d6cb
Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org>
7 years agomsm: vidc: fix lock issue in msm_comm_get_mbs_per_sec()
Maheshwar Ajja [Tue, 29 Nov 2016 21:14:11 +0000 (13:14 -0800)]
msm: vidc: fix lock issue in msm_comm_get_mbs_per_sec()

Forward thread acquired v4l2_ctrl->handler->lock in
v4l2_s_ctrl() and waiting for response from response thread.
Response thread was blocked on core->lock which was acquired
by second forward thread. The second forward thread acquired
core->lock and called v4l2_g_ctrl() in msm_comm_get_mbs_per_sec()
where it was blocked on same v4l2_ctrl->handler->lock and hence
response thread was not unblocked. Resolve the deadlock issue
by avoiding v4l2_g_ctrl() call in msm_comm_get_mbs_per_sec().

CRs-Fixed: 1095539
Change-Id: I73c2a74f1bb86f2b0359be54ed4f7675051db7b0
Signed-off-by: Maheshwar Ajja <majja@codeaurora.org>
7 years agomsm: mdss: dp: hdcp 2.2: add support for interrupt handling
Ajay Singh Parmar [Tue, 29 Nov 2016 23:23:53 +0000 (15:23 -0800)]
msm: mdss: dp: hdcp 2.2: add support for interrupt handling

Enable the interrupts required by hdcp 2.2 to update the hdcp 2.2
state machine as per hardware status.

Change-Id: Ib551b1fe8641203b66a31e745d5091641b4d0ae2
Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org>
7 years agomsm ipa3: fix blocking faulty IOCTLs
Amir Levy [Mon, 28 Nov 2016 10:12:01 +0000 (12:12 +0200)]
msm ipa3: fix blocking faulty IOCTLs

This change prevents blocking IOCTLs with wrong command
number or wrong magic Number. IOCTL handler should first
check that the command is valid and only then wait for
IPA driver initializations to finish.

CRs-Fixed: 1094653
Signed-off-by: Amir Levy <alevy@codeaurora.org>
Change-Id: I578dc96da96f7c10be51eac1f8b3c190e45dcfcf

7 years agousb: gadget: Add RMNET support using IPA over BAM2BAM
Ajay Agarwal [Fri, 21 Oct 2016 05:10:45 +0000 (10:40 +0530)]
usb: gadget: Add RMNET support using IPA over BAM2BAM

This change adds RMNET support using IPA over BAM2BAM.
Removes all different supported control and data
transports and assumes BAM2BAM_IPA as default mode.
Cleans up QTI Control driver to support only RMNET
and DPL.

Change-Id: I5b763acfb28c2f1832874af786704835314fa9c7
Signed-off-by: Ajay Agarwal <ajaya@codeaurora.org>
7 years agoMerge "msm: mdss: Fix null pointer reference during debug init"
Linux Build Service Account [Wed, 30 Nov 2016 13:41:00 +0000 (05:41 -0800)]
Merge "msm: mdss: Fix null pointer reference during debug init"

7 years agoMerge "msm: mdss: Add HFP_CALC_CLK way to switch frame rate"
Linux Build Service Account [Wed, 30 Nov 2016 13:40:59 +0000 (05:40 -0800)]
Merge "msm: mdss: Add HFP_CALC_CLK way to switch frame rate"

7 years agoMerge "msm: mdss: change error return value for lineptr sysfs entries"
Linux Build Service Account [Wed, 30 Nov 2016 13:40:58 +0000 (05:40 -0800)]
Merge "msm: mdss: change error return value for lineptr sysfs entries"

7 years agoMerge "msm: crypto: set CLR_CNTXT bit for crypto operations"
Linux Build Service Account [Wed, 30 Nov 2016 13:40:57 +0000 (05:40 -0800)]
Merge "msm: crypto: set CLR_CNTXT bit for crypto operations"