diff options
author | Andrei Dulea <adulea@amazon.de> | 2019-09-13 16:42:30 +0200 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2019-09-24 11:15:46 +0200 |
commit | 7f1f1683c1e27c280556766cfd2c219957cebe4f (patch) | |
tree | 946b5da79e9b8ae988fca051d87a8cf47cf61e01 /drivers/iommu/s390-iommu.c | |
parent | 6ccb72f8374e17d60b58a7bfd5570496332c54e2 (diff) | |
download | kernel_replicant_linux-7f1f1683c1e27c280556766cfd2c219957cebe4f.tar.gz kernel_replicant_linux-7f1f1683c1e27c280556766cfd2c219957cebe4f.tar.bz2 kernel_replicant_linux-7f1f1683c1e27c280556766cfd2c219957cebe4f.zip |
iommu/amd: Introduce first_pte_l7() helper
Given an arbitrary pte that is part of a large mapping, this function
returns the first pte of the series (and optionally the mapped size and
number of PTEs)
It will be re-used in a subsequent patch to replace an existing L7
mapping.
Fixes: 6d568ef9a622 ("iommu/amd: Allow downgrading page-sizes in alloc_pte()")
Signed-off-by: Andrei Dulea <adulea@amazon.de>
Diffstat (limited to 'drivers/iommu/s390-iommu.c')
0 files changed, 0 insertions, 0 deletions