Re: [PATCH -V3 05/11] arch/powerpc: remove masking top 16 bit of va in tlb invalidate
From: Paul Mackerras <hidden>
Date: 2012-07-22 23:56:10
From: Paul Mackerras <hidden>
Date: 2012-07-22 23:56:10
On Mon, Jul 09, 2012 at 06:43:35PM +0530, Aneesh Kumar K.V wrote:
From: "Aneesh Kumar K.V" <redacted>
ISA doc doesn't talk about this. As per ISA doc for a 4K page
tlbie RB RS
" The Abbreviated Virtual Address (AVA) field in register RB must
contain bits 14:65 of the virtual address translated by the TLB
entry to be invalidated."
That indicate we should not mask the top 16 bits. So remove the same.Older versions of the architecture (2.02 and earler) require the masking, so we can't just unconditionally remove it, since that would potentially break POWER5 and PPC970. People are definitely still running Linux bare-metal on PPC970s (though arguably not on POWER5). Paul.