Commit 028a21e5 authored by Mostafa Saleh's avatar Mostafa Saleh
Browse files

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: default avatarMostafa Saleh <smostafa@google.com>
parent 09b18ba6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment