Mathieu & Arnaud,
At first glance this seems like what we need to make the DMA API only
use buffers in a range we define.
https://lwn.net/ml/linux-kernel/20210106034124.30560-1-tientzu@chromium.org/
Bill
--
Bill Mills
Principal Technical Consultant, Linaro
+1-240-643-0836
TZ: US Eastern
Work Schedule: Tues/Wed/Thur
Branch: refs/heads/main
Home: https://github.com/OpenAMP/libmetal
Commit: 0ad1183a821bf3713dbb825887d86054d5458fa3
https://github.com/OpenAMP/libmetal/commit/0ad1183a821bf3713dbb825887d86054…
Author: Tanmay Shah <tanmay.shah(a)amd.com>
Date: 2023-09-11 (Mon, 11 Sep 2023)
Changed paths:
M lib/utilities.h
Log Message:
-----------
lib: utilities: add MB and GB defines
If MB and GB definition is not available then define new ones
Signed-off-by: Tanmay Shah <tanmay.shah(a)amd.com>
Branch: refs/heads/main
Home: https://github.com/OpenAMP/libmetal
Commit: 6d571fd068e1998a39a39c1d18d5ff10195274e9
https://github.com/OpenAMP/libmetal/commit/6d571fd068e1998a39a39c1d18d5ff10…
Author: Ben Levinsky <ben.levinsky(a)amd.com>
Date: 2023-09-11 (Mon, 11 Sep 2023)
Changed paths:
M lib/system/freertos/sys.h
Log Message:
-----------
lib: system: freertos: Add metal/errno.h to match standalone
As lib/system/generic/sys.h has metal/errno.h add this to the freertos
equivalent.
This fixes some compilation issues when linking against certain FreeRTOS port
BSPs.
Signed-off-by: Ben Levinsky <ben.levinsky(a)amd.com>
Hello All,
RPMsg in U-Boot is under development. First proof of concept patch v1 was sent to upstream mailing list as RFC patch here: http://patchwork.ozlabs.org/project/uboot/list/?series=365
Here is the video of demo of RPMsg framework introduced in above patch series:
https://www.youtube.com/watch?v=PxGNR_FYGt8
This document explains patch series and motivation to introduce RPMsg in U-Boot and future work that needs to be done: https://drive.google.com/file/d/1Bjtzj58klMPVuWEtRK89oyem7_Hdajn8/view?usp=…
This patch series is very basic implementation of virtio based RPMsg framework referenced from the Linux kernel. For now, U-Boot is communicating with remote processor over fix hard-coded endpoint. More advance features such as name-service, multiple endpoint support etc.. will be added in coming revisions of this patch series. Meanwhile, please feel free to review existing work and provide review comments and any other suggestions.
Thanks,
Tanmay
Hello All,
RPMsg in U-Boot is under development. First proof of concept patch v1
was sent to upstream mailing list as RFC patch here:
[1]http://patchwork.ozlabs.org/project/uboot/list/?series=365
Here is the video of demo of RPMsg framework introduced in above patch
series:
[2]https://www.youtube.com/watch?v=PxGNR_FYGt8
This document explains patch series and motivation to introduce RPMsg
in U-Boot and future work that needs to be done:
[3]https://drive.google.com/file/d/1Bjtzj58klMPVuWEtRK89oyem7_Hdajn8/vi
ew?usp=sharing
This patch series is very basic implementation of virtio based RPMsg
framework referenced from the Linux kernel. For now, U-Boot is
communicating with remote processor over fix hard-coded endpoint. More
advance features such as name-service, multiple endpoint support etc..
will be added in coming revisions of this patch series. Meanwhile,
please feel free to review existing work and provide review comments
and any other suggestions.
Thanks,
Tanmay
References
1. http://patchwork.ozlabs.org/project/uboot/list/?series=365
2. https://www.youtube.com/watch?v=PxGNR_FYGt8
3. https://drive.google.com/file/d/1Bjtzj58klMPVuWEtRK89oyem7_Hdajn8/view?usp=…
Branch: refs/heads/main
Home: https://github.com/OpenAMP/libmetal
Commit: 548f6428557acaa1ac218ab74b1e04b16f183f1c
https://github.com/OpenAMP/libmetal/commit/548f6428557acaa1ac218ab74b1e04b1…
Author: Sergei Korneichuk <sergei.korneichuk(a)amd.com>
Date: 2023-08-21 (Mon, 21 Aug 2023)
Changed paths:
M lib/atomic.h
Log Message:
-----------
Export each of the memory_order enumerators
The lib/atomic.h exports memory_order enum into the global namespace,
but none of its enumerators. According to Section 7.3.3 "The using
declaration" of the C++ standard: "specifying an enumeration name
in a using-declaration does not declare its enumerators in
the using-declaration's declarative region." See also:
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2018/p0943r1.html
Signed-off-by: Sergei Korneichuk <sergei.korneichuk(a)amd.com>
Branch: refs/heads/main
Home: https://github.com/OpenAMP/openamp-system-reference
Commit: c2c89575efbfa3428fa825dc0e06957fc7cce409
https://github.com/OpenAMP/openamp-system-reference/commit/c2c89575efbfa342…
Author: Felipe Neves <felipe.neves(a)linaro.org>
Date: 2023-08-17 (Thu, 17 Aug 2023)
Changed paths:
M examples/zephyr/README.md
A examples/zephyr/dual_qemu_ivshmem/.gitignore
A examples/zephyr/dual_qemu_ivshmem/README.rst
A examples/zephyr/dual_qemu_ivshmem/host/CMakeLists.txt
A examples/zephyr/dual_qemu_ivshmem/host/app.overlay
A examples/zephyr/dual_qemu_ivshmem/host/boards/pcie_ivshmem.dtsi
A examples/zephyr/dual_qemu_ivshmem/host/boards/qemu_cortex_a53.conf
A examples/zephyr/dual_qemu_ivshmem/host/prj.conf
A examples/zephyr/dual_qemu_ivshmem/host/src/main.c
A examples/zephyr/dual_qemu_ivshmem/remote/CMakeLists.txt
A examples/zephyr/dual_qemu_ivshmem/remote/app.overlay
A examples/zephyr/dual_qemu_ivshmem/remote/boards/pcie_ivshmem.dtsi
A examples/zephyr/dual_qemu_ivshmem/remote/boards/qemu_cortex_a53.conf
A examples/zephyr/dual_qemu_ivshmem/remote/prj.conf
A examples/zephyr/dual_qemu_ivshmem/remote/src/main.c
A examples/zephyr/dual_qemu_ivshmem/rpmsg_ivshmem_backend/rpmsg_ivshmem_backend.c
A examples/zephyr/dual_qemu_ivshmem/rpmsg_ivshmem_backend/rpmsg_ivshmem_backend.h
Log Message:
-----------
examples: dual_qemu_ivshmem: add RPMsg over IVSHMEM sample code.
The additions include a backend to glue the Zephyr IVSHMEM
device driver into the openAMP code making it usable to send
data between two QEMU instances using the RPMsg protocol.
Also a custom shell command in the host side application
is provided to send string messages for a number of times.
Signed-off-by: Felipe Neves <felipe.neves(a)linaro.org>
Commit: 9c752508112513cf44892a45fdfc2007d37ad591
https://github.com/OpenAMP/openamp-system-reference/commit/9c752508112513cf…
Author: Felipe Neves <felipe.neves(a)linaro.org>
Date: 2023-08-17 (Thu, 17 Aug 2023)
Changed paths:
M west.yml
Log Message:
-----------
west: update zephyr revsion to v3.4-branch
This revision contains the IVSHMEM infrastructure
needed to make the RPMsg over it to work.
Signed-off-by: Felipe Neves <felipe.neves(a)linaro.org>
Compare: https://github.com/OpenAMP/openamp-system-reference/compare/6a612fae306c...…
Branch: refs/heads/main
Home: https://github.com/OpenAMP/open-amp
Commit: e63d07d10577b06c5b3fc8e1c20ede74779d3132
https://github.com/OpenAMP/open-amp/commit/e63d07d10577b06c5b3fc8e1c20ede74…
Author: Dan Milea <dan.milea(a)windriver.com>
Date: 2023-08-17 (Thu, 17 Aug 2023)
Changed paths:
M cmake/options.cmake
M lib/CMakeLists.txt
M lib/include/openamp/rpmsg_virtio.h
M lib/include/openamp/virtio.h
A lib/include/openamp/virtio_mmio.h
M lib/include/openamp/virtqueue.h
M lib/virtio/virtio.c
A lib/virtio_mmio/CMakeLists.txt
A lib/virtio_mmio/virtio_mmio_drv.c
Log Message:
-----------
virtio: virtio-mmio framework
VIRTIO MMIO transport for OpenAMP.
Signed-off-by: Dan Milea <dan.milea(a)windriver.com>