Re: [PATCH 3/5] dt-bindings: Add Bao I/O dispatcher driver binding
From: Krzysztof Kozlowski
Date: Thu Dec 25 2025 - 03:58:59 EST
On Wed, Dec 24, 2025 at 01:52:15PM +0000, joaopeixoto@xxxxxxxxx wrote:
> From: João Peixoto <joaopeixoto@xxxxxxxxx>
>
> This patch adds a Device Tree binding for the Bao I/O Dispatcher kernel
> module, which can be loaded into backend VMs. The I/O Dispatcher
> provides the bridge between the Bao hypervisor Remote I/O system and the
> frontend device model in userspace, offering a unified API to support
> various VirtIO backends.
>
> The dispatcher handles hypercalls to the Bao hypervisor, IRQ/eventfd
> forwarding, and provides a character device interface for frontend
> devices, enabling efficient communication between the hypervisor and
> userspace device models.
>
> The binding documents the following properties:
> - compatible: "bao,io-dispatcher"
> - reg: Memory regions for the dispatcher (multiple VirtIO devices)
> - interrupts: Interrupts used by the devices
> - interrupt-parent: Parent interrupt controller
>
> This enables kernel drivers to correctly instantiate and configure Bao
> I/O Dispatcher modules based on the DT description.
>
> Signed-off-by: João Peixoto <joaopeixoto@xxxxxxxxx>
> ---
> .../bindings/bao/io-dispatcher.yaml | 67 +++++++++++++++++++
> 1 file changed, 67 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/bao/io-dispatcher.yaml
>
> diff --git a/Documentation/devicetree/bindings/bao/io-dispatcher.yaml b/Documentation/devicetree/bindings/bao/io-dispatcher.yaml
> new file mode 100644
> index 000000000000..7795f55d3ff9
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/bao/io-dispatcher.yaml
> @@ -0,0 +1,67 @@
> +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
> +%YAML 1.2
> +---
> +$id: "http://devicetree.org/schemas/bao/io-dispatcher.yaml#"
You did not even bother to test it.
> +$schema: "http://devicetree.org/meta-schemas/core.yaml#"
> +
> +title: Bao I/O Dispatcher Device
> +
> +maintainers:
> + - João Peixoto <joaopeixoto@xxxxxxxxx>
> + - José Martins <jose@xxxxxxxxx>
> + - David Cerdeira <davidmcerdeira@xxxxxxxxx>
> +
> +description: |
> + I/O Dispatcher device for Bao hypervisor guests. Handles multiple VirtIO
> + backend devices and their interrupts.
> +
> +properties:
> + compatible:
> + const: "bao,io-dispatcher"
> + description: Device compatible string.
> +
> + reg:
> + description: |
> + Memory regions for each VirtIO backend device.
> + maxItems: 20
> + type: array
> + items:
> + type: integer
Don't send us LLM junk. You cannot come with such syntax, it does
not exist. Sending such LLM output is disregard to our time.
NAK
Best regards,
Krzysztof