Re: [RFC PATCH 6/6] virtio-msg: Add support for loopback bus
From: Krzysztof Kozlowski
Date: Wed Jul 30 2025 - 05:50:20 EST
On 30/07/2025 11:29, Viresh Kumar wrote:
> Add a loopback bus implementation for the virtio-msg transport.
>
> This bus simulates a backend that echoes messages to itself, allowing
> testing and development of virtio-msg without requiring an actual remote
> backend or transport hardware.
>
> The loopback bus requires a reserved memory region for its operation.
> All DMA-coherent and streaming DMA allocations are restricted to this
> region, enabling safe mapping into user space and helping validate the
> memory-sharing model.
>
> The reserved-memory region must be named "vmsglb" in the device tree.
No, because I can name regions how I wish. You cannot add undocumented
ABI and claim in commit msg, that the commit msg is the ABI.
Either you have ABI documented or you cannot rely on implicit ABI, thus
remove above restriction.
This is really poor choice to add such hidden ABI and it already broke
several users in the past.
Best regards,
Krzysztof