Re: [PATCH 17/40] vdpa: judge if map can be kept across reset

2024-01-11 Thread Jason Wang
On Fri, Dec 8, 2023 at 2:50 AM Si-Wei Liu wrote: > > The descriptor group for SVQ ASID allows the guest memory mapping > to retain across SVQ switching, same as how isolated CVQ can do > with a different ASID than the guest GPA space. Introduce an > evaluation function to judge whether to flush or

Re: [PATCH 17/40] vdpa: judge if map can be kept across reset

2023-12-13 Thread Eugenio Perez Martin
On Thu, Dec 7, 2023 at 7:50 PM Si-Wei Liu wrote: > > The descriptor group for SVQ ASID allows the guest memory mapping > to retain across SVQ switching, same as how isolated CVQ can do > with a different ASID than the guest GPA space. Introduce an > evaluation function to judge whether to flush or

[PATCH 17/40] vdpa: judge if map can be kept across reset

2023-12-07 Thread Si-Wei Liu
The descriptor group for SVQ ASID allows the guest memory mapping to retain across SVQ switching, same as how isolated CVQ can do with a different ASID than the guest GPA space. Introduce an evaluation function to judge whether to flush or keep iotlb maps based on virtqueue's descriptor group and c