Re: [PATCH v2] powerpc/mm: Add mask of always present MMU features

2020-10-21 Thread Christophe Leroy
Le 21/10/2020 à 16:25, Aneesh Kumar K.V a écrit : Christophe Leroy writes: Le 12/10/2020 à 17:39, Christophe Leroy a écrit : On the same principle as commit 773edeadf672 ("powerpc/mm: Add mask of possible MMU features"), add mask for MMU features that are always there in order to optimise

Re: [PATCH v2] powerpc/mm: Add mask of always present MMU features

2020-10-21 Thread Aneesh Kumar K.V
Christophe Leroy writes: > Le 12/10/2020 à 17:39, Christophe Leroy a écrit : >> On the same principle as commit 773edeadf672 ("powerpc/mm: Add mask >> of possible MMU features"), add mask for MMU features that are >> always there in order to optimise out dead branches. >> >> Signed-off-by: Chris

Re: [PATCH v2] powerpc/mm: Add mask of always present MMU features

2020-10-21 Thread Christophe Leroy
Le 12/10/2020 à 17:39, Christophe Leroy a écrit : On the same principle as commit 773edeadf672 ("powerpc/mm: Add mask of possible MMU features"), add mask for MMU features that are always there in order to optimise out dead branches. Signed-off-by: Christophe Leroy --- v2: Features must be a

[PATCH v2] powerpc/mm: Add mask of always present MMU features

2020-10-12 Thread Christophe Leroy
On the same principle as commit 773edeadf672 ("powerpc/mm: Add mask of possible MMU features"), add mask for MMU features that are always there in order to optimise out dead branches. Signed-off-by: Christophe Leroy --- v2: Features must be anded with MMU_FTRS_POSSIBLE instead of ~0, otherwise