Commit 64212d6
arm64: mm: Refactor flush_tlb_page() to use __tlbi_level_asid()
Now that we have __tlbi_level_asid(), let's refactor the
*flush_tlb_page*() variants to use it rather than open coding.
The emitted tlbi(s) is/are intended to be exactly the same as before; no
TTL hint is provided. Although the spec for flush_tlb_page() allows for
setting the TTL hint to 3, it turns out that
flush_tlb_fix_spurious_fault_pmd() depends on
local_flush_tlb_page_nonotify() to invalidate the level 2 entry. This
will be fixed separately.
Reviewed-by: Linu Cherian <linu.cherian@arm.com>
Reviewed-by: Jonathan Cameron <jonathan.cameron@huawei.com>
Signed-off-by: Ryan Roberts <ryan.roberts@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>1 parent c753d66 commit 64212d6
1 file changed
Lines changed: 2 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
346 | 346 | | |
347 | 347 | | |
348 | 348 | | |
349 | | - | |
350 | | - | |
351 | 349 | | |
352 | | - | |
353 | | - | |
354 | | - | |
| 350 | + | |
355 | 351 | | |
356 | 352 | | |
357 | 353 | | |
| |||
373 | 369 | | |
374 | 370 | | |
375 | 371 | | |
376 | | - | |
377 | | - | |
378 | 372 | | |
379 | | - | |
380 | | - | |
381 | | - | |
| 373 | + | |
382 | 374 | | |
383 | 375 | | |
384 | 376 | | |
| |||
0 commit comments