OSDN Git Service

sagit-ice-cold/kernel_xiaomi_msm8998.git
5 years agoMerge remote-tracking branch 'origin/caf/BosSen-msm-44/master' into msm-4.4
puneet [Wed, 19 Sep 2018 10:15:33 +0000 (15:45 +0530)]
Merge remote-tracking branch 'origin/caf/BosSen-msm-44/master' into msm-4.4

* origin/caf/BosSen-msm-44/master:
  Added support for BMI160.
  Fixed bmi160 compile conflicts
  added new base source files
  Changed chipID
  Updated directory structure
  Finalized disclaimer information.

CRs-Fixed: 2318425
Change-Id: I8606d46a26f03baac3940162546f507de76bdb9a
Signed-off-by: puneet <puneet@codeaurora.org>
5 years agoMerge "drivers: soc: qcom: qcpe: Fix return values"
Linux Build Service Account [Tue, 18 Sep 2018 16:44:51 +0000 (09:44 -0700)]
Merge "drivers: soc: qcom: qcpe: Fix return values"

5 years agoMerge "defconfig: Disable CONFIG_INET_LRO to avoid pop up"
Linux Build Service Account [Tue, 18 Sep 2018 16:44:50 +0000 (09:44 -0700)]
Merge "defconfig: Disable CONFIG_INET_LRO to avoid pop up"

5 years agoMerge "arm64: Silence first allocation with CONFIG_ARM64_MODULE_PLTS=y"
Linux Build Service Account [Tue, 18 Sep 2018 16:44:49 +0000 (09:44 -0700)]
Merge "arm64: Silence first allocation with CONFIG_ARM64_MODULE_PLTS=y"

5 years agoMerge "mm: Silence vmap() allocation failures based on caller gfp_flags"
Linux Build Service Account [Tue, 18 Sep 2018 16:44:48 +0000 (09:44 -0700)]
Merge "mm: Silence vmap() allocation failures based on caller gfp_flags"

5 years agoMerge "soc: qcom: glink: Fix not sending READ_NOTIF command issue"
Linux Build Service Account [Tue, 18 Sep 2018 16:44:46 +0000 (09:44 -0700)]
Merge "soc: qcom: glink: Fix not sending READ_NOTIF command issue"

5 years agoMerge "ARM: Silence first allocation with CONFIG_ARM_MODULE_PLTS=y"
Linux Build Service Account [Tue, 18 Sep 2018 16:44:45 +0000 (09:44 -0700)]
Merge "ARM: Silence first allocation with CONFIG_ARM_MODULE_PLTS=y"

5 years agoMerge "clk: qcom: check for change in RCG configuration during set_rate"
Linux Build Service Account [Tue, 18 Sep 2018 16:44:43 +0000 (09:44 -0700)]
Merge "clk: qcom: check for change in RCG configuration during set_rate"

5 years agodefconfig: Disable CONFIG_INET_LRO to avoid pop up
Vara Prasad A V S G [Wed, 8 Aug 2018 17:31:00 +0000 (23:01 +0530)]
defconfig: Disable CONFIG_INET_LRO to avoid pop up

Disable CONFIG_INET_LRO in sdm660_defconfig
and sdm660-perf_defconfig to avoid pop up.

Change-Id: I62069b3f8df27812f714e9875a0e7b7e20e31d4c
Signed-off-by: Vara Prasad A V S G <vavsg@codeaurora.org>
Signed-off-by: Naitik Bharadiya <bharad@codeaurora.org>
5 years agomm: Silence vmap() allocation failures based on caller gfp_flags
Florian Fainelli [Thu, 27 Apr 2017 18:19:00 +0000 (11:19 -0700)]
mm: Silence vmap() allocation failures based on caller gfp_flags

If the caller has set __GFP_NOWARN don't print the following message:
vmap allocation for size 15736832 failed: use vmalloc=<size> to increase
size.

This can happen with the ARM/Linux or ARM64/Linux module loader built
with CONFIG_ARM{,64}_MODULE_PLTS=y which does a first attempt at loading
a large module from module space, then falls back to vmalloc space.

Change-Id: Ib907156055959e22a419b79fb424772baea556d0
Acked-by: Michal Hocko <mhocko@suse.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Git-Commit: 03497d761c55438144fd63534d4223418fdfd345
Git-Repo: git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
Signed-off-by: Vinayak Menon <vinmenon@codeaurora.org>
5 years agoARM: Silence first allocation with CONFIG_ARM_MODULE_PLTS=y
Florian Fainelli [Thu, 27 Apr 2017 18:19:01 +0000 (11:19 -0700)]
ARM: Silence first allocation with CONFIG_ARM_MODULE_PLTS=y

When CONFIG_ARM_MODULE_PLTS is enabled, the first allocation using the
module space fails, because the module is too big, and then the module
allocation is attempted from vmalloc space. Silence the first allocation
failure in that case by setting __GFP_NOWARN.

Change-Id: I94ed69d0cb42b16f68b08354f6f62dc22851d84a
Acked-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Git-commit: 75d24d968af8913f641c612930c96acc5399e427
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
Signed-off-by: Vinayak Menon <vinmenon@codeaurora.org>
5 years agoarm64: Silence first allocation with CONFIG_ARM64_MODULE_PLTS=y
Florian Fainelli [Thu, 27 Apr 2017 18:19:02 +0000 (11:19 -0700)]
arm64: Silence first allocation with CONFIG_ARM64_MODULE_PLTS=y

When CONFIG_ARM64_MODULE_PLTS is enabled, the first allocation using the
module space fails, because the module is too big, and then the module
allocation is attempted from vmalloc space. Silence the first allocation
failure in that case by setting __GFP_NOWARN.

Change-Id: I15999e9fb0405dbd76e74dde5b2f94025899d875
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Acked-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Git-Repo: git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
Git-commit: 0c2cf6d9487cb90be6ad7fac66044dfa8e8e5243
Signed-off-by: Vinayak Menon <vinmenon@codeaurora.org>
5 years agoMerge "defconfig: msm8998: align with android config requirement"
Linux Build Service Account [Tue, 18 Sep 2018 07:58:34 +0000 (00:58 -0700)]
Merge "defconfig: msm8998: align with android config requirement"

5 years agosoc: qcom: glink: Fix not sending READ_NOTIF command issue
Arun Kumar Neelakantam [Thu, 8 Feb 2018 10:56:16 +0000 (16:26 +0530)]
soc: qcom: glink: Fix not sending READ_NOTIF command issue

