mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 10:58:48 +09:00
ANDROID: arm64: kvm: iommu: Export IOMMU register and init functions.
As S2MPU driver was moved to an EL2 module, we need to export init and register functions to be used from the module. [ qperret: dropped changes to nonexistent Pixel symbol list ] Bug: 261857213 Change-Id: I819dff0e6164051c464533d80eb68ea003b34b21 Signed-off-by: Mostafa Saleh <smostafa@google.com> Signed-off-by: Quentin Perret <qperret@google.com>
This commit is contained in:
committed by
Quentin Perret
parent
d46c47acf9
commit
5d606fda6d
@@ -16,6 +16,7 @@ int pkvm_iommu_driver_init(u64 drv, void *data, size_t size)
|
||||
{
|
||||
return kvm_call_hyp_nvhe(__pkvm_iommu_driver_init, drv, data, size);
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(pkvm_iommu_driver_init);
|
||||
|
||||
int pkvm_iommu_register(struct device *dev, u64 drv, phys_addr_t pa,
|
||||
size_t size, struct device *parent)
|
||||
@@ -41,6 +42,7 @@ int pkvm_iommu_register(struct device *dev, u64 drv, phys_addr_t pa,
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(pkvm_iommu_register);
|
||||
|
||||
int pkvm_iommu_suspend(struct device *dev)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user