Commit graph

575314 commits

Author SHA1 Message Date
Linux Build Service Account
ae9014335d Merge "ARM: dts: msm: Add bus name to venus pil for MSMCOBALT" 2016-09-29 11:20:50 -07:00
Linux Build Service Account
be6bc701ce Merge "msm: kgsl: Revisit the GPU snapshot dumping" 2016-09-29 11:20:49 -07:00
Linux Build Service Account
76d2d17c13 Merge "ASoC: wcd934x: Add dapm ignore suspend for backend dais" 2016-09-29 11:20:48 -07:00
Linux Build Service Account
c2663a6470 Merge "diag: Fix possible buffer corruption by proper typecasting" 2016-09-29 11:20:48 -07:00
Linux Build Service Account
612fafbe3e Merge "input: touchscreen: Change dev_pm_ops for Goodix driver" 2016-09-29 11:20:33 -07:00
Linux Build Service Account
5ec3200668 Merge "ASoC: msm: initialize the params array before using it" 2016-09-29 11:20:32 -07:00
Linux Build Service Account
c60a678c0e Merge "ASoC: msmcobalt: send ANC config for WCD9340 codec" 2016-09-29 11:20:31 -07:00
Linux Build Service Account
45bd3054fc Merge "ARM: dts: msm: Fix smem rpm xprt entry for msmfalcon" 2016-09-29 11:20:31 -07:00
Linux Build Service Account
f6d68e27bf Merge "sched: constrain HMP scheduler tunable range with in better way" 2016-09-29 11:20:30 -07:00
Linux Build Service Account
fbf3c441eb Merge "defconfig: msmcortex: Enable core control" 2016-09-29 11:20:18 -07:00
Linux Build Service Account
95ce9d98db Merge "sched/core_ctl: Integrate core control with cpu isolation" 2016-09-29 11:20:17 -07:00
Linux Build Service Account
461424e5ec Merge "sched/core_ctl: Refactor cpu data" 2016-09-29 11:20:17 -07:00
Linux Build Service Account
bbf8724641 Merge "core_ctrl: Move core control into kernel" 2016-09-29 11:20:17 -07:00
Linux Build Service Account
a18b94fe05 Merge "ARM: dts: msm: Update TSENS sensor ID for MSMCOBALT" 2016-09-29 11:20:15 -07:00
Linux Build Service Account
e84d273d90 Merge "thermal: tsens: Update sensor ID index" 2016-09-29 11:20:14 -07:00
Linux Build Service Account
dee200e246 Merge "net: ipc_router: fix NULL pointer de-reference issue" 2016-09-29 11:20:14 -07:00
Linux Build Service Account
2ef6e7b165 Merge "soc: qcom: Listen to SUBSYS_AFTER_SHUTDOWN notification" 2016-09-29 11:20:13 -07:00
Linux Build Service Account
06b25aaee0 Merge "ASoC: wcd9335: add handset speaker gain mixer control" 2016-09-29 11:20:12 -07:00
Linux Build Service Account
e70bdf79d7 Merge "ARM: dts: msm: Add SMP2P entries for MSMTRITON" 2016-09-29 11:20:09 -07:00
Linux Build Service Account
b7a533836a Merge "arm64: process: Reduce the no. of bytes of data around registers" 2016-09-29 11:20:08 -07:00
Linux Build Service Account
54ff1c7439 Merge "msm: pil: Adding function name and buffer size information in logs" 2016-09-29 11:20:07 -07:00
Linux Build Service Account
8da5055a8d Merge "wil6210: extract firmware capabilities from FW file" 2016-09-29 11:20:01 -07:00
Linux Build Service Account
1e6c420f32 Merge "ARM: dts: msm: Remove 710Mhz frequency for A540v2 GPU." 2016-09-29 11:20:00 -07:00
Linux Build Service Account
c5de06bf5c Merge "ASoC: msm: qdsp6v2: Change device switch handling" 2016-09-29 11:20:00 -07:00
Linux Build Service Account
6f2eaf846d Merge "misc: qcom: qdsp6v2: SSR recovery support for NT decoder" 2016-09-29 11:19:58 -07:00
Linux Build Service Account
50edc528ba Merge "msm: pcie: configurable PERST propagation delay" 2016-09-29 11:19:57 -07:00
Linux Build Service Account
d099799530 Merge "msm: camera: Add a driver to control IR CUT device" 2016-09-29 11:19:56 -07:00
Linux Build Service Account
a04c752c85 Merge "msm: camera: Export IR CUT device to mm-qcamera-daemon" 2016-09-29 11:19:54 -07:00
Shantanu Jain
4bfc4cac73 input: touchscreen: Change dev_pm_ops for Goodix driver
Convert the driver to dev_pm_ops from SIMPLE_DEV_PM_OPS
in Goodix TS driver to reduce suspend/resume latency.

Change-Id: I45690b239c73f636538b864f0c4a7e539a02eedb
Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
2016-09-28 13:22:05 +05:30
Himanshu Aggarwal
80fa7e9893 input: touchscreen: Fix issues in suspend path
Fix issues in suspend path in Goodix driver.

Change-Id: I280f2201c69838ad4da8eb94e9f10768f54ed457
Signed-off-by: Himanshu Aggarwal <haggarwa@codeaurora.org>4
Signed-off-by: Sudhakar Manapati <smanap@codeaurora.org>
2016-09-27 16:33:03 +05:30
Himanshu Aggarwal
12e637fc79 input: touchscreen: Remove redundant code from Goodix driver
Remove code that reads firmware from the header file,
this feature is not supported.

Change-Id: I6c18e153ddf18667ca83d47df20c71bce6dbfa21
Signed-off-by: Himanshu Aggarwal <haggarwa@codeaurora.org>
2016-09-27 15:55:44 +05:30
Shantanu Jain
e172c0da0e input: touchscreen: Remove irq polling from Goodix driver
Remove irq polling from Goodix driver. Use interrupt based
mechanism to process interrupts from touch controller.

Change-Id: I0a9037eac6e30a6319919043dd2ef1c226663af9
Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
Signed-off-by: Sudhakar Manapati <smanap@codeaurora.org>
2016-09-27 15:31:07 +05:30
Shantanu Jain
1758da06e7 input: touchscreen: Add threaded irq support to Goodix driver
Add threaded irq support to Goodix touchscreen driver to reduce
the time spent with interrupts diabled to a bare minimum by
pushing the processing out into the kernel thread.

Change-Id: I3ade13181957d327ad9d0266b1999a4b0f2d8d1a
Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
2016-09-26 21:30:43 -07:00
Puja Gupta
49516d6735 ARM: dts: msm: Add bus name to venus pil for MSMCOBALT
Add "qcom,msm-bus,name" property which is required for bus scaling to
venus pil node for MSMCOBALT.

CRs-Fixed: 1071217
Change-Id: I37e6f76b60ef0085d102c5d98179b467f6b77dee
Signed-off-by: Puja Gupta <pujag@codeaurora.org>
2016-09-26 10:59:25 -07:00
Hareesh Gundu
2defccd495 msm: kgsl: Revisit the GPU snapshot dumping
Add a new linux header to support 64 bit pagetable address in Linux OS
section.
Add a new linux context header to support v2+ Linux version in Linux
context section.
Remove multiple register reads on CP IB registers and have a single
CP register read to get the active IB information.
Add Active IBs to obj_list in case static snapshot blob is not having
enough memory, so that it get dumped into dynamic blob.
Add a message in case any active IB is not getting dumped into snapshot
binary.

Change-Id: Icee01f6ba95e469acac9eed6bf2fdbc83947f5a8
Signed-off-by: Hareesh Gundu <hareeshg@codeaurora.org>
2016-09-26 10:21:27 -07:00
Shantanu Jain
cf29d5ea82 input: touchscreen: Add debugfs support for suspend/resume.
Add debugfs entry for suspend/resume that allow suspending/
resuming of Goodix CTP driver from userspace. Also change
the return type of goodix_ts_resume and goodix_ts_suspend
functions and set the status of gtp_is_suspended in the last
of above functions.

Change-Id: Ic2b1b2562b63ccecdf15bdc64ad7e45996d196d3
Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
2016-09-26 16:09:42 +05:30
Manoj Prabhu B
998b7faca0 diag: Fix possible buffer corruption by proper typecasting
This patch removes the possibilty of header length and read length
having negative values and thereby possible buffer corruption.

CRs-Fixed: 1002389
Change-Id: Id74650d5c4aaf9f84a56372f60ff5a40374e8f7b
Signed-off-by: Manoj Prabhu B <bmanoj@codeaurora.org>
2016-09-25 22:57:01 -07:00
Sudhakar Manapati
740bb381f6 msm: reap unused kernel files
This change removes source files from the kernel tree that
were not being used during make.

Change-Id: I5132854367330a9b47f678409cbe6a45f2b5abb3
Signed-off-by: Sudhakar Manapati <smanap@codeaurora.org>
2016-09-25 22:52:45 -07:00
Shantanu Jain
f936c4437f input: touchscreen: Code clean-up for Goodix driver
Fix errors and warnings found by checkpatch script in
goodix_tool.c and gt9xx_update.c. Correct debug messages
in goodix_update.c. Remove magic numbers for read-write
flags with macros in goodix_tool.c

Change-Id: I3a00fb46106f859128f0fa9b8c99b5d6ba24bc7b
Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
2016-09-25 22:52:18 -07:00
Walter Yang
fac2eca782 ASoC: msm: initialize the params array before using it
The params array is used without initialization, which may cause
security issues. Initialize it as all zero after the definition.

CRs-Fixed: 1062271
Change-Id: If462fe3d82f139d72547f82dc7eb564f83cb35bf
Signed-off-by: Walter Yang <yandongy@codeaurora.org>
2016-09-25 19:24:31 -07:00
Vidyakumar Athota
a170ccba8c ASoC: msmcobalt: send ANC config for WCD9340 codec
ADSP requires ANC configuration to run the ANC algorithm.
Send the common configuration for both WCD9335 and WCD9340
codecs.

Change-Id: I12154b0aa315fde6dd92267d4c8f4a78a6f0236f
Signed-off-by: Vidyakumar Athota <vathota@codeaurora.org>
2016-09-25 08:41:15 -07:00
Olav Haugan
ddaf94c768 defconfig: msmcortex: Enable core control
core control enables you to save power by controlling how many
cores are being used depending on the load in the system.

Change-Id: I5975f1e5d7a1947dc5ee1cf8a0c16ec88b0fc6fb
Signed-off-by: Olav Haugan <ohaugan@codeaurora.org>
2016-09-24 11:00:07 -07:00
Olav Haugan
e42aae958b sched/core_ctl: Integrate core control with cpu isolation
Replace hotplug functionality in core control with cpu isolation
and integrate into scheduler.

Change-Id: I4f1514ba5bac2e259a1105fcafb31d6a92ddd249
Signed-off-by: Olav Haugan <ohaugan@codeaurora.org>
2016-09-24 11:00:06 -07:00
Olav Haugan
e7c8de6756 sched/core_ctl: Refactor cpu data
Refactor cpu data into cpu data and cluster data to improve readability and
ease of understanding the code.

Change-Id: I96505aeb9d07a6fa3a2c28648ffa299e0cfa2e41
Signed-off-by: Olav Haugan <ohaugan@codeaurora.org>
2016-09-24 11:00:05 -07:00
Olav Haugan
5d1e98d51d trace: Move core control trace events to scheduler
Move the core control trace events to scheduler trace event file.

Change-Id: I65943d8e4a9eac1f9f5a40ad5aaf166679215f48
Signed-off-by: Olav Haugan <ohaugan@codeaurora.org>
2016-09-24 11:00:04 -07:00
Olav Haugan
59f16ae034 core_ctrl: Move core control into kernel
Move core control from out-of-tree module into the kernel proper.

Core control monitors load on CPUs and controls how many CPUs are
available for the system to use at any point in time. This can help save
power. Core control can be configured through sysfs interface.

Change-Id: Ia78e701468ea3828195c2a15c9cf9fafd099804a
Signed-off-by: Olav Haugan <ohaugan@codeaurora.org>
2016-09-24 11:00:03 -07:00
Olav Haugan
7f2c523643 core_ctl_helper: Remove code since it is not used anymore
Remove the core control helper code since this is not needed anymore
with subsequent patches that moves core control into the kernel.

Change-Id: I62acddeb707fc7d5626580166b3466e63f45fd89
Signed-off-by: Olav Haugan <ohaugan@codeaurora.org>
2016-09-24 11:00:02 -07:00
Olav Haugan
75c9d1833a defconfig: msm: Disable core control helper
Core control helper is not needed anymore with subsequent patches
that moves core control into the kernel.

Change-Id: I2c62af441fb9e5ba9f29719853a63e4c8f2d031b
Signed-off-by: Olav Haugan <ohaugan@codeaurora.org>
2016-09-24 11:00:01 -07:00
Olav Haugan
ca2c4c6518 sched/tick: Ensure timers does not get queued on isolated cpus
Timers should not be queued on isolated cpus. Instead try to find
other cpus to queue timer on.

Change-Id: I5d849dfd29aa5bb594454473768d7db1da258028
Signed-off-by: Olav Haugan <ohaugan@codeaurora.org>
2016-09-24 11:00:00 -07:00
Olav Haugan
639c8ad52d perf: Add cpu isolation awareness
Ensure perf events does not wake up idle cores when core is isolated.

Change-Id: Ifefb2f1cf6c24af7bc46fc62797955b8c8ad5815
Signed-off-by: Olav Haugan <ohaugan@codeaurora.org>
2016-09-24 10:59:59 -07:00