Merge commit 'v2.6.36-rc3' into x86/memblock
[firefly-linux-kernel-4.4.55.git] / arch / powerpc / mm / fsl_booke_mmu.c
index 0be8fe24c54e2aac8b78efb4b7a04b38efd3139a..cde270847e7c10f5b405d5e2640b72354b0e6d1f 100644 (file)
@@ -105,9 +105,10 @@ unsigned long p_mapped_by_tlbcam(phys_addr_t pa)
 }
 
 /*
- * Set up one of the I/D BAT (block address translation) register pairs.
- * The parameters are not checked; in particular size must be a power
- * of 4 between 4k and 256M.
+ * Set up a variable-size TLB entry (tlbcam). The parameters are not checked;
+ * in particular size must be a power of 4 between 4k and 256M (or 1G, for cpus
+ * 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,
                unsigned long size, unsigned long flags, unsigned int pid)