Branch: refs/heads/main Home: https://github.com/OpenAMP/openamp-system-reference Commit: ab0a3036108cd336f776ab85fb1ff51ce73672d3 https://github.com/OpenAMP/openamp-system-reference/commit/ab0a3036108cd336f... Author: Arnaud Pouliquen arnaud.pouliquen@foss.st.com Date: 2025-04-30 (Wed, 30 Apr 2025)
Changed paths: M examples/legacy_apps/machine/microblaze_generic/platform_info.c M examples/legacy_apps/machine/zynq7/platform_info.c M examples/legacy_apps/machine/zynqmp/platform_info.c M examples/legacy_apps/machine/zynqmp_r5/platform_info.c M examples/legacy_apps/system/linux/machine/generic/platform_info.c
Log Message: ----------- legacy_apps: fix assertion in remoteproc_remove_virtio
rpvdev->vdev value is set to NULL in rpmsg_deinit_vdev. This leads to an assert when we use rpvdev->vdev as argument of remoteproc_remove_virtio:
msg-test-rpmsg-ping-static: ./open-amp/lib/remoteproc/remoteproc.c:1039: remoteproc_remove_virtio: Assertion `vdev' failed. rpmsg-echo-static: ./open-amp/lib/remoteproc/remoteproc.c:1039: remoteproc_remove_virtio: Assertion `vdev' failed.
Fix it by introducing a local vdev variable.
Signed-off-by: Arnaud Pouliquen arnaud.pouliquen@foss.st.com
Commit: 66c1b4c7e44a762139739673e4d0be4728b01276 https://github.com/OpenAMP/openamp-system-reference/commit/66c1b4c7e44a76213... Author: Arnaud Pouliquen arnaud.pouliquen@foss.st.com Date: 2025-04-30 (Wed, 30 Apr 2025)
Changed paths: M examples/legacy_apps/machine/microblaze_generic/platform_info.c M examples/legacy_apps/machine/zynq7/platform_info.c M examples/legacy_apps/machine/zynqmp/platform_info.c M examples/legacy_apps/machine/zynqmp_r5/platform_info.c M examples/legacy_apps/system/linux/machine/generic/platform_info.c
Log Message: ----------- legacy_apps: free rpmsg_device in platform_release_rpmsg_vdev
Free the rpvdev allocated in platform_create_rpmsg_vdev()
Signed-off-by: Arnaud Pouliquen arnaud.pouliquen@foss.st.com
Compare: https://github.com/OpenAMP/openamp-system-reference/compare/4cec7f818eb2...6...
To unsubscribe from these emails, change your notification settings at https://github.com/OpenAMP/openamp-system-reference/settings/notifications