Branch: refs/heads/virtio-exp Home: https://github.com/OpenAMP/libmetal Commit: 86fd1ba48e52403cbd9fcf30f10e1e94e6afd43e https://github.com/OpenAMP/libmetal/commit/86fd1ba48e52403cbd9fcf30f10e1e94e... Author: Kenta Sato tosainu.maple@gmail.com Date: 2022-05-06 (Fri, 06 May 2022)
Changed paths: M lib/system/linux/irq.c
Log Message: ----------- Create an eventfd object with `EFD_CLOEXEC` flag
The file descriptor `irq_notify_fd` does not have the close-on-exec (`FD_CLOEXEC`) flag so it possibly leaks to child processes. This adds an `EFD_CLOEXEC` flag to the second argument of the `exentfd(2)` call, which tells it to set an `FD_CLOEXEC` flag on the new file descriptor.
Signed-off-by: Kenta Sato tosainu.maple@gmail.com
Commit: 239e836c210bac7fa09eff073564fe375aa5f1ba https://github.com/OpenAMP/libmetal/commit/239e836c210bac7fa09eff073564fe375... Author: Eugene Cohen quic_egmc@quicinc.com Date: 2022-05-06 (Fri, 06 May 2022)
Changed paths: M cmake/options.cmake M cmake/syscheck.cmake M lib/system/zephyr/CMakeLists.txt R lib/system/zephyr/arm/CMakeLists.txt R lib/system/zephyr/arm/sys.c R lib/system/zephyr/arm/sys.h R lib/system/zephyr/riscv/CMakeLists.txt R lib/system/zephyr/riscv/sys.c R lib/system/zephyr/riscv/sys.h A lib/system/zephyr/sys.c M lib/system/zephyr/sys.h R lib/system/zephyr/xtensa/CMakeLists.txt R lib/system/zephyr/xtensa/sys.c R lib/system/zephyr/xtensa/sys.h
Log Message: ----------- zephyr: simplify zephyr system to remove machine
Replace the architecture-specific machine directories with a common C function for polling which calls to arch_cpu_idle.
Add a special case to map Zephyr arm64 to libmetal aarch64 in defining PROJECT_PROCESSOR variable.
Set the MACHINE variable based CONFIG_ARCH instead of testing individual arch config flags.
Signed-off-by: Eugene Cohen quic_egmc@quicinc.com
Commit: 7926c874189bdf8fe5e94d5634d9bd20b0a29195 https://github.com/OpenAMP/libmetal/commit/7926c874189bdf8fe5e94d5634d9bd20b... Author: Eugene Cohen quic_egmc@quicinc.com Date: 2022-05-06 (Fri, 06 May 2022)
Changed paths: M .github/actions/build_ci/entrypoint.sh
Log Message: ----------- CI: add Zephyr build test for arm64 architecture
This adds CI build test for arm64 architecture.
Signed-off-by: Eugene Cohen quic_egmc@quicinc.com
Commit: e9d4531300bfd6b091b6aae1bd43793bdd6d34ee https://github.com/OpenAMP/libmetal/commit/e9d4531300bfd6b091b6aae1bd43793bd... Author: Gerard Marull-Paretas gerard@teslabs.com Date: 2022-05-16 (Mon, 16 May 2022)
Changed paths: M lib/system/zephyr/alloc.h M lib/system/zephyr/assert.h M lib/system/zephyr/cache.h M lib/system/zephyr/log.c M lib/system/zephyr/mutex.h M lib/system/zephyr/sleep.h M lib/system/zephyr/sys.c M lib/system/zephyr/time.c M test/system/zephyr/alloc.c M test/system/zephyr/main.c
Log Message: ----------- zephyr: update include paths to use <zephyr/...>
Zephyr has prefixed all of its includes with <zephyr/...>. While the old mode can still be used (CONFIG_LEGACY_INCLUDE_PATH) and is still enabled by default, it's better to be prepared for its removal in the future.
Signed-off-by: Gerard Marull-Paretas gerard@teslabs.com
Commit: 8bb3fa38e7dc01e8f8cb8d061560542438107cae https://github.com/OpenAMP/libmetal/commit/8bb3fa38e7dc01e8f8cb8d06156054243... Author: Gerard Marull-Paretas gerard@teslabs.com Date: 2022-05-16 (Mon, 16 May 2022)
Changed paths: M lib/system/zephyr/assert.h M lib/system/zephyr/log.c
Log Message: ----------- zephyr: use <zephyr/kernel.h>
<zephyr/zephyr.h> is a shim to the Kernel header, so let's use it directly.
Signed-off-by: Gerard Marull-Paretas gerard@teslabs.com
Commit: 23ba77941cf38a916d7a9fe5137a8bd2ee1e6122 https://github.com/OpenAMP/libmetal/commit/23ba77941cf38a916d7a9fe5137a8bd2e... Author: Ed Mooring ed.mooring@gmail.com Date: 2022-05-19 (Thu, 19 May 2022)
Changed paths: M cmake/platforms/cross-generic-gcc.cmake
Log Message: ----------- CMake: Remove deprecation warnings
Use CMAKE_C_COMPILER and CMAKE_CXX_COMPILER instead of CMAKE_FORCE_* to set the cross compilers.
Signed-off-by: Ed Mooring ed.mooring@gmail.com
Compare: https://github.com/OpenAMP/libmetal/compare/2371f615bb0f...23ba77941cf3