ANDROID: drivers/arm-smmu-v3-kvm: Respect kernel allocation flags
IOMMU map function can be called from atomic context which requires
atomic allocation, for that the map_pages ops has a gfp arg which
the driver ignores at the moment.
Use the new function __pkvm_topup_hyp_alloc_mgt_gfp() and pass
the allocation flags for it for map, otherwise keep the old
behaviour.
Bug: 367702966
Bug: 277989609
Bug: 278749606
Change-Id: I6e8cd24ec4275a619f7db48efaf78f3cd4925ce4
Signed-off-by:
Mostafa Saleh <smostafa@google.com>
Loading
Please sign in to comment