On Mon, 2013-02-04 at 14:29 +1100, Michael Ellerman wrote: > On Wed, 2013-01-30 at 11:10 +0530, Aneesh Kumar K.V wrote: > > From: "Aneesh Kumar K.V" <aneesh.ku...@linux.vnet.ibm.com> > > > > The ASM version of hash computation function was truncating the upper bit. > > Make the ASM version similar to hpt_hash function. Remove masking vsid bits. > > Without this patch, we observed hang during bootup due to not satisfying > > page > > fault request correctly. > > Which commit(s) introduced the bug?
The bug has been there for ever (well, as far back as git goes without digging the old monster repo) so may as well date from my original port of the C hashing code to asm. However it wasn't per-se a bug until Aneesh 64T support was added in 3.7 since we didn't use the top vsid bits that are masked. I've merged the patch. My only worry is whether there might have been a reason for the masking in the first place, ie, do we ever carry VSIDs with bad bits at the top... though the hash mask should take care of that in any case (well I hope...) Cheers, Ben. _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev