OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
iommu/arm-smmu: Don't BUG() if we find aborting STEs with disable_bypass
[sagit-ice-cold/kernel_xiaomi_msm8998.git]
/
drivers
/
iommu
/
arm-smmu-v3.c
diff --git
a/drivers/iommu/arm-smmu-v3.c
b/drivers/iommu/arm-smmu-v3.c
index
ebd5d04
..
00df383
100644
(file)
--- a/
drivers/iommu/arm-smmu-v3.c
+++ b/
drivers/iommu/arm-smmu-v3.c
@@
-1025,6
+1025,9
@@
static void arm_smmu_write_strtab_ent(struct arm_smmu_device *smmu, u32 sid,
case STRTAB_STE_0_CFG_S2_TRANS:
ste_live = true;
break;
+ case STRTAB_STE_0_CFG_ABORT:
+ if (disable_bypass)
+ break;
default:
BUG(); /* STE corruption */
}