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:
Mostafa Saleh
2025-04-10 11:46:33 +00:00
parent 79c101f1a0
commit c23618753d
@@ -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);