Re: [PATCH 0/2] drm/virtio: introduce the HOST_PAGE_SIZE feature

2025-04-04 Thread Sergio Lopez Pascual
Gurchetan Singh writes: > On Tue, Aug 6, 2024 at 1:15 PM Rob Clark wrote: > >> On Tue, Aug 6, 2024 at 9:15 AM Gurchetan Singh >> wrote: >> > >> > >> > >> > On Mon, Aug 5, 2024 at 2:14 AM Sergio Lopez Pascual >> wrote: >> >&g

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 5/5] drm/virtio: add VIRTGPU_PARAM_HOST_SHM_PAGE_SIZE to params

2025-02-16 Thread Sergio Lopez Pascual
Dmitry Osipenko writes: > On 2/14/25 18:16, Sergio Lopez wrote: >> diff --git a/drivers/gpu/drm/virtio/virtgpu_ioctl.c >> b/drivers/gpu/drm/virtio/virtgpu_ioctl.c >> index >> c33c057365f85a2ace536f91655c903036827312..4b49635b4fe1d4256f219823341cef8e5fa8f029 >> 100644 >> --- a/drivers/gpu/drm/v

Re: [RFC PATCH 0/5] virtio: obtain SHM page size from device

2025-02-14 Thread Sergio Lopez Pascual
"Michael S. Tsirkin" writes: > On Thu, Feb 13, 2025 at 04:49:14PM +0100, Sergio Lopez wrote: >> There's an incresing number of machines supporting multiple page sizes >> and, on these machines, the host and a guest can be running with >> different pages sizes. >> >> In addition to this, there mig

Re: [PATCH RFC 3/5] virtio-pci: extend virtio_pci_cap to hold page_size

2025-02-14 Thread Sergio Lopez Pascual
Daniel Verkamp writes: > On Thu, Feb 13, 2025 at 11:22 AM Daniel Verkamp wrote: >> >> On Thu, Feb 13, 2025 at 7:54 AM Sergio Lopez wrote: >> > >> > Turn the 16 bit padding into a page_size field to allow the device to >> > pass its required page size with format PAGE_SIZE >> 12. >> > >> > Signe

Re: [PATCH RFC 3/5] virtio-pci: extend virtio_pci_cap to hold page_size

2025-02-14 Thread Sergio Lopez Pascual
Daniel Verkamp writes: > On Thu, Feb 13, 2025 at 7:54 AM Sergio Lopez wrote: >> >> Turn the 16 bit padding into a page_size field to allow the device to >> pass its required page size with format PAGE_SIZE >> 12. >> >> Signed-off-by: Sergio Lopez >> --- >> drivers/virtio/virtio_pci_modern.c |

Re: [PATCH 0/2] drm/virtio: introduce the HOST_PAGE_SIZE feature

2024-08-22 Thread Sergio Lopez Pascual
Gurchetan Singh writes: > On Thu, Aug 8, 2024 at 3:38 AM Sergio Lopez Pascual wrote: > >> Gurchetan Singh writes: >> >> > On Tue, Aug 6, 2024 at 1:15 PM Rob Clark wrote: >> > >> >> On Tue, Aug 6, 2024 at 9:15 AM Gurchetan Singh >> >>

Re: [PATCH 0/2] drm/virtio: introduce the HOST_PAGE_SIZE feature

2024-08-08 Thread Sergio Lopez Pascual
Gurchetan Singh writes: > On Tue, Aug 6, 2024 at 1:15 PM Rob Clark wrote: > >> On Tue, Aug 6, 2024 at 9:15 AM Gurchetan Singh >> wrote: >> > >> > >> > >> > On Mon, Aug 5, 2024 at 2:14 AM Sergio Lopez Pascual >> wrote: >> >&g

Re: [PATCH 0/2] drm/virtio: introduce the HOST_PAGE_SIZE feature

2024-08-05 Thread Sergio Lopez Pascual
Dmitry Osipenko writes: > On 7/23/24 14:49, Sergio Lopez wrote: >> There's an incresing number of machines supporting multiple page sizes >> and on these machines the host and a guest can be running, each one, >> with a different page size. >> >> For what pertains to virtio-gpu, this is not a pro