iommu/amd: Allocate page-table in protection_domain_init()
authorJoerg Roedel <jroedel@suse.de>
Wed, 27 May 2020 11:53:07 +0000 (13:53 +0200)
committerJoerg Roedel <jroedel@suse.de>
Fri, 29 May 2020 15:10:31 +0000 (17:10 +0200)
commita71730e225be457dc51fc0b1fe155db18706d0fe
tree289bfee0c25ade8d362f5f31df4dfadd9f1d26c5
parent1226c370744613b17f7cd564087c4dcd56207a07
iommu/amd: Allocate page-table in protection_domain_init()

Consolidate the allocation of the domain page-table in one place.

Signed-off-by: Joerg Roedel <jroedel@suse.de>
Reviewed-by: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>
Link: https://lore.kernel.org/r/20200527115313.7426-5-joro@8bytes.org
drivers/iommu/amd_iommu.c