Commit 3f596ed5 authored by Jean-Philippe Brucker's avatar Jean-Philippe Brucker Committed by Mostafa Saleh
Browse files

ANDROID: KVM: arm64: smmu-v3: Reduce critical section in map() and unmap()

Try to improve scalability by reducing the amount of work while holding
the global lock. Remove the need to lock for the hot paths (map, unmap,
iova_to_phys)

(cherry picked from commit 5ad3bc6fd589b6f11fe31ccee5b8777ba8739167
https://jpbrucker.net/git/linux/log/?h=pkvm/smmu-wip

)

[@smostafa] Port to new design where locks are per IOMMU, verify
ordering.

Bug: 277989609
Bug: 278749606
Change-Id: I8d413fe8c56c63cf21b9759227b335a15b9796f1
Signed-off-by: default avatarJean-Philippe Brucker <jean-philippe@linaro.org>
Signed-off-by: default avatarMostafa Saleh <smostafa@google.com>
parent 28f2b006
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment