]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/fsl-booke: Fixup calc_cam_sz to support MMU v2
authorKumar Gala <galak@kernel.crashing.org>
Thu, 5 Jan 2012 18:37:16 +0000 (12:37 -0600)
committergalak <galak@spiff.(none)>
Thu, 15 Mar 2012 17:12:19 +0000 (12:12 -0500)
commit8bf228444403e79cd1ed78a7130398a01bd4aa27
tree754f4a23cddc0d216c343e584b6d43195224545b
parent903153c16b942929242f3ecd4df03d3a685d94ee
powerpc/fsl-booke: Fixup calc_cam_sz to support MMU v2

The registers that describe size supported by TLB are different on MMU
v2 as well as we support power of two page sizes.  For now we continue
to assume that FSL variable size array supports all page sizes up to the
maximum one reported in TLB1PS.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/include/asm/reg_booke.h
arch/powerpc/mm/fsl_booke_mmu.c