Branch: refs/heads/main
Home: https://github.com/OpenAMP/libmetal
Commit: 142c40321e6116488ba929a2b79c7a907eb059fa
https://github.com/OpenAMP/libmetal/commit/142c40321e6116488ba929a2b79c7a90…
Author: Yongrong Wang <wangyongrong(a)xiaomi.com>
Date: 2024-10-21 (Mon, 21 Oct 2024)
Changed paths:
M lib/system/freertos/sys.h
M lib/system/freertos/template/sys.h
M lib/system/freertos/xlnx/sys.h
M lib/system/linux/sys.h
M lib/system/nuttx/sys.h
M lib/system/zephyr/sys.h
Log Message:
-----------
lib: system: create a new libmetal API metal_yield
Define metal_yield in sys.h files is more flexible to manage this
in libmetal, metal_yield 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/libmetal/settings/notifications
Branch: refs/heads/main
Home: https://github.com/OpenAMP/libmetal
Commit: d0cd9285b72ef1a3bcd6aae536f747ebc1091697
https://github.com/OpenAMP/libmetal/commit/d0cd9285b72ef1a3bcd6aae536f747eb…
Author: Yongrong Wang <wangyongrong(a)xiaomi.com>
Date: 2024-10-21 (Mon, 21 Oct 2024)
Changed paths:
M lib/system/freertos/sys.h
M lib/system/freertos/template/sys.h
M lib/system/freertos/xlnx/sys.h
M lib/system/linux/sys.h
M lib/system/nuttx/sys.h
M lib/system/zephyr/sys.h
Log Message:
-----------
lib/cpu.h: create a new libmetal API metal_yield
define metal_yield in sys.h files is more flexible to manage this
in libmetal, metal_yield 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/libmetal/settings/notifications
Branch: refs/heads/main
Home: https://github.com/OpenAMP/open-amp
Commit: 6a5fdf1b1f7650b65115a64bbc23729e2e215b97
https://github.com/OpenAMP/open-amp/commit/6a5fdf1b1f7650b65115a64bbc23729e…
Author: Bill Mills <bill.mills(a)linaro.org>
Date: 2024-10-18 (Fri, 18 Oct 2024)
Changed paths:
M .github/actions/build_ci/entrypoint.sh
Log Message:
-----------
CI: reduce zephyr sdk install verbosity
Reduce the console output for the Zephyr sdk install.
This now matches the intent of libmetal but uses the documented wget
option.
Signed-off-by: Bill Mills <bill.mills(a)linaro.org>
Commit: 3541b5771bc7d0e0cd5259f6315639123be8fc05
https://github.com/OpenAMP/open-amp/commit/3541b5771bc7d0e0cd5259f631563912…
Author: Bill Mills <bill.mills(a)linaro.org>
Date: 2024-10-18 (Fri, 18 Oct 2024)
Changed paths:
M .github/actions/build_ci/entrypoint.sh
M .github/workflows/continuous-integration.yml
A .github/workflows/heathcheck.yml
Log Message:
-----------
CI: Do Zephyr build tests on known good and latest versions
Allow Zephyr testing to either use locked known good values
or the very latest versions.
This brings open-amp to parity with libmetal. Open-amp did not have the
SDK URL discovery code so that was added here as part of this.
The known good versions are best for PR checking as if the build fails
it is almost always the PR itself that broke it.
The latest version is good for periodically checking compatibility with
the very latest Zephyr changes.
For now we run both on pushes and PRs.
We also run main against the latest zephyr check weekly as a look ahead.
Signed-off-by: Bill Mills <bill.mills(a)linaro.org>
Compare: https://github.com/OpenAMP/open-amp/compare/c3132d0d631a...3541b5771bc7
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: 9aa3ee53c7f781effa8d4fb17e37dbffb3f17a31
https://github.com/OpenAMP/open-amp/commit/9aa3ee53c7f781effa8d4fb17e37dbff…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)foss.st.com>
Date: 2024-10-18 (Fri, 18 Oct 2024)
Changed paths:
M lib/CMakeLists.txt
A lib/include/internal/utilities.h
A lib/utils/CMakeLists.txt
A lib/utils/utilities.c
Log Message:
-----------
lib: utils: implement internal safe_strcpy function
The strlcpy() function has only recently become available in glibc.
While this function prevents destination buffer overflow, it seems
that it cannot guarantee read access only within the source buffer.
this is for instance the case if the source string is not terminated by
a'\0' character.
Implement a safe_strcpy to ensure that no access is done out of the
source and destination buffer ranges.
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)foss.st.com>
Commit: 27bec14883019d0b1a526f7cbd17314360141c0a
https://github.com/OpenAMP/open-amp/commit/27bec14883019d0b1a526f7cbd173143…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)foss.st.com>
Date: 2024-10-18 (Fri, 18 Oct 2024)
Changed paths:
M lib/rpmsg/rpmsg.c
Log Message:
-----------
lib: rpmsg: replace strncpy with internal safe_strcpy
The strncpy function does not ensure that the destination string is
null-terminated. To address this issue, replace strncpy with the
internal safe_strcpy() function, which guarantees null-termination of the
destination string but also access only in buffer memory ranges.
Note: (void)safe_strcpy(...) indicates that the return value is
intentionally ignored.
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)foss.st.com>
Commit: c3132d0d631a4465bfc062b03274a67acf0039ab
https://github.com/OpenAMP/open-amp/commit/c3132d0d631a4465bfc062b03274a67a…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)foss.st.com>
Date: 2024-10-18 (Fri, 18 Oct 2024)
Changed paths:
M lib/remoteproc/remoteproc.c
Log Message:
-----------
lib: remoteproc: replace strncpy with internal safe_strcpy
The strncpy function does not ensure that the destination string is
null-terminated. To address this issue, replace strncpy with the
internal safe_strcpy() function, which guarantees null-termination of the
destination string but also access only in buffer memory ranges.
Note: (void)safe_strcpy(...) indicates that the return value is
intentionally ignored.
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)foss.st.com>
Compare: https://github.com/OpenAMP/open-amp/compare/a69881f13134...c3132d0d631a
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: d680a19e2a21d15d72895218cf54b3afdab01eef
https://github.com/OpenAMP/libmetal/commit/d680a19e2a21d15d72895218cf54b3af…
Author: Yongrong Wang <wangyongrong(a)xiaomi.com>
Date: 2024-10-18 (Fri, 18 Oct 2024)
Changed paths:
M lib/system/nuttx/device.c
M lib/system/nuttx/init.c
M lib/system/nuttx/io.c
M lib/system/nuttx/io.h
Log Message:
-----------
lib/system/nuttx: fix undeclared parameter compile error
fix compile error:
/nuttx/openamp/libmetal/lib/system/nuttx/device.c:16:22: error:
'io' undeclared (first use in this function)
16 | metal_unused(io);
/nuttx/openamp/libmetal/lib/system/nuttx/device.c:14:53: error:
unused parameter 'dev' [-Werror=unused-parameter]
14 | int metal_generic_dev_sys_open(struct metal_device *dev)
...
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: 2e6cef5739bae2ce88562c5f4cd4eda73e8b1e26
https://github.com/OpenAMP/open-amp/commit/2e6cef5739bae2ce88562c5f4cd4eda7…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)foss.st.com>
Date: 2024-10-18 (Fri, 18 Oct 2024)
Changed paths:
M .github/workflows/compliance.yml
Log Message:
-----------
CI: Ignore .github path for compliance check
The CI does not need to strictly adhere to the coding rules.
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)foss.st.com>
Commit: aa4040f3ba8176d3c5bbe1ea1ad20e2c801c26e1
https://github.com/OpenAMP/open-amp/commit/aa4040f3ba8176d3c5bbe1ea1ad20e2c…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)foss.st.com>
Date: 2024-10-18 (Fri, 18 Oct 2024)
Changed paths:
M .github/workflows/compliance.yml
M .github/workflows/continuous-integration.yml
Log Message:
-----------
CI: Update checkout action to V4
Use last version of checkout action.
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)foss.st.com>
Commit: 173d5cbb28bcb75f39f399f0cb2d6354115b14e2
https://github.com/OpenAMP/open-amp/commit/173d5cbb28bcb75f39f399f0cb2d6354…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)foss.st.com>
Date: 2024-10-18 (Fri, 18 Oct 2024)
Changed paths:
M .github/actions/build_ci/entrypoint.sh
M .github/workflows/continuous-integration.yml
Log Message:
-----------
CI: Update open-amp path
To have a coherent directory hierarchy, move the open-amp git from root
to the "./open-amp" directory.
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)foss.st.com>
Commit: a69881f131342448cb423f590cb68db15a05699a
https://github.com/OpenAMP/open-amp/commit/a69881f131342448cb423f590cb68db1…
Author: Arnaud Pouliquen <arnaud.pouliquen(a)foss.st.com>
Date: 2024-10-18 (Fri, 18 Oct 2024)
Changed paths:
M .github/actions/build_ci/entrypoint.sh
M .github/workflows/continuous-integration.yml
Log Message:
-----------
CI: Update CI to build system reference applications
Build system reference applications instead of open-amp deprecated
applications.
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen(a)foss.st.com>
Compare: https://github.com/OpenAMP/open-amp/compare/79d20e69b3cf...a69881f13134
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: efb8ade7526d758a62a68ff623e22b31f1c5661c
https://github.com/OpenAMP/libmetal/commit/efb8ade7526d758a62a68ff623e22b31…
Author: Andrew Davis <afd(a)ti.com>
Date: 2024-10-18 (Fri, 18 Oct 2024)
Changed paths:
M lib/system/linux/sys.h
M lib/system/linux/utilities.c
Log Message:
-----------
lib: system: linux: Remove unused internal functions
These functions are labeled METAL_INTERNAL so should have no external
users, but they are not used internally either. Remove these functions.
Signed-off-by: Andrew Davis <afd(a)ti.com>
Commit: af3a02833820091afdfa3aa133667ce072e6cf1a
https://github.com/OpenAMP/libmetal/commit/af3a02833820091afdfa3aa133667ce0…
Author: Andrew Davis <afd(a)ti.com>
Date: 2024-10-18 (Fri, 18 Oct 2024)
Changed paths:
M lib/system/linux/init.c
M lib/system/linux/utilities.c
Log Message:
-----------
lib: system: linux: Remove use of ENOSYS error code
This return code is for system calls only, and checkpatch warns about the
same. Remove the use of this return code.
Signed-off-by: Andrew Davis <afd(a)ti.com>
Commit: 4202dd3563bb215bc50f3ceffe41d7f75b3bccf5
https://github.com/OpenAMP/libmetal/commit/4202dd3563bb215bc50f3ceffe41d7f7…
Author: Andrew Davis <afd(a)ti.com>
Date: 2024-10-18 (Fri, 18 Oct 2024)
Changed paths:
M lib/system/linux/shmem.c
M lib/system/linux/sys.h
M lib/system/linux/utilities.c
Log Message:
-----------
lib: system: linux: Move metal_virt2phys() into shmem
This function is only used by shmem. Move it to where it is used to
reduce internal-only "API" functions.
Signed-off-by: Andrew Davis <afd(a)ti.com>
Commit: 13428794f11661ed7f0c182baecd591b1883f2bb
https://github.com/OpenAMP/libmetal/commit/13428794f11661ed7f0c182baecd591b…
Author: Andrew Davis <afd(a)ti.com>
Date: 2024-10-18 (Fri, 18 Oct 2024)
Changed paths:
M lib/system/linux/shmem.c
M lib/system/linux/sys.h
M lib/system/linux/utilities.c
Log Message:
-----------
lib: system: linux: Inline metal_mlock() function
This is a one-line one user internal function, just use mlock directly.
Signed-off-by: Andrew Davis <afd(a)ti.com>
Commit: 6b0b1cbb1db5e7da1f8249e177f976b9cfecea09
https://github.com/OpenAMP/libmetal/commit/6b0b1cbb1db5e7da1f8249e177f976b9…
Author: Andrew Davis <afd(a)ti.com>
Date: 2024-10-18 (Fri, 18 Oct 2024)
Changed paths:
M lib/system/linux/init.c
M lib/system/linux/sys.h
Log Message:
-----------
lib: system: linux: Remove unused sysfs_path from metal_state
This is not used, remove to prevent failures related to getting a
path that is not needed.
Signed-off-by: Andrew Davis <afd(a)ti.com>
Commit: 0f0393503e10c3c6c2d1a27b7c5091122b4fef05
https://github.com/OpenAMP/libmetal/commit/0f0393503e10c3c6c2d1a27b7c509112…
Author: Andrew Davis <afd(a)ti.com>
Date: 2024-10-18 (Fri, 18 Oct 2024)
Changed paths:
M lib/system/linux/device.c
Log Message:
-----------
lib: system: linux: Remove unneeded forward declaration
The declaration metal_linux_bus_close() is not needed, it is already
defined at this point.
Signed-off-by: Andrew Davis <afd(a)ti.com>
Compare: https://github.com/OpenAMP/libmetal/compare/7969bed068ee...0f0393503e10
To unsubscribe from these emails, change your notification settings at https://github.com/OpenAMP/libmetal/settings/notifications