Re: [PATCH v3 4/9] mm: convert PTE table entries in ptep_get()

From: David Hildenbrand (Arm)

Date: Thu Oct 01 2026 - 07:27:50 EST


On 9/22/26 19:12, Muhammad Usama Anjum wrote:
> ptep_get() now accepts a pointer to hw_pte_t storage but must continue to
> return a software PTE value. Add __pte_from_hw for both generic hw_pte_t
> definitions. Read the hw_pte_t table element atomically before converting
> it to pte_t.
>
> Signed-off-by: Muhammad Usama Anjum <usama.anjum@xxxxxxx>

Acked-by: David Hildenbrand (Arm) <david@xxxxxxxxxx>

--
Cheers,

David