The "tx_blocked_signal_sent" flag is not reset correctly after receiving
the interrupt from the remote side. Hence further READ_NOTIF commands are
not written into FIFO in FIFO full case.

Reset the "tx_blocked_signal_sent" correctly after write space available
in FIFO.

CRs-Fixed: 2175526
Change-Id: I236da2a2b984b3f3cce8400b50f72ce1016d7e40
Signed-off-by: Arun Kumar Neelakantam <aneela@codeaurora.org>
5 years agoMerge "ASoC: msm: qdsp6v2: Handle invalid session for dtmf enable"
Linux Build Service Account [Mon, 17 Sep 2018 21:15:32 +0000 (14:15 -0700)]
Merge "ASoC: msm: qdsp6v2: Handle invalid session for dtmf enable"

5 years agoMerge "soc: qcom: hab: add IRQF_NO_SUSPEND to irq flags."
Linux Build Service Account [Mon, 17 Sep 2018 21:15:31 +0000 (14:15 -0700)]
Merge "soc: qcom: hab: add IRQF_NO_SUSPEND to irq flags."

5 years agodrivers: soc: qcom: qcpe: Fix return values
Amit Blay [Sun, 16 Sep 2018 07:23:19 +0000 (10:23 +0300)]
drivers: soc: qcom: qcpe: Fix return values

In some of the SCM APIs implememnted by the QCPE front end,
some return values were not propagated correctly.

Change-Id: I2b0aa7f5511eac384db82a65b380a5d964514e57
Signed-off-by: Amit Blay <ablay@codeaurora.org>
5 years agoASoC: msm: qdsp6v2: Handle invalid session for dtmf enable
Soumya Managoli [Thu, 6 Sep 2018 10:25:58 +0000 (15:55 +0530)]
ASoC: msm: qdsp6v2: Handle invalid session for dtmf enable

If session id is invalid then dtmf voice info will also
be invalid.

Add check to return error if session id is invalid.

CRs-Fixed: 2306771
Change-Id: I362340f9f666c95949eaa94d0ced4cb3a1b9abab
Signed-off-by: Soumya Managoli <smanag@codeaurora.org>
5 years agosoc: qcom: hab: add IRQF_NO_SUSPEND to irq flags.
Yimin Peng [Tue, 11 Sep 2018 06:52:09 +0000 (14:52 +0800)]
soc: qcom: hab: add IRQF_NO_SUSPEND to irq flags.

The virtclk can disable clocks by hab in suspend flow. If hab irq is
disabled then, the power manage task will stick in uninterruptable hab
receive function.

Change-Id: I780ecede7494346953f5f77d665dd77c2cc6d28a
Signed-off-by: Yimin Peng <yiminp@codeaurora.org>
5 years agoARM: dts: msm: add initial dts support for SDM455 CDP devices
Teng Fei Fan [Tue, 4 Sep 2018 03:53:15 +0000 (11:53 +0800)]
ARM: dts: msm: add initial dts support for SDM455 CDP devices

Add initial devices trees for SDM455 CDP devices

Change-Id: I33bf922baf1dcd5c214f0be81affba25eab0c70c
Signed-off-by: Teng Fei Fan <tengfei@codeaurora.org>
5 years agoARM: dts: msm: add initial dts support for SDM455 QRD devices
Teng Fei Fan [Mon, 3 Sep 2018 03:46:00 +0000 (11:46 +0800)]
ARM: dts: msm: add initial dts support for SDM455 QRD devices

Add initial devices trees for SDM455 QRD devices

Change-Id: I7107029ac33f47f1866d7907ff9086d98c466039
Signed-off-by: Teng Fei Fan <tengfei@codeaurora.org>
5 years agoARM: dts: msm: add initial dts support for SDM455 MTP devices
Teng Fei Fan [Mon, 3 Sep 2018 02:39:20 +0000 (10:39 +0800)]
ARM: dts: msm: add initial dts support for SDM455 MTP devices

Add initial device trees for SDM455 MTP devices

Change-Id: I8b8f3038ae435db9ea87c7e6a72d79e82f72806f
Signed-off-by: Teng Fei Fan <tengfei@codeaurora.org>
5 years agoMerge "cnss2: Clear CNSS_DEV_ERR_NOTIFY after collecting firmware dump"
Linux Build Service Account [Sat, 15 Sep 2018 06:53:12 +0000 (23:53 -0700)]
Merge "cnss2: Clear CNSS_DEV_ERR_NOTIFY after collecting firmware dump"

5 years agoMerge changes into msm-4.4
Gerrit - the friendly Code Review server [Fri, 14 Sep 2018 23:44:05 +0000 (16:44 -0700)]
Merge changes  into msm-4.4

5 years agocnss2: Clear CNSS_DEV_ERR_NOTIFY after collecting firmware dump
Yue Ma [Tue, 11 Sep 2018 00:27:01 +0000 (17:27 -0700)]
cnss2: Clear CNSS_DEV_ERR_NOTIFY after collecting firmware dump

CNSS_DEV_ERR_NOTIFY should not be cleared before collecting firmware
dump as device is still in asserted state. Clear it after collecting
firmware dump.

Change-Id: Ic57c65d8ffa1806a0af83e653d6573f19ab1e705
Signed-off-by: Yue Ma <yuem@codeaurora.org>
5 years agoMerge "drivers: dma-removed: fix signedness issue"
Linux Build Service Account [Fri, 14 Sep 2018 17:02:38 +0000 (10:02 -0700)]
Merge "drivers: dma-removed: fix signedness issue"

5 years agoMerge "rtc: qpnp-rtc: Read ALARM_EN and update to alarm enabled status"
Linux Build Service Account [Fri, 14 Sep 2018 17:02:36 +0000 (10:02 -0700)]
Merge "rtc: qpnp-rtc: Read ALARM_EN and update to alarm enabled status"

5 years agoMerge "soc: qcom: socinfo: Add support for SDM455 soc-id"
Linux Build Service Account [Fri, 14 Sep 2018 17:02:34 +0000 (10:02 -0700)]
Merge "soc: qcom: socinfo: Add support for SDM455 soc-id"

