Re: [PATCH RFC v2 3/5] virtio-pci: extend virtio_pci_cap with page_shift

2025-02-19 Thread Dmitry Osipenko
On 2/14/25 18:16, Sergio Lopez wrote: > If VIRTIO_F_SHM_PAGE_SIZE has been negotiated and cfg_type is > VIRTIO_PCI_CAP_SHARED_MEMORY_CFG, the driver must read the page_shift > field, derive the supported page size from it, and honor it when > requesting the map of memory into the shared memory regi

[PATCH RFC v2 3/5] virtio-pci: extend virtio_pci_cap with page_shift

2025-02-14 Thread Sergio Lopez
If VIRTIO_F_SHM_PAGE_SIZE has been negotiated and cfg_type is VIRTIO_PCI_CAP_SHARED_MEMORY_CFG, the driver must read the page_shift field, derive the supported page size from it, and honor it when requesting the map of memory into the shared memory region to the device. Extend virtio_pci_cap to ho