Commit graph

580038 commits

Author SHA1 Message Date
Srinivas Ramana
b12be00f05 ARM: dts: msm: Add initial device tree for APQ FALCON
Add initial device tree support and socinfo support for
APQ variants of falcon.

Change-Id: Ie955a9b544890b799a0c8cd5bb71d27d8cdc7307
Signed-off-by: Srinivas Ramana <sramana@codeaurora.org>
2016-12-20 16:04:31 +05:30
Vinayak Menon
002162949f defconfig: msmfalcon: enable process reclaim
Enable per process reclaim on msmfalcon to allow
targeted reclaim of anonymous pages.

Change-Id: I5c725ca8bf83753908f0ababb39f4d8c0c247171
Signed-off-by: Vinayak Menon <vinmenon@codeaurora.org>
2016-12-20 15:53:25 +05:30
Vinayak Menon
d4e8349cb1 defconfig: msmfalcon: enable memory cgroup
Enable memory cgroup and the swap extension for
memcg on msmfalcon.

Change-Id: I59126e7badc8c7b22bb4a0782e2119a76fd42ce8
Signed-off-by: Vinayak Menon <vinmenon@codeaurora.org>
2016-12-20 15:42:07 +05:30
Chandana Kishori Chiluveru
025b721004 USB: gadget: u_data_ipa: Handle usb requests allocation/free correctly
Currently USB requests are allocated during connect work for starting
endless TX and RX in BAM2BAM over IPA. But these requests are not freed
during disconnect which leads to memory leak and could result in memory
allocation failure in function drivers during next connect. Hence free USB
requests allocated during disconnect to fix memleak issue and also move
allocation of RX/TX usb requests to gbam_connect to avoid crashes due
to NULL pointer dereference.

Also extend spinlock protection to avoid the crashes during connect and
disconnect functions.

Change-Id: I4362fde2928857253d2150e4d9531cada876cd58
Signed-off-by: Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
Signed-off-by: Chandana Kishori Chiluveru <cchiluve@codeaurora.org>
Signed-off-by: Ajay Agarwal <ajaya@codeaurora.org>
2016-12-20 15:41:24 +05:30
Vinayak Menon
57dff2d0cc defconfig: msmfalcon: sync defconfigs
Sync the msmfalcon defconfigs.

Change-Id: I91bc341cb9ae414020c8770a2bd508fae63b9294
Signed-off-by: Vinayak Menon <vinmenon@codeaurora.org>
2016-12-20 15:34:27 +05:30
Taniya Das
fa4531b69a ARM: dts: msm: Add support for clock debug for MSMfalcon/MSMtriton
Clock debug mux node is required for global clock controller, CPU, graphics
clock controller and multimedia clock controller. Add syscon device nodes
for the required nodes.

Change-Id: Ie6571c7b780f184e6af78c3c339e51820a09dfa8
Signed-off-by: Taniya Das <tdas@codeaurora.org>
2016-12-20 15:27:57 +05:30
Laxminath Kasam
2b6c284a85 defconfig: enable compile audio for msmfalcon
Enable audio compilation for internal and
external codecs on arm64 and arm msmfalcon.

CRs-Fixed: 1094763
Change-Id: I8b7fac5dd2c1f4aee3843c4f1b7fb548b389e192
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2016-12-20 15:23:34 +05:30
Sayali Lokhande
f58bc3983e mmc: host: Use correct flag to support 64-bit DMA
Use correct flag(SDHCI_USE_64BIT_DMA) to support
64-bit DMA on 4.4 kernel.

Change-Id: If29cd030e84603264d0091e015b2885a9303d860
Signed-off-by: Sayali Lokhande <sayalil@codeaurora.org>
2016-12-20 14:56:37 +05:30
cyizhao
d9b1550997 ARM: dts: msm: configure wled for mdss on falcon interposer qrd
Specify the number of strings in WLED properly to support
brightness for mdss on msmfalcon interposer.

CRs-Fixed: 1096083
Change-Id: I22bc2803d1cfa57777dda41c6d635b60f2740fad
Signed-off-by: cyizhao <cyizhao@codeaurora.org>
2016-12-20 17:07:35 +08:00
cyizhao
677fcbdb4e ARM: dts: msm: Add battery profile for FG in qrd8998 interposer
Add battery profile for 8998 QRD interposer to
make sure FG could load it and work as expected.

CRs-Fixed: 1086571
Change-Id: I70c5ec050f88e23c1d09fe0d19ac34a4a56977a1
Signed-off-by: cyizhao <cyizhao@codeaurora.org>
2016-12-20 17:05:05 +08:00
Srivatsa Vaddagiri
f3e2e2863a sched: Avoid packing tasks with low sleep time
Low sleep time can be an indication that waking tasks will not receive
any vruntime bonus and hence would suffer from latency when packed.
short-burst tasks sleeping on an average more than sched_short_sleep_ns
are not eligible for packing. This policy covers the case where a
task runs in short bursts and sleeping for smaller duration in between.

Change-Id: Ib81fa37809b85c267949cd433bc6115dd89f100e
Signed-off-by: Srivatsa Vaddagiri <vatsa@codeaurora.org>
Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
2016-12-20 14:15:59 +05:30
Laxminath Kasam
de08d134d9 ASoC: msm: Add routing controls for hfp, port mixer
In internal codec, add routing controls for
INTx port mixer, HFP and other supported usecases.

Change-Id: Ib132eaa99e0632807124f44c8dd3bc90cf6710b0
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2016-12-20 12:40:48 +05:30
Sathish Ambley
1c28ba9fb4 ARM: dts: msm: Add compute context banks for msmfalcon
Enable FastRPC by supporting new context banks on CDSP
and ADSP for msmfalcon.

Change-Id: I992dbe23baf9a159e513c57b0a5f24e14d9b391d
Acked-by: Chenna Kesava Raju <chennak@qti.qualcomm.com>
Signed-off-by: Sathish Ambley <sathishambley@codeaurora.org>
2016-12-19 22:45:59 -08:00
Sathish Ambley
c7835c5795 defconfig: msm: enable remote debugger driver
The Remote Debugger Driver allows a debugger running on a host PC
to communicate with a remote stub running on peripheral sybsystems.

Change-Id: I99dddc023b17a24e55a96bf3f9e81abe474891e1
Acked-by: Viswanatham Paduchuri <vpaduchu@qti.qualcomm.com>
Signed-off-by: Sathish Ambley <sathishambley@codeaurora.org>
2016-12-19 22:40:51 -08:00
Taniya Das
050365a312 clk: qcom: Add support for debugfs for MSMfalcon
The debugfs measure would be required to be supported for clocks whose
frequency could be measured using the ring oscillator. Add the debug mux
sel indexes for all the clocks supporting measure.

Change-Id: I0a28b320aa910d27987162dfcbe4e43aeca341fa
Signed-off-by: Taniya Das <tdas@codeaurora.org>
2016-12-20 12:07:06 +05:30
Ananda Kishore
2f9a1f3fc1 ARM: dts: msm: enable SSC based sensors for msmfalcon MTP/CDP
Add device node for SSC sensor device for msmfalcon. It
helps to create device node to make userspace clients read
snapdragonsensor(SSC) related information.

Change-Id: Iffb8a21b28ea9ce4dd0aa183f59c70b895dec4ec
Signed-off-by: Ananda Kishore <kananda@codeaurora.org>
2016-12-20 11:59:17 +05:30
Brahmaji K
6b7232dc91 msm-3.18: drivers : added validation of input/output buffer sizes
This change fixes issues reagrding the ioctl
QSEECOM_IOCTL_MDTP_CIPHER_DIP_REQ uncovered by fuzzy tests.
Modified handler of above ioctl, not to allow input/output
buffer sizes greater than a fixed defined size.

Change-Id: I69f94a29d939341564f6f3ebfda48fceaa934542
Signed-off-by: Brahmaji K <bkomma@codeaurora.org>
2016-12-19 22:25:39 -08:00
Manu Gautam
ccca5c248d USB: dwc3-msm: Perform HW reinitialization on HC died error
USB core provides atomic notifier that can be used by platform
drivers to perform hardware reset/recovery on HC died error.
This error is fatal and requires complete hardware
re-initialization. This will remove and add hcd again.

CRs-fixed: 1048766
Change-Id: Ic889ef002717a8fa33e9b7c27fab14a8778bba89
Signed-off-by: Manu Gautam <mgautam@codeaurora.org>
Signed-off-by: Chandana Kishori Chiluveru <cchiluve@codeaurora.org>
Signed-off-by: Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
2016-12-20 11:37:37 +05:30
Gaurav Kohli
ff20f40a3e ARM: dts: msm: Update regulator node for PIL for MSMFalcon/Triton
For LPASS PIL correct the regulator voting for MSMFalcon/Triton.

Change-Id: I9cde75ba78cab1aa41e9421ded203767c54635f7
Signed-off-by: Gaurav Kohli <gkohli@codeaurora.org>
2016-12-19 21:55:16 -08:00
Krishnankutty Kolathappilly
92d5d6f27e msm: cpp: Use the micro reset binding to decide if micro can be reset
Read the micro reset binding to decide if micro can be reset. This
will reset micro and prevent load firmware failures during power
sequences.

CRs-Fixed: 1098549
Change-Id: Ic46702dd6670f08e034ad0671d82a0bdcef80dd4
Signed-off-by: Krishnankutty Kolathappilly <kkolatha@codeaurora.org>
2016-12-19 17:59:55 -08:00
Krishnankutty Kolathappilly
1051be44eb ARM: dts: msm: Add cpp micro reset flag for 8998 and 8996
Add cpp micro reset flag for 8998 and 8996. Reset the micro
only if micro reset flag is enabled in cpp node.

CRs-Fixed: 1098549
Change-Id: I56c6847c74e5f4d8eafdb3d4cabe34a3b46b5825
Signed-off-by: Krishnankutty Kolathappilly <kkolatha@codeaurora.org>
2016-12-19 17:40:36 -08:00
Linux Build Service Account
c0a8f9e80a Merge "clk: qcom: mmcc: Update the DSI PLL parent names" 2016-12-19 17:04:59 -08:00
Linux Build Service Account
d12c191415 Merge "msm: mdss: Optimize Gamut Mapping programming sequence" 2016-12-19 17:04:57 -08:00
Linux Build Service Account
5a66e9b789 Merge "sched: Track average sleep time" 2016-12-19 17:04:55 -08:00
Linux Build Service Account
e26b0777dc Merge "sched: Avoid waking idle cpu for short-burst tasks" 2016-12-19 17:04:54 -08:00
Linux Build Service Account
af833ae6a8 Merge "sched: Track burst length for tasks" 2016-12-19 17:04:53 -08:00
Linux Build Service Account
1906639e88 Merge "sensors: ssc: update device tree documentation for ssc based sensors" 2016-12-19 17:04:52 -08:00
Linux Build Service Account
ef9871c708 Merge "Merge branch 'v4.4-16.09-android-tmp' into lsk-v4.4-16.09-android" 2016-12-19 17:04:51 -08:00
Linux Build Service Account
5c09735659 Merge "ARM: dts: msm: Enable Gm control for pm2falcon" 2016-12-19 17:04:50 -08:00
Linux Build Service Account
28f5a82fc0 Merge "ARM: dts: msm: add tpdm, tpda and cti nodes on msmfalcon" 2016-12-19 17:04:49 -08:00
Linux Build Service Account
0cbaa2e963 Merge "mm: memcontrol: fix a compile time error" 2016-12-19 17:04:48 -08:00
Linux Build Service Account
732f41a12d Merge "defconfig: msmfalcon: enable compilation of MDSS PLL driver" 2016-12-19 17:04:47 -08:00
Linux Build Service Account
08e631d743 Merge "drivers: cpuidle: lpm-levels: Fix round off error in calculation" 2016-12-19 17:04:47 -08:00
Linux Build Service Account
04b62f8347 Merge "clk: msm: hdmi: HDMI 10nm HPG Rev2.0 update" 2016-12-19 17:04:46 -08:00
Linux Build Service Account
59271976c4 Merge "ARM: dts: msm: Add dual camera support for qrd8998 skuk board" 2016-12-19 17:04:45 -08:00
Linux Build Service Account
3c9dafbd3d Merge "ARM: dts: msm: Add lpass pmu irq to mpm wakeup list for msmfalcon" 2016-12-19 17:04:44 -08:00
Linux Build Service Account
9eaded2a99 Merge "msm: vidc: fix issue when video session opening failed" 2016-12-19 17:04:44 -08:00
Linux Build Service Account
313f26f620 Merge "ARM: dts: msm: Delete RGB led trigger properties in QRD 8998 SKUK" 2016-12-19 17:04:43 -08:00
Linux Build Service Account
7e9912c05f Merge "ARM: dts: msm: Enable volume up key for 8998 QRD interposer" 2016-12-19 17:04:42 -08:00
Linux Build Service Account
f4566b3454 Merge "clk: qcom: Add support for hardware control branch" 2016-12-19 17:04:41 -08:00
Linux Build Service Account
647e340bc2 Merge "lowmemorykiller: Introduce sysfs node for ALMK and PPR adj threshold" 2016-12-19 17:04:40 -08:00
Linux Build Service Account
7c8408bb10 Merge "usb: gadget: composite: enable BESL support" 2016-12-19 17:04:40 -08:00
Linux Build Service Account
14c4731417 Merge "msm: camera: Synchronize jpeg ISR and userspace call" 2016-12-19 17:04:39 -08:00
Linux Build Service Account
b77f920e9c Merge "iio: rradc: Update reading BATT_ID channel" 2016-12-19 17:04:38 -08:00
Linux Build Service Account
3a216b65d0 Merge "qcom: scm: Support register r6 to pass the session id" 2016-12-19 17:04:38 -08:00
Linux Build Service Account
be7e27e9ca Merge "defconfig: msm: disable AIO support for msm8998" 2016-12-19 17:04:37 -08:00
Linux Build Service Account
4da8ac753f Merge "arm64: kaslr: fix breakage with CONFIG_MODVERSIONS=y" 2016-12-19 17:04:36 -08:00
Linux Build Service Account
f5145b90f3 Merge "smb-lib: report FULL regardless of charger presence" 2016-12-19 17:04:35 -08:00
Linux Build Service Account
8778c16b56 Merge "ARM: dts: msm: Enable APSS-RPM communication for msmfalcon" 2016-12-19 17:04:35 -08:00
Linux Build Service Account
01ad371619 Merge "smb-lib : Fix incorrect VALID_INPUT_POWER_SOURCE_BIT check" 2016-12-19 17:04:34 -08:00