5 years agoMerge "fbdev: msm: try recovering from PP timeout without panic"
Linux Build Service Account [Fri, 14 Sep 2018 17:02:32 +0000 (10:02 -0700)]
Merge "fbdev: msm: try recovering from PP timeout without panic"

5 years agoMerge "soc: qcom: secure_buffer: Fix the parameter passing to dmac_flush_range"
Linux Build Service Account [Fri, 14 Sep 2018 07:53:24 +0000 (00:53 -0700)]
Merge "soc: qcom: secure_buffer: Fix the parameter passing to dmac_flush_range"

5 years agodrivers: dma-removed: fix signedness issue
Srinivasarao P [Mon, 13 Aug 2018 12:21:11 +0000 (17:51 +0530)]
drivers: dma-removed: fix signedness issue

Large values returned by bitmap_find_next_zero_area() can overflow
and become negative when stored in signed variable 'pageno' that
can lead to failure of condition 'pageno < dma_mem->nr_pages'.

Due to this, Use-after-free issue is observed in bitmap_set(),
When user requests to allocate large size buffer using ion calls.

BUG: KASAN: use-after-free in bitmap_set+0x9c/0xd4 at addr ffffffe774946cc0
Read of size 8 by task syz-executor0/19717
page:ffffffbe5dd25180 count:0 mapcount:-127 mapping:(null)
index:0xffffffe774947000 flags: 0x0()
page dumped because: kasan: bad access detected
page_owner info is not active (free page?)
CPU: 3 PID: 19717 Comm: syz-executor0 Tainted: G        W       4.4.78+ #1
Call trace:
[<ffffffa10c68b6fc>] dump_backtrace+0x0/0x2fc
[<ffffffa10c68ba1c>] show_stack+0x24/0x30
[<ffffffa10cc29a34>] dump_stack+0xdc/0x134
[<ffffffa10c8b2c10>] kasan_report+0x380/0x508
[<ffffffa10c8b1f38>] __asan_load8+0x24/0x80
[<ffffffa10cc42218>] bitmap_set+0x9c/0xd4
[<ffffffa10d15941c>] removed_alloc+0x188/0x5e4
[<ffffffa10dba4f40>] ion_cma_allocate+0x164/0x3e0
[<ffffffa10db9cef4>] __ion_alloc+0x368/0x1044
[<ffffffa10db9e0c8>] ion_ioctl+0x25c/0x6ac
[<ffffffa10c8e2f40>] do_vfs_ioctl+0x844/0x9a8
[<ffffffa10c8e311c>] SyS_ioctl+0x78/0xbc
[<ffffffa10c683730>] el0_svc_naked+0x24/0x28

Change-Id: Ibbaa451250bdfa9ce2a6e2cb9d2ee357ee0c8385
Signed-off-by: Srinivasarao P <spathi@codeaurora.org>
5 years agosoc: qcom: secure_buffer: Fix the parameter passing to dmac_flush_range
Zhenhua Huang [Thu, 6 Sep 2018 06:27:14 +0000 (14:27 +0800)]
soc: qcom: secure_buffer: Fix the parameter passing to dmac_flush_range

For "chunk_list + chunk_list_len", if the chunk_list is type of u32*,
the chunk_list_len will be 4 * of original size. So we flushed a wrong
area size. In some condition like we enabled CONFIG_DEBUG_PAGEALLOC, it
may flush out of page bound of the invalid pte page.

Fix it by manually convert it as void* when doing the addition.

CRs-Fixed: 2309993
Change-Id: I2b88d78ba73d9904fa2bf6106937001715b6037f
Signed-off-by: Zhenhua Huang <zhenhuah@codeaurora.org>
5 years agoMerge "cnss2: Add API to check if WLAN PCIe device is down"
Linux Build Service Account [Thu, 13 Sep 2018 22:57:39 +0000 (15:57 -0700)]
Merge "cnss2: Add API to check if WLAN PCIe device is down"

5 years agocnss2: Add API to check if WLAN PCIe device is down
Yue Ma [Tue, 11 Sep 2018 00:20:54 +0000 (17:20 -0700)]
cnss2: Add API to check if WLAN PCIe device is down

API provision for WLAN host driver to check if WLAN PCIe device
is down.

Change-Id: I91efcd781af67c72b787c89e6b619c4cc49da34b
Signed-off-by: Yue Ma <yuem@codeaurora.org>
5 years agoMerge "rtac: Add mutex lock to ensure proper fops access"
Linux Build Service Account [Thu, 13 Sep 2018 10:11:30 +0000 (03:11 -0700)]
Merge "rtac: Add mutex lock to ensure proper fops access"

5 years agoMerge "dt: msm: gvmq: enable virtual ssr for adsp and wlan"
Linux Build Service Account [Wed, 12 Sep 2018 18:08:36 +0000 (11:08 -0700)]
Merge "dt: msm: gvmq: enable virtual ssr for adsp and wlan"

5 years agodt: msm: gvmq: enable virtual ssr for adsp and wlan
Venkata Rao Kakani [Wed, 12 Sep 2018 06:51:10 +0000 (12:21 +0530)]
dt: msm: gvmq: enable virtual ssr for adsp and wlan

Subsystem notification for adsp and wlan in guest.

Change-Id: I49e3e0a160a2434ba9df8008a5ad5051fbeed194
Signed-off-by: Venkata Rao Kakani <vkakani@codeaurora.org>
5 years agortc: qpnp-rtc: Read ALARM_EN and update to alarm enabled status
Mao Jinlong [Wed, 2 Aug 2017 08:14:19 +0000 (16:14 +0800)]
rtc: qpnp-rtc: Read ALARM_EN and update to alarm enabled status

ALARM_EN status is retained in PMIC register after device shutdown
if poweron_alarm is enabled. Read it to make sure the driver has
consistent value with the register status.

Change-Id: Iee0a19ba5126265b36a353c1d1b249d09185564a
Signed-off-by: Mao Jinlong <c_jmao@codeaurora.org>
5 years agoMerge "ARM: dts: msm: Add CPR support for SDM630 speed-bin 3"
Linux Build Service Account [Wed, 12 Sep 2018 05:43:33 +0000 (22:43 -0700)]
Merge "ARM: dts: msm: Add CPR support for SDM630 speed-bin 3"

5 years agoMerge "ARM: dts: msm: Add support for complete subsystem ramdump for SDM660"
Linux Build Service Account [Tue, 11 Sep 2018 16:46:30 +0000 (09:46 -0700)]
Merge "ARM: dts: msm: Add support for complete subsystem ramdump for SDM660"

