# Re: \[PATCH v1\] arm64: tlb: fix the TTL value of tlb\_get\_level

- From: Will Deacon \<will@kernel.org\>
- Date: 2021-06-23 14:00:45 
- List: linux-arch
- Page: https://ratatoskr.run/linux-arch/2021/06/1423790
- Thread: https://ratatoskr.run/linux-arm-kernel/2021/06/1423317/t.md

```text
On Wed, 23 Jun 2021 15:05:22 +0800, Zhenyu Ye wrote:
> The TTL field indicates the level of page table walk holding the *leaf*
> entry for the address being invalidated. But currently, the TTL field
> may be set to an incorrent value in the following stack:
> 
> pte_free_tlb
>     __pte_free_tlb
>         tlb_remove_table
>             tlb_table_invalidate
>                 tlb_flush_mmu_tlbonly
>                     tlb_flush
> 
> [...]

Applied to arm64 (for-next/mm), thanks!

[1/1] arm64: tlb: fix the TTL value of tlb_get_level
      https://git.kernel.org/arm64/c/52218fcd61cb

Cheers,
-- 
Will

https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev
```
