Revert "iommu/arm-smmu-qcom: hide last LPASS SMMU context bank from linux"
This reverts commit 440ca404fc
.
This commit is contained in:
parent
9d06d028fc
commit
76c120afe7
1 changed files with 0 additions and 7 deletions
|
@ -206,13 +206,6 @@ static int qcom_smmu_cfg_probe(struct arm_smmu_device *smmu)
|
||||||
u32 smr;
|
u32 smr;
|
||||||
int i;
|
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
|
* Some platforms support more than the Arm SMMU architected maximum of
|
||||||
* 128 stream matching groups. For unknown reasons, the additional
|
* 128 stream matching groups. For unknown reasons, the additional
|
||||||
|
|
Loading…
Add table
Reference in a new issue