summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorNazim Amirul <muhammad.nazim.amirul.nazle.asmade@altera.com>2026-09-22 22:32:33 -0700
committerXu Yilun <yilun.xu@linux.intel.com>2026-09-29 18:23:46 +0800
commit093da48782df3d50953c520626b345ca70af8cbd (patch)
treebcdc4c0f746be20de4ba1d7f1ad3f160d2885a0e /tools/perf/scripts/python
parent0dcfad56e527a0816f77b94d17ebf98130f1ae21 (diff)
downloadlinux-next-093da48782df3d50953c520626b345ca70af8cbd.tar.gz
linux-next-093da48782df3d50953c520626b345ca70af8cbd.zip
fpga: altera-cvp: Retry teardown and reset CVP state on failure
The driver polls CFG_RDY for 0 as notification that the endpoint has finished teardown and a new session can start safely. After a bad bitstream that poll can time out: CFG_RDY may stay stuck when HIP_CLK_SEL=0 if the device has already left usermode before the poll. Retrying teardown alone is not enough. Exit CvP mode and switch the HIP clock that feeds CFG_RDY so CVP_STATUS becomes responsive again, then try the teardown once more. Introduce altera_cvp_recovery() to wrap this cleanup and single retry. Signed-off-by: Nazim Amirul <muhammad.nazim.amirul.nazle.asmade@altera.com> Reviewed-by: Xu Yilun <yilun.xu@intel.com> Link: https://lore.kernel.org/r/20260923053233.10890-3-muhammad.nazim.amirul.nazle.asmade@altera.com Signed-off-by: Xu Yilun <yilun.xu@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions