Branch: refs/heads/main Home: https://github.com/OpenAMP/open-amp Commit: e62c824489b0943212999311c7fe20f7b396b958 https://github.com/OpenAMP/open-amp/commit/e62c824489b0943212999311c7fe20f7b... Author: Jiuzhu Dong dongjiuzhu1@xiaomi.com Date: 2022-10-14 (Fri, 14 Oct 2022)
Changed paths: M lib/include/openamp/rpmsg_virtio.h M lib/rpmsg/rpmsg_virtio.c
Log Message: ----------- openamp: divide shram to TX shram & RX shram by config:split_shpool
In the multi core of lower power device, when one of core enters sleep, it needs to put its corresponding share memory into retention mode to save power consumption. Based on the limitations of the chip design, when the CPU to which share memory belongs goes to sleep, the share memory enters the retention mode, and other cores will not be able to access it. When the share memory divides tx shm and rx shm and the core of tx shm and rx shm are different, so that when one CPU sleeps, the other CPU can still access its own tx shm.
Signed-off-by: Guiding Li liguiding1@xiaomi.com Signed-off-by: Jiuzhu Dong dongjiuzhu1@xiaomi.com