diff options
author | Oleksandr Tyshchenko | 2017-08-23 16:31:42 +0200 |
---|---|---|
committer | Joerg Roedel | 2017-08-30 15:10:46 +0200 |
commit | a175a67d306ab3fd0e140595f49290b80c909ae8 (patch) | |
tree | c6fc86d1e879fcae6a541b9f20968887d520c7a2 /drivers/infiniband/hw/i40iw/i40iw_d.h | |
parent | iommu/ipmmu-vmsa: Use iommu_device_sysfs_add()/remove() (diff) | |
download | kernel-qcow2-linux-a175a67d306ab3fd0e140595f49290b80c909ae8.tar.gz kernel-qcow2-linux-a175a67d306ab3fd0e140595f49290b80c909ae8.tar.xz kernel-qcow2-linux-a175a67d306ab3fd0e140595f49290b80c909ae8.zip |
iommu/ipmmu-vmsa: Rereserving a free context before setting up a pagetable
Reserving a free context is both quicker and more likely to fail
(due to limited hardware resources) than setting up a pagetable.
What is more the pagetable init/cleanup code could require
the context to be set up.
Signed-off-by: Oleksandr Tyshchenko <oleksandr_tyshchenko@epam.com>
CC: Robin Murphy <robin.murphy@arm.com>
CC: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Robin Murphy <robin.murphy@arm.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
CC: Joerg Roedel <joro@8bytes.org>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/infiniband/hw/i40iw/i40iw_d.h')
0 files changed, 0 insertions, 0 deletions