Re: [PATCH] powerpc/64s/radix: Fix soft dirty tracking

2023-07-02 Thread Michael Ellerman
On Thu, 11 May 2023 21:42:24 +1000, Michael Ellerman wrote: > It was reported that soft dirty tracking doesn't work when using the > Radix MMU. > > The tracking is supposed to work by clearing the soft dirty bit for a > mapping and then write protecting the PTE. If/when the page is written > to,

Re: [PATCH] powerpc/64s/radix: Fix soft dirty tracking

2023-05-15 Thread Dan HorĂ¡k
On Thu, 11 May 2023 21:42:24 +1000 Michael Ellerman wrote: > It was reported that soft dirty tracking doesn't work when using the > Radix MMU. > > The tracking is supposed to work by clearing the soft dirty bit for a > mapping and then write protecting the PTE. If/when the page is written > to,

Re: [PATCH] powerpc/64s/radix: Fix soft dirty tracking

2023-05-14 Thread Aneesh Kumar K.V
Michael Ellerman writes: > It was reported that soft dirty tracking doesn't work when using the > Radix MMU. > > The tracking is supposed to work by clearing the soft dirty bit for a > mapping and then write protecting the PTE. If/when the page is written > to, a page fault occurs and the soft

[PATCH] powerpc/64s/radix: Fix soft dirty tracking

2023-05-11 Thread Michael Ellerman
It was reported that soft dirty tracking doesn't work when using the Radix MMU. The tracking is supposed to work by clearing the soft dirty bit for a mapping and then write protecting the PTE. If/when the page is written to, a page fault occurs and the soft dirty bit is added back via