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>
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>
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>
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>
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>
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>
Add support for SCM call to deactivate secure watchdog on Qualcomm
devices.
Change-Id: I4008792e45d2c264b98ca954ea37a94093ea771e
Signed-off-by: Elliot Berman <eberman@codeaurora.org>
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>
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>
- 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>
Enable the ARM SMMU driver as a module for Lahaina GKI.
Change-Id: I217b0fc81c78331fc2a710546eaa1d3e79a59917
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
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>
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>
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>
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>
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>
Some build environments do not support -xtype. Therefore
use -type instead.
Change-Id: I459bdd9e16dc31ea0b91d5f0cb86d4dabb1e3352
Signed-off-by: Bruce Levy <blevy@codeaurora.org>
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>
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>
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>
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>
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>
DOMAIN_ATTR_BITMAP_IOVA_ALLOCATOR is no longer supported,
so remove it.
Change-Id: I91473cb1a03d78cf2cbb82a7f13a4a531f3c7d5b
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>