5 years agoMerge "aio: hold an extra file reference over AIO read/write operations"
Linux Build Service Account [Tue, 11 Sep 2018 16:46:29 +0000 (09:46 -0700)]
Merge "aio: hold an extra file reference over AIO read/write operations"

5 years agoARM: dts: msm: Add CPR support for SDM630 speed-bin 3
Anirudh Ghayal [Mon, 3 Sep 2018 05:34:29 +0000 (11:04 +0530)]
ARM: dts: msm: Add CPR support for SDM630 speed-bin 3

Add the CPR configuration of Speed-bin 3 for the power
and performance cluster of SDM630.

Change-Id: I6bf9a837ae941cf3ad9413da6e44821916acf197
Signed-off-by: Anirudh Ghayal <aghayal@codeaurora.org>
5 years agortac: Add mutex lock to ensure proper fops access
Tanya Dixit [Tue, 11 Sep 2018 12:29:29 +0000 (17:59 +0530)]
rtac: Add mutex lock to ensure proper fops access

Add mutex lock in rtac_open and rtac_release
to avoid usage count discrepancies leading
to multiple calls to unmap memory resulting in
null pointer dereference.

CRs-Fixed: 2271712
Change-Id: Ie6da28837c352030b8d7e377d68a70cf04e7072a
Signed-off-by: Tanya Dixit <tdixit@codeaurora.org>
5 years agoARM: dts: msm: Add support for complete subsystem ramdump for SDM660
Naitik Bharadiya [Mon, 10 Sep 2018 11:41:55 +0000 (17:11 +0530)]
ARM: dts: msm: Add support for complete subsystem ramdump for SDM660

Add support to dump complete ramdump of subsystem from start of first
segment to end of last segment without leaving any hole in between.

Change-Id: I0bcab1d4e04748d3934b7a4d99eec59727c3afb1
Signed-off-by: Naitik Bharadiya <bharad@codeaurora.org>
5 years agoMerge "mdio: Add support for mdio drivers."
Linux Build Service Account [Tue, 11 Sep 2018 09:04:20 +0000 (02:04 -0700)]
Merge "mdio: Add support for mdio drivers."

5 years agoMerge "drm/msm-hyp: expand display type enumeration"
Linux Build Service Account [Tue, 11 Sep 2018 09:04:19 +0000 (02:04 -0700)]
Merge "drm/msm-hyp: expand display type enumeration"

5 years agosoc: qcom: glink_spi_xprt: Validate fifo read index of remote side
Hardik Arya [Wed, 8 Aug 2018 04:58:34 +0000 (10:28 +0530)]
soc: qcom: glink_spi_xprt: Validate fifo read index of remote side

Since message received from spi cannot be trusted there is possibility
of out-of-bound read if received read_id is not in range of fifo.
The patch validate rx_fifo_read index of edge info for remote side.

Change-Id: I3d3fa749935f477e5f98f986adc24e6e6a682d4d
Signed-off-by: Hardik Arya <harya@codeaurora.org>
5 years agoAdded support for BMI160.
Bosch Sensortec [Tue, 11 Sep 2018 06:00:15 +0000 (08:00 +0200)]
Added support for BMI160.

5 years agodrm/msm-hyp: expand display type enumeration
Camus Wong [Mon, 27 Aug 2018 21:09:48 +0000 (17:09 -0400)]
drm/msm-hyp: expand display type enumeration

Expand display type/id enumeration up to eight types.

Change-Id: I19c47e6b4aa57dc94020f909260e1de2218ca82d
Signed-off-by: Camus Wong <camusw@codeaurora.org>
5 years agomdio: Add support for mdio drivers.
Andrew Lunn [Wed, 6 Jan 2016 19:11:26 +0000 (20:11 +0100)]
mdio: Add support for mdio drivers.

Not all devices on an MDIO bus are PHYs. Meaning not all MDIO drivers
are PHY drivers. Add support for generic MDIO drivers.

Change-Id: I65c7c8a497bbac9ef67b3d21c869818a09378e3c
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Git-Commit: a9049e0c513c4521dbfaa302af8ed08b3366b41f
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Signed-off-by: Anthony Mah <amah@codeaurora.org>
5 years agoaio: hold an extra file reference over AIO read/write operations
Christoph Hellwig [Sun, 30 Oct 2016 16:42:01 +0000 (11:42 -0500)]
aio: hold an extra file reference over AIO read/write operations

Otherwise we might dereference an already freed file and/or inode
when aio_complete is called before we return from the read_iter or
write_iter method.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
(cherry picked from commit 0b944d3a4bba6b25f43aed530f4fa85c04d162a6)
Change-Id: I628a87b5036ba1ba5ba5152fa0329d02999d3649
Git-Commit: 0b944d3a4bba6b25f43aed530f4fa85c04d162a6
Git-Repo: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
[riteshh@codeaurora.org: resolve trivial merge conflicts]
Signed-off-by: Ritesh Harjani <riteshh@codeaurora.org>
5 years agodefconfig: msm8998: align with android config requirement
Naitik Bharadiya [Mon, 10 Sep 2018 05:31:08 +0000 (11:01 +0530)]
defconfig: msm8998: align with android config requirement

Align with android-base.cfg which is android kernel config
requirement for msm8998_defconfig.

Change-Id: I69cbca16705d25b5505792b11ae4f054be09457f
Signed-off-by: Naitik Bharadiya <bharad@codeaurora.org>
5 years agoMerge "Revert "msm: adsprpc: DSP device node to provide restricted access to ADSP...
Linux Build Service Account [Mon, 10 Sep 2018 05:08:35 +0000 (22:08 -0700)]
Merge "Revert "msm: adsprpc: DSP device node to provide restricted access to ADSP/SLPI""

5 years agosoc: qcom: socinfo: Add support for SDM455 soc-id
Teng Fei Fan [Mon, 3 Sep 2018 07:46:47 +0000 (15:46 +0800)]
soc: qcom: socinfo: Add support for SDM455 soc-id

Add socinfo support for SDM455 Soc and update the
bindings fot the same.

Change-Id: I9b30795e202d84ae06020983b2d656772fb4f313
Signed-off-by: Teng Fei Fan <tengfei@codeaurora.org>
5 years agoMerge "clk: msm: add uninterruptible flag in hab receiving for virtual reset."
Linux Build Service Account [Sun, 9 Sep 2018 06:45:06 +0000 (23:45 -0700)]
Merge "clk: msm: add uninterruptible flag in hab receiving for virtual reset."

5 years agoMerge "ARM: dts: msm: Invert polarity of PMD_MPP_08 for msm8996 CV2X"
Linux Build Service Account [Sun, 9 Sep 2018 06:45:04 +0000 (23:45 -0700)]
Merge "ARM: dts: msm: Invert polarity of PMD_MPP_08 for msm8996 CV2X"

5 years agoMerge "USB: pd: Notify selfpowered state based on type C current"
Linux Build Service Account [Sat, 8 Sep 2018 19:33:58 +0000 (12:33 -0700)]
Merge "USB: pd: Notify selfpowered state based on type C current"

5 years agoMerge "kthread/smpboot: Serialize kthread parking against wakeup"
Linux Build Service Account [Fri, 7 Sep 2018 17:15:55 +0000 (10:15 -0700)]
Merge "kthread/smpboot:  Serialize kthread parking against wakeup"

5 years agoMerge "f_qc_rndis: Call rndis_ipa_init() from rndis_qc_bind()"
Linux Build Service Account [Fri, 7 Sep 2018 17:15:44 +0000 (10:15 -0700)]
Merge "f_qc_rndis: Call rndis_ipa_init() from rndis_qc_bind()"

5 years agoMerge "mm: Kconfig: Add support for config size of purging vmap_area"
Linux Build Service Account [Fri, 7 Sep 2018 17:15:43 +0000 (10:15 -0700)]
Merge "mm: Kconfig: Add support for config size of purging vmap_area"

5 years agokthread/smpboot: Serialize kthread parking against wakeup
Gaurav Kohli [Tue, 24 Apr 2018 06:43:34 +0000 (12:13 +0530)]
kthread/smpboot:  Serialize kthread parking against wakeup

The control cpu thread which initiates hotplug calls kthread_park()
for hotplug thread and sets KTHREAD_SHOULD_PARK. After this control
thread wakes up the hotplug thread. There is a chance that wakeup
code sees the hotplug thread (running on AP core) in INTERRUPTIBLE
state, but sets its state to RUNNING after hotplug thread has entered
kthread_parkme() and changed its state to TASK_PARKED. This can result
in panic later on in kthread_unpark(), as it sees KTHREAD_IS_PARKED
flag set but fails to rebind the kthread, due to it being not in
TASK_PARKED state. Fix this, by serializing wakeup state change,
against state change before parking the kthread.

Below is the possible race:

Control thread       Hotplug Thread

kthread_park()
set KTHREAD_SHOULD_PARK
      smpboot_thread_fn
      set_current_state(TASK_INTERRUPTIBLE);
      kthread_parkme

wake_up_process()

raw_spin_lock_irqsave(&p->pi_lock, flags);
if (!(p->state & state)) -> this will fail
            goto out;

      __kthread_parkme
       __set_current_state(TASK_PARKED);

if (p->on_rq && ttwu_remote(p, wake_flags))
    ttwu_remote()
        p->state = TASK_RUNNING;
schedule();

So to avoid this race, take pi_lock to serial state changes.

Change-Id: Ie71645d37046f7ee74df880dbead29efbaad199a
Suggested-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
Signed-off-by: Neeraj Upadhyay <neeraju@codeaurora.org>
Signed-off-by: Gaurav Kohli <gkohli@codeaurora.org>
5 years agoclk: msm: add uninterruptible flag in hab receiving for virtual reset.
Zhiqiang Tu [Fri, 7 Sep 2018 07:38:17 +0000 (15:38 +0800)]
clk: msm: add uninterruptible flag in hab receiving for virtual reset.

Add uninterruptible flag in hab receiving for virtual reset controller
to avoid being interrupted by signal.

Change-Id: Iddca4134eec082537110bd7735e0e282cd5c7454
Signed-off-by: Zhiqiang Tu <ztu@codeaurora.org>
5 years agof_qc_rndis: Call rndis_ipa_init() from rndis_qc_bind()
Vijayavardhan Vennapusa [Tue, 28 Aug 2018 07:10:30 +0000 (12:40 +0530)]
f_qc_rndis: Call rndis_ipa_init() from rndis_qc_bind()

During composition switch, current driver ends up calling
rndis_ipa_cleanup twice without calling rndis_ipa_init() in between.
This could cause spinbug in IPA driver due to uninitialized spin lock.
Hence fix the issue by moving rndis_ipa_init() to bind() callback and
calling rndis_ipa_cleanup() in unbind() callback.

Change-Id: I1be18de9137ba61cf0f004c7edeac54235617d33
Signed-off-by: Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
5 years agomm: Kconfig: Add support for config size of purging vmap_area
Zhenhua Huang [Thu, 21 Jun 2018 04:54:40 +0000 (12:54 +0800)]
mm: Kconfig: Add support for config size of purging vmap_area

This size is the maximum amount of virtual address space we gather
up before attempting to purge with a TLB flush. It is 128M in most cases.
With repeated and high size vmalloc operations, it may easily generate
more fragments. This is wasting limited vmalloc area, for 32bits.
So make it configable and the default multiplier as 8, 32bits only.

Change-Id: I68a75acb16d3cff05f8b13c05ae78922269e219f
Signed-off-by: Zhenhua Huang <zhenhuah@codeaurora.org>
5 years agoARM: dts: msm: Invert polarity of PMD_MPP_08 for msm8996 CV2X
Aditya Mathur [Thu, 6 Sep 2018 23:46:27 +0000 (16:46 -0700)]
ARM: dts: msm: Invert polarity of PMD_MPP_08 for msm8996 CV2X

Invert the polarity of PMD_MPP_08 on msm8996 CV2X
to properly power on and off the external
modem as required.

Change-Id: I56226f4d14a2e21331bacf0a7125dc06bfd91aac
Signed-off-by: Aditya Mathur <aditmath@codeaurora.org>
5 years agoMerge "drm/msm/hdmi: add rgb flag for HDMI customized mode"
Linux Build Service Account [Thu, 6 Sep 2018 21:14:26 +0000 (14:14 -0700)]
Merge "drm/msm/hdmi: add rgb flag for HDMI customized mode"

