diff options
| author | Mitchel Humpherys <mitchelh@codeaurora.org> | 2015-07-30 13:04:22 -0700 |
|---|---|---|
| committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-22 11:13:47 -0700 |
| commit | 2b39d026fbde0220f85980f1a3b2bad36bd4fad0 (patch) | |
| tree | e519e23d9f3bce36ddd39a714866c0b392bff64a /include/linux/blkdev.h | |
| parent | 52c8720e5cf479aae5dc8d0ac7d2c4afd261e446 (diff) | |
iommu/arm-smmu: Make arm_smmu_unprepare_pgtable atomic
Currently, arm_smmu_unprepare_pgtable makes a hypervisor call to
unassign the memory being freed up. However, this is a sleeping call
and arm_smmu_unprepare_pgtable can be called from atomic context. Fix
this by making arm_smmu_unprepare_pgtable atomic in a similar manner to
arm_smmu_prepare_pgtable (put the addresses to be unprepared on a list
and unprepare them at the end of unmap).
Change-Id: Ifba40ca3ceb4aaf328a1a570e0ee6c39088075ba
Signed-off-by: Mitchel Humpherys <mitchelh@codeaurora.org>
Diffstat (limited to 'include/linux/blkdev.h')
0 files changed, 0 insertions, 0 deletions
