aboutsummaryrefslogtreecommitdiff
path: root/fs/nilfs2/ifile.c
diff options
context:
space:
mode:
authorAndrei Dulea2019-09-13 16:42:31 +0200
committerJoerg Roedel2019-09-24 11:15:51 +0200
commitcc449541f2a8a646ad5ac45cb1c7b59c3ed6b310 (patch)
tree8c59410d75bdad5ca8ff1bbf2e4f85dfb9f0cd72 /fs/nilfs2/ifile.c
parent7f1f1683c1e27c280556766cfd2c219957cebe4f (diff)
iommu/amd: Unmap all L7 PTEs when downgrading page-sizes
When replacing a large mapping created with page-mode 7 (i.e. non-default page size), tear down the entire series of replicated PTEs. Besides providing access to the old mapping, another thing that might go wrong with this issue is on the fetch_pte() code path that can return a PDE entry of the newly re-mapped range. While at it, make sure that we flush the TLB in case alloc_pte() fails and returns NULL at a lower level. Fixes: 6d568ef9a622 ("iommu/amd: Allow downgrading page-sizes in alloc_pte()") Signed-off-by: Andrei Dulea <adulea@amazon.de>
Diffstat (limited to 'fs/nilfs2/ifile.c')
0 files changed, 0 insertions, 0 deletions