Commit graph

599358 commits

Author SHA1 Message Date
Linux Build Service Account
a7fd106f1a Merge "regulator: cprh-kbss: Add speed-bin 4 support for sdm660" 2018-05-14 19:56:23 -07:00
Linux Build Service Account
f957c365f1 Merge "diag: Initialize memory device memory pools" 2018-05-14 19:56:21 -07:00
Linux Build Service Account
0e9b2e997d Merge "Revert "defconfig: msm: Enable 802.11AD WiFi platform driver"" 2018-05-14 19:56:20 -07:00
Linux Build Service Account
90410eaf1d Merge "ARM: dts: msm: add hab device node into the msm8996 ivi LA vplatform" 2018-05-14 19:56:19 -07:00
Linux Build Service Account
0299331256 Merge "ARM: dts: msm: Use peripheral nodes from QRD630 on QRD636" 2018-05-14 19:56:16 -07:00
Jiangen Jiao
c793b29774 ARM: dts: msm: Use peripheral nodes from QRD630 on QRD636
Include QRD630 device tree file to leverage peripherals nodes and
delete smb1351 node as it is not present on QRD630 board.

Change-Id: I91b6356bf7267d56af73eee1a1bea3fa5ae944f4
Signed-off-by: Jiangen Jiao <jiangenj@codeaurora.org>
Signed-off-by: Zhenhua Huang <zhenhuah@codeaurora.org>
2018-05-14 15:46:46 +08:00
Sreelakshmi Gownipalli
a84cbe29cb diag: Initialize memory device memory pools
Initialize memory device memory pools for diag bridge
only during diag bridge initialization.

Change-Id: I6454ced55e020ade9e3bb99a266548f77f79e193
Signed-off-by: Sreelakshmi Gownipalli <sgownipa@codeaurora.org>
Signed-off-by: Manoj Prabhu B <bmanoj@codeaurora.org>
2018-05-14 13:14:34 +05:30
Tirupathi Reddy
b717c40ca9 regulator: cprh-kbss: Add speed-bin 4 support for sdm660
Update fuse combo count supported for sdm660 to 40.

Change-Id: I9ee2c15792c3f006db5969be42bce19a4ebc180c
Signed-off-by: Tirupathi Reddy <tirupath@codeaurora.org>
2018-05-14 11:18:50 +05:30
Yong Ding
4364ec12f0 ARM: dts: msm: add hab device node into the msm8996 ivi LA vplatform
HAB(Hypervisor ABstraction driver) is used to support
message tx/rx or buffer sharing between multiple OS in the
virtualization environment.
With such hab device node in the ivi LA vplatform's device
tree, hab driver will get its configurations dynamically.
So it will not use the default configurations any more.

Change-Id: Ie036799428bccac3685229c249b4943335807b68
Signed-off-by: Yong Ding <yongding@codeaurora.org>
2018-05-14 09:36:43 +08:00
Vivek Kumar
1e2d077f01 Revert "defconfig: msm: Enable 802.11AD WiFi platform driver"
This reverts commit 976d5ca5dd.

Change-Id: I4b6bb0e3af39bcdf0238ca542ab3acfc584a5fd3
Signed-off-by: Vivek Kumar <vivekuma@codeaurora.org>
2018-05-11 12:18:34 +05:30
Linux Build Service Account
d5b2406b66 Merge "soc: qcom: scm_qcpe: Add support for GHS" 2018-05-10 11:33:47 -07:00
Linux Build Service Account
390f993317 Merge "soc: qcom: hab: hold the message when the read buffer is smaller" 2018-05-10 11:33:45 -07:00
Linux Build Service Account
6e5dae3ae1 Merge "Merge android-4.4.131 (d5d6526) into msm-4.4" 2018-05-10 01:25:18 -07:00
Linux Build Service Account
d7521d9bb9 Merge "diag: Add new WLAN_RSN event id" 2018-05-09 13:54:14 -07:00
Linux Build Service Account
d718058109 Merge "drm: msm: improve early splash mechanism" 2018-05-09 05:09:47 -07:00
Yong Ding
c7e6dca757 soc: qcom: hab: hold the message when the read buffer is smaller
If the receive buffer in habmm_socket_recv() is smaller
than the message, it should be kept in the queue rather
than dropped.

