diff options
| author | Marek Szyprowski <[email protected]> | 2017-10-09 11:40:23 +0000 |
|---|---|---|
| committer | Joerg Roedel <[email protected]> | 2017-10-12 08:25:11 +0000 |
| commit | 9d25e3cc83d731ae4eeb017fd07562fde3f80bef (patch) | |
| tree | e0d0a942a97e23e8062fedb173f40e94a47aae65 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
| parent | iommu/amd: Do not disable SWIOTLB if SME is active (diff) | |
| download | kernel-9d25e3cc83d731ae4eeb017fd07562fde3f80bef.tar.gz kernel-9d25e3cc83d731ae4eeb017fd07562fde3f80bef.zip | |
iommu/exynos: Remove initconst attribute to avoid potential kernel oops
Exynos SYSMMU registers standard platform device with sysmmu_of_match
table, what means that this table is accessed every time a new platform
device is registered in a system. This might happen also after the boot,
so the table must not be attributed as initconst to avoid potential kernel
oops caused by access to freed memory.
Fixes: 6b21a5db3642 ("iommu/exynos: Support for device tree")
Signed-off-by: Marek Szyprowski <[email protected]>
Reviewed-by: Krzysztof Kozlowski <[email protected]>
Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions
