Re: [Xen-devel] [PATCH 3/4] x86/mm: avoid IOMMU operations in more cases in _get_page_type()

2019-12-20 Thread Andrew Cooper
On 20/12/2019 14:19, Jan Beulich wrote: > All that really matters is whether writability of a page changes; in > paticular e.g. page table -> page table (but different levels) > transitions do not require unmapping the page from the IOMMU again. > > Note that the XSA-288 fix did arrange for PGT_non

[Xen-devel] [PATCH 3/4] x86/mm: avoid IOMMU operations in more cases in _get_page_type()

2019-12-20 Thread Jan Beulich
All that really matters is whether writability of a page changes; in paticular e.g. page table -> page table (but different levels) transitions do not require unmapping the page from the IOMMU again. Note that the XSA-288 fix did arrange for PGT_none pages not needing special consideration here.