CV-Bowen opened a new pull request, #15818: URL: https://github.com/apache/nuttx/pull/15818
## Summary Author: Bowen Wang <wangbow...@xiaomi.com> Date: Wed Feb 12 15:51:30 2025 +0800 arm64/qemu-armv8a: optimize the proxy and server configs rpserver should be the master core, so modify the RPTUN_IVSHMEM config Signed-off-by: Bowen Wang <wangbow...@xiaomi.com> commit bfd8f01bddccc4e5b4b69bfe1231cdb34c1d36a0 Author: Bowen Wang <wangbow...@xiaomi.com> Date: Wed Feb 12 15:46:59 2025 +0800 arm/qemu-armv7a: optimize the rpproxy and rpserver configs and doc 1. rpserver should be the master core, so modify the RPTUN_IVSHMEM config 2. add discard-data=on in proxy launch command, so the proxy side will clean the share memory to make sure that the shared memory is clean every time server and proxy are started. Signed-off-by: Bowen Wang <wangbow...@xiaomi.com> commit 7cd275bfcbbde8980496ba5a0e9c118082dbc721 Author: Bowen Wang <wangbow...@xiaomi.com> Date: Wed Feb 12 15:46:15 2025 +0800 rpmsgblk_server: fix the syslog format warning misc/rpmsgblk_server.c:135:16: warning: format '%d' expects argument of type 'int', but argument 3 has type 'int32_t' {aka 'long int'} [-Wformat=] 135 | ferr("block device open failed, ret=%d\n", msg->header.result); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~ | | | int32_t {aka long int} misc/rpmsgblk_server.c:135:48: note: format string is defined here 135 | ferr("block device open failed, ret=%d\n", msg->header.result); | ~^ | | | int | %ld misc/rpmsgblk_server.c: In function 'rpmsgblk_close_handler': misc/rpmsgblk_server.c:170:16: warning: format '%d' expects argument of type 'int', but argument 3 has type 'int32_t' {aka 'long int'} [-Wformat=] 170 | ferr("block device close failed, ret=%d\n", msg->header.result); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~ | | | int32_t {aka long int} misc/rpmsgblk_server.c:170:49: note: format string is defined here 170 | ferr("block device close failed, ret=%d\n", msg->header.result); | ~^ | | | int | %ld Signed-off-by: Bowen Wang <wangbow...@xiaomi.com> ## Impact ivshmem configs ## Testing testing with qemu-armv7a:rpserver_ivshmem qemu-armv7a:rpproxy_ivshmem qemu-armv8a:rpserver_ivshmem qemu-armv8a:rpproxy_ivshmem -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org