Commit graph

882,871 commits

Author SHA1 Message Date
qctecmdr
9657f724eb Merge "ANDROID: dm-default-key: Update key size for wrapped keys" 2020-05-17 23:58:35 -07:00
qctecmdr
c995c7adb7 Merge "firmware: qcom_scm: fix the arguments types information" 2020-05-17 23:58:34 -07:00
qctecmdr
cf221d2a10 Merge "msm: cvp: disable cache op by default" 2020-05-17 23:58:34 -07:00
qctecmdr
a05e4a3509 Merge "soc: qcom: mem-buf: Add support for restricting memory transfers" 2020-05-17 23:58:34 -07:00
qctecmdr
85a4ed7aa3 Merge "cpufreq: qcom-cpufreq-hw: Simplify the boost frequency" 2020-05-17 23:58:34 -07:00
qctecmdr
630442cc62 Merge "aarch64: ABI: Update the ABI whitelist with qcom_scm symbols" 2020-05-17 18:50:02 -07:00
Raghavendra Rao Ananta
e16bbe600e aarch64: ABI: Update the ABI whitelist with qcom_scm symbols
Add the symbols qcom_scm_dcvs_reset, qcom_scm_io_reset,
qcom_scm_dcvs_init_ca_v2, qcom_scm_dcvs_ca_available, and
qcom_scm_dcvs_init_v2 to the whitelist and update the
ABI snapshot.

Change-Id: I3049cecbc4256c47050a91125f359993ee1af96b
Signed-off-by: Raghavendra Rao Ananta <rananta@codeaurora.org>
2020-05-17 00:34:22 -07:00
qctecmdr
c09480d98d Merge "msm: pcie: add support to manage PCIe PHY PLL block" 2020-05-15 20:31:15 -07:00
qctecmdr
3dfe6cb25d Merge "sched: Completely remove CFS_BANDWIDTH support in WALT" 2020-05-15 20:31:15 -07:00
qctecmdr
fbb9d05d4b Merge "soc: qcom: socinfo: Fix array out-of-bounds access" 2020-05-15 20:31:15 -07:00
qctecmdr
a911709e5d Merge "radio: RTC6226: post original tune event after scan complete" 2020-05-15 20:31:12 -07:00
qctecmdr
a1058f3b09 Merge "haven: Fix non-zero input SG-List handling for MEM_ACCEPT" 2020-05-15 20:31:11 -07:00
qctecmdr
1c8201b865 Merge "Revert "ASoC: soc-pcm: BE dai needs prepare when pause release after resume"" 2020-05-15 20:31:11 -07:00
qctecmdr
47f0c1c28e Merge "interconnect: qcom: Fix small BW votes being truncated to zero" 2020-05-15 20:31:11 -07:00
qctecmdr
89bc61bcc5 Merge "Add ports and port child node check in legacy function" 2020-05-15 20:31:11 -07:00
qctecmdr
181b4fb1cd Merge "usb: gadget: f_qdss: Add ipc logging for qdss driver" 2020-05-15 20:31:10 -07:00
qctecmdr
055b8f444d Merge "coresight: Fix support for sparsely populated ports" 2020-05-15 20:31:10 -07:00
qctecmdr
49dec8e04f Merge "pinctrl: qcom: spmi-gpio: Add support for PMIC5 variants" 2020-05-15 20:31:10 -07:00
qctecmdr
6bc934cdfb Merge "iommu: iommu-debug: Fix functional_fast_dma test" 2020-05-15 20:31:09 -07:00
qctecmdr
1af87d2d34 Merge "i2c: i2c-msm-geni: Propagate missing changes from 4.19 to 5.4" 2020-05-15 20:31:09 -07:00
qctecmdr
28ebdbc563 Merge "arm64: add config option to enable DT overlay" 2020-05-15 20:31:09 -07:00
qctecmdr
86bcd72045 Merge "drivers: Fix compilation issues when debugfs is disabled" 2020-05-15 20:31:09 -07:00
qctecmdr
17283d7ab4 Merge "defconfig: lahaina: Enable gpu devfreq governors for GKI" 2020-05-15 20:31:08 -07:00
qctecmdr
665fb058e3 Merge "defconfig: holi: Add support for Global clock controller" 2020-05-15 16:20:24 -07:00
qctecmdr
76ba36be83 Merge "radio: RTC6226: add support to scan valid lower freq channel" 2020-05-15 16:20:24 -07:00
qctecmdr
f830a6356e Merge "usb: dwc3: Use an ordered workqueue for sm_work" 2020-05-15 16:20:24 -07:00
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
Raghavendra Rao Ananta
709e5bd0a6 aarch64: ABI: Add drm_dp_check_act_status to the whitelist
Add the symbol, drm_dp_check_act_status, to the qcom whitelist
and update the ABI snapshot accordingly.

