-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rptun framework update and related driver update #13526
Commits on Sep 24, 2024
-
nuttx/dirvers: Add secure rptun file
rptun secure is a rptun driver used for the rpmsg communication between (Non-Secure) REE and (Secure) TEE environments. Signed-off-by: yanghuatao <[email protected]> Signed-off-by: Bowen Wang <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a27e014 - Browse repository at this point
Copy the full SHA a27e014View commit details -
rptun: use local rx virtqueue idx to resolve remote low power
Store the rx virtqueue idx to the local headrx index, and only process the data when the rx virtqueue has data to avoid access the ram in low power mode. Signed-off-by: ligd <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 317d48c - Browse repository at this point
Copy the full SHA 317d48cView commit details -
rptun/pm: add check to rptun_pm_callback() incase of start early
Signed-off-by: ligd <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for dd9eac5 - Browse repository at this point
Copy the full SHA dd9eac5View commit details -
Signed-off-by: ligd <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 58e5230 - Browse repository at this point
Copy the full SHA 58e5230View commit details -
rptun: add RPTUN_PM_AUTORELAX method.
Signed-off-by: ligd <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e21a27d - Browse repository at this point
Copy the full SHA e21a27dView commit details -
drivers/rptun: flush the image memory when read from the file system
Flush the image memory to make sure the remote core access the correct image. Signed-off-by: Bowen Wang <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 31a98d9 - Browse repository at this point
Copy the full SHA 31a98d9View commit details -
rptun: use detail name for pm wakelock
So we can distinguish the pm wakelock Signed-off-by: ligd <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0ca81db - Browse repository at this point
Copy the full SHA 0ca81dbView commit details -
rptun: BUG fix, should not destory the semaphore twice
This BUG is introduced in PR: apache#13172 Signed-off-by: Bowen Wang <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b950142 - Browse repository at this point
Copy the full SHA b950142View commit details -
rptun/rptun_dump: remove unused rptun_dump.c
rptun_dump related code has been moved to rptun.c from rptun_dump.c, but file rptun_dump.c is not deleted in PR: apache#11712 So delete this file. Signed-off-by: Bowen Wang <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 36b1570 - Browse repository at this point
Copy the full SHA 36b1570View commit details -
rptun: add timeout to wait_tx_buffer callback
Signed-off-by: ligd <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e7f4a2e - Browse repository at this point
Copy the full SHA e7f4a2eView commit details -
rptun: Rename rptun_panic_ to rptun_panic
The function name rptun_panic_ is not consistent with other functions Signed-off-by: Xiang Xiao <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 92cd7cf - Browse repository at this point
Copy the full SHA 92cd7cfView commit details -
rptun: rptun pm and rptun dump support cacheable memory
Should invalidate the memory when the data is located in shared memory and write by remote core. Signed-off-by: Bowen Wang <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8a5424c - Browse repository at this point
Copy the full SHA 8a5424cView commit details -
drivers/rptun/rptun.c: move headrx out of CONFIG_RPTUN_PM
headrx is very convient to check weather current core miss interrupt by comparing the headrx with the rx vring avail.idx for slave side or rx vring used.idx for master side. So move headrx out of the CONFIG_RPTUN_PM range. Signed-off-by: Bowen Wang <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0d072ff - Browse repository at this point
Copy the full SHA 0d072ffView commit details -
rptun_ivshmem.c: Replace work queue with wdog
wdog has better performance than work queue Signed-off-by: wangyongrong <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9b23ecc - Browse repository at this point
Copy the full SHA 9b23eccView commit details -
sim/sim_rptun: add 64-bit support for sim_rptun
add remote addrenv to make the da is start from 0, so the uint32_t da in resource table can store the correct address Signed-off-by: Bowen Wang <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f3a2fd3 - Browse repository at this point
Copy the full SHA f3a2fd3View commit details -
rptun.c/rpmsg_virtio.c: move panic logic from chip to rptun/rpmsg_virtio
Move the panic logic in common places, later we can move more logic to the framework instead of having the drivers implement it repeatedly. Signed-off-by: Yongrong Wang <[email protected]> Signed-off-by: Bowen Wang <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d18c7f3 - Browse repository at this point
Copy the full SHA d18c7f3View commit details -
sim_rptun.c: remove sim_rptun_panic
Because we can use the common part implemented in rptun Signed-off-by: Yongrong Wang <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 91a4d5c - Browse repository at this point
Copy the full SHA 91a4d5cView commit details -
rptun/rpmsg_virtio: remove chip cmd and reuse the common ones
Add more common command for rptun and rpmsg_virtio frameworks, also modify the rptun and rpmsg_virtio driver to use the common commands. Signed-off-by: Yongrong Wang <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9d65886 - Browse repository at this point
Copy the full SHA 9d65886View commit details -
rptun: move rptun cmd definition before the resource table
Because locate the command at the end the resource table is unfriendly when we want to support multi virtio devices instead only one virtio rpmsg device. Signed-off-by: Bowen Wang <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4acb838 - Browse repository at this point
Copy the full SHA 4acb838View commit details -
Leak backtrace: 1 14 2096 9886 0x4318d768 [0x040320744] <romfs_fileconfigure+184> romfs/fs_romfsutil.c:1039 [0x04031fd3e] <romfs_open+378> romfs/fs_romfs.c:281 [0x04027fa9e] <file_open+446> vfs/fs_open.c:244 [0x0402ab986] <rptun_store_open+26> rptun/rptun.c:955 [0x04034cc88] <remoteproc_load+120> open-amp/lib/remoteproc/remoteproc.c:452 [0x0402ac8ac] <rptun_dev_start+176> rptun/rptun.c:748 [0x0402ad038] <rptun_ioctl+416> rptun/rptun.c:618 Signed-off-by: xuxingliang <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ba8fcbd - Browse repository at this point
Copy the full SHA ba8fcbdView commit details -
rptun/rptun_ivshmem:add restart cmd to reboot slave
Master can send restart command to slave to reboot the slave core Signed-off-by: mazhuang <[email protected]> Signed-off-by: Yongrong Wang <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 68b1588 - Browse repository at this point
Copy the full SHA 68b1588View commit details -
include/nuttx/rptun/rptun.h: change offset type to uint32_t
Sync the offset data type with resource table defined in OpenAMP and Linux. Signed-off-by: Bowen Wang <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2056b76 - Browse repository at this point
Copy the full SHA 2056b76View commit details