diff options
author | Joerg Roedel <[email protected]> | 2019-10-18 11:00:33 +0200 |
---|---|---|
committer | Joerg Roedel <[email protected]> | 2019-10-18 11:40:38 +0200 |
commit | 3057fb9377eb5e73386dd0d8804bf72bdd23e391 (patch) | |
tree | 81bc0ec877df6dc19f3323a9fa0ff8050677c531 /tools/perf/scripts/python | |
parent | 470eb3b31134ada545dcb41e94a0c97b42c95803 (diff) |
iommu/amd: Pass gfp flags to iommu_map_page() in amd_iommu_map()
A recent commit added a gfp parameter to amd_iommu_map() to make it
callable from atomic context, but forgot to pass it down to
iommu_map_page() and left GFP_KERNEL there. This caused
sleep-while-atomic warnings and needs to be fixed.
Reported-by: Qian Cai <[email protected]>
Reported-by: Dan Carpenter <[email protected]>
Fixes: 781ca2de89ba ("iommu: Add gfp parameter to iommu_ops::map")
Reviewed-by: Jerry Snitselaar <[email protected]>
Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions