ANDROID: iommu/arm-smmu-v3-kvm: Set ssid_bits to hyp
Hypervisor uses the ssid_bits field which is not set, so it always reads as zero, this was missed when pasid support was added. Bug: 409547022 Bug: 357781595 Change-Id: I591e28b11c0162245e7b6d074c93383bf28502a3 Signed-off-by: Mostafa Saleh <smostafa@google.com>
This commit is contained in:
@@ -971,6 +971,8 @@ static int kvm_arm_smmu_probe(struct platform_device *pdev)
|
||||
hyp_smmu->mmio_size = size;
|
||||
hyp_smmu->features = smmu->features;
|
||||
hyp_smmu->iommu.power_domain = host_smmu->power_domain;
|
||||
hyp_smmu->ssid_bits = smmu->ssid_bits;
|
||||
|
||||
kvm_arm_smmu_cur++;
|
||||
|
||||
pm_runtime_set_active(dev);
|
||||
|
||||
Reference in New Issue
Block a user