Thread (6 messages) flat view 6 messages, 3 authors, 2018-06-04

Re: [PATCH V2 4/4] powerpc/mm/radix: Change pte relax sequence to handle nest MMU hang

From: Nicholas Piggin <npiggin@gmail.com>
Date: 2018-05-29 22:44:55

On Tue, 29 May 2018 19:58:41 +0530
"Aneesh Kumar K.V" [off-list ref] wrote:
When relaxing access (read -> read_write update), pte needs to be marked invalid
to handle a nest MMU bug. We also need to do a tlb flush after the pte is
marked invalid before updating the pte with new access bits.

We also move tlb flush to platform specific __ptep_set_access_flags. This will
help us to gerid of unnecessary tlb flush on BOOK3S 64 later. We don't do that
in this patch. This also helps in avoiding multiple tlbies with coprocessor
attached.
I thought you should move this part of the change back into patch 3 as
well.

Thanks,
Nick
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help