[PATCH v4] docs/specs/pci-ids: Reserve IDs for Cnuas vfio-user devices

Weqaar Janjua posted 1 patch 1 week, 2 days ago
Maintainers: "Michael S. Tsirkin" <mst@redhat.com>, Pierrick Bouvier <pierrick.bouvier@oss.qualcomm.com>
docs/specs/pci-ids.rst | 6 ++++++
1 file changed, 6 insertions(+)
[PATCH v4] docs/specs/pci-ids: Reserve IDs for Cnuas vfio-user devices
Posted by Weqaar Janjua 1 week, 2 days ago
Reserve 1b36:0017 for the Cnuas virtual RDMA network adapter and
1b36:0018 for the CnuasGPU virtual accelerator. Both are PCIe devices
implemented outside QEMU as vfio-user servers and attached with
"-device vfio-user-pci". Their register interfaces are documented at
the links in the table.

Signed-off-by: Weqaar Janjua <weqaar.janjua@packetfive.com>
---
v4:
- Dropped the CnuasNIC and CnuasGPU device models and their qtests
  (v3 patches 2, 3, 5 and 6). As Akihiko suggested, the devices move
  out of tree as vfio-user servers in the Cnuas project.
- Merged the two ID patches (v3 patches 1 and 4) into this one
  documentation patch and dropped the include/hw/pci/pci.h defines,
  since no QEMU code uses them now.
- Linked the device specifications instead of in-tree docs.

v3: https://lore.kernel.org/qemu-devel/20260929202358.725310-1-weqaar.janjua@packetfive.com/

 docs/specs/pci-ids.rst | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/docs/specs/pci-ids.rst b/docs/specs/pci-ids.rst
index 74460bb19e..26137b11bf 100644
--- a/docs/specs/pci-ids.rst
+++ b/docs/specs/pci-ids.rst
@@ -109,6 +109,12 @@ PCI devices (other than virtio):
   PCIe Upstream Switch Port (``-device pcie-upstream-port``)
 1b36:0016
   PCIe Downstream Switch Port (``-device pcie-downstream-port``)
+1b36:0017
+  Cnuas virtual RDMA network adapter (vfio-user device, out of tree),
+  https://cnuas.io/cnuas/docs/datasheets/CnuasNIC_Datasheet/
+1b36:0018
+  CnuasGPU virtual accelerator (vfio-user device, out of tree),
+  https://cnuas.io/cnuas/docs/datasheets/CnuasGPU_Datasheet/
 
 All these devices are documented in :doc:`index`.
 
-- 
2.43.0
Re: [PATCH v4] docs/specs/pci-ids: Reserve IDs for Cnuas vfio-user devices
Posted by Akihiko Odaki 1 week, 2 days ago
On 2026/11/13 6:39, Weqaar Janjua wrote:
> Reserve 1b36:0017 for the Cnuas virtual RDMA network adapter and
> 1b36:0018 for the CnuasGPU virtual accelerator. Both are PCIe devices
> implemented outside QEMU as vfio-user servers and attached with
> "-device vfio-user-pci". Their register interfaces are documented at
> the links in the table.
> 
> Signed-off-by: Weqaar Janjua <weqaar.janjua@packetfive.com>

Reviewed-by: Akihiko Odaki <odaki@rsg.ci.i.u-tokyo.ac.jp>

Regards,
Akihiko Odaki

> ---
> v4:
> - Dropped the CnuasNIC and CnuasGPU device models and their qtests
>    (v3 patches 2, 3, 5 and 6). As Akihiko suggested, the devices move
>    out of tree as vfio-user servers in the Cnuas project.
> - Merged the two ID patches (v3 patches 1 and 4) into this one
>    documentation patch and dropped the include/hw/pci/pci.h defines,
>    since no QEMU code uses them now.
> - Linked the device specifications instead of in-tree docs.
> 
> v3: https://lore.kernel.org/qemu-devel/20260929202358.725310-1-weqaar.janjua@packetfive.com/
> 
>   docs/specs/pci-ids.rst | 6 ++++++
>   1 file changed, 6 insertions(+)
> 
> diff --git a/docs/specs/pci-ids.rst b/docs/specs/pci-ids.rst
> index 74460bb19e..26137b11bf 100644
> --- a/docs/specs/pci-ids.rst
> +++ b/docs/specs/pci-ids.rst
> @@ -109,6 +109,12 @@ PCI devices (other than virtio):
>     PCIe Upstream Switch Port (``-device pcie-upstream-port``)
>   1b36:0016
>     PCIe Downstream Switch Port (``-device pcie-downstream-port``)
> +1b36:0017
> +  Cnuas virtual RDMA network adapter (vfio-user device, out of tree),
> +  https://cnuas.io/cnuas/docs/datasheets/CnuasNIC_Datasheet/
> +1b36:0018
> +  CnuasGPU virtual accelerator (vfio-user device, out of tree),
> +  https://cnuas.io/cnuas/docs/datasheets/CnuasGPU_Datasheet/
>   
>   All these devices are documented in :doc:`index`.
>