Skip to content
Commit 6d568ef9 authored by Joerg Roedel's avatar Joerg Roedel
Browse files

iommu/amd: Allow downgrading page-sizes in alloc_pte()



Before this patch it was not possible the downgrade a
mapping established with page-mode 7 to a mapping using
smaller page-sizes, because the pte_level != level check
prevented that.

Treat page-mode 7 like a non-present mapping and allow to
overwrite it in alloc_pte().

Signed-off-by: default avatarJoerg Roedel <jroedel@suse.de>
parent 69be8852
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment