Branch: refs/heads/main Home: https://github.com/OpenAMP/open-amp Commit: 837f0784ee2162815007ef3755df63995bab883d https://github.com/OpenAMP/open-amp/commit/837f0784ee2162815007ef3755df63995... Author: Joshua Lin jlin@petaio.com Date: 2022-02-24 (Thu, 24 Feb 2022)
Changed paths: M lib/remoteproc/remoteproc.c
Log Message: ----------- remoteproc: fix remoteproc get wrong memory
When memory region are continuous, it may get wrong memory region. If pa is equal to the end address of the memory and size equal zero. It will get wrong memory region. So need to add check pa is smaller then end address. Signed-off-by: Joshua Lin jlin@petaio.com
Commit: b139a1ff11d16c85f1b04a852b0faa7fafa8fe69 https://github.com/OpenAMP/open-amp/commit/b139a1ff11d16c85f1b04a852b0faa7fa... Author: Joshua Lin jlin@petaio.com Date: 2022-02-24 (Thu, 24 Feb 2022)
Changed paths: M lib/virtio/virtqueue.c
Log Message: ----------- virtqueue: fix invalidate wrong cache region
The current code fetches the vring index before invalidating the cache. This can lead to using an invalid index. Fetch the index before invalidation to ensure a correct index. Signed-off-by: Joshua Lin jlin@petaio.com
Compare: https://github.com/OpenAMP/open-amp/compare/b8cd61b5191a...b139a1ff11d1
openamp-rp@lists.openampproject.org