RE: [RFC v2] /dev/iommu uAPI proposal

2021-08-01 Thread Tian, Kevin
> From: Jason Gunthorpe > Sent: Friday, July 30, 2021 10:51 PM > > On Mon, Jul 26, 2021 at 02:50:48PM +1000, David Gibson wrote: > > > That said, I'm still finding the various ways a device can attach to > > an ioasid pretty confusing. Here are some thoughts on some extra > > concepts that migh

Re: [PATCH] powerpc/svm: Don't issue ultracalls if !mem_encrypt_active()

2021-08-01 Thread Nicholas Piggin
Excerpts from Will Deacon's message of July 30, 2021 9:42 pm: > Commit ad6c00283163 ("swiotlb: Free tbl memory in swiotlb_exit()") > introduced a set_memory_encrypted() call to swiotlb_exit() so that the > buffer pages are returned to an encrypted state prior to being freed. > > Sachin reports tha