vtd: improve IOMMU TLB flush
authorJan Beulich <jbeulich@suse.com>
Tue, 7 Jul 2020 13:21:34 +0000 (15:21 +0200)
committerJan Beulich <jbeulich@suse.com>
Tue, 7 Jul 2020 13:21:34 +0000 (15:21 +0200)
commit4ed000741e34431fa53d21ebdb93e50f5d407033
tree66c111077f2989a6e55d789dbd2139110cc04550
parent7def72c0de00b4f833da4896fd5f07ecec5c3fa9
vtd: improve IOMMU TLB flush

Do not limit PSI flushes to order 0 pages, in order to avoid doing a
full TLB flush if the passed in page has an order greater than 0 and
is aligned. Should increase the performance of IOMMU TLB flushes when
dealing with page orders greater than 0.

This is part of XSA-321.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Roger Pau Monné <roger.pau@citrix.com>
master commit: 5fe515a0fede07543f2a3b049167b1fd8b873caf
master date: 2020-07-07 14:37:46 +0200
xen/drivers/passthrough/vtd/iommu.c