mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-16 22:39:48 +00:00
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: Joerg Roedel <jroedel@suse.de>
This commit is contained in:
parent
69be88520f
commit
6d568ef9a6
1 changed files with 9 additions and 3 deletions
Loading…
Add table
Add a link
Reference in a new issue