5 years agoMerge "Merge android-4.4.153 (5e24b4e) into msm-4.4"
Linux Build Service Account [Thu, 6 Sep 2018 21:14:25 +0000 (14:14 -0700)]
Merge "Merge android-4.4.153 (5e24b4e) into msm-4.4"

5 years agoMerge "printk: Make the console flush configurable in hotplug path"
Linux Build Service Account [Thu, 6 Sep 2018 14:25:59 +0000 (07:25 -0700)]
Merge "printk: Make the console flush configurable in hotplug path"

5 years agoMerge "adv7481: Modify EDID array to support 1080p60Hz"
Linux Build Service Account [Thu, 6 Sep 2018 14:25:58 +0000 (07:25 -0700)]
Merge "adv7481: Modify EDID array to support 1080p60Hz"

5 years agoMerge "audio: qdsp6v2: check EINTR when retry for habmm_socket_recv"
Linux Build Service Account [Thu, 6 Sep 2018 14:25:57 +0000 (07:25 -0700)]
Merge "audio: qdsp6v2: check EINTR when retry for habmm_socket_recv"

5 years agoMerge "cnss: comment cnss_msm_pcie_pm_control at GreenHills platform"
Linux Build Service Account [Thu, 6 Sep 2018 14:25:56 +0000 (07:25 -0700)]
Merge "cnss: comment cnss_msm_pcie_pm_control at GreenHills platform"

5 years agoprintk: Make the console flush configurable in hotplug path
Mohammed Khajapasha [Fri, 4 Sep 2015 15:03:31 +0000 (20:33 +0530)]
printk: Make the console flush configurable in hotplug path

The thread which initiates the hot plug can get scheduled
out, while trying to acquire the console lock,
thus increasing the hot plug latency. This option
allows to selectively disable the console flush and
in turn reduce the hot plug latency.

Change-Id: I42507804d321b29b7761146a6c175d959bf79925
Signed-off-by: Mohammed Khajapasha <mkhaja@codeaurora.org>
Signed-off-by: Prasad Sodagudi <psodagud@codeaurora.org>
Signed-off-by: Neeraj Upadhyay <neeraju@codeaurora.org>
5 years agoMerge "soc: qcom: subsystem_notif_virt: Fix error condition check"
Linux Build Service Account [Thu, 6 Sep 2018 05:13:30 +0000 (22:13 -0700)]
Merge "soc: qcom: subsystem_notif_virt: Fix error condition check"

5 years agoMerge "msm: mdss: Fix Gamma LUT bounds condition"
Linux Build Service Account [Thu, 6 Sep 2018 05:13:23 +0000 (22:13 -0700)]
Merge "msm: mdss: Fix Gamma LUT bounds condition"

5 years agoadv7481: Modify EDID array to support 1080p60Hz
Suprith Malligere Shankaregowda [Fri, 31 Aug 2018 13:52:30 +0000 (19:22 +0530)]
adv7481: Modify EDID array to support 1080p60Hz

1080p60Hz HDMI_OUT(PC) not displayed in TIF due to wrong clock value,
So increasing clock value to 148.5MHz in Detailed Timing Descriptor
And reorder video data block to support 1080p60Hz.

Change-Id: I91ffc02f97c9b4fa5362444382af1b91af9c03b6
Signed-off-by: Suprith Malligere Shankaregowda <supgow@codeaurora.org>
5 years agoaudio: qdsp6v2: check EINTR when retry for habmm_socket_recv
Tony Han [Wed, 5 Sep 2018 11:28:10 +0000 (19:28 +0800)]
audio: qdsp6v2: check EINTR when retry for habmm_socket_recv

HAB returns -EINTR instead of -EAGAIN to request a retry from the
habmm_socket_recv() call.

Change-Id: I61bcef5c11048a3947b8079d1591937d7b83602a
Signed-off-by: Tony Han <xiahan@codeaurora.org>
5 years agodrm/msm/hdmi: add rgb flag for HDMI customized mode
Yunyun Cao [Thu, 6 Sep 2018 03:37:11 +0000 (11:37 +0800)]
drm/msm/hdmi: add rgb flag for HDMI customized mode

Add rgb flag to make sure HDMI customized mode pass
the format check.

Change-Id: I2d1df731bef493e15f83dac569673589e2408c68
Signed-off-by: Yunyun Cao <yunyunc@codeaurora.org>
5 years agoMerge changes into msm-4.4
Gerrit - the friendly Code Review server [Wed, 5 Sep 2018 18:56:52 +0000 (11:56 -0700)]
Merge changes  into msm-4.4

5 years agosoc: qcom: subsystem_notif_virt: Fix error condition check
Anant Goel [Tue, 4 Sep 2018 21:42:20 +0000 (14:42 -0700)]
soc: qcom: subsystem_notif_virt: Fix error condition check

An error check casts an integer to a pointer. Fix the error
check so that the integer is not casted to a pointer.

Change-Id: Ib15634745cc2243e4fe54557d6670956d8349e93
Signed-off-by: Anant Goel <anantg@codeaurora.org>
5 years agoMerge "nl80211: nl80211_update_ft_ies to validate NL80211_ATTR_IE"
Linux Build Service Account [Wed, 5 Sep 2018 11:32:32 +0000 (04:32 -0700)]
Merge "nl80211: nl80211_update_ft_ies to validate NL80211_ATTR_IE"

5 years agoclk: qcom: check for change in RCG configuration during set_rate
Padmanabhan Komanduru [Tue, 7 Aug 2018 12:39:07 +0000 (18:09 +0530)]
clk: qcom: check for change in RCG configuration during set_rate

For DSI byte clock RCG, check if there is a change in existing
settings before updating RCG configuration. This is needed to
avoid glitch on the display panel when there is a change in the
DSI byte clock frequency with display enabled.

Change-Id: I8ef0331cbb466b399cd12199b4d335ed44997dbc
Signed-off-by: Padmanabhan Komanduru <pkomandu@codeaurora.org>
5 years agoUSB: pd: Notify selfpowered state based on type C current
Vijayavardhan Vennapusa [Tue, 28 Aug 2018 05:36:16 +0000 (11:06 +0530)]
USB: pd: Notify selfpowered state based on type C current

It is required to notify device as selfpowered and bmaxpower as zero
even for non PD capable devices based on Type C current. Hence notify
as selfpowerer in bMattributes of configuation descriptor in case of
medium or high Type C current.

Change-Id: Ie552560d93a8195f4c69fdaf6086ef3a52b31d39
Signed-off-by: Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
5 years agonl80211: nl80211_update_ft_ies to validate NL80211_ATTR_IE
Arunk Khandavalli [Wed, 5 Sep 2018 07:11:22 +0000 (12:41 +0530)]
nl80211: nl80211_update_ft_ies to validate NL80211_ATTR_IE

Current nl80211_update_ft_ies doesn't validate NL80211_ATTR_IE
before dereferencing it, which leads to a null pointer exception
if not passed.
This commit validates this attribute too.

Change-Id: Ia40b02fc218bc26a07bc6b2153f425b8cae3bd82
CRs-Fixed: 2261685
Signed-off-by: Arunk Khandavalli <akhandav@codeaurora.org>
Signed-off-by: Srinivas Dasari <dasaris@codeaurora.org>
5 years agoMerge "net: Include additional rmnet header in flow_dissector"
Linux Build Service Account [Wed, 5 Sep 2018 04:18:58 +0000 (21:18 -0700)]
Merge "net: Include additional rmnet header in flow_dissector"

5 years agocnss: comment cnss_msm_pcie_pm_control at GreenHills platform
Chaoli Zhou [Fri, 31 Aug 2018 06:05:26 +0000 (14:05 +0800)]
cnss: comment cnss_msm_pcie_pm_control at GreenHills platform

It doesn't support virtualized clock currently,
so we cannot disable/enable clock while do PCIE link
suspend/resume from Linux side at Greenhills platform,
so comment the API cnss_msm_pcie_pm_control to prevent
doing PCIE link suspend/resume.

Change-Id: Ie10d781042ff3e85b3206fd300e9ec3f71897479
Signed-off-by: Chaoli Zhou <zchaoli@codeaurora.org>
5 years agonet: Include additional rmnet header in flow_dissector
Gustavo Solaira [Fri, 24 Aug 2018 22:03:55 +0000 (15:03 -0700)]
net: Include additional rmnet header in flow_dissector

Add an additional header in flow_dissector since it
provides some structs that are needed for it.

Change-Id: I654ce9838f704c71b5c5015ef30d88a01a528f0b
Signed-off-by: Gustavo Solaira <gustavos@codeaurora.org>
5 years agodiag: Only include MHI headers if it is enabled
Gustavo Solaira [Fri, 24 Aug 2018 22:02:24 +0000 (15:02 -0700)]
diag: Only include MHI headers if it is enabled

Only include the MHI header file if CONFIG_MSM_MHI
is enabled, avoid compilation errors if the platform
does not support MHI.

Change-Id: Ic2d84a8bbd066d0d8e50711a7499ae9a959a0b71
Signed-off-by: Gustavo Solaira <gustavos@codeaurora.org>
5 years agoMerge "asoc : msm: Fix zero size pointer issue"
Linux Build Service Account [Tue, 4 Sep 2018 18:41:12 +0000 (11:41 -0700)]
Merge "asoc : msm: Fix zero size pointer issue"

5 years agoMerge "net: hns: Fix a skb used after free bug"
Linux Build Service Account [Tue, 4 Sep 2018 18:41:11 +0000 (11:41 -0700)]
Merge "net: hns: Fix a skb used after free bug"

5 years agoasoc : msm: Fix zero size pointer issue
Soumya Managoli [Tue, 31 Jul 2018 13:08:29 +0000 (18:38 +0530)]
asoc : msm: Fix zero size pointer issue

APPS crashes randomly due to invalid memory allocation
in q6asm_audio_client_buf_free_contiguous.
Added check to return error if memory allocation size is 0.

Change-Id: I40f49aa147d513b29b56224a5ee77ccbb2dcc110
CRs-Fixed: 2285272
Signed-off-by: Soumya Managoli <smanag@codeaurora.org>
5 years agonet: hns: Fix a skb used after free bug
Yunsheng Lin [Thu, 6 Jul 2017 02:22:00 +0000 (10:22 +0800)]
net: hns: Fix a skb used after free bug

skb maybe freed in hns_nic_net_xmit_hw() and return NETDEV_TX_OK,
which cause hns_nic_net_xmit to use a freed skb.

BUG: KASAN: use-after-free in hns_nic_net_xmit_hw+0x62c/0x940...
[17659.112635]      alloc_debug_processing+0x18c/0x1a0
[17659.117208]      __slab_alloc+0x52c/0x560
[17659.120909]      kmem_cache_alloc_node+0xac/0x2c0
[17659.125309]      __alloc_skb+0x6c/0x260
[17659.128837]      tcp_send_ack+0x8c/0x280
[17659.132449]      __tcp_ack_snd_check+0x9c/0xf0
[17659.136587]      tcp_rcv_established+0x5a4/0xa70
[17659.140899]      tcp_v4_do_rcv+0x27c/0x620
[17659.144687]      tcp_prequeue_process+0x108/0x170
[17659.149085]      tcp_recvmsg+0x940/0x1020
[17659.152787]      inet_recvmsg+0x124/0x180
[17659.156488]      sock_recvmsg+0x64/0x80
[17659.160012]      SyS_recvfrom+0xd8/0x180
[17659.163626]      __sys_trace_return+0x0/0x4
[17659.167506] INFO: Freed in kfree_skbmem+0xa0/0xb0 age=23 cpu=1 pid=13
[17659.174000]      free_debug_processing+0x1d4/0x2c0
[17659.178486]      __slab_free+0x240/0x390
[17659.182100]      kmem_cache_free+0x24c/0x270
[17659.186062]      kfree_skbmem+0xa0/0xb0
[17659.189587]      __kfree_skb+0x28/0x40
[17659.193025]      napi_gro_receive+0x168/0x1c0
[17659.197074]      hns_nic_rx_up_pro+0x58/0x90
[17659.201038]      hns_nic_rx_poll_one+0x518/0xbc0
[17659.205352]      hns_nic_common_poll+0x94/0x140
[17659.209576]      net_rx_action+0x458/0x5e0
[17659.213363]      __do_softirq+0x1b8/0x480
[17659.217062]      run_ksoftirqd+0x64/0x80
[17659.220679]      smpboot_thread_fn+0x224/0x310
[17659.224821]      kthread+0x150/0x170
[17659.228084]      ret_from_fork+0x10/0x40

BUG: KASAN: use-after-free in hns_nic_net_xmit+0x8c/0xc0...
[17751.080490]      __slab_alloc+0x52c/0x560
[17751.084188]      kmem_cache_alloc+0x244/0x280
[17751.088238]      __build_skb+0x40/0x150
[17751.091764]      build_skb+0x28/0x100
[17751.095115]      __alloc_rx_skb+0x94/0x150
[17751.098900]      __napi_alloc_skb+0x34/0x90
[17751.102776]      hns_nic_rx_poll_one+0x180/0xbc0
[17751.107097]      hns_nic_common_poll+0x94/0x140
[17751.111333]      net_rx_action+0x458/0x5e0
[17751.115123]      __do_softirq+0x1b8/0x480
[17751.118823]      run_ksoftirqd+0x64/0x80
[17751.122437]      smpboot_thread_fn+0x224/0x310
[17751.126575]      kthread+0x150/0x170
[17751.129838]      ret_from_fork+0x10/0x40
[17751.133454] INFO: Freed in kfree_skbmem+0xa0/0xb0 age=19 cpu=7 pid=43
[17751.139951]      free_debug_processing+0x1d4/0x2c0
[17751.144436]      __slab_free+0x240/0x390
[17751.148051]      kmem_cache_free+0x24c/0x270
[17751.152014]      kfree_skbmem+0xa0/0xb0
[17751.155543]      __kfree_skb+0x28/0x40
[17751.159022]      napi_gro_receive+0x168/0x1c0
[17751.163074]      hns_nic_rx_up_pro+0x58/0x90
[17751.167041]      hns_nic_rx_poll_one+0x518/0xbc0
[17751.171358]      hns_nic_common_poll+0x94/0x140
[17751.175585]      net_rx_action+0x458/0x5e0
[17751.179373]      __do_softirq+0x1b8/0x480
[17751.183076]      run_ksoftirqd+0x64/0x80
[17751.186691]      smpboot_thread_fn+0x224/0x310
[17751.190826]      kthread+0x150/0x170
[17751.194093]      ret_from_fork+0x10/0x40

Change-Id: I5fbdea5d0264c79dbcc91f8519cda1004b667866
Fixes: 13ac695e7ea1 ("net:hns: Add support of Hip06 SoC to the Hislicon Network Subsystem")
Signed-off-by: Yunsheng Lin <linyunsheng@huawei.com>
Signed-off-by: lipeng <lipeng321@huawei.com>
Reported-by: Jun He <hjat2005@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Git-repo: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Git-commit: 27463ad99f738ed93c7c8b3e2e5bc8c4853a2ff2
Signed-off-by: Dennis Cagle <dcagle@codeaurora.org>
Acked-By: Chinmay Agarwal <chinagar@qti.qualcomm.com>
[ tejaswit@codeaurora.org : resolved minor conflicts ]
Signed-off-by: Tejaswi Tanikella <tejaswit@codeaurora.org>
5 years agomsm: kgsl: Replace scm call api with its atomic version
Akhil P Oommen [Fri, 6 Jul 2018 09:56:11 +0000 (15:26 +0530)]
msm: kgsl: Replace scm call api with its atomic version

scm_call2() API can block indefinitely if another client is using
this API. This is due to a mutex in this API to serialize calls to
the TZ. This blocks the GPU wake up which in turn can result in
kgsl fence timeouts. Since CPZ register programing is handled at
the hypervisor, we can safely avoid this serialization by using
scm_call2_atomic() API which doesn't block.

Change-Id: I48ba3e1a682e1027463a1c6b067e6cfcb4a0e8bc
Signed-off-by: Akhil P Oommen <akhilpo@codeaurora.org>
5 years agomsm: mdss: Fix Gamma LUT bounds condition
Ch Ganesh Kumar [Mon, 20 Aug 2018 08:05:37 +0000 (13:35 +0530)]
msm: mdss: Fix Gamma LUT bounds condition

Validate the Gamma correction feature with all bound condition.
This change corrects the Gamma LUT block bound condition.

Change-Id: I3fc460b6a6e2e76f7c07b649e1db1e01ce208476
Signed-off-by: Ch Ganesh Kumar <chganesh@codeaurora.org>
5 years agoMerge "ARM: dts: msm: Add 8GB DDR device tree for msm8996 ivi vplatform"
Linux Build Service Account [Mon, 3 Sep 2018 01:27:50 +0000 (18:27 -0700)]
Merge "ARM: dts: msm: Add 8GB DDR device tree for msm8996 ivi vplatform"

5 years agoMerge "drm: Pass CRTC ID in userspace vblank events"
Linux Build Service Account [Sat, 1 Sep 2018 23:12:40 +0000 (16:12 -0700)]
Merge "drm: Pass CRTC ID in userspace vblank events"

5 years agoMerge "cnss: Use the nosync API in cnss when disabling irq"
Linux Build Service Account [Sat, 1 Sep 2018 23:12:37 +0000 (16:12 -0700)]
Merge "cnss: Use the nosync API in cnss when disabling irq"

5 years agoMerge "diag: Add protection before accessing md_session_map"
Linux Build Service Account [Sat, 1 Sep 2018 23:12:34 +0000 (16:12 -0700)]
Merge "diag: Add protection before accessing md_session_map"

5 years agoMerge "drm: msm: sde: Fix SMMU fault during DRM test"
Linux Build Service Account [Sat, 1 Sep 2018 04:18:41 +0000 (21:18 -0700)]
Merge "drm: msm: sde: Fix SMMU fault during DRM test"

5 years agoMerge "Merge android-4.4.150 (5541782) into msm-4.4"
Linux Build Service Account [Fri, 31 Aug 2018 19:34:15 +0000 (12:34 -0700)]
Merge "Merge android-4.4.150 (5541782) into msm-4.4"

5 years agofbdev: msm: try recovering from PP timeout without panic
raghavendra ambadas [Thu, 30 Aug 2018 11:35:52 +0000 (17:05 +0530)]
fbdev: msm: try recovering from PP timeout without panic

Driver dumps mdp register and xlog as soon as pingpong timeout
occurs. It is possible to recover device while waiting for TE signal,
so call panic if pingpong timeout happens for 10 consecutive frames.

Change-Id: I1661b21b3179f77a0a8daa8d2cde2115c7a38f5e
Signed-off-by: Raghavendra Ambadas <rambad@codeaurora.org>