Commit graph

882,818 commits

Author SHA1 Message Date
qctecmdr
78d870eaec Merge "ALSA: Compress - dont use lock for all ioctls" 2020-05-15 16:20:24 -07:00
qctecmdr
5e78e07da3 Merge "qseecom: process smcinvoke callback request" 2020-05-15 16:20:23 -07:00
qctecmdr
f23c019559 Merge "iommu/arm-smmu: Add support for split page table domains" 2020-05-15 16:20:23 -07:00
qctecmdr
9dd8f3f7e7 Merge "defconfig: Enable CONFIG_DEBUG_FS for holi" 2020-05-15 16:20:23 -07:00
qctecmdr
7dea03f8b5 Merge "iommu/arm-smmu: Updates probe defer handle from secure_buffer" 2020-05-15 16:20:23 -07:00
Faiyaz Mohammed
3398816a64 iommu/arm-smmu: Updates probe defer handle from secure_buffer
- If probe_defer from secure_buffer received, we are raising the below
 warning from arm_smmu_assign_table.

arm_smmu_assign_table+0x124/0x130arm_smmu_attach_dev+0x9c8/0x1098
iommu_group_add_device+0x1ac/0x460
iommu_group_get_for_dev+0xc4/0x2b4
arm_smmu_add_device+0x330/0x4f8
iommu_probe_device+0x98/0x110
of_iommu_configure+0xac/0x1b4
of_dma_configure+0x198/0x320
platform_dma_configure+0x1c/0x30
really_probe+0x234/0x8a8
driver_probe_device+0x70/0x144
__device_attach_driver+0x138/0x1fc
bus_for_each_drv+0xa4/0x120

- with this change we will be clearing the smmu domain, if probe_defer
  from secure_buffer driver received.

Change-Id: Iad8a262e7d0ec8f49d94f521c4d43d3ec6931c8d
Signed-off-by: Faiyaz Mohammed <faiyazm@codeaurora.org>
2020-05-13 21:57:10 -07:00
Raghavendra Rao Ananta
4fbfcf8302 arm64: ABI: Update the ABI whitelist for OOM notifiers
Add register_oom_notifer and unregister_oom_notifier to
the QCOM whitelist and update the ABI snapshot accordingly.

Change-Id: I6b3888f909348dfbad4f0ede565ba616336b2388
Signed-off-by: Raghavendra Rao Ananta <rananta@codeaurora.org>
2020-05-13 21:22:53 -07:00
Zhen Kong
b6215698c0 qseecom: process smcinvoke callback request
add operation to deal with smcinvoke callback request

Change-Id: Ia79b380691dbda4298cdf088fe1a09280767ef17
Signed-off-by: Zhen Kong <zkong@codeaurora.org>
2020-05-13 17:39:08 -07:00
Eric Laurent
e3649eb233 ALSA: Compress - dont use lock for all ioctls
Some simple ioctls like timsetamp query, capabities query can be
done anytime and should not be under the stream lock. Move these to
snd_compress_simple_iotcls() which is invoked without lock held.

While at it, improve readblity a bit by sprinkling some empty lines.

Change-Id: Icc8ffdadd565c635f6a95e7e5bdda76257f24ea3
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Eric Laurent <elaurent@google.com>
Git-commit: 6a44374b8b92e9946dc1e5c15c2a11003aa859b1
Git-repo: https://android.googlesource.com/kernel/msm
[dhakumar@codeaurora.org: resolved merge conflicts]
Signed-off-by: Dhananjay Kumar <dhakumar@codeaurora.org>
[bgoswami@codeaurora.org: resolved merge conflicts]
Signed-off-by: Banajit Goswami <bgoswami@codeaurora.org>
Signed-off-by: Meng Wang <mwang@codeaurora.org>
2020-05-13 17:02:17 -07:00
Prakruthi Deepak Heragu
a6399734e9 defconfig: Enable CONFIG_DEBUG_FS for holi
As DEBUG_FS dependency in trace kconfig is removed, explicitly enable
DEBUG_FS config in qgki config.

Change-Id: I161dce23a5dc4e8806d893d57765d814e0b40080
Signed-off-by: Prakruthi Deepak Heragu <pheragu@codeaurora.org>
2020-05-13 15:20:52 -07:00
qctecmdr
53badd7fe5 Merge "arm64: defconfig: Add support for Global clock controller for SHIMA" 2020-05-13 08:58:32 -07:00
qctecmdr
4125d2a3fa Merge "pinctrl: qcom: Add affinity callbacks to msmgpio IRQ chip" 2020-05-13 08:58:32 -07:00
qctecmdr
182eb05c1e Merge "soc: qcom: spss_utils: protect from event signaled twice" 2020-05-13 08:58:31 -07:00
qctecmdr
09451a3379 Merge "msm: ipa: enable SYSPIPE_ERR_DETECTION bit for deaggr_err" 2020-05-13 04:46:53 -07:00
qctecmdr
4198b6f393 Merge "regulator: qpnp-amoled: add support to configure single phase for IBB" 2020-05-13 04:46:52 -07:00
qctecmdr
fc82c60db2 Merge "arm64: defconfig: Enable CONFIG_UNUSED_KSYMS_WHITELIST_ONLY" 2020-05-13 00:38:16 -07:00
qctecmdr
d224f95849 Merge "scsi: ufshcd-qti: Keep the correct device and link state" 2020-05-12 21:14:48 -07:00
qctecmdr
ba125366f2 Merge "mmc: Define config flag to add qcom code to upstream module" 2020-05-12 21:14:48 -07:00
qctecmdr
c5a30a55c4 Merge "msm: kgsl: Handle page allocation failure" 2020-05-12 17:25:50 -07:00
qctecmdr
07eb235412 Merge "hvc: haven: Prevent tty layer from closing SELF console" 2020-05-12 17:25:49 -07:00
qctecmdr
828f3e4cd2 Merge "Send actual keylen to TZ" 2020-05-12 17:25:49 -07:00
qctecmdr
c3d79e3dda Merge "firmware: qcom: add enlarged qsee log support" 2020-05-12 17:25:49 -07:00
qctecmdr
ea535676ab Merge "soc: qcom: hwkm: fix minor issues" 2020-05-12 17:25:48 -07:00
qctecmdr
7d84d3968c Merge "clk: qcom: gdsc-regulator: Poll PWR_ON during GDSC HW to SW mode switch" 2020-05-12 17:25:48 -07:00
qctecmdr
1564028080 Merge "devfreq: memlat: correct null pointer derference" 2020-05-12 10:31:40 -07:00
qctecmdr
6cd002dcaf Merge "arm64: defconfig: enable dynamic debug for genericarmv8" 2020-05-12 10:31:40 -07:00
qctecmdr
c36a89d320 Merge "defconfig: enable display configs for trusted VM" 2020-05-12 10:31:39 -07:00
Raghavendra Rao Ananta
a3ad7c21e4 arm64: defconfig: Enable CONFIG_UNUSED_KSYMS_WHITELIST_ONLY
Enable CONFIG_UNUSED_KSYMS_WHITELIST_ONLY for Lahaina's GKI
platform to detect if an update to the whitelist is needed.

Also update the ABI snapshot as many of the function will be
seen as deleted.

Change-Id: I5e96899dd69462e1a32ae7b512be8d4de9ea1b2d
Signed-off-by: Raghavendra Rao Ananta <rananta@codeaurora.org>
2020-05-12 09:40:12 -07:00
Raghavendra Rao Ananta
9ec36c01e0 kbuild: Add support for CONFIG_UNUSED_KSYMS_WHITELIST_ONLY
CONFIG_UNUSED_KSYMS_WHITELIST_ONLY extends the support for the
existing CONFIG_UNUSED_KSYMS_WHITELIST in a way that, if enabled,
it would allow the kbuild to export ONLY the symbols that are
supplied as a part of whitelist (and of course the ones exported
by modules). That is, the build would break for modules during
modpost with:
ERROR: "<symbol>" [<module>.ko] undefined!

When enabled, the option is quite useful in build integration
systems to detect if the whitelist file needs an update.

Change-Id: Ica0a270214d4d51f6e2269fdc591fb86acbc4f97
Signed-off-by: Raghavendra Rao Ananta <rananta@codeaurora.org>
2020-05-12 09:40:12 -07:00
Raghavendra Rao Ananta
d476d5adbf ABI: Add initial snapshot of QCOM whitelists
Add the initial snapshot of Qualcomm's whitelist of ABI symbols
(internal and external) for arm64 platforms.

Change-Id: I9676856d842ba93a9ae48fce39b9956c2ab7c972
Signed-off-by: Raghavendra Rao Ananta <rananta@codeaurora.org>
2020-05-12 09:40:04 -07:00
Amir Samuelov
a50479ab2e soc: qcom: spss_utils: protect from event signaled twice
avoid event signaled twice.
add ioctl to check if event was signaled.

Change-Id: Ie75b9db86f2badddc08d65eee30ecd6a15795256
Signed-off-by: Amir Samuelov <amirs@codeaurora.org>
2020-05-12 12:43:25 +03:00
Asutosh Das
722dccd8b5 scsi: ufshcd-qti: Keep the correct device and link state
If the device and link are marked as off, suspend routine wouldn't
turn-off the device and link.
But the regulators would be put to lpm mode.
However, the ufs device is still drawing active mode current.
Thus this leads to a OCP in PMIC.

Hence, don't mark the device and link as off in case of error,
if it doesn't reflect the correct state.

Change-Id: I8d5a738a92a1f339c0500a617f55cb77009356b2
Signed-off-by: Asutosh Das <asutoshd@codeaurora.org>
2020-05-11 15:05:13 -07:00
Bojun Pan
95c177f166 msm: ipa: enable SYSPIPE_ERR_DETECTION bit for deaggr_err
We observe the IPA RX stall due to the DEAGGR_ERR_IRQ
of PACKET_SIZE > FRAME_SIZE on rndis.
 In IPA, some of de-aggregation error handling checks
are dependent on the syspipe_err_detection config bit.
Adding IGNORE_MIN_PKT_ERR bit for rndis as well based
on recommendations.

Change-Id: Iad1c816bf3371696bf665a8702fcf27490e230d0
Signed-off-by: Bojun Pan <bojunp@codeaurora.org>
2020-05-11 12:27:13 -07:00
qctecmdr
00cda3c5e7 Merge "regulator: qcom_pm8008-regulator: avoid transactions after suspend" 2020-05-11 12:03:33 -07:00
Bao D. Nguyen
d4b4a26a45 mmc: Define config flag to add qcom code to upstream module
Create a config flag to add Qualcomm specific code to upstream
MMC drivers.

Change-Id: I551dd96d0fde14f08f3270a0fee5842e7309d28d
Signed-off-by: Bao D. Nguyen <nguyenb@codeaurora.org>
2020-05-11 12:01:49 -07:00
Bao D. Nguyen
13cb7ecffb mmc: Add MMC clock scaling support for sdhci-msm layer
Add the clock scaling support for SD card in the
sdhci-msm layger.

Change-Id: I17a279bea4ee589121785006e1887a6f39e3ce6a
Signed-off-by: Bao D. Nguyen <nguyenb@codeaurora.org>
2020-05-11 12:01:37 -07:00
Bao D. Nguyen
c494419327 mmc: Add MMC clock scaling support to core layer
Add the clock scaling support for SD card to the core layer.

Change-Id: I9bfc8b581aed7013ecd2f8af65643a4e242d4b72
Signed-off-by: Bao D. Nguyen <nguyenb@codeaurora.org>
2020-05-11 11:58:57 -07:00
Bao D. Nguyen
6351378cf9 mmc: Add MMC clock scaling support in the block layer
Add the clock scaling support for SD card in the block layer.

Change-Id: Iac02d68ce01dd2f2437b1b09dba1070c63aa0317
Signed-off-by: Bao D. Nguyen <nguyenb@codeaurora.org>
2020-05-11 11:58:48 -07:00
qctecmdr
30a50dfa74 Merge "msm: cvp: Allows concurrent DSP commands handling" 2020-05-11 11:32:56 -07:00
qctecmdr
f23a42d281 Merge "lpm-levels: Read next hrtimer event after tick_nohz_idle_stop_tick()" 2020-05-11 11:32:55 -07:00
qctecmdr
32bac06dde Merge "msm: cvp: Fix a cvp BW over-voting problem" 2020-05-11 11:32:55 -07:00
qctecmdr
b4a9a8f32a Merge "msm: cvp: Remove deprecated old synx usage" 2020-05-11 11:32:55 -07:00
Venkata Narendra Kumar Gutta
7b7edbd114 pinctrl: qcom: Add affinity callbacks to msmgpio IRQ chip
Wakeup capable GPIO IRQs routed via PDC are not being migrated when a
CPU is hotplugged. Add affinity callbacks to msmgpio IRQ chip to update the
affinity of wakeup capable IRQs.

Change-Id: Ic0892d583b567c7d6a2c7ab7fa9d75502c3f3a7a
Signed-off-by: Venkata Narendra Kumar Gutta <vnkgutta@codeaurora.org>
Signed-off-by: Maulik Shah <mkshah@codeaurora.org>
2020-05-11 09:34:35 -07:00
Barani Muthukumaran
4fae88ce06 Send actual keylen to TZ
Send the actual keylen instead of the shm
bridge allocation length.

Change-Id: I662078b10bf47cb1747fdec8c147faaa64b3e95d
Signed-off-by: Barani Muthukumaran <bmuthuku@codeaurora.org>
2020-05-11 09:03:49 -07:00
Gaurav Kashyap
ea1f6226ae soc: qcom: hwkm: fix minor issues
1. Fix key invalidate for double keys so that actual
   FBE keys can be removed when user is removed.
2. Don't use ICE slot for GP slot.
3. Handle KDF failures gracefully.

Change-Id: I161b96d36206378735ba564430e1f413065ba255
Signed-off-by: Gaurav Kashyap <gaurkash@codeaurora.org>
2020-05-11 09:03:40 -07:00
Amir Samuelov
09c2045118 soc: qcom: spss_utils: add spss events support
Add IOCTL for wait/signal spss events.

Change-Id: Ia8ad37a1632de21e6ae4e70013ca72b4b35c68ba
Signed-off-by: Amir Samuelov <amirs@codeaurora.org>
2020-05-11 03:00:06 -07:00
George Shen
228794d04f msm: cvp: Remove deprecated old synx usage
Remove redundant un-used code.

Change-Id: I3e2d37c464833371f0fd62c8c1c31f58317fbee7
Signed-off-by: George Shen <sqiao@codeaurora.org>
2020-05-10 21:57:38 -07:00
qctecmdr
6690485f6b Merge "soc/qcom/hyp_core_ctl: update reserved CPUs only after VM is booted" 2020-05-10 21:13:31 -07:00
qctecmdr
0070b55b6b Merge "msm:ADSPRPC: memory map updates to remote process" 2020-05-09 23:44:37 -07:00
qctecmdr
bfc032ea12 Merge "usb: f_qdss: Fix watchdog bark issue on wait_for_completion" 2020-05-09 23:44:37 -07:00