Commit Graph

874560 Commits

Author SHA1 Message Date
qctecmdr
11b286fb73 Merge "platform: msm: Migrate SCM calls in IPAv3" 2019-11-21 10:51:40 -08:00
qctecmdr
7af7e28c0e Merge "PM / devfreq: Add cache HW monitor governor" 2019-11-21 10:21:40 -08:00
qctecmdr
57aa166221 Merge "usb: dwc3-msm: Fix usage of find_matching_dbm_ep()" 2019-11-21 09:45:13 -08:00
qctecmdr
bdd39a28b4 Merge "clk: qcom: gpucc: Fix gpll0 parent names" 2019-11-21 09:08:37 -08:00
qctecmdr
f21762b8f4 Merge "msm: ipa: Adapt IPA driver to several DLKMs" 2019-11-21 07:44:37 -08:00
qctecmdr
ce93124b98 Merge "msm: ipa4: add MAC filtering for 802_1Q packets" 2019-11-21 01:56:54 -08:00
qctecmdr
0fa15b97cc Merge "iommu/arm-smmu: Fix atomic domain handling" 2019-11-20 21:55:22 -08:00
qctecmdr
067f101702 Merge "soc: qcom: qsee_ipc_irq_bridge: Use __poll_t for qiib_poll" 2019-11-20 15:58:35 -08:00
qctecmdr
158fc52b71 Merge "arm64: defconfig: Enable the ARM SMMU module on Lahaina" 2019-11-20 15:58:34 -08:00
qctecmdr
f6203b6327 Merge "techpack: Replace xtype with type while searching for sub-dirs" 2019-11-20 15:58:34 -08:00
qctecmdr
fa519ac504 Merge "msm: ipa: Update WDI3.0 specific GSI interface for Lahaina" 2019-11-20 15:58:34 -08:00
qctecmdr
8e5fd2b3f0 Merge "interconnect: Move Lahaina interconnect driver to core_initcall" 2019-11-20 15:58:33 -08:00
qctecmdr
bcea21bdd1 Merge "soc: qcom: Migrate SCM calls in jtagv8" 2019-11-20 15:58:33 -08:00
qctecmdr
ae3eacab9f Merge "usb: phy: Remove unused register offsets" 2019-11-20 12:53:48 -08:00
qctecmdr
4f35bba296 Merge "msm: ipa: Bus Scaling/Interconnect Migration" 2019-11-20 12:13:55 -08:00
Amir Levy
ece40dea5e msm: ipa4: add MAC filtering for 802_1Q packets
Add ability to filter MAC addresses from 802_1Q packets.
MAC address is located in a different offset than in ETH_II
header.

Change-Id: I4b808102dbb708779762bedb998c2477b5058886
Signed-off-by: Amir Levy <alevy@codeaurora.org>
2019-11-20 15:26:52 +02:00
Siddharth Gupta
bea316fb9c platform: msm: Migrate SCM calls in IPAv3
Adding API to upstream driver to get secure dump state and protect
memory regions. Migrating SCM calls used in the IPA driver.

Change-Id: Ia61436d8c18ddda49c411e06f147cdae345a23af
Signed-off-by: Siddharth Gupta <sidgup@codeaurora.org>
Signed-off-by: Elliot Berman <eberman@codeaurora.org>
2019-11-19 22:45:36 -08:00
Siddharth Gupta
44992a2dfa soc: qcom: Migrate SCM calls in jtagv8
Adding API to upstream driver to get JTAG ETM feat id.
Migrating SCM calls used in the JTAG driver.

Change-Id: I60cd57d5c6aae62ec089e960b55ac221f0474f64
Signed-off-by: Siddharth Gupta <sidgup@codeaurora.org>
Signed-off-by: Elliot Berman <eberman@codeaurora.org>
2019-11-19 22:45:36 -08:00
Siddharth Gupta
5d6607bbfc crypto: ice: Migrate SCM calls
Migrating all SCM calls made to the old driver to now be made
through the backported upstream driver.

Change-Id: Ic77d315c5a55859f0cc58d7bbf05c0c24d1ef155
Signed-off-by: Siddharth Gupta <sidgup@codeaurora.org>
Signed-off-by: Elliot Berman <eberman@codeaurora.org>
2019-11-19 22:45:36 -08:00
Siddharth Gupta
050d2dca67 iommu/arm-smmu: Migrate SCM IO calls in arm-smmu
Migrate SCM IO read calls in the smmu driver to use new SCM driver.
Add support for io-pgtable-msm-secure map and unmap in SCM driver.

Change-Id: If1ce054b9cfcfdcdab3aecc6752fcd4765197a05
Signed-off-by: Siddharth Gupta <sidgup@codeaurora.org>
Signed-off-by: Elliot Berman <eberman@codeaurora.org>
2019-11-19 22:45:36 -08:00
Elliot Berman
e061e5f060 soc: qcom: Migrate SCM calls in core hang
Migrate SCM io_read/write to upstream API in core hang detection.

