This patchset is a misc update of remoteproc_core.c. Patch 1: Drop a pointless initialization to variable ret Patch 2-3: Cleanup the included headers Patch 4: Remove export of rproc_va_to_pa
I am also reviewing the rproc->lock usage and thinking whether we need to add a lockdep_assert_held for some functions that should have lock held. But not sure. Signed-off-by: Peng Fan <[email protected]> --- Changes in v3: - Drop patch 4: Use cleanup API. Because there is a deadlock issue reported, need review the lock usage before the cleanup. - Drop patch 6 & 7: Use bitfield for bool - Add A-b from Andrew Changes in v2: - Add patch 6 "remoteproc: stm32: Avoid directly taking address of auto_boot" to address stm32_rproc.c build issue - Link to v1: https://lore.kernel.org/r/[email protected] --- Peng Fan (4): remoteproc: core: Drop redundant initialization of 'ret' in rproc_shutdown() remoteproc: core: Sort header includes remoteproc: core: Removed unused headers remoteproc: core: Remove unused export of rproc_va_to_pa drivers/remoteproc/remoteproc_core.c | 31 +++++++++++++------------------ 1 file changed, 13 insertions(+), 18 deletions(-) --- base-commit: 1fdbb3ff1233e204e26f9f6821ae9c125a055229 change-id: 20251016-rproc-cleanup-v3-330464eee32e Best regards, -- Peng Fan <[email protected]>

