Re: [PATCH] powerpc/mm/hash: Properly mask the ESID bits when building proto-VSID

2017-01-29 Thread Michael Ellerman
"Aneesh Kumar K.V" writes: > proto-vsid is built using both mmu context id and ESID. We should not have > overlapping bits between those. That will result in us having vsid > collision. With the current code we missed masking the top bits of effective > address. This implies for kernel address we

[PATCH] powerpc/mm/hash: Properly mask the ESID bits when building proto-VSID

2017-01-28 Thread Aneesh Kumar K.V
proto-vsid is built using both mmu context id and ESID. We should not have overlapping bits between those. That will result in us having vsid collision. With the current code we missed masking the top bits of effective address. This implies for kernel address we ended up using the top 4 bits as par