Change-Id: If720dcd0f9a5341276fcd2a052c8ab6cf238aaa5
Signed-off-by: Elliot Berman <eberman@codeaurora.org>
Signed-off-by: Siddharth Gupta <sidgup@codeaurora.org>
2019-11-19 22:45:36 -08:00
Elliot Berman
f3261f7069 msm: kgsl: Migrate SCM calls in adreno
- Migrate iommu_sync scm call to firmware/qcom_scm driver.
- Migrate a5xx_microcode_load to use qcom_scm_set_remote_state.

Change-Id: I05911ac6cf9366b4bff5ee02e6832b8728d1d35e
Signed-off-by: Elliot Berman <eberman@codeaurora.org>
2019-11-19 22:45:36 -08:00
Elliot Berman
f1624c54ae soc: qcom: Migrate SCM call to disable watchdog
Add support for SCM call to deactivate secure watchdog on Qualcomm
devices.

Change-Id: I4008792e45d2c264b98ca954ea37a94093ea771e
Signed-off-by: Elliot Berman <eberman@codeaurora.org>
2019-11-19 22:45:36 -08:00
Elliot Berman
bbf72fdcb6 firmware: qcom_scm: Use qtee_shmbridge if available
Secure world imposed that buffer exchanges between secure and non-secure
worlds be allocated from qtee_shmbridge, so add a function to allocate
buffer space using shmbridge for extra arguments. Change helps in
dealing with early scm calls when the driver is not initialized.

Change-Id: I270b4aef9d33ec6d7ea0897ddcc0944ac9e1833f
Signed-off-by: Elliot Berman <eberman@codeaurora.org>
2019-11-19 22:45:36 -08:00
Siddharth Gupta
4d0fbd6baf firmware: qcom_scm: Merge qtee_shmbridge and qcom_scm
Merge qtee_shmbridge and qcom_scm drivers into a single compilation unit.

Change-Id: Icfbf7c335fc8d9468236cdc08dfda52fa563be40
Signed-off-by: Siddharth Gupta <sidgup@codeaurora.org>
Signed-off-by: Elliot Berman <eberman@codeaurora.org>
2019-11-19 22:45:36 -08:00
Elliot Berman
29f1d94ad1 firmware: qcom_scm: Rename -64 -> -smc, remove -32
- Rename qcom_scm-64.c to qcom_scm-smc as it supports SMC-based calling
  conventions for 32 and 64-bit targets
- Remove qcom_scm-32.c as it has been superceded by qcom_scm-smc.c
- Update Kconfig to select QCOM_SCM_TRANSPORT_SMC on ARM and ARM64
  targets

Change-Id: Iae94a73e0c7cefb9a253230212d01f6126cd0c15
Signed-off-by: Elliot Berman <eberman@codeaurora.org>
2019-11-19 22:45:36 -08:00
Bojun Pan
826473f5e9 msm: ipa: Update WDI3.0 specific GSI interface for Lahaina
Update the GSI register fields to handle the latest
WDI3.0 changes.

Change-Id: I10c2f1280a1f5b9e79a339f4989a2fb41fe07b6e
Acked-by: Priyadarshini Rajagopal <prajagop@qti.qualcomm.com>
Signed-off-by: Bojun Pan <bojunp@codeaurora.org>
2019-11-19 20:51:00 -08:00
qctecmdr
2e0893d913 Merge "soc: qcom: Add Kconfig dependency for SENSORS_SSC" 2019-11-19 16:50:03 -08:00
Isaac J. Manjarres
3f411d46fb arm64: defconfig: Enable the ARM SMMU module on Lahaina
Enable the ARM SMMU driver as a module for Lahaina GKI.

Change-Id: I217b0fc81c78331fc2a710546eaa1d3e79a59917
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
2019-11-19 16:33:36 -08:00
Isaac J. Manjarres
207d91c187 iommu/arm-smmu: Allow the ARM-SMMU driver to be a module
Allow the ARM SMMU driver to be compiled as a loadable
kernel module.

Change-Id: Ib982ddb7f8ed82c5f7983db8b85bb2c6c83502c6
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
2019-11-19 16:33:35 -08:00
Isaac J. Manjarres
871061b2ea Revert "iommu/arm-smmu: Make arm-smmu explicitly non-modular"
This reverts commit addb672f20.

Change-Id: I2e9dc3c90c7821fc378afee3cb83bfce66c9d14c
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
2019-11-19 16:32:52 -08:00
Isaac J. Manjarres
f785b675ce iommu/arm-smmu: Fix atomic domain handling
Query if a domain is atomic or not after initializing the
domain, as opposed to before, when the domain properties
have not been finalized.

Change-Id: Ib2f05156268a16cccb410e263de957d9eb2070ae
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
2019-11-19 16:30:32 -08:00
Isaac J. Manjarres
2b275308a1 iommu/arm-smmu: Use a bitmap for the SMMU domain attributes
Use a bitmap to maintain the domain attributes for SMMU domains.
This simplifies the handling for the domain attributes, as it
removes the need to explicitly manipulate the bits, which can
be error-prone.

Change-Id: I719900df9d80801239b8e815d29953f3c6d067f0
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
2019-11-19 16:30:26 -08:00
qctecmdr
40bc59439e Merge "msm: adsprpc: fix compilation errors in fastrpc driver on lahaina" 2019-11-19 16:10:53 -08:00
Mike Tipton
c8fc98b764 clk: qcom: gpucc: Fix gpll0 parent names
Update the parent names used for gpll0 to match the actual names in the
GCC driver. Without this change, clk_set_rate will fail when the
determine_rate callback fails to find the associated parent.

Change-Id: I0b17fed4e11c30ffb00a2737078bfab5ea1ef523
Signed-off-by: Mike Tipton <mdtipton@codeaurora.org>
2019-11-19 15:04:52 -08:00
Mayank Rana
6699b963bc usb: phy: Remove unused register offsets
Remove unused register offset related enums as those are not used
for configuration within USB PHY driver. This helps to reduce
number of register offset value need to pass from devicetree with
USB QMP PHY device node.

Change-Id: Ia0581c3dc8210bfaac9a7318eb75e1ffa35440b6
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
2019-11-19 13:50:28 -08:00
Bruce Levy
836f7ba9cc techpack: Replace xtype with type while searching for sub-dirs
Some build environments do not support -xtype. Therefore
use -type instead.

Change-Id: I459bdd9e16dc31ea0b91d5f0cb86d4dabb1e3352
Signed-off-by: Bruce Levy <blevy@codeaurora.org>
2019-11-19 11:52:49 -08:00
Isaac J. Manjarres
2981d63a6b iommu/arm-smmu: Remove legacy bindings bus initialization initcall
No currently supported targets utilize the deprecated mmu-masters
bindings, which results in the legacy bindings initcall being a
no-op. Thus, remove the initcall to the legacy bindings routine
for now, until this can be handled properly.

Change-Id: Ie8b1004914315e757c059f8b8fc2b8713351be16
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
2019-11-19 11:45:06 -08:00
Bojun Pan
f7b08d17f7 msm: ipa: replace dma_zalloc_coherent()
dma_zalloc_coherent() is no longer needed and get deprecated as it has
no users because dma_alloc_coherent() already zeroes out memory for us.

Change-Id: Ibd49d7afce8caaa7b2b6aed61884b307674f9a59
Signed-off-by: Bojun Pan <bojunp@codeaurora.org>
2019-11-19 10:38:48 -08:00
Jun-Hyung Kwon
22c4526d07 soc: qcom: Add Kconfig dependency for SENSORS_SSC
SENSORS_SSC module is dependent on the SSR subsystem
so, update Kconfig dependency details.

Change-Id: Iaba55723485d038c11931ac8914665af35a26a3e
Signed-off-by: Jun-Hyung Kwon <junhyung@codeaurora.org>
2019-11-19 10:14:09 -08:00
qctecmdr
853c797061 Merge "iommu/arm-smmu: Fix atomic domain attribute check" 2019-11-19 09:21:04 -08:00
qctecmdr
210912b3d0 Merge "clk: qcom: gcc: Fix num_parent count for gcc_usb3 clk init data" 2019-11-19 08:47:09 -08:00
qctecmdr
5c4ea15131 Merge "ASoC: core: add debug log for cpu dais" 2019-11-19 08:12:42 -08:00
Ghanim Fodi
92bb3a5b57 msm: ipa: Adapt IPA driver to several DLKMs
Arrange driver to be separated into several DLKMs
per functinalities. Adapt the Makefiles,
add needed EXPORT_SYMBOLS(), and replace #ifdef X
to #if IS_ENABLED(X) to capture module state.

Change-Id: I5cc0a7c43358e3caa099cb3e9968b0837753972c
Signed-off-by: Ghanim Fodi <gfodi@codeaurora.org>
2019-11-19 14:04:29 +02:00
Ghanim Fodi
a1df5fab7c msm: ipa: Update IPA driver Kconfig
Fix dependencies and bool/tristate config
of different IPA drivers. These fixes are
needed for GKI config and preparing the driver
to be DLKM ready.

Change-Id: Ic04f4200070076db0da9e5c062dd5321945b655b
Signed-off-by: Ghanim Fodi <gfodi@codeaurora.org>
2019-11-19 03:33:13 -08:00
Isaac J. Manjarres
f204c082cf iommu/arm-smmu: Remove DOMAIN_ATTR_BITMAP_IOVA_ALLOCATOR
DOMAIN_ATTR_BITMAP_IOVA_ALLOCATOR is no longer supported,
so remove it.

Change-Id: I91473cb1a03d78cf2cbb82a7f13a4a531f3c7d5b
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
2019-11-18 23:18:10 -08:00
qctecmdr
127294a128 Merge "ASoC: msm: Add compressed TX and passthrough support" 2019-11-18 21:08:04 -08:00
qctecmdr
9b94944cd7 Merge "firmware: qcom_scm: Support SCM calls before qcom_scm probe" 2019-11-18 20:10:14 -08:00
qctecmdr
87e461a5b0 Merge "firmware: qcom_scm: Enable legacy convention in qcom_scm-64.c" 2019-11-18 19:35:17 -08:00
qctecmdr
6b47d58c25 Merge "firmware: qcom_scm: Merge legacy and SMCCC conventions" 2019-11-18 19:01:22 -08:00