mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-13 07:31:07 +00:00
x86/amd-iommu: Add core functions for pd allocation/freeing
This patch factors some code of protection domain allocation into seperate functions. This way the logic can be used to allocate the passthrough domain later. As a side effect this patch fixes an unlikely domain id leakage bug. Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
This commit is contained in:
parent
ac0101d396
commit
2650815fb0
1 changed files with 32 additions and 4 deletions
Loading…
Add table
Add a link
Reference in a new issue