powerpc/mm: Use appropriate ESID mask in copro_calculate_slb()
authorIan Munsie <imunsie@au1.ibm.com>
Tue, 28 Oct 2014 03:25:29 +0000 (14:25 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 28 Oct 2014 08:52:45 +0000 (19:52 +1100)
commit03f54397976581e71a3294ac0e6dfcf4aa36e539
treebdc29550d0e2dd7d627bc29944f5c235e8afb296
parentb03a7f578ac831276fe3870ebda01609d18167de
powerpc/mm: Use appropriate ESID mask in copro_calculate_slb()

This patch makes copro_calculate_slb() mask the ESID by the correct mask
for 1T vs 256M segments.

This has no effect by itself as the extra bits were ignored, but it
makes debugging the segment table entries easier and means that we can
directly compare the ESID values for duplicates without needing to worry
about masking in the comparison.

This will be used to simplify a comparison in the following patch.

Signed-off-by: Ian Munsie <imunsie@au1.ibm.com>
Reviewed-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/mm/copro_fault.c