Change-Id: Iabc1f73e5b443cc7ebdefc3961d5bec9049a265f
Signed-off-by: Yong Ding <yongding@codeaurora.org>
2018-05-09 19:31:48 +08:00
Manoj Prabhu B
6241aeff0f diag: Add new WLAN_RSN event id
The patch adds new WLAN_RSN_INFO event as latest ID.

Change-Id: Ic76506632ea0aa61c79c52824556b6aaeb0b04e6
Signed-off-by: Manoj Prabhu B <bmanoj@codeaurora.org>
2018-05-09 01:35:39 -07:00
Linux Build Service Account
43fb4adbdc Merge "ipvs: use IPVS_CMD_ATTR_MAX for family.maxattr" 2018-05-08 13:46:00 -07:00
Linux Build Service Account
058359baba Merge "power: smb-lib: Enable TypeC crude sensor PBS WA based on PMIC type" 2018-05-08 13:45:59 -07:00
Linux Build Service Account
6b9ca47dab Merge "power: smb-lib: Add support for SW based OV detection" 2018-05-08 13:45:58 -07:00
Linux Build Service Account
4623da5bd0 Merge "smb-lib: add support of DP/DM pulsing for fix 5V, 9V and 12V" 2018-05-08 13:45:57 -07:00
Linux Build Service Account
49ff4084ee Merge "ion: Consider ion pool pages as indirectly reclaimable" 2018-05-08 13:45:55 -07:00
Linux Build Service Account
60fd114777 Merge "mm: treat indirectly reclaimable memory as free in overcommit logic" 2018-05-08 13:45:55 -07:00
Linux Build Service Account
d822f25d6d Merge "mm: treat indirectly reclaimable memory as available in MemAvailable" 2018-05-08 13:45:54 -07:00
Linux Build Service Account
c18ab0bcb7 Merge "soc: qcom: glink_smem_native_xprt: Move rx_worker in irq handler" 2018-05-08 13:45:53 -07:00
Linux Build Service Account
14effa597c Merge "diag: Add new Diag IDs" 2018-05-08 13:45:52 -07:00
Linux Build Service Account
78cb670fd2 Merge "input: touchscreen: synaptics_dsx: Fix buffer overflow" 2018-05-08 13:45:49 -07:00
Umang Agrawal
aa38c97b5e power: smb-lib: Enable TypeC crude sensor PBS WA based on PMIC type
Enable TypeC crude sensor PBS WA based on PMIC type since it is
required for PM660 and PMI8998 only.

Change-Id: Ib4f170ddba893e5b96372eecee9b9b74cb2a97e2
Signed-off-by: Umang Agrawal <uagrawal@codeaurora.org>
2018-05-08 17:16:01 +05:30
Umang Agrawal
d9749262e8 power: smb-lib: Add support for SW based OV detection
Add support for software based USBIN OV detection, once
OV condition is detected, software will force USBIN to 5V
and continue charging with 5V.

Change-Id: Ie8f00f69db4ac6330d9da82b3455e4efab43861a
Signed-off-by: Umang Agrawal <uagrawal@codeaurora.org>
2018-05-08 17:15:56 +05:30
Umang Agrawal
0d177827e0 smb-lib: add support of DP/DM pulsing for fix 5V, 9V and 12V
This change will enable userspace to control adapter's output
voltage. Userspace can force adapter's output voltage to
5V/9V/12V.

