commit | 650ab1e370cdb61ba5c7495006f4376e02374da0 | [log] [tgz] |
---|---|---|
author | Alexey Kardashevskiy <aik@ozlabs.ru> | Thu Aug 29 18:52:50 2019 +1000 |
committer | Michael Ellerman <mpe@ellerman.id.au> | Fri Aug 30 09:40:14 2019 +1000 |
tree | 99f4db55e278275d846cf9bff710114248ee9b81 | |
parent | 01b7d128b5a7f0d09626c090093ff44155f347c9 [diff] |
vfio/spapr_tce: Invalidate multiple TCEs at once Invalidating a TCE cache entry for each updated TCE is quite expensive. This makes use of the new iommu_table_ops::xchg_no_kill()/tce_kill() callbacks to bring down the time spent in mapping a huge guest DMA window. Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20190829085252.72370-4-aik@ozlabs.ru