Re: [PATCH RFC v2 4/5] virtio-mmio: read shm region page size

2025-02-20 Thread Dmitry Osipenko
On 2/20/25 13:24, Sergio Lopez Pascual wrote: > Dmitry Osipenko writes: > >> On 2/14/25 18:16, Sergio Lopez wrote: >>> Use the newly introduced SHM_PAGE_SHIFT register to read the page shift >>> for the shared memory region, derive the page size from it and store the >>> resulting value into virt

Re: [PATCH RFC v2 4/5] virtio-mmio: read shm region page size

2025-02-20 Thread Sergio Lopez Pascual
Dmitry Osipenko writes: > On 2/14/25 18:16, Sergio Lopez wrote: >> Use the newly introduced SHM_PAGE_SHIFT register to read the page shift >> for the shared memory region, derive the page size from it and store the >> resulting value into virtio_shm_region. >> >> Signed-off-by: Sergio Lopez >> -

Re: [PATCH RFC v2 4/5] virtio-mmio: read shm region page size

2025-02-19 Thread Dmitry Osipenko
On 2/14/25 18:16, Sergio Lopez wrote: > Use the newly introduced SHM_PAGE_SHIFT register to read the page shift > for the shared memory region, derive the page size from it and store the > resulting value into virtio_shm_region. > > Signed-off-by: Sergio Lopez > --- > drivers/virtio/virtio_mmio.

[PATCH RFC v2 4/5] virtio-mmio: read shm region page size

2025-02-14 Thread Sergio Lopez
Use the newly introduced SHM_PAGE_SHIFT register to read the page shift for the shared memory region, derive the page size from it and store the resulting value into virtio_shm_region. Signed-off-by: Sergio Lopez --- drivers/virtio/virtio_mmio.c | 11 ++- include/uapi/linux/virtio_mm