summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-05-10Merge "Merge android-4.4.131 (d5d6526) into msm-4.4"Linux Build Service Account
2018-05-09Merge "diag: Add new WLAN_RSN event id"Linux Build Service Account
2018-05-09Merge "drm: msm: improve early splash mechanism"Linux Build Service Account
2018-05-09diag: Add new WLAN_RSN event idManoj Prabhu B
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-08Merge "ipvs: use IPVS_CMD_ATTR_MAX for family.maxattr"Linux Build Service Account
2018-05-08Merge "power: smb-lib: Enable TypeC crude sensor PBS WA based on PMIC type"Linux Build Service Account
2018-05-08Merge "power: smb-lib: Add support for SW based OV detection"Linux Build Service Account
2018-05-08Merge "smb-lib: add support of DP/DM pulsing for fix 5V, 9V and 12V"Linux Build Service Account
2018-05-08Merge "ion: Consider ion pool pages as indirectly reclaimable"Linux Build Service Account
2018-05-08Merge "mm: treat indirectly reclaimable memory as free in overcommit logic"Linux Build Service Account
2018-05-08Merge "mm: treat indirectly reclaimable memory as available in MemAvailable"Linux Build Service Account
2018-05-08Merge "soc: qcom: glink_smem_native_xprt: Move rx_worker in irq handler"Linux Build Service Account
2018-05-08Merge "diag: Add new Diag IDs"Linux Build Service Account
2018-05-08Merge "input: touchscreen: synaptics_dsx: Fix buffer overflow"Linux Build Service Account
2018-05-08power: smb-lib: Enable TypeC crude sensor PBS WA based on PMIC typeUmang Agrawal
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-08power: smb-lib: Add support for SW based OV detectionUmang Agrawal
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-08smb-lib: add support of DP/DM pulsing for fix 5V, 9V and 12VUmang Agrawal
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-08Merge "soc: qcom: glink_ssr: Initialize waitqueue in probe function"Linux Build Service Account
2018-05-08Merge "defconfig: msm: add bluetooth related defconfigs for gvm"Linux Build Service Account
2018-05-08Merge "ARM: dts: msm: add bluetooth chip device node for gvm"Linux Build Service Account
2018-05-08ion: Consider ion pool pages as indirectly reclaimableVijayanand Jitta
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-07soc: qcom: glink_ssr: Initialize waitqueue in probe functionDhoat Harpal
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-08soc: qcom: glink_smem_native_xprt: Move rx_worker in irq handlerDhoat Harpal
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-08mm: treat indirectly reclaimable memory as free in overcommit logicVijayanand Jitta
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-07diag: Add new Diag IDsSreelakshmi Gownipalli
Update to latest diag IDs Change-Id: I57a25f570484f2cd8255275015ca2c70294a78fb Signed-off-by: Sreelakshmi Gownipalli <sgownipa@codeaurora.org>
2018-05-08mm: treat indirectly reclaimable memory as available in MemAvailableVijayanand Jitta
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-07Merge "irqchip: gic: print correct resume irq name"Linux Build Service Account
2018-05-07Merge "mm: introduce NR_INDIRECTLY_RECLAIMABLE_BYTES"Linux Build Service Account
2018-05-07Merge "taskstats: fix the length of cgroupstats_cmd_get_policy"Linux Build Service Account
2018-05-07defconfig: msm: add bluetooth related defconfigs for gvmSong Gao
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-07ARM: dts: msm: add bluetooth chip device node for gvmSong Gao
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-07Merge "ARM: dts: msm: update mem region on msm8996 auto boards"Linux Build Service Account
2018-05-07Merge "Android.bp: Initial header export bp for Android (qseecom only)"Linux Build Service Account
2018-05-07mm: introduce NR_INDIRECTLY_RECLAIMABLE_BYTESRoman Gushchin
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-06Merge "ASoC: msm: qdsp6v2 : Add AFE port validation for MULTICHAN_HDMI_RX"Linux Build Service Account
2018-05-06Merge "ASoC: sdm660_cdc: Fix pop after PDR on SDM660 internal codec"Linux Build Service Account
2018-05-06Merge "ASoC: msm: add TDM routing for DTMF driver and dtmf fe dai to apq8096"Linux Build Service Account
2018-05-06Merge "ASoC: msm: qdsp6v2: enable DMA channel control"Linux Build Service Account
2018-05-06Merge "ARM: dts: msm: enable sensor node on msm8996 and apq8096"Linux Build Service Account
2018-05-05drm: msm: improve early splash mechanismGuchun Chen
Early RVC will keep running even if all display's splash in bootloader are stopped. So kernel splash handoff mechanism needs to be modified to match the scenario. CRs-Fixed: 2225630 Change-Id: I0e00403f6cae0401ea23465f78cf092abfa2a611 Signed-off-by: Guchun Chen <guchunc@codeaurora.org>
2018-05-05drm: msm: read SDE registers for splash caseGuchun Chen
Read sde registers like layer mixer and ctrl information from bootloader when early splash is enabled in bootloader. These information will be updated to kernel resource manager to let bootloader and kernel use the same hardware setting. CRs-Fixed: 2225630 Change-Id: I0e971de1992b380e30933f476b1a7e185ce0ad96 Signed-off-by: Guchun Chen <guchunc@codeaurora.org> Signed-off-by: Camus Wong <camusw@codeaurora.org>
2018-05-05drm: msm: hw ctl needs to care reserved pipeGuchun Chen
When kernel operates hw ctls, early RVC in bootloader can also co-exist to update hardware registers. So it's needed to care the reserved pipe by early RVC before kernel starts to handle ctl setup. CRs-Fixed: 2225630 Change-Id: I2df06350a44bd128dfb89cc0668c41d2edfb26a6 Signed-off-by: Guchun Chen <guchunc@codeaurora.org>
2018-05-04Android.bp: Initial header export bp for Android (qseecom only)David Ng
Initial Android blueprint makefile for kernel header export; qseecom.h UAPI for now. Change-Id: Ia0af480167e19d099789548a2229b46abbd977f8 Signed-off-by: David Ng <dave@codeaurora.org>
2018-05-05ARM: dts: msm: update mem region on msm8996 auto boardsGuchun Chen
Due to early RVC will continue running during the whole device bootup period, so RVC's reserved memory should be updated to contiguous-region to avoid smmu fault. CRs-Fixed: 2225630 Change-Id: I5d1510f4e9079f6ddd5630b0b736d0d49bc0992b Signed-off-by: Guchun Chen <guchunc@codeaurora.org>
2018-05-05ARM: dts: msm: add reserved plane node on msm8996 auto boardsGuchun Chen
Early RVC will enable vig0 layer if it's on in bootloader. So to meet the purpose LK and kernel can access display hardware at the same time, this pipe should be reserved in LK and set to not available to others before RVC exits. CRs-Fixed: 2225630 Change-Id: I1398db5750c01523e4b755fb4744a6fc976ee8da Signed-off-by: Guchun Chen <guchunc@codeaurora.org>
2018-05-04Merge "drm/msm/hdmi: partial revert for hdmi->power_on changes"Linux Build Service Account
2018-05-03Merge "ARM: dts: msm: Enable 802.11ad wifi device on msm8996 platform"Linux Build Service Account
2018-05-03ipvs: use IPVS_CMD_ATTR_MAX for family.maxattrWANG Cong
family.maxattr is the max index for policy[], the size of ops[] is determined with ARRAY_SIZE(). Reported-by: Andrey Konovalov <andreyknvl@google.com> Tested-by: Andrey Konovalov <andreyknvl@google.com> Cc: Pablo Neira Ayuso <pablo@netfilter.org> Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com> Signed-off-by: Simon Horman <horms@verge.net.au> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org> Git-commit: 8fbfef7f505bba60fb57078b7621270ee57cd1c4 Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git Change-Id: I4a8cff16935c6b7edb3f4fa86faddd8258b0ef57 CRs-Fixed: 2236015 Signed-off-by: Jeff Johnson <jjohnson@codeaurora.org>
2018-05-03ASoC: msm: add TDM routing for DTMF driver and dtmf fe dai to apq8096Timothy Sham
Added DTMF mixer routing for QUAT_TDM_RX2 for automotive. Also added the DTMF front-end dai to apq8096 driver. Change-Id: I3652efd939774ff8cb7c40445747f0edbf6b3c7f Signed-off-by: Timothy Sham <tsham@codeaurora.org>
2018-05-03taskstats: fix the length of cgroupstats_cmd_get_policyWANG Cong
cgroupstats_cmd_get_policy is [CGROUPSTATS_CMD_ATTR_MAX+1], taskstats_cmd_get_policy[TASKSTATS_CMD_ATTR_MAX+1], but their family.maxattr is TASKSTATS_CMD_ATTR_MAX. CGROUPSTATS_CMD_ATTR_MAX is less than TASKSTATS_CMD_ATTR_MAX, so we could end up accessing out-of-bound. Change cgroupstats_cmd_get_policy to TASKSTATS_CMD_ATTR_MAX+1, this is safe because the rest are initialized to 0's. Reported-by: Andrey Konovalov <andreyknvl@google.com> Tested-by: Andrey Konovalov <andreyknvl@google.com> Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net> Git-commit: 243d52126184b072a18fe2130ce0008f8aa3a340 Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git Change-Id: Ie03c41de881d8e0e88ba35f5369e4e955d8d8682 CRs-Fixed: 2234354 Signed-off-by: Jeff Johnson <jjohnson@codeaurora.org>