]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/fsl-booke: Support detection of page sizes on e6500
authorKumar Gala <galak@kernel.crashing.org>
Tue, 5 Mar 2013 18:08:32 +0000 (12:08 -0600)
committerKumar Gala <galak@kernel.crashing.org>
Tue, 5 Mar 2013 23:10:27 +0000 (17:10 -0600)
commitf75a9602cf141bec25837301d5142389d82c193b
tree3678ba3614cd1bd6098ebc9b22c76297ff475744
parent594d2e8b605e4bf836a73432ad67ba6431c6940d
powerpc/fsl-booke: Support detection of page sizes on e6500

The e6500 core used on T4240 and B4860 SoCs from FSL implements MMUv2 of
the Power Book-E Architecture.  However there are some minor differences
between it and other Book-E implementations.

Add support to parse SPRN_TLB1PS for the variable page sizes supported.
In the future this should be expanded for more page sizes supported on
e6500 as well as other MMU features.

This patch is based on code from Scott Wood.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/mm/tlb_nohash.c