Change-Id: I4a60a681c136df6864294dbd19849503a2be2e7b
Signed-off-by: Umang Agrawal <uagrawal@codeaurora.org>
2018-05-08 17:15:50 +05:30
Linux Build Service Account
46b4f44537 Merge "soc: qcom: glink_ssr: Initialize waitqueue in probe function" 2018-05-08 04:21:31 -07:00
Linux Build Service Account
4964becbba Merge "defconfig: msm: add bluetooth related defconfigs for gvm" 2018-05-08 04:21:28 -07:00
Linux Build Service Account
f89961666e Merge "ARM: dts: msm: add bluetooth chip device node for gvm" 2018-05-08 04:21:26 -07:00
Vijayanand Jitta
f17bd0f328 ion: Consider ion pool pages as indirectly reclaimable
An issue is observed where mallocs are failing due to overcommit failure.
The failure happens when there is high ION page pool since ION page
pool is not considered reclaimable by the overcommit calculation code.
This change considers ion pool pages as indirectly reclaimable and thus
accounted as available memory in the overcommit calculation.

Change-Id: I8d63209b8c19286e55c407459ff124fdc58fdcc2
Signed-off-by: Vijayanand Jitta <vjitta@codeaurora.org>
2018-05-08 04:03:37 -07:00
Dhoat Harpal
c3aacf2341 soc: qcom: glink_ssr: Initialize waitqueue in probe function
waitqueue is initialized on every call to notify_for_subsystem.
This leads to stability issue if one thread is waiting for completion
and another thread re-initializes it.

Waitqueue is initialized only in probe function.

CRs-Fixed: 2197181
Change-Id: I3509a7c4a197c727b2025c1aeb6a35690c3c8501
Signed-off-by: Dhoat Harpal <hdhoat@codeaurora.org>
2018-05-07 23:35:18 -07:00
Amit Blay
2940947862 soc: qcom: scm_qcpe: Add support for GHS
Add support for GHS

Change-Id: I454ee5e9c643b6521ae5072bb461b7c43bbe9dcc
Signed-off-by: Amit Blay <ablay@codeaurora.org>
2018-05-07 23:28:24 -07:00
Dhoat Harpal
92caad5b2e soc: qcom: glink_smem_native_xprt: Move rx_worker in irq handler
Tx_data cmd is processed in tasklet which is not guranteed to be
scheduled immidiatley. This decreases performance of glink.

Process tx_data command in irq handler.

CRs-Fixed: 2225619
Change-Id: Ida5e51b83fa46c76f72ae886260752baa8b942b9
Signed-off-by: Dhoat Harpal <hdhoat@codeaurora.org>
2018-05-08 11:38:18 +05:30
Vijayanand Jitta
d97c09c153 mm: treat indirectly reclaimable memory as free in overcommit logic
Indirectly reclaimable memory can consume a significant part of total
memory and it's actually reclaimable (it will be released under actual
memory pressure).This patch considers it as free in overcommit logic.

This patch is referenced from commit d79f7aa496fc ("mm: treat indirectly
reclaimable memory as free in overcommit logic") on upstream, as node
based vmstat global_node_page_state is not present zone based vmstat
global_page_state is used instead.

Change-Id: I9af71c566c83e24cd12e7653782b1898ccc7d680
Signed-off-by: Vijayanand Jitta <vjitta@codeaurora.org>
2018-05-08 11:08:42 +05:30
Sreelakshmi Gownipalli
92c6b2970e diag: Add new Diag IDs
Update to latest diag IDs

Change-Id: I57a25f570484f2cd8255275015ca2c70294a78fb
Signed-off-by: Sreelakshmi Gownipalli <sgownipa@codeaurora.org>
2018-05-07 22:34:07 -07:00
Vijayanand Jitta
1f350f02fc mm: treat indirectly reclaimable memory as available in MemAvailable
Adjust /proc/meminfo MemAvailable calculation by adding the amount of
indirectly reclaimable memory (rounded to the PAGE_SIZE).

This change is referenced from commit 034ebf65c3c2 ("mm: treat indirectly
reclaimable memory as available in MemAvailable") on upstream, as node
based vmstat global_node_page_state is not present, zone based vmstat
global_page_state is used instead.

Change-Id: I7303d0f8ccd5993c7234a5187430d418d49e5763
Signed-off-by: Vijayanand Jitta <vjitta@codeaurora.org>
2018-05-08 10:56:53 +05:30
Linux Build Service Account
7a89028866 Merge "irqchip: gic: print correct resume irq name" 2018-05-07 19:23:42 -07:00
Linux Build Service Account
215096ec8e Merge "mm: introduce NR_INDIRECTLY_RECLAIMABLE_BYTES" 2018-05-07 19:23:40 -07:00
Linux Build Service Account
f79ef2334a Merge "taskstats: fix the length of cgroupstats_cmd_get_policy" 2018-05-07 19:23:37 -07:00
Song Gao
732bd7b936 defconfig: msm: add bluetooth related defconfigs for gvm
Currently, bluetooth are not enabled in gvm. It depends
on bluetooth power and rfkill related deconfigs.

Add these deconfigs to enable bluetooth in gvm.

Change-Id: Ib4b8d07e183852e77b02722584e5467127e68879
Signed-off-by: Song Gao <songg@codeaurora.org>
2018-05-07 19:18:17 -07:00
Song Gao
acf4a13cc4 ARM: dts: msm: add bluetooth chip device node for gvm
Currently, bluetooth chip reset function can not be
controlled through BT_EN gpio pin.

Add bluetooth chip device node along with bt-reset-gpio
to make this function workable.

Change-Id: I8cb9a274f4d5991587a299693d00609128742395
Signed-off-by: Song Gao <songg@codeaurora.org>
2018-05-07 19:18:14 -07:00
Linux Build Service Account
463cf73368 Merge "ARM: dts: msm: update mem region on msm8996 auto boards" 2018-05-07 10:03:55 -07:00
Linux Build Service Account
371512066a Merge "Android.bp: Initial header export bp for Android (qseecom only)" 2018-05-07 00:58:54 -07:00
Roman Gushchin
7e22f75445 mm: introduce NR_INDIRECTLY_RECLAIMABLE_BYTES
Patch series "indirectly reclaimable memory", v2.

This patchset introduces the concept of indirectly reclaimable memory
and applies it to fix the issue of when a big number of dentries with
external names can significantly affect the MemAvailable value.

This patch (of 3):

Introduce a concept of indirectly reclaimable memory and adds the
corresponding memory counter and /proc/vmstat item.

Indirectly reclaimable memory is any sort of memory, used by the kernel
(except of reclaimable slabs), which is actually reclaimable, i.e.  will
be released under memory pressure.

The counter is in bytes, as it's not always possible to count such
objects in pages.  The name contains BYTES by analogy to
NR_KERNEL_STACK_KB.

Link: http://lkml.kernel.org/r/20180305133743.12746-2-guro@fb.com
Signed-off-by: Roman Gushchin <guro@fb.com>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Cc: Michal Hocko <mhocko@suse.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Mel Gorman <mgorman@techsingularity.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Git-Commit: eb59254608bc1d42c4c6afdcdce9c0d3ce02b318
Git-Repo: git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
Change-Id: Ie15abc33dcb13091e3acfa04dd55c664e1a24e70
Signed-off-by: Vijayanand Jitta <vjitta@codeaurora.org>
2018-05-07 10:44:31 +05:30
Linux Build Service Account
b4728dbe0e Merge "ASoC: msm: qdsp6v2 : Add AFE port validation for MULTICHAN_HDMI_RX" 2018-05-06 02:07:12 -07:00
Linux Build Service Account
86d96481ed Merge "ASoC: sdm660_cdc: Fix pop after PDR on SDM660 internal codec" 2018-05-06 02:07:11 -07:00