On 11/4/2026 18:01, Mukesh R wrote:
> Currently GFP_KERNEL is hard coded in hv_alloc_dep_pages(). Add gfp_flags
> parameter so it can be called in atomic context from map_pages callback in
> struct iommu_domain_ops and other places in future. A new function
> hv_deposit_memory_gfp() is added to facilitate this, so hv_deposit_memory()
> can continue to function as is.
> 
> Signed-off-by: Mukesh R <[email protected]>
> ---
>  drivers/hv/hv_proc.c           | 20 +++++++++++---------
>  include/asm-generic/mshyperv.h | 14 +++++++++++---
>  2 files changed, 22 insertions(+), 12 deletions(-)
> <snip>

Reviewed-by: Easwar Hariharan <[email protected]>

Reply via email to