Branch: refs/heads/main
Home: https://github.com/OpenAMP/libmetal
Commit: 289e4de876fc0ad25ab9a1043c3682395d7e7fca
https://github.com/OpenAMP/libmetal/commit/289e4de876fc0ad25ab9a1043c368239…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)foss.st.com>
Date: 2024-10-25 (Fri, 25 Oct 2024)
Changed paths:
M lib/processor/CMakeLists.txt
A lib/processor/hosted/cpu.c
M lib/processor/hosted/cpu.h
Log Message:
-----------
lib: processor: hosted: Fix compilation warning in metal_cpu_yield
Fix cross inclusion between metal/sys.h and /processor/hosted/cpu.h
The fix consists in creating a cpu.c file to avoid inline declaration.
Issue reported by Zephyr twister CI test:
libmetal/lib/include/metal/processor/hosted/cpu.h:19:9:
error: implicit declaration of function ‘metal_wait_usec’
19 | metal_wait_usec(10);
| ^~~~~~~~~~~~~~~
libmetal/lib/include/metal/system/zephyr/sys.h:46:20:
error: conflicting types for ‘metal_wait_usec’; have ‘void(uint32_t)’
46 | static inline void metal_wait_usec(uint32_t usec_to_wait)
| ^~~~~~~~~~~~~~~
libmetal/lib/include/metal/processor/hosted/cpu.h:19:9:
note: previous implicit declaration of ‘metal_wait_usec’ with
type ‘void(uint32_t)’ {aka ‘void(unsigned int)’}
19 | metal_wait_usec(10);
| ^~~~~~~~~~~~~~~
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)foss.st.com>
To unsubscribe from these emails, change your notification settings at https://github.com/OpenAMP/libmetal/settings/notifications
Branch: refs/heads/main
Home: https://github.com/OpenAMP/open-amp
Commit: 845a17b69ff67958c35760e376ecc3b7762e89d8
https://github.com/OpenAMP/open-amp/commit/845a17b69ff67958c35760e376ecc3b7…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)foss.st.com>
Date: 2024-10-25 (Fri, 25 Oct 2024)
Changed paths:
M lib/include/openamp/rpmsg.h
M lib/rpmsg/rpmsg.c
Log Message:
-----------
lib: rpmsg: Fix safe_strcpy call
Fix the size of the source string passed in argument of safe_strcpy().
In rpmsg_create_ept we can not trust the size of the name
string provided, so we limit the max size to RPMSG_NAME_SIZE.
Update the rpmsg_create_ept documentation to clarify the limit
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)foss.st.com>
Commit: 71887e71dfe0d5f5dfab0b989c9ff1829958f3a3
https://github.com/OpenAMP/open-amp/commit/71887e71dfe0d5f5dfab0b989c9ff182…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)foss.st.com>
Date: 2024-10-25 (Fri, 25 Oct 2024)
Changed paths:
M lib/include/openamp/remoteproc.h
M lib/remoteproc/remoteproc.c
Log Message:
-----------
lib: remoteprocrpmsg: Fix safe_strcpy call
Fix the size of the source string passed in argument of safe_strcpy().
In rpmsg_register_endpoint we can not trust the size of the name
string provided, so we limit the max size to RPROC_MAX_NAME_LEN.
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)foss.st.com>
Compare: https://github.com/OpenAMP/open-amp/compare/2a93d20f2129...71887e71dfe0
To unsubscribe from these emails, change your notification settings at https://github.com/OpenAMP/open-amp/settings/notifications
Branch: refs/heads/main
Home: https://github.com/OpenAMP/open-amp
Commit: 2a93d20f2129c6b73521583bf78890cf0ed292a9
https://github.com/OpenAMP/open-amp/commit/2a93d20f2129c6b73521583bf78890cf…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)foss.st.com>
Date: 2024-10-25 (Fri, 25 Oct 2024)
Changed paths:
M cmake/options.cmake
Log Message:
-----------
options: make WITH_APPS cmake option deprecated
The applications are now in the openamp-system-reference repository.
The "apps" folder is now deprecated and should be removed in coming
releases.
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)foss.st.com>
To unsubscribe from these emails, change your notification settings at https://github.com/OpenAMP/open-amp/settings/notifications
Hello,
The code of the open-amp and libmetal libraries is now frozen for 2 weeks to allow non-regression tests to begin.
Of course, the PR review process continues but the PRs will be integrated after the release.
We plan to release the library the week of November 4th.
Regards,
Arnaud
ST Restricted
Branch: refs/heads/main
Home: https://github.com/OpenAMP/libmetal
Commit: 7f351a5158dbfeca62f3b2113702fc443a560f26
https://github.com/OpenAMP/libmetal/commit/7f351a5158dbfeca62f3b2113702fc44…
Author: Yongrong Wang <wangyongrong(a)xiaomi.com>
Date: 2024-10-21 (Mon, 21 Oct 2024)
Changed paths:
M lib/atomic.h
M lib/compiler.h
M lib/errno.h
Log Message:
-----------
lib: fix compile error
lib/errno.h: defined(__ARMCC_VERSION) for use GCC compile
lib/autmoic:fix compiler error:
nuttx/include/metal/compiler/gcc/atomic.h:19:13: error: conflicting type
qualifiers for 'atomic_flag'
19 | typedef int atomic_flag;
| ^~~~~~~~~~~
In file included from nuttx/include/nuttx/net/netdev_lowerhalf.h:38,
from virtio/virtio-net.c:33:
prebuilts/gcc/linux/arm/lib/gcc/arm-none-eabi/13.2.1/include/
stdatomic.h:233:3: note: previous declaration of 'atomic_flag' with
type 'atomic_flag'
233 | } atomic_flag;
| ^~~~~~~~~~~
nuttx/include/metal/compiler/gcc/atomic.h:20:14: error: conflicting
type qualifiers for 'atomic_char'
20 | typedef char atomic_char;
^~~~~~~~~~~
Signed-off-by: Yongrong Wang <wangyongrong(a)xiaomi.com>
To unsubscribe from these emails, change your notification settings at https://github.com/OpenAMP/libmetal/settings/notifications
Branch: refs/heads/main
Home: https://github.com/OpenAMP/open-amp
Commit: bb4459fe30c954ae9772d8600e7e86515ff7ffff
https://github.com/OpenAMP/open-amp/commit/bb4459fe30c954ae9772d8600e7e8651…
Author: Bowen Wang <wangbowen6(a)xiaomi.com>
Date: 2024-10-21 (Mon, 21 Oct 2024)
Changed paths:
M lib/rpmsg/rpmsg_virtio.c
Log Message:
-----------
rpmsg_virtio: fix rpmsg_virtio_get_tx_payload_buffer() error
If rpmsg_virtio_notify_wait() returns RPMSG_SUCCESS, we should not
directly return NULL, but call rpmsg_virtio_get_tx_buffer to get
the tx buffer again.
Signed-off-by: Yongrong Wang <wangyongrong(a)xiaomi.com>
Signed-off-by: Bowen Wang <wangbowen6(a)xiaomi.com>
To unsubscribe from these emails, change your notification settings at https://github.com/OpenAMP/open-amp/settings/notifications
Branch: refs/heads/main
Home: https://github.com/OpenAMP/open-amp
Commit: 47be1f3379db20dcff666d3508521e70ee34570c
https://github.com/OpenAMP/open-amp/commit/47be1f3379db20dcff666d3508521e70…
Author: Yongrong Wang <wangyongrong(a)xiaomi.com>
Date: 2024-10-21 (Mon, 21 Oct 2024)
Changed paths:
M lib/remoteproc/remoteproc_virtio.c
M lib/rpmsg/rpmsg_virtio.c
Log Message:
-----------
rpmsg_virtio.c: replace metal_cpu_yield to new libmetal API metal_yield
The CPU yield is not supported by all OSes/processors. If not supported,
this causes a busy loop that monopolizes the CPU. Replace it with the
new metal_yield, it would be managed at the OS level and dispatched to
metal_cpu_yield, metal_sleep_usec, or others.
Signed-off-by: Yongrong Wang <wangyongrong(a)xiaomi.com>
To unsubscribe from these emails, change your notification settings at https://github.com/OpenAMP/open-amp/settings/notifications
Branch: refs/heads/main
Home: https://github.com/OpenAMP/libmetal
Commit: 1ed90fd96772ec577e55cd9f5511ba7b32e070ca
https://github.com/OpenAMP/libmetal/commit/1ed90fd96772ec577e55cd9f5511ba7b…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)foss.st.com>
Date: 2024-10-21 (Mon, 21 Oct 2024)
Changed paths:
M lib/system/generic/sys.h
Log Message:
-----------
lib: system: fix missing metal_yield API for generic systems.
The metal_yield API needs also to be declared for the baremetal systems.
This fix build issue in Open-amp for generic system:
/github/workspace/open-amp/lib/rpmsg/rpmsg_virtio.c:275:17:
error: implicit declaration of function 'metal_yield'
275 | metal_yield();
| ^~~~~~~~~~~
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)foss.st.com>
To unsubscribe from these emails, change your notification settings at https://github.com/OpenAMP/libmetal/settings/notifications