commit a221f9354bdd ("remoteproc: q6v5: Fix the check in crash handler")
tried to make shutdown timeout panic on 10s but did not handle a scenario
where this timeout is happening is because of external trigger crash of
the remote.
So, here is how it happens, when sysmon_stop() requests shutdown holding
rproc lock, a parallel manual diag crash command is triggered on the
remote that crashes the remote due to which remote will not respond to
the shutdown request and hence, it will always return timeout and
eventually a false positive crash also the crash handler will not get
rproc lock as the earlier one is already taken it.
Before commit a221f9354bdd ("remoteproc: q6v5: Fix the check in
crash handler"),this timeout was of no use as it was kept at 20s
which can never hit as internal timeout was 10s(5s + 5s).
So, it is better to convert the panic to just WARN on sysmon
shutdown timeout.
Change-Id: I6f8c27dbd89bdfec0eb26308c05186c0ed4b9628
Signed-off-by: Mukesh Ojha <quic_mojha@quicinc.com>
In Hibernate mode, the HW and SW state may go out of sync, as the HW is
turned off, but SW state is preserved. This may cause the irqs to not
work properly after the Hibernate exit.
To avoid this issue, in the Hibernate exit path, free and re-request the
interrupts, to make sure that the HW state is restored.
Change-Id: I1b38acd6b76f1629d0ed76066b0b5f2ae500a0ce
Signed-off-by: Rakesh Kota <quic_kotarake@quicinc.com>
Signed-off-by: Monish Chunara <quic_mchunara@quicinc.com>
Enable base memory modules for Seraph by enabling configs and adding
relevant modules to first stage loading.
Change-Id: Ic42bed15207d86065671c558c893cca42ec8f837
Signed-off-by: Dibakar Singh <quic_dibasing@quicinc.com>
Signed-off-by: Jaskaran Singh <quic_jasksing@quicinc.com>
This change adds PHY msm usb driver which handles PHY initialization,
clock management, and workarounds required after resetting the
hardware and power management.
This snapshot is taken from Kernel-5.4,
'commit a8682b6e9ab7f ("usb: phy: Add snapshot of
PHY msm usb driver")'
Add phy-msm-usb driver to kernel tree via Kconfig
and Makefile.
This change also replaces bus-voting APIs with the ICB APIs.
Adding New APIs
iccs_get()
iccs_put()
msm_otg_update_bus_bw().
Removed below APIs as new compiler treating these unused
functions as errors:
msm_otg_bus_clks_enable()
msm_otg_bus_clks_disable().
Removed dbg_event() support, to improvise it later.
Changed
struct icc_path *icc_paths[1] to struct icc_path *icc_paths.
Change-Id: I5bfbd1325faa37a3ed3f0f3a83850a1cf797fa09
Signed-off-by: Roja Rani Yarubandi <quic_ryaruban@quicinc.com>
Signed-off-by: Sandeep Maheswaram <quic_sandmahe@quicinc.com>
Add place marker for Link Up, driver probe start to probe end,
first packet received/send to measure the KPI value.
Change-Id: I3a644a0d3f7df1133b2fc79f28103fe80baea369
Signed-off-by: Suraj Jaiswal <quic_jsuraj@quicinc.com>
hgsl shall return directly if it's unable to get the hab channel
during clean up, this usually means critical error happens in
graphic backend. Also, it could be very dangerous if release those
buffers directly, since GPU could still access those buffers.
Change-Id: I06e75ea059a1a1adab649d800b12bfe41acacb60
Signed-off-by: Hui Li <quic_hul@quicinc.com>
Enable bootmarker proxy driver & add module to bazel module list for
autogvm.
Change-Id: If6bdebe4d127f7ac1f39c89418fcc404ac15f94e
Signed-off-by: Konkumutti Sai Ram <quic_ksairam@quicinc.com>