Hello,
The progress has been a bit slower since past few months (because of
relocation to other stuff), but some progress was made (mostly around
AMD's AMP stuff).
- Rebased AMP Sapphire and generic PCI virtio-msg drivers (from
Edgar/Bill) over latest virtio-msg repository and made few changes
to make them work again.
- Tested the generic PCI version with help of Edgar's QEMU based
setup. I have received the physical board recently, will try to test
with that next.
- Made significant changes to both the drivers to bring them closer to
how virtio-msg FFA and loopback drivers look. Also redesigned driver
initialization and fixed how Ping implementation was working.
- Eventually the code was much cleaner and much shorter.
- The implementation was based on a simple predefined (fixed) single
producer - single consumer queue. Bill/Edgar documented [1] a new
shared memory layout earlier but was never implemented. Implemented
the first version of that for both Linux and QEMU.
--
viresh
[1] https://github.com/wmamills/hvac-demo/blob/main/notes/amp-data-structures.h
Hi Everyone,
I have a first PoC showing virtio-msg working with a loopback system between Linux kernel and Qemu.
The patches, build and run instructions can be found here:
https://github.com/bertrand-marquis/virtio-msg-spec/tree/linux-poc/v0/linux…
This is very early stage but this shows a fully functional version with rng and block validated.
I used ChatGPT help to fix issues and write part of the code (or big parts for Qemu) and this is far from upstreamable so
do not share that.
I will share a v1 in the next weeks with FF-A support but i still have some timings and DMA issues to solve.
Any comment on this is more than welcome !!
Cheers
Bertrand
IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.