powerpc/fsl-booke: Fix comments in mmu code that mention BATS
There are no BATS on BookE - we have the TLBCAM instead. Also correct the page size information to included extended sizes. We don't actually allow a 4G page size to be used, so comment on that as well. Signed-off-by: Becky Bruce <beckyb@kernel.crashing.org> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
This commit is contained in:
Родитель
6901c6cca1
Коммит
d10ac3734d
|
@ -104,9 +104,10 @@ unsigned long p_mapped_by_tlbcam(phys_addr_t pa)
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Set up one of the I/D BAT (block address translation) register pairs.
|
* Set up a variable-size TLB entry (tlbcam). The parameters are not checked;
|
||||||
* The parameters are not checked; in particular size must be a power
|
* in particular size must be a power of 4 between 4k and 256M (or 1G, for cpus
|
||||||
* of 4 between 4k and 256M.
|
* that support extended page sizes). Note that while some cpus support a
|
||||||
|
* page size of 4G, we don't allow its use here.
|
||||||
*/
|
*/
|
||||||
static void settlbcam(int index, unsigned long virt, phys_addr_t phys,
|
static void settlbcam(int index, unsigned long virt, phys_addr_t phys,
|
||||||
unsigned long size, unsigned long flags, unsigned int pid)
|
unsigned long size, unsigned long flags, unsigned int pid)
|
||||||
|
|
Загрузка…
Ссылка в новой задаче