aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorAndrei Dulea <adulea@amazon.de>2019-09-13 16:42:29 +0200
committerJoerg Roedel <jroedel@suse.de>2019-09-24 11:15:37 +0200
commit6ccb72f8374e17d60b58a7bfd5570496332c54e2 (patch)
tree58153196ad6c1423e86fa4388cd402bb13fe384f /tools/perf/scripts/python/exported-sql-viewer.py
parentiommu/amd: Fix pages leak in free_pagetable() (diff)
downloadwireguard-linux-6ccb72f8374e17d60b58a7bfd5570496332c54e2.tar.xz
wireguard-linux-6ccb72f8374e17d60b58a7bfd5570496332c54e2.zip
iommu/amd: Fix downgrading default page-sizes in alloc_pte()
Downgrading an existing large mapping to a mapping using smaller page-sizes works only for the mappings created with page-mode 7 (i.e. non-default page size). Treat large mappings created with page-mode 0 (i.e. default page size) like a non-present mapping and allow to overwrite it in alloc_pte(). While around, make sure that we flush the TLB only if we change an existing mapping, otherwise we might end up acting on garbage PTEs. Fixes: 6d568ef9a622 ("iommu/amd: Allow downgrading page-sizes in alloc_pte()") Signed-off-by: Andrei Dulea <adulea@amazon.de>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions