Revert "iommu/arm-smmu-qcom: hide last LPASS SMMU context bank from linux"

This reverts commit 440ca404fc.
This commit is contained in:
Ksawlii 2024-11-24 00:23:07 +01:00
parent 9d06d028fc
commit 76c120afe7

View file

@ -206,13 +206,6 @@ static int qcom_smmu_cfg_probe(struct arm_smmu_device *smmu)
u32 smr;
int i;
/*
* MSM8998 LPASS SMMU reports 13 context banks, but accessing
* the last context bank crashes the system.
*/
if (of_device_is_compatible(smmu->dev->of_node, "qcom,msm8998-smmu-v2") && smmu->num_context_banks == 13)
smmu->num_context_banks = 12;
/*
* Some platforms support more than the Arm SMMU architected maximum of
* 128 stream matching groups. For unknown reasons, the additional