- 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>
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>
add operation to deal with smcinvoke callback request
Change-Id: Ia79b380691dbda4298cdf088fe1a09280767ef17
Signed-off-by: Zhen Kong <zkong@codeaurora.org>
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>
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>
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>
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>
avoid event signaled twice.
add ioctl to check if event was signaled.
Change-Id: Ie75b9db86f2badddc08d65eee30ecd6a15795256
Signed-off-by: Amir Samuelov <amirs@codeaurora.org>
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>
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>
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>
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>
Add the clock scaling support for SD card to the core layer.
Change-Id: I9bfc8b581aed7013ecd2f8af65643a4e242d4b72
Signed-off-by: Bao D. Nguyen <nguyenb@codeaurora.org>
Add the clock scaling support for SD card in the block layer.
Change-Id: Iac02d68ce01dd2f2437b1b09dba1070c63aa0317
Signed-off-by: Bao D. Nguyen <nguyenb@codeaurora.org>
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>
Send the actual keylen instead of the shm
bridge allocation length.
Change-Id: I662078b10bf47cb1747fdec8c147faaa64b3e95d
Signed-off-by: Barani Muthukumaran <bmuthuku@codeaurora.org>
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>