Branch: refs/heads/main Home: https://github.com/OpenAMP/open-amp Commit: 47be1f3379db20dcff666d3508521e70ee34570c https://github.com/OpenAMP/open-amp/commit/47be1f3379db20dcff666d3508521e70e... Author: Yongrong Wang wangyongrong@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@xiaomi.com
To unsubscribe from these emails, change your notification settings at https://github.com/OpenAMP/open-amp/settings/notifications