These modules are required to get the storage and serial driver
working at first stage. Then the vendor modules can be loaded
from storage device for second stage loading.
Change-Id: I8070fae4e4124cadcc414a62cad6d0a16760ba0a
Signed-off-by: Sahitya Tummala <quic_stummala@quicinc.com>
Fix the Camera and Video GDSC powerup failures on PARROT platform.
Change-Id: Ibf6358d0c224912043adf6bab50acf32ee1fb46f
Signed-off-by: Jagadeesh Kona <quic_jkona@quicinc.com>
Avoiding null pointer dereference in mhi_uci_client_open API in uci layer
by changing the location of the condition check for uci_handle.
Change-Id: If2cc99f47f4c5d05d0df4a5b4900894683f7c8d1
Signed-off-by: Sai Chaitanya Kaveti <quic_skaveti@quicinc.com>
When non-pattern tests are run after pattern tests, there is
stale data from previous tests that never get erased, which
depending on crypto behavior might cause decrypt discrepancies.
Make the change to correctly set the pattern info to the
command descriptors.
Also, convert all debug logs to pr_info to avoid flooding serial
when QCE_DEBUG is enabled.
Tests: STS test cases(testPocCVE_2020_11267).
Change-Id: Iaff8bb3a4780a46c2c4ef4203f7ec120fa6daccb
Signed-off-by: Gaurav Kashyap<quic_gaurkash@quicinc.com>
Signed-off-by: Pranav Lavhate <quic_plavhate@quicinc.com>
1. There is no need to vote for high bandwidth for every
ioctl operation, Instead, vote only when a new device
node is opened (which translates to a new session from
a userspace point of view).
2. Fix the way BAM pipes are reset when there is a crypto
operation by initializing it correctly through the SPS
BAM framework.
3. Checking crypto status for every request is performance
heavy. Remove these checks and read status only on
error conditions.
Tests: qcedev nominal, stress tests.
Change-Id: I7cad5546c53bf2a7e1de8ee912ac424b7752c01c
Signed-off-by: Gaurav Kashyap<quic_gaurkash@quicinc.com>
Signed-off-by: Pranav Lavhate <quic_plavhate@quicinc.com>
commit 9cdb3f5818 ("remoteproc: qcom: pas: Rename subsystem minidump
elf name") unknowingly make remoteproc driver to dependent on
qcom_ramdump with which remoteproc probe is failing.
However, qcom_ramdump is an optional and debug driver and remoteproc
should not depend on it. Fix this dependency.
Change-Id: I1021835cfe6432f21e173a73a6d2c9baf5231dd4
Signed-off-by: Mukesh Ojha <quic_mojha@quicinc.com>
Currently, for precision flash control, switch device's enabled
state is set to true when the brightness is set to 1 and on_timer
is started. However, it can be set to false only when the
brightness is set to 0. For camera flash use cases like turning
on pre-flash/torch immediately following the timed flash event,
this needs to be changed i.e. set the enabled state to false when
the off_timer callback is invoked to disable switch device.
Change-Id: Ib99ef1e93a21645a816555cc44c66957b5d2a43b
Suggested-by: Depeng Shao <quic_depengs@quicinc.com>
Signed-off-by: Subbaraman Narayanamurthy <quic_subbaram@quicinc.com>
Changed smp2p irq devname from "smp2p" to "smp2p_<remote_id>", which
makes the wakeup source distinguishable in irq wakeup prints.
Change-Id: Id18819be3867df5070ad198c75980ea8f502dbe1
Signed-off-by: Tao Zhang <quic_taozhan@quicinc.com>
Update console driver poll_get_char and
poll_put_char callback functions to support
kdgb over console functionality.
Change-Id: Ic7b790fb7b863f90faac0200d97f3f8588808e9a
Signed-off-by: Visweswara Tanuku <quic_vtanuku@quicinc.com>
Store snapshot blocks in a new structure to make it easier to
add blocks for different targets.
Change-Id: Ie0bee4424d553d31de2ee8342c8396eafe24c3e0
Signed-off-by: Urvashi Agrawal <quic_urvaagra@quicinc.com>
Signed-off-by: Lynus Vaz <quic_lvaz@quicinc.com>
Signed-off-by: Rohan Sethi <quic_rohsethi@quicinc.com>
Remove delay from QMP phy initialisation sequence. Its
not required in USB QMP DP/UNI phys as they use SE clk.
Change-Id: I6d22bd9c2f870b94bee49db65e057df1ab2acb44
Signed-off-by: Prashanth K <quic_prashk@quicinc.com>
Add trace points to track credit and debit of pages during
KGSL process reclaim.
Change-Id: I1c77f574ad5905cb65c336ebe08b74f90024a1dc
Signed-off-by: Rohan Sethi <quic_rohsethi@quicinc.com>
Currently we will enable the clock and clock divider once UART port
is open and baud rate is set. But during boot time if we don't open
UART port and go for runtime suspend operation then we will get the
NOC issue, since we are reading register without turning on the clk.
To avoid NOC issue enable the clock and configure the clock divider
during probe time.
Change-Id: Ie907bf76c2257b31933a48a4c1fcfff2f9baceb7
Signed-off-by: Visweswara Tanuku <quic_vtanuku@quicinc.com>
Add missing argument while logging via UART_DBG_LOG
in msm_geni_wakeup_isr_time.
Change-Id: I4c87787216c752c90ede5732b021f1126b6e1a46
Signed-off-by: Visweswara Tanuku <quic_vtanuku@quicinc.com>
SDAM register bit value for identifying UFS 2.x/3.x
have been flipped compare to taro. Hence revert sdam
read data in driver with help of dt flag.
Change-Id: I64e378cd4f12430f4895447c25e83751dc677f85
Signed-off-by: Ram Prakash Gupta <quic_rampraka@quicinc.com>
Some platforms may depend on the status of the WLAN supply
PMIC to correctly report the themal status.
Change-Id: Iebb28c5e796dc1993f218cd74e584e08d38e0c70
Signed-off-by: Madhvapathi Sriram <quic_msriram@quicinc.com>