As per the current flow, tme_log dir is created by default for all type
of targets.
Below are the cases where tme_log should not be created:
- For non TME targets.
- Target support TME, but tmecrashdump-address-offset value is not
specified in DT.
- If DT value is provided, but faced an error in ioremapping passed
address value.
Alongwith tme_log, fix hyp/rm log node creation behavior as well by
extending this interface.
Change-Id: Ie26701d551aa48ff896642e04db2392860035e1e
Signed-off-by: Kuldeep Singh <quic_kuldsing@quicinc.com>
CameraDriver structure initialized explicitly to get version info
and remove INT32_C undefined macro definition to avoid compilation error.
Change-Id: If79a83383634fb379d860746ea3611e46295cd64
Signed-off-by: Ravi Kumar Bokka <quic_c_rbokka@quicinc.com>
Previously on sps_transfer failure, a fail message and descriptor
information would be logged. Changed to only log a fail message.
Descriptor can still be logged with QCE_DEBUG defined.
Change-Id: I3dfc2d0f58ea99302a62bf3aeeaa3d3e9f587b16
Signed-off-by: Daniel Perez-Zoghbi <quic_dperezzo@quicinc.com>
Add support for qcom,commonlib-loaded-by-hostvm
to use commonlib loaded by host VM.
Change-Id: I3a9f08bb53dde7545f518247ae885411ae8eef64
Signed-off-by: venkata sateesh <quic_vencher@quicinc.com>
Signed-off-by: Nishant Raj <quic_nishraj@quicinc.com>
Guard enablement of QTEE drivers using a new QMAA flag
so that these driver can be enabled independently.
Change-Id: I8d78499a9ff66519afceb4e36f32737ed30584ed
Signed-off-by: Smita Ghosh <quic_smitag@quicinc.com>
Added a new API dynamicConfigureFDPort to allow secure/non-secure
FD port configuration from camera kernel.
Change-Id: I928d260249ef7bb10c43c125b5bc1c48379d89d4
Signed-off-by: Rajat Singh Deepak <quic_rajatsin@quicinc.com>
handle hdcp timeout cmd in driver when timout is received from dp
driver for delay in sink response.
Change-Id: I71359f0af31db597409b5e3352bda1cc0fedd632
Signed-off-by: Sheik Anwar Shabic Y <quic_sheikanw@quicinc.com>
Signed-off-by: Linux Image Build Automation <quic_ibautomat@quicinc.com>
Unload hdcp1 TA when all client instances are closed.
Change-Id: I8d25d0609e54fc1cba99e78ceec2d437203b27ba
Signed-off-by: Sheik Anwar Shabic Y <quic_sheikanw@quicinc.com>
Signed-off-by: Linux Image Build Automation <quic_ibautomat@quicinc.com>
Remove the CONFIG_COMPAT reference in the compat_qcedev.h
header to conform with uapi guidelines.
Change-Id: I3251c637a5ad76af655de87ffde21a12dbba1850
Signed-off-by: Gaurav Kashyap <quic_gaurkash@quicinc.com>
Return value of function is int32_t and storing return value in
uint32_t will lead to integer underflow issue. Change variable
from uint32_t to int32_t to handle negative integer values.
Change-Id: I6d8525e9ee4a138c96933674f5f828e19794258b
Signed-off-by: Disha Galve <quic_dgalve@quicinc.com>
Fix: The size of TA application name increaed, once it is alternate signed TA.
Change-Id: Ie66b870f04cdc4a8ed14fe5bc134f9ecaffa7fda
Signed-off-by: Vikas Kumar Sharma <quic_vksharma@quicinc.com>
Extend tz_log driver usage to display TME logs from userspace with the
help of tmelog interface.
Output tme log data is in raw format and need to run an explicit parser
to get meaningful information.
Change-Id: Icd230494d014c9be0d79e5c6c1378dffefe54e0f
Signed-off-by: Kuldeep Singh <quic_kuldsing@quicinc.com>
Add qseecom support for Auto SA6155 Platform
Change-Id: Ice9d848c300956f65ccdd5c08bd1c6ec91c4bd5c
Signed-off-by: Raghavendra Prasad N <quic_raghnaga@quicinc.com>
Use pr_err_ratelimited to limit logs that are
printed frequently.
Change-Id: If16646d244e963300be4cabc4250e9139014b3d6
Signed-off-by: Reut Zysman <quic_rzysman@quicinc.com>
Unload hdcp1 TA when all client instances are closed.
Change-Id: I1b8728ace7b0ddc9d0237b3247202c0c5c4228cf
Signed-off-by: Sheik Anwar Shabic Y <quic_sheikanw@quicinc.com>
Signed-off-by: Linux Image Build Automation <quic_ibautomat@quicinc.com>
handle hdcp timeout cmd in driver when timout is received from dp
driver for delay in sink response.
Change-Id: Iea60eb56395b9b045bb2d67c6ef9e06318dc23ae
Signed-off-by: Sheik Anwar Shabic Y <quic_sheikanw@quicinc.com>
Remove the qcedev header as it present in
the uapi path.
Change-Id: I01f8b923a11e810cf10b21c3b03d22f34f77ea96
Signed-off-by: Gaurav Kashyap <quic_gaurkash@quicinc.com>
Unload hdcp1 TA when all client instances are closed.
Change-Id: I079021b1efadfdec3c0248f7c8ed79c686d6d1c5
Signed-off-by: Sheik Anwar Shabic Y <quic_sheikanw@quicinc.com>
Bzl files changes to enable CONFIG_QSEECOM_COMPAT for pineapple.
Now that ddk flag is enabled, the config can no longer be enabled
with Kbuild, instead we have to use bzl based changes to enable
it.
Change-Id: I2f1bb9bb4b78413289b7fa988a49fc7b10e7836e
Signed-off-by: Divisha Bisht <quic_divibish@quicinc.com>
No error status is reflected in multiple ways in
the status register. Check both values or else, there
might be timing issues.
Change-Id: I82ecdb77d8127b076e12495fea104cb0fffe65bc
Signed-off-by: Gaurav Kashyap <quic_gaurkash@quicinc.com>
Expand SMCInvoke API to support possible
future requirements.
Change-Id: I9f6031751489c43a27afc2860a1cb9f87c7ebb87
Signed-off-by: Reut Zysman <quic_rzysman@quicinc.com>
Enable qseecom driver by default to compile on all chipset
in parallel with Qseecom-compat enable.
Change-Id: I3dd3aa2864c41196197f0770020225fa36f088c1
Signed-off-by: Nitin LNU <quic_nlakra@quicinc.com>
Move qseecom headers to securemsm-kernel. Also, cleanup and split
of qseecom header done based on usage.
These qseecom headers are now exposed to userspace as
qseecom_kernel_headers.
All the other changes are to take care of compilation dependencies
from the above.
Tests: Tested in device with local build with qseecom sampleclient
cmds.
Change-Id: I55442ce7380636a2630c2e372099735fec0756a8
Signed-off-by: Divisha Bisht <quic_divibish@quicinc.com>
Remove a log on the TVM when we receive a message in the proxy driver.
Change-Id: Ib7197eee830d0cf86b62893949cb6356c4a7b951
Signed-off-by: Chris Goldsworthy <quic_cgoldswo@quicinc.com>
Add support for two additional offload pipes.
1 new HLOS_HLOS pipes.
1 new HLOS_CPB pipe.
Change-Id: Ia9acf3cbdf9c1f148dbddc9426d51ade0d26ff75
Signed-off-by: Gaurav Kashyap <quic_gaurkash@quicinc.com>
Whenever there is a crypto error, the pipe is reset which
in turn resets the crypto core. When the pipe is reset wait
for it to complete by monitoring the crypto status.
Change-Id: Id79838e517df491b8062ec379baff2407fea500c
Signed-off-by: Gaurav Kashyap <quic_gaurkash@quicinc.com>