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

BACKPORT: FROMLIST: iommu/arm-smmu-v3-kvm: Add per-cpu page queue

Allocate page queues shared with the hypervisor for page donation and
reclaim. A local_lock ensures that only one thread fills the queue
during a hypercall.

Link: https://lore.kernel.org/kvmarm/20230201125328.2186498-39-jean-philippe@linaro.org/i

(cherry picked from commit d86c5b8d2dfefcc4075cba24d77d25f50612808d
https://jpbrucker.net/git/linux/log/?h=pkvm/smmu

)
[smostafa Add hyp allocator top up as alloc_domain needs it]

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