Change-Id: I239fafdd2d57b0600a130b7610777da8a5874afe
Signed-off-by: Raghavendra Rao Ananta <rananta@codeaurora.org>
2020-05-15 15:01:20 -07:00
Prasad Sodagudi
632d6b23ec firmware: qcom_scm: fix the arguments types information
Updated the arginfo of scm descriptor for
__qcom_scm_mem_protect_sd_ctrl scm call.

Change-Id: I0274f972eb366e1dad80d17c55b326a9a447618d
Signed-off-by: Prasad Sodagudi <psodagud@codeaurora.org>
2020-05-15 09:40:26 -07:00
Gaurav Kashyap
c96d48845a ANDROID: dm-default-key: Update key size for wrapped keys
Wrapped keys can have key sizes of variable length.
Pass in the wrapped key size sent from userspace instead
of using a fixed value from the cipher when calling into
blk-crypto.

Bug: 156230001

Test: Validated metadata encryption with wrappedkey_v0 when /data
      is mounted on a dm device.
      fstab: metadata_encryption=aes-256-xts:wrappedkey_v0

Git-repo: https://android.googlesource.com/kernel/common/
Change-Id: I9c8bfff71eaf783427270766c419feceefb6be2d
Signed-off-by: Gaurav Kashyap <gaurkash@codeaurora.org>
2020-05-14 15:33:14 -07:00
Taniya Das
837c6de1df cpufreq: qcom-cpufreq-hw: Simplify the boost frequency
Update the logic to handle multiple boost frequencies and also add the
frequencies to the OPP irrespective of normal or boost frequency.

Change-Id: I5b6dc8b157128392fd79e910c88911d6f4bd7b4d
Signed-off-by: Taniya Das <tdas@codeaurora.org>
2020-05-14 21:32:43 +05:30
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
Tony Truong
3d5f6ea3f4 msm: pcie: add support to manage PCIe PHY PLL block
Some chipsets require PCIe root complex driver to manually
control PCIe PHY PLL block. Add support to power on PCIe PHY PLL
block if it has been manually powered down.

Change-Id: Iee2b7e9fd80e537a0b2983827261297c8642a3b7
Signed-off-by: Tony Truong <truong@codeaurora.org>
2020-05-13 18:30:40 -07:00
Tony Truong
53e78f9f25 msm: pcie: add DRV SSR support during DRV resume
If the DRV subsystem goes through SSR (subsystem reset), then
PCIe root complex driver needs to handle recovering PCIe
controller and PHY accordingly.

Change-Id: I230e196725901acac29843b372aae5805a0763e7
Signed-off-by: Tony Truong <truong@codeaurora.org>
2020-05-13 18:07:23 -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
Sriharsha Allenki
ebce97468b usb: dwc3: Use an ordered workqueue for sm_work
The sm_work needs to be queued on an ordered workqueue.
The create_freezable() does not ensure the ordered attribute
needed.
Hence, use the alloc_ordered_workqueue() instead of it
with the flags WQ_FREEZABLE and WQ_MEM_RECLAIM.

Change-Id: I535cb826f117b0162efb87639c85d7b1634a441a
Signed-off-by: Sriharsha Allenki <sallenki@codeaurora.org>
2020-05-13 16:03:16 -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
Isaac J. Manjarres
27aa4d224b soc: qcom: mem-buf: Add support for restricting memory transfers
The mem-buf driver follows a supplier and consumer model
to enforce what the instance of the driver on a particular
Virtual Machine (VM) can and cannot do. These roles are
conveyed through the qcom,mem-buf-capabilities property.

A driver on a VM that has the supplier capability is able
to lend and share memory to other VMs, but cannot request
memory from another VM.

In the other direction, a VM with consumer capability is
only capable of requesting memory from other VMs, but cannot
satisfy memory requests from other VMs.

Change-Id: I1d258bdaafbbdb020831afc85c47f44a5ec93940
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
2020-05-13 09:57:11 -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