diff options
| author | Markuss Broks <markuss.broks@gmail.com> | 2026-08-20 22:12:07 +0300 |
|---|---|---|
| committer | Joerg Roedel <joerg.roedel@amd.com> | 2026-09-24 13:18:02 +0200 |
| commit | e29fd6f4f0fcd07556a71aa74dbe17d37a36b818 (patch) | |
| tree | 509b6537d1cfc0e42b36faad143eae5b7425435c /scripts/basic/split-include.c | |
| parent | 0c11e843972ece0aa190869114d0e84680813b51 (diff) | |
| download | linux-e29fd6f4f0fcd07556a71aa74dbe17d37a36b818.tar.gz linux-e29fd6f4f0fcd07556a71aa74dbe17d37a36b818.zip | |
iommu/exynos: fix TLB invalidation for no-block SysMMUs
sysmmu_block() polls MMU_STATUS for the blocked state, which no-block
hardware never reports, so on such SysMMUs it always fails, and both
sysmmu_tlb_invalidate_entry() and sysmmu_tlb_invalidate_flpdcache()
skip the invalidation entirely when blocking fails.
On no-block hardware the invalidation registers are written with the
MMU running; the vendor driver never blocks around invalidation. Do
the same and write the invalidation directly. In the FLPD cache path
no-block implies a v7+ SysMMU, hence the unconditional flush-all.
Signed-off-by: Markuss Broks <markuss.broks@gmail.com>
Acked-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Diffstat (limited to 'scripts/basic/split-include.c')
0 files changed, 0 insertions, 0 deletions
