[PATCH v1] Fix __tlbiel in hash_native_64
Balbir Singh
bsingharora at gmail.com
Tue Sep 13 14:47:16 AEST 2016
On 13/09/16 14:42, Balbir Singh wrote:
> __tlbie and __tlbiel are out of sync. __tlbie does the right thing
> it calls tlbie with "tlbie rb, L" if CPU_FTR_ARCH_206 (cpu feature) is clear
> and with "tlbie rb" otherwise. During the cleanup of __tlbiel I noticed
> that __tlbiel was setting bit 11 PPC_BIT(21) independent of the ISA
> version for non-4k (L) pages. This patch fixes that issue. It also changes
> the current PPC_TLBIEL to PPC_TLBIEL_5 and introduces a new PPC_TLBIEL similar
> to PPC_TLBIE.
>
> The arguments to PPC_TLBIE have also been changed/switched in order
> to be consistent with the actual assembly usage for clearer reading
> of code.
>
> Cc: Paul Mackerras <paulus at ozlabs.org>
> Cc: Aneesh Kumar K.V <aneesh.kumar at linux.vnet.ibm.com>
> Cc: Michael Ellerman <michael at ellerman.id.au>
>
> Signed-off-by: Balbir Singh <bsingharora at gmail.com>
Please ignore.. resending with fixes
Balbir
More information about the Linuxppc-dev
mailing list