Commit graph

602477 commits

Author SHA1 Message Date
Linux Build Service Account
997c89933a Merge "soc: swr-wcd-ctrl: Fix wsa mute issue for stereo playback" 2018-09-26 10:39:51 -07:00
Linux Build Service Account
61da3fb00f Merge "soc: hab: add more return error checking" 2018-09-25 05:11:14 -07:00
Linux Build Service Account
aa0ebdfe2d Merge "msm: gvmq: avoid uninitialized access for data member" 2018-09-21 09:14:57 -07:00
Linux Build Service Account
eb3869c6ea Merge "wcnss: Fix buffer overflow in wcnss_prealloc_get" 2018-09-21 09:14:56 -07:00
Linux Build Service Account
b874c55ee2 Merge "ARM: dts: msm: Display changes for SDM455" 2018-09-21 09:14:55 -07:00
Linux Build Service Account
215fd23dab Merge "icnss: Add check for rejuvenate in fw_down" 2018-09-21 09:14:54 -07:00
Linux Build Service Account
1804f6dc98 Merge "soc: hab: add bootmarker for hab driver" 2018-09-21 09:14:53 -07:00
Linux Build Service Account
03ef042130 Merge "Merge android-4.4.155 (b3f777e) into msm-4.4" 2018-09-21 09:14:51 -07:00
Linux Build Service Account
1cea0d996e Merge "diag: Update the logging codes of events, logs and msgs" 2018-09-21 09:14:50 -07:00
Linux Build Service Account
99c602995c Merge "ARM: dts: msm: Add support for speed bin 3 for SDM630" 2018-09-21 09:14:49 -07:00
Linux Build Service Account
48865844f0 Merge "Merge remote-tracking branch 'origin/caf/BosSen-msm-44/master' into msm-4.4" 2018-09-21 09:14:48 -07:00
Linux Build Service Account
84309e99d5 Merge "drm: msm: Fix kernel panic error" 2018-09-21 09:14:46 -07:00
Linux Build Service Account
d97979c767 Merge "qseecom: fix kclient free issue in qseecom_remove" 2018-09-21 09:14:44 -07:00
Yajun Li
35669d7698 soc: hab: add more return error checking
If the exported buffer has been freed in other threads,
dma_buf_get maybe return error, therefore need error
checking here.

Change-Id: Ic1674cada8dc6e0d6b09d75abf695a68896b8bff
Signed-off-by: Yajun Li <yajunl@codeaurora.org>
2018-09-21 17:25:46 +08:00
Venkata Rao Kakani
f30b020e96 msm: gvmq: avoid uninitialized access for data member
Resolve Uninitalized access of data member with initialization
of same.

Change-Id: Ie2ba7ac47e55e55daf6e1dc3b8c8ce73a20320de
Signed-off-by: Venkata Rao Kakani <vkakani@codeaurora.org>
2018-09-21 14:37:40 +05:30
Laxminath Kasam
1d5e37fb73 soc: swr-wcd-ctrl: Fix wsa mute issue for stereo playback
When temperature on a single wsa881x device is being read,
then soundwire master wakes up both wsa881x devices but
regcache_sync is happening only for one wsa881x device on
which the temperature is being read. This results in
audio playback mute after temperature read. Fix the
regcache sync during temperature read and playback usecase.

CRs-Fixed: 2282230
Change-Id: I856b96517c629ac685bbc25caabee841037106c8
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2018-09-20 00:03:09 -07:00
Laxminath Kasam
661e263759 ASoC: wsa881x: Fix regcache sync issue during playback
When temperature on a single wsa881x device is being read,
then soundwire master wakes up both wsa881x devices but
regcache_sync is happening only for one wsa881x device on
which the temperature is being read. This results in
audio playback mute after temperature read. Fix the
regcache sync during temperature read and playback usecase.

CRs-Fixed: 2282230
Change-Id: I054f4432d7ae7bce922341ad62b20544cccd5865
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2018-09-20 00:02:21 -07:00
Anurag Chouhan
708d96ef1b wcnss: Fix buffer overflow in wcnss_prealloc_get
There is potential integer truncation in the wcnss_prealloc_get api.
size_t is 8 byte on x64 platform and "unsigned int" is 4 byte.
To avoid this integer truncation, pass size as size_t instead
of unsigned int.

CRs-Fixed: 2269610
Change-Id: I14b274dd7cad98b55fdce1aaa27783272231afde
Signed-off-by: Anurag Chouhan <achouhan@codeaurora.org>
2018-09-20 11:58:08 +05:30
Nirmal Abraham
54f8726518 ARM: dts: msm: Display changes for SDM455
Disable 'assertive display', 'destination scaler' and
'display port' support for SDM455.

Change-Id: I4de89658a6c5b20c97e9fc0f611aaa81f701a9d7
Signed-off-by: Nirmal Abraham <nabrah@codeaurora.org>
2018-09-20 05:31:55 +05:30
Taniya Das
d83e74d0e2 ARM: dts: msm: Add support for speed bin 3 for SDM630
New speed bin 3 for CPU frequency added to be able to scale to 2GHz.

Change-Id: I60bacc458c295d924a061a042aea058fbb2eb085
Signed-off-by: Taniya Das <tdas@codeaurora.org>
2018-09-19 17:18:09 +05:30
puneet
8f13a23259 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>
2018-09-19 15:50:35 +05:30
Anurag Chouhan
63714bffa9 icnss: Add check for rejuvenate in fw_down
Currently, fw_down is not getting set in case of rejuvenate
since the qmi server never exit or arrive in case of rejuvenate.
Add ICNSS_REJUVENATE flag to take care of rejuvenate.

Change-Id: If85e8048cbad9a15e1c94af1c8d0012e004e6150
Signed-off-by: Anurag Chouhan <achouhan@codeaurora.org>
2018-09-19 02:34:00 -07:00
Manoj Prabhu B
70c285e0b1 diag: Update the logging codes of events, logs and msgs
New msg SSIDs, log and event mask codes for different subsystems
are added as a new requirement for enable logging.

Change-Id: I31e784307e6de388e1de0806baacf00116360c30
Signed-off-by: Manoj Prabhu B <bmanoj@codeaurora.org>
2018-09-19 14:18:32 +05:30
Yajun Li
fddde64f3a soc: hab: add bootmarker for hab driver
To measure the boot kpi of hab driver,so add
bootmarker in hab_init function

Change-Id: Ib755e77e7a6768d028279331c4bf3e92c10141a4
Signed-off-by: Yajun Li <yajunl@codeaurora.org>
2018-09-19 14:21:50 +08:00
Linux Build Service Account
727593cbf7 Merge "drivers: soc: qcom: qcpe: Fix return values" 2018-09-18 09:44:50 -07:00
Linux Build Service Account
79d712a8a4 Merge "defconfig: Disable CONFIG_INET_LRO to avoid pop up" 2018-09-18 09:44:49 -07:00
Linux Build Service Account
da56125cdc Merge "arm64: Silence first allocation with CONFIG_ARM64_MODULE_PLTS=y" 2018-09-18 09:44:48 -07:00
Linux Build Service Account
5b8d95d021 Merge "mm: Silence vmap() allocation failures based on caller gfp_flags" 2018-09-18 09:44:47 -07:00
Linux Build Service Account
a0c8965866 Merge "soc: qcom: glink: Fix not sending READ_NOTIF command issue" 2018-09-18 09:44:46 -07:00
Linux Build Service Account
1b39365d9e Merge "ARM: Silence first allocation with CONFIG_ARM_MODULE_PLTS=y" 2018-09-18 09:44:45 -07:00
Linux Build Service Account
3c361ea66f Merge "clk: qcom: check for change in RCG configuration during set_rate" 2018-09-18 09:44:42 -07:00
Vara Prasad A V S G
30f7e5cd6c 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>
2018-09-18 05:59:13 -07:00
Florian Fainelli
542f97a260 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>
2018-09-18 02:11:06 -07:00
Florian Fainelli
25535b0409 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>
2018-09-18 01:57:26 -07:00
Florian Fainelli
7fa0962396 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>
2018-09-18 01:55:47 -07:00
Linux Build Service Account
2abeb0ae04 Merge "defconfig: msm8998: align with android config requirement" 2018-09-18 00:58:33 -07:00
Arun Kumar Neelakantam
57efc49c75 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>
2018-09-18 00:26:26 -07:00
Linux Build Service Account
42e90fc52d Merge "ASoC: msm: qdsp6v2: Handle invalid session for dtmf enable" 2018-09-17 14:15:32 -07:00
Linux Build Service Account
dc0d5979ff Merge "soc: qcom: hab: add IRQF_NO_SUSPEND to irq flags." 2018-09-17 14:15:30 -07:00
Amit Blay
5a586db95c 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>
2018-09-17 20:10:15 +03:00
Soumya Managoli
c29b12e26d 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>
2018-09-17 03:53:13 -07:00
Yimin Peng
faf465d713 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>
2018-09-17 16:00:56 +08:00
Teng Fei Fan
203e97867d 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>
2018-09-16 22:13:47 -07:00
Teng Fei Fan
dda18951cb 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>
2018-09-16 22:13:40 -07:00
Rahul Sharma
ba0c4fde53 drm: msm: Fix kernel panic error
HDMI non_pluggable is only specific to auto dts setting.
If it's not presented in other products' dts entry, as
hdmi is null, calling hdmi_i2c_destroy() will cause null
pointer access and kernel panic would happen. So remove
the calling of such code.

Change-Id: I37bdd281f5b231831ae87f2ba344b01d3cdfaef7
Signed-off-by: Rahul Sharma <rahsha@codeaurora.org>
2018-09-17 12:59:39 +08:00
Teng Fei Fan
e21205e333 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>
2018-09-16 19:21:06 -07:00
Linux Build Service Account
e106251f0f Merge "cnss2: Clear CNSS_DEV_ERR_NOTIFY after collecting firmware dump" 2018-09-14 23:53:11 -07:00
Gerrit - the friendly Code Review server
db0b2e84b5 Merge changes into msm-4.4 2018-09-14 16:44:05 -07:00
Yue Ma
4bb119b248 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>
2018-09-14 12:20:35 -07:00
Linux Build Service Account
d497f6142f Merge "drivers: dma-removed: fix signedness issue" 2018-09-14 10:02:37 -07:00