Linux Remote Processor Subsystem development
 help / color / mirror / Atom feed
* [PATCH v4 0/3] Fixes and rework of rpmsg_eptdev_add()
@ 2025-11-18 15:41 Dawei Li
  2025-11-18 15:41 ` [PATCH v4 1/3] rpmsg: char: Fix WARN() in error path " Dawei Li
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Dawei Li @ 2025-11-18 15:41 UTC (permalink / raw)
  To: andersson, mathieu.poirier
  Cc: linux-remoteproc, linux-kernel, dawei.li, set_pte_at

This is V4 of series fixing fallout introduced by anonymous inode eptdev
code and rework the exception handing paths. 

And it tries to address a long suffering issue related to WARN() in
error path.

Change for v4:
- Re-layout the patches in series
  1/3: Fix potential WARN In error patch of rpmsg_eptdev_add().
  2/3: Rework exception handling of rpmsg_eptdev_add() and callers.
  3/3: Merge branches in rpmsg_eptdev_add().
Link to v3:
https://lore.kernel.org/all/20251113153909.3789-1-dawei.li@linux.dev/

Change for v3:
- Split it into 3 patches:
  1/3: Fix legacy bug.
  2/3: Fix new bug introduced by anonymous eptdev code.
  3/3: Rework error handling code.
Link to v2:
https://lore.kernel.org/all/20251112150108.49017-1-dawei.li@linux.dev/

Change for v2:
- Add put_device() when __rpmsg_eptdev_open() failed.
Link to v1:
https://lore.kernel.org/all/20251112142813.33708-1-dawei.li@linux.dev/

Dawei Li (3):
  rpmsg: char: Fix WARN() in error path of rpmsg_eptdev_add()
  rpmsg: char: Rework of rpmsg_eptdev_add() and its callers
  rpmsg: char: Merge cdev branches in rpmsg_eptdev_add()

 drivers/rpmsg/rpmsg_char.c | 60 ++++++++++++++++++++------------------
 1 file changed, 31 insertions(+), 29 deletions(-)

-- 
2.25.1


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2025-11-19 17:14 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-18 15:41 [PATCH v4 0/3] Fixes and rework of rpmsg_eptdev_add() Dawei Li
2025-11-18 15:41 ` [PATCH v4 1/3] rpmsg: char: Fix WARN() in error path " Dawei Li
2025-11-19  4:07   ` Zhongqiu Han
2025-11-19 10:56     ` Dawei Li
2025-11-19 12:26       ` Zhongqiu Han
2025-11-19 17:14   ` Mathieu Poirier
2025-11-18 15:41 ` [PATCH v4 2/3] rpmsg: char: Rework of rpmsg_eptdev_add() and its callers Dawei Li
2025-11-19 13:03   ` Zhongqiu Han
2025-11-18 15:41 ` [PATCH v4 3/3] rpmsg: char: Merge cdev branches in rpmsg_eptdev_add() Dawei Li

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox