kernel_samsung_a53x/drivers/remoteproc
Beleswar Padhi 3e8bdfe34b remoteproc: k3-r5: Do not allow core1 to power up before core0 via sysfs
commit 3c8a9066d584f5010b6f4ba03bf6b19d28973d52 upstream.

PSC controller has a limitation that it can only power-up the second
core when the first core is in ON state. Power-state for core0 should be
equal to or higher than core1.

Therefore, prevent core1 from powering up before core0 during the start
process from sysfs. Similarly, prevent core0 from shutting down before
core1 has been shut down from sysfs.

Fixes: 6dedbd1d5443 ("remoteproc: k3-r5: Add a remoteproc driver for R5F subsystem")
Signed-off-by: Beleswar Padhi <b-padhi@ti.com>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20240430105307.1190615-3-b-padhi@ti.com
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-11-19 14:19:04 +01:00
..
da8xx_remoteproc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
imx_rproc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ingenic_rproc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig remoteproc: stm32: use correct format strings on 64-bit 2024-11-19 08:44:58 +01:00
keystone_remoteproc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mtk_common.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mtk_scp.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mtk_scp_ipi.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
omap_remoteproc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
omap_remoteproc.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
qcom_common.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
qcom_common.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
qcom_pil_info.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
qcom_pil_info.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
qcom_q6v5.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
qcom_q6v5.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
qcom_q6v5_adsp.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
qcom_q6v5_mss.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
qcom_q6v5_pas.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
qcom_q6v5_wcss.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
qcom_sysmon.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
qcom_wcnss.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
qcom_wcnss.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
qcom_wcnss_iris.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
remoteproc_cdev.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
remoteproc_core.c remoteproc: Add new get_loaded_rsc_table() to rproc_ops 2024-11-19 08:44:58 +01:00
remoteproc_coredump.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
remoteproc_debugfs.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
remoteproc_elf_helpers.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
remoteproc_elf_loader.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
remoteproc_internal.h remoteproc: Add new get_loaded_rsc_table() to rproc_ops 2024-11-19 08:44:58 +01:00
remoteproc_sysfs.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
remoteproc_virtio.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
st_remoteproc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
st_slim_rproc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
stm32_rproc.c remoteproc: stm32: fix phys_addr_t format string 2024-11-19 08:45:00 +01:00
ti_k3_dsp_remoteproc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ti_k3_r5_remoteproc.c remoteproc: k3-r5: Do not allow core1 to power up before core0 via sysfs 2024-11-19 14:19:04 +01:00
ti_sci_proc.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
wkup_m3_rproc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00