From nobody Mon Feb 9 12:24:54 2026 Received: from mail-wr1-f65.google.com (mail-wr1-f65.google.com [209.85.221.65]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B7FB237D1A7 for ; Wed, 7 Jan 2026 16:29:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.65 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767803395; cv=none; b=teYM8A4CybiqpIpx9lK0nHVBxnOXO2sAuZZ+5ncRMr6ddkdnGfLpPCEdi4xjc7YCHLy2XefaD+RGVvAY1tLmZ6otZVuJOJgswmiYjoqccm+LdrQ2+y0+2ss43rSlPkwjyt6LZSZltIKTfWvLWVEKL8Yr50r/0k+nMhwVGsWqkpM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767803395; c=relaxed/simple; bh=rLPl1zE7Upmz6OuVCre9yIxlCuXxDlH9iwpLAwe5XqA=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=HKOOXIad79ki+xfrID7J9aNv6VwijCHvQYYWt5BN9FVx8skbnjJIw8BmKItVm3pBuxWXDqatXtXRha3c5fSWlWWTmjnoNG2E6/XXJlVENbDR9XpRYVpF9LFDlWpzb9sOXt/LVlIf1yJOoh8YFxoYh9iPUcgfo2nyIdY/g+cqyfw= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=osyx.tech; spf=fail smtp.mailfrom=osyx.tech; dkim=pass (2048-bit key) header.d=osyx-tech.20230601.gappssmtp.com header.i=@osyx-tech.20230601.gappssmtp.com header.b=iLvx/tSg; arc=none smtp.client-ip=209.85.221.65 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=osyx.tech Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=osyx.tech Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=osyx-tech.20230601.gappssmtp.com header.i=@osyx-tech.20230601.gappssmtp.com header.b="iLvx/tSg" Received: by mail-wr1-f65.google.com with SMTP id ffacd0b85a97d-42fbc305882so1182225f8f.0 for ; Wed, 07 Jan 2026 08:29:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=osyx-tech.20230601.gappssmtp.com; s=20230601; t=1767803377; x=1768408177; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=NUMimnmdXF+2lmQCSaKYy80Xx8SLq3LRSYV8Quqc2EA=; b=iLvx/tSgpPTvGL+P9DpQHrzJo6RPGDMNLhBbwyw+AMJwYO9hhcH5yyM+w1SY7/27fP W9gNXX/WNbQvGhECwUai6NdO3bLN8RJl/dT9NWbcJdZ3zEDMvkRKwRfNCj2IkkHmx/Gj /2ncCfJEpeUL4EaxYfLAwZ8Q9gH41bx6xYlCkltYg6ZXij3ShPGZaEtRxa9K4GHVayVi JYnEjcdcD6Xpz1fw122nbrth0gMIkWTayG7rZpHhfO+l5+GrEfsJ3YHyUMo+FCEumUBy 4hnB2Zm7Xzs/yzVowYBVu5REU6zsPwjJFbmc0znU5eGUkJG0aJUnwuqGEsTqEToOGz20 zxKQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1767803377; x=1768408177; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=NUMimnmdXF+2lmQCSaKYy80Xx8SLq3LRSYV8Quqc2EA=; b=i5huFveeo6GVRBMAzQNi3cahENwDQ/Yj5cTV4IWRdppQAKgTtr66znrDrWXbZzcitf U6ZFHFTBu07Ust469lB/mTBL0HhYjqE3asjerdv85UWyWwbvsI5TXQrIHCR6A7HdY0Qp MZ7CHJkozK18VdMw7aBsy7xCCJn2egWmQpdM0KuhuORtN7Ct1vS9wdP/qm+Y3O7LicbE eVrqPbNPevbdmR/EvfioVYp0E/ePsByl4azu7J1jH35fuKxO6D2zggzWz92b9d3khsS0 mM+3YyWnpp3Xj3WAaKsP9c/vB3Wa+o8h+NTyjt94agIE5qQrEnEUquGVZoa16qfx1sa6 EneQ== X-Gm-Message-State: AOJu0YxrlOxJ75zRwjSQgtjAjt3tEwoerPtmUw177ykTVHBtuaJXIiQt j6jl6vIUDPFNGfCH2SUXEqVzX4QGkYIueYxBn4HCx2HeIaS6UEvUsmLNxVOLocisimpRRdz49Mh s5zbDaQ== X-Gm-Gg: AY/fxX5k/KknGCsNqfLKwPRWftLUwbxZmd+PsktLs5LXAUuJ3gbGzRp3WU68CfZAGHR KHwVSVvP6aUv+8Wyd7lWEKXVbgOk7kgUeQUuzOP5V9IHFhU21k+ig1eZAz94TxSsKp1w7ECq4eF 1110rX+lo34O2cn5Q13LrquoBNurH9SAQne5B1M2nYjUzHwgTTjPyRda4FAf2AM5jb5g18ul5Ke h0krF/DbMd/ndUVlGvW87fOzOdA8UWo5SV6CbCmmqiOk1JRdRQa5MUYLA3I647upCkzZO4JnGKd vMBNJqxf5k/MvKoYijfVKtznDZ8wdMy/MiA5YzHCQzIV87eVP6Ah6vvr7BoOIEgF/T7GQAtuUqI MZ01+IKaOydHNlC1BwHJmaFJsO7D6MGpwIN7eMC3fwrDOqlIyammvEKYx8KA52YYT0qGXyhQWb4 nIKP28fFHYcHKkPTX/Jg== X-Google-Smtp-Source: AGHT+IHbte2Z9gfsJb68imADTi55zsYUmZZE1DMqWC4ozVwMek+FiE+B/1QJjWhTUxGd71ZKE6jVRA== X-Received: by 2002:a05:6000:310b:b0:432:5bac:3914 with SMTP id ffacd0b85a97d-432c374f46cmr3857592f8f.40.1767803376686; Wed, 07 Jan 2026 08:29:36 -0800 (PST) Received: from jp-linux.Home ([2001:8a0:f59c:a900:4a3c:13be:a1c0:7b9f]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-432bd5ff0b2sm11117030f8f.42.2026.01.07.08.29.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Jan 2026 08:29:36 -0800 (PST) From: joaopeixoto@osyx.tech To: linux-kernel@vger.kernel.org Cc: ajd@linux.ibm.com, alex@ghiti.fr, aou@eecs.berkeley.edu, bagasdotme@gmail.com, catalin.marinas@arm.com, conor+dt@kernel.org, corbet@lwn.net, dan.j.williams@intel.com, davidmcerdeira@osyx.tech, devicetree@vger.kernel.org, dev@kael-k.io, gregkh@linuxfoundation.org, haren@linux.ibm.com, heiko@sntech.de, joaopeixoto@osyx.tech, jose@osyx.tech, kever.yang@rock-chips.com, krzk+dt@kernel.org, linux-arm-kernel@lists.infradead.org, linux-doc@vger.kernel.org, linux-riscv@lists.infradead.org, maddy@linux.ibm.com, mani@kernel.org, nathan@kernel.org, neil.armstrong@linaro.org, palmer@dabbelt.com, pjw@kernel.org, prabhakar.mahadev-lad.rj@bp.renesas.com, robh@kernel.org, will@kernel.org Subject: [PATCH 3/6] dt-bindings: Add Bao I/O dispatcher driver binding Date: Wed, 7 Jan 2026 16:28:26 +0000 Message-ID: <20260107162829.416885-4-joaopeixoto@osyx.tech> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260107162829.416885-1-joaopeixoto@osyx.tech> References: <20251224135217.25350-1-joaopeixoto@osyx.tech> <20260107162829.416885-1-joaopeixoto@osyx.tech> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable From: Jo=C3=A3o Peixoto This patch introduces a device tree binding for the Bao I/O Dispatcher, a device used in backend VMs running virtualized devices (e.g., VirtIO). Signed-off-by: Jo=C3=A3o Peixoto --- .../bindings/bao/bao,io-dispatcher.yaml | 75 +++++++++++++++++++ 1 file changed, 75 insertions(+) create mode 100644 Documentation/devicetree/bindings/bao/bao,io-dispatcher= .yaml diff --git a/Documentation/devicetree/bindings/bao/bao,io-dispatcher.yaml b= /Documentation/devicetree/bindings/bao/bao,io-dispatcher.yaml new file mode 100644 index 000000000000..8ca450e4b9d5 --- /dev/null +++ b/Documentation/devicetree/bindings/bao/bao,io-dispatcher.yaml @@ -0,0 +1,75 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/bao/bao,io-dispatcher.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Bao I/O Dispatcher Device + +maintainers: + - Jo=C3=A3o Peixoto + - Jos=C3=A9 Martins + - David Cerdeira + +description: | + I/O Dispatcher device for Bao hypervisor guests that run virtualized + devices (e.g., VirtIO). + + This device is only required in backend VMs, which are responsible for + performing the actual I/O operations on physical hardware. Frontend + VMs, which only consume I/O services, do not require this device. + + The I/O Dispatcher provides access to one or more backend devices. + Each backend device is associated with a contiguous shared-memory + region used to exchange I/O buffers with the respective frontend + driver, and an interrupt used by the Bao hypervisor to notify the + backend VM of pending I/O requests. + +properties: + compatible: + const: bao,io-dispatcher + + reg: + description: | + Contiguous memory-mapped regions for each VirtIO backend device + managed by the I/O Dispatcher. + + Each region is used to exchange I/O buffers between the backend + and frontend devices. A single region corresponds to one + backend device. + minItems: 1 + maxItems: 64 + + interrupts: + description: | + Interrupts associated with the VirtIO backend devices. + + Each interrupt corresponds to a backend device and is used + by the Bao hypervisor to notify the backend VM of pending + I/O requests from the associated frontend driver. + minItems: 1 + maxItems: 64 + +required: + - compatible + - reg + - interrupts + +additionalProperties: false + +examples: + - | + bao-io-dispatcher@50000000 { + compatible =3D "bao,io-dispatcher"; + reg =3D <0x0 0x50000000 0x0 0x01000000 + 0x0 0x51000000 0x0 0x01000000 + 0x0 0x52000000 0x0 0x01000000 + 0x0 0x53000000 0x0 0x01000000 + 0x0 0x54000000 0x0 0x01000000>; + interrupts =3D <0x0 0x08 0x1 + 0x0 0x09 0x1 + 0x0 0x0a 0x1 + 0x0 0x0b 0x1 + 0x0 0x0c 0x1>; + interrupt-parent =3D <&gic>; + }; --=20 2.43.0