Re: [PATCH v3] xen/arm: Do not invalidate the P2M when the PT is shared with the IOMMU

2021-08-04 Thread Julien Grall
Hi Stefano, On 04/08/2021 21:57, Stefano Stabellini wrote: Set/Way flushes never work correctly in a virtualized environment. Our current implementation is based on clearing the valid bit in the p2m pagetable to track guest memory accesses. This technique doesn't work when the IOMMU is enabled

[PATCH v3] xen/arm: Do not invalidate the P2M when the PT is shared with the IOMMU

2021-08-04 Thread Stefano Stabellini
Set/Way flushes never work correctly in a virtualized environment. Our current implementation is based on clearing the valid bit in the p2m pagetable to track guest memory accesses. This technique doesn't work when the IOMMU is enabled for the domain and the pagetable is shared